joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400141e8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140014216
xor eax, eax
jmp 0x1400142fc
cmp qword [rcx + 0x68], 0
je 0x140014227
call fcn.14000fd80
jmp 0x1400142fc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14001423e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140014240
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140014272
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14002efc0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400142f6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400142a9
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400142d2
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14001d070
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400142f6
cmp rsi, rbx
ja 0x1400142b0
test rsi, rsi
je 0x1400142f6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14001d070
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140015fd8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016022
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140016022
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140016022
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140016022
cmp dword [rcx + 0x84], 0xe
jbe 0x140016022
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140016024
xor al, al
add rsp, 0x28
ret
Function at 0x14001ad2c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001ad9b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001ad9b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001ad9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001ad9b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001ad9b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001ad9b
cmp dword [rcx + 0xf8], 0
je 0x14001ad9b
mov ecx, ebx
call fcn.14001ae4c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001ac28
nop
cmp dword [rbp + 0x20], 0
je 0x14001ade9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001adf4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001ad2c

Function at 0x14001af30
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001ad9b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001ad9b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001ad9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001ad9b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001ad9b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001ad9b
cmp dword [rcx + 0xf8], 0
je 0x14001ad9b
mov ecx, ebx
call fcn.14001ae4c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001ac28
nop
cmp dword [rbp + 0x20], 0
je 0x14001ade9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001adf4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001ad2c
Function at 0x140024828
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002483e
mov al, 1
jmp 0x14002489e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002484f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002489c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140023a6c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002489c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14002489c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002489c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002489e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140025984
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140015890
sub rsp, rax
mov rax, qword [0x140045080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001b854
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400259d3
mov rax, rbp
jmp 0x140025adb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x477c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140026864
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x477c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140025ad7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140025ad7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140026864
test rax, rax
js 0x140025ad7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140025ad7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140025ac9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140025ac9
cmp byte [rcx], 0xd
jne 0x140025aaf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140025abe
cmp byte [rcx + 1], 0xa
jne 0x140025abe
inc rcx
jmp 0x140025abe
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x454d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140025a91
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140025adb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400150f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140025c04
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400477c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140025c5b
cmp word [rdx], r13w
jne 0x140025c5b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140025c60
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140025d85
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140025da6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140025c99
mov rdx, r9
mov word [rbx], cx
jmp 0x140025cc0
cmp r9, r8
jae 0x140025cd0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140025c7a
jmp 0x140025d85
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140025d7a
cmp dword [rsp + 0x80], esi
je 0x140025d7a
lea r8, [0x1400477c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140025d52
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140025d22
mov word [rbx], r13w
jmp 0x140025d82
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140025d2f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140025d82
cmp word [rsp + 0x70], r13w
jne 0x140025d5f
cmp rbx, r14
je 0x140025d1c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002686c
cmp word [rsp + 0x70], r13w
je 0x140025d85
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400477c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140025d7f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140025d85
Function at 0x140029044
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140029074
xor eax, eax
jmp 0x140029137
mov rbp, rbx
cmp word [rax], si
je 0x140029099
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140029080
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002907c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400233f8
movsxd r14, eax
test eax, eax
jne 0x1400290d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002906d
mov rcx, r14
call fcn.140023398
mov rdi, rax
test rax, rax
jne 0x1400290f0
xor ecx, ecx
call fcn.1400225a4
jmp 0x1400290cc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400233f8
test eax, eax
jne 0x140029121
mov rcx, rdi
call fcn.1400225a4
jmp 0x14002912b
xor ecx, ecx
call fcn.1400225a4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14002bd6c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140021da0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002be0d
cmp ebx, dword [rsp + 0x30]
je 0x14002be06
test esi, esi
je 0x14002be06
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002bde1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002bdee
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002bdcb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002bdf2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002be0f
mov eax, 1
jmp 0x14002be0f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002d3bc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001af88
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002d446
cmp byte [rbp - 0x21], r15b
je 0x14002d441
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002d47c
call fcn.1400228a8
test eax, eax
jne 0x14002d468
cmp byte [rbp - 0x21], r15b
je 0x14002d460
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002d47c
cmp byte [rbp - 0x21], r15b
je 0x14002d479
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001e314
test eax, eax
jne 0x14002d51c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001af88
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002d4bb
cmp byte [rbp - 0x21], r15b
je 0x14002d4f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002d4f0
call fcn.1400228a8
test eax, eax
jne 0x14002d4dc
cmp byte [rbp - 0x21], r15b
je 0x14002d4d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002d4f0
cmp byte [rbp - 0x21], r15b
je 0x14002d4ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001e314
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002d51c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002d51f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002d52d
mov rcx, rdi
call fcn.1400225a4
cmp byte [rbp + 0x3f], r15b
je 0x14002d53c
mov rcx, qword [rbp + 0x27]
call fcn.1400225a4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14002ecb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ecd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ecd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000db1c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, qword [rbp + 0x7f]
mov rdi, rcx
mov qword [rbp - 0x61], rcx
mov r13, r8
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x79], r9
mov qword [rbp - 0x71], rdx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r12, qword [rbp - 0x19]
xor ebx, ebx
mov rsi, qword [rbp - 0x21]
mov qword [rbp - 0x69], r12
jmp 0x14000dc34
mov r9d, 0x30
lea r8, [rbp - 0x59]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x14000dc44
cmp dword [rbp - 0x39], 0x1000
jne 0x14000dc30
test byte [rbp - 0x35], 0x44
je 0x14000dc30
mov rcx, qword [rbp - 0x41]
call fcn.14000f91c
mov r9, qword [rbp - 0x41]
mov r15, rax
mov rdx, qword [rbp - 0x59]
lea rax, [rbp + 7]
mov r8, r15
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000dc28
mov r12, qword [rbp - 0x79]
mov rdi, rbx
mov rsi, qword [rbp - 0x71]
lea rcx, [rdi + r15]
mov r8, r13
mov rdx, rsi
call fcn.14002f1d0
test eax, eax
jne 0x14000dc0c
mov rax, qword [r14]
mov rcx, qword [rbp - 0x59]
add rcx, rdi
mov qword [r12 + rax*8], rcx
inc qword [r14]
mov rax, qword [rbp + 7]
inc rdi
sub rax, r13
cmp rdi, rax
jbe 0x14000dbe8
mov rsi, qword [rsp + 0x30]
mov r12, qword [rbp - 0x69]
mov rdi, qword [rbp - 0x61]
mov rcx, r15
call fcn.14000f7bc
add rsi, qword [rbp - 0x41]
mov qword [rsp + 0x30], rsi
cmp rsi, r12
jb 0x14000db79
jmp 0x14000dc50
lea rcx, str.VirtualQueryEx_failed_n
call fcn.14000b51c
cmp qword [r14], rbx
seta bl
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14000f8d0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e4cc
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
mov r12, rdx
mov r15, rcx
xor edx, edx
mov r13, r8
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000e52d
lea rcx, str.CreateToolhelp32Snapshot_failed
call fcn.14000b51c
xor eax, eax
jmp 0x14000e671
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
xor ebx, ebx
test eax, eax
jne 0x14000e559
lea rcx, str.Process32First_failed
call fcn.14000b51c
jmp 0x14000e666
lea rax, [rsp + 0x5c]
mov rdx, r15
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x14000e57a
add rax, 2
test r8d, r8d
jne 0x14000e564
test ecx, ecx
jne 0x14000e604
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x430
call fcn.14002ee30
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
lea rdx, [rbp + 0x170]
mov rdi, rax
call fcn.14000e914
test eax, eax
je 0x14000e5fb
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x170]
mov rcx, rdi
call fcn.14000e85c
test eax, eax
je 0x14000e5fb
mov rcx, qword [rsp + 0x20]
lea rdx, str.__utility_sub_typenetwork.mojom.NetworkService
call fcn.140011720
test rax, rax
jne 0x14000e61b
mov rcx, qword [rsp + 0x20]
call fcn.140015814
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000e559
jmp 0x14000e666
mov edx, dword [rsp + 0x38]
lea rcx, str.___Found_browser_process:__d_n
call fcn.14000d9ec
lea rcx, str.____Process_owner:
call fcn.14000d9ec
mov rcx, rdi
call fcn.14000ea20
lea rcx, [0x140035884]
call fcn.14000d9ec
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov dword [r12], eax
mov qword [r13], rdi
call fcn.140015814
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.14000f8d0
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14000e69c
Capabilities:
Enumerate process modules

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x278
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
mov esi, 0x2000
mov ecx, esi
mov r12, r9
mov r15, r8
mov r13, rdx
call fcn.140019edc
xor edi, edi
mov rbx, rax
test rax, rax
je 0x14000e7be
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 3
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call sub.KERNEL32.dll_K32EnumProcessModulesEx
test eax, eax
je 0x14000e7be
mov eax, dword [rsp + 0x48]
mov esi, edi
test rax, 0xfffffffffffffff8
jbe 0x14000e7ca
mov r14, rbx
mov rdx, qword [r14]
lea r8, [rsp + 0x50]
mov r9d, 0x104
mov rcx, rbp
call sub.KERNEL32.dll_K32GetModuleBaseNameW
test eax, eax
jne 0x14000e748
lea rcx, str.GetModuleBaseName_failed
call fcn.14000b51c
jmp 0x14000e759
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.140019fc0
test eax, eax
je 0x14000e771
mov ecx, dword [rsp + 0x48]
inc esi
shr rcx, 3
add r14, 8
movsxd rax, esi
cmp rax, rcx
jb 0x14000e720
jmp 0x14000e7ca
movsxd rdx, esi
lea r8, [rsp + 0x30]
mov r9d, 0x18
mov rcx, rbp
mov rdx, qword [rbx + rdx*8]
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
jne 0x14000e79d
lea rcx, str.GetModuleInformation_failed
call fcn.14000b51c
jmp 0x14000e7b2
mov rax, qword [rsp + 0x30]
mov edi, 1
mov qword [r15], rax
mov eax, dword [rsp + 0x38]
mov dword [r12], eax
mov rcx, rbx
call fcn.140015814
mov eax, edi
jmp 0x14000e7d4
lea rcx, str.EnumProcessModulesEx_failed
call fcn.14000b51c
mov rcx, rbx
call fcn.140015814
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000f8d0
add rsp, 0x278
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000e914
Capabilities:
Patch process command line

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov rdi, rdx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000e9f3
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rcx
mov rcx, rbx
lea r8, [rsp + 0x30]
mov r9d, 0x30
xor edx, edx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call rax
test eax, eax
js 0x14000e9ea
cmp dword [rsp + 0x60], 0x30
jne 0x14000e9ea
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000e9ea
and qword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov r9d, 0x430
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000e9e1
cmp qword [rsp + 0x68], 0x430
jb 0x14000e9e1
mov eax, 1
jmp 0x14000ea01
lea rcx, str.Failed_to_read_Chrome_PEB
jmp 0x14000e9fa
lea rcx, str.ProcessBasicInformation_failed
jmp 0x14000e9fa
lea rcx, str.LoadLibrary_could_not_load_ntdll
call fcn.14000b51c
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000f8d0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x140010624
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001066e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001066e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001066e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001066e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001066e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140010670
xor al, al
add rsp, 0x28
ret

Function at 0x14001c48c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001c4fb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c4fb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001c4fb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001c4fb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001c4fb
cmp dword [rcx + 0x84], 0xe
jbe 0x14001c4fb
cmp dword [rcx + 0xf8], 0
je 0x14001c4fb
mov ecx, ebx
call fcn.14001c5ac
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001c388
nop
cmp dword [rbp + 0x20], 0
je 0x14001c549
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001c554
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001c48c

Function at 0x14001c690
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001c48c