joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c53c16e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1c53c7054]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x1c53c1890
mov rax, qword [0x1c53c7058]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1c53c172c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1c53c17b7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x1c53c1710
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x1c53c18ed
mov rax, qword [0x1c53c7058]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1c53c7058]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1c53c18d2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1c53c17b0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1c53c1840
add dword [0x1c53c7054], 1
cmp ebx, 8
jae 0x1c53c17e8
test bl, 4
jne 0x1c53c18a0
test ebx, ebx
je 0x1c53c17d9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x1c53c18c0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x1c53c17d9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x1c53c181a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1c53c7058]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1c53c17b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x1c53c1737
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x1c53c17d9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x1c53c17d9
mov rax, qword [0x1c53c7058]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x1c53c1bf0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1c53c7080]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1c53c7060]
test rbx, rbx
je 0x1c53c1c44
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1c53c1c3b
test r12, r12
je 0x1c53c1c3b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1c53c1c20
lea rcx, [0x1c53c7080]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1c53c1e70
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x1c53c1e80
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x1c53c1e90
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1c53c1ed5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1c53c1ecc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1c53c1ed7
add rax, 0x28
cmp rax, r9
jne 0x1c53c1eb8
xor eax, eax
ret

Function at 0x1c53c1f80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1c53c4220]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x1c53c1ff9
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1c53c1ff9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x1c53c1ff6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1c53c1fed
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x1c53c1ff9
add r8, 0x28
cmp r8, r9
jne 0x1c53c1fd8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x1c53c20e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1c53c4220]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1c53c214f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1c53c214f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x1c53c214d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1c53c2144
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1c53c2158
add rax, 0x28
cmp rax, r9
jne 0x1c53c2130
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x1c53c2170
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x1c53c4220]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x1c53c21e8
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1c53c21e8
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1c53c21e8
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1c53c21e8
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x1c53c21dc
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x1c53c21f0
add rdx, 0x28
cmp rdx, r10
jne 0x1c53c21c8
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x1c53c2200
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x1c53c220e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1c53c21e5
test r8d, r8d
jg 0x1c53c21f8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x1400e40d1
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1401781b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x1401781d8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140178222
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x1401781cd
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret

Function at 0x1400e416c
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1401347c0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x140342040]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x1403613c2]
call fcn.1400e91bc
nop
xor edx, edx
mov ecx, 2
call fcn.1400e5e59
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14013483f
lea rcx, str.CreateToolhelp32Snapshot_failed
call fcn.1400e706a
nop
xor eax, eax
jmp 0x14013494f
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400e6ad4
test eax, eax
jne 0x140134876
lea rcx, str.Process32First_failed
call fcn.1400e706a
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x14013494f
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x5c]
call fcn.1400e5fc1
test eax, eax
jne 0x14013492d
mov r8d, dword [rbp + 0x50]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x288], rax
lea rdx, [rbp + 0x460]
mov rcx, qword [rbp + 0x288]
call fcn.1400e90ef
test eax, eax
jne 0x14013491f
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x2a8], rax
mov r8d, dword [rbp + 0x38]
mov rdx, qword [rbp + 0x460]
lea rcx, str.___Found__ls_main_process_PID:__lu_n
call fcn.1400e5e31
nop
mov rax, qword [rbp + 0x468]
mov ecx, dword [rbp + 0x38]
mov dword [rax], ecx
mov rax, qword [rbp + 0x470]
mov rcx, qword [rbp + 0x2a8]
mov qword [rax], rcx
mov eax, 1
jmp 0x14013494f
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400e8389
test eax, eax
jne 0x140134876
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402cfbf0]
call fcn.1400e80c3
mov rax, rdi
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.1400e5f17
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret
Function at 0x1400e4c3e
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140134c10
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4c8]
mov rax, qword [0x140342040]
xor rax, rbp
mov qword [rbp + 0x460], rax
lea rcx, [0x1403613c2]
call fcn.1400e91bc
nop
mov qword [rbp + 8], 0x2000
mov rcx, qword [rbp + 8]
call fcn.1400e69f8
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140134ca9
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 8]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x490]
call fcn.1400e92a7
test eax, eax
jne 0x140134cc7
lea rcx, str.EnumProcessModulesEx_failed
call fcn.1400e706a
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400e52ab
nop
xor eax, eax
jmp 0x140134dd7
mov dword [rbp + 0x64], 0
jmp 0x140134cd8
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
movsxd rax, dword [rbp + 0x64]
mov qword [rbp + 0x458], rax
mov ecx, dword [rbp + 0x44]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rbp + 0x458]
cmp rcx, rax
jae 0x140134dcb
movsxd rax, dword [rbp + 0x64]
mov r9d, 0x104
lea r8, [rbp + 0x90]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rbp + 0x490]
call fcn.1400e97e3
test eax, eax
jne 0x140134d3a
lea rcx, str.GetModuleBaseName_failed
call fcn.1400e706a
nop
jmp 0x140134cd0
mov rdx, qword [rbp + 0x498]
lea rcx, [rbp + 0x90]
call fcn.1400e8f78
test eax, eax
jne 0x140134dc6
movsxd rax, dword [rbp + 0x64]
mov r9d, 0x18
lea r8, [rbp + 0x2b8]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rbp + 0x490]
call fcn.1400e4b30
test eax, eax
jne 0x140134d95
lea rcx, str.GetModuleInformation_failed
call fcn.1400e706a
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400e52ab
nop
xor eax, eax
jmp 0x140134dd7
mov rax, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x2b8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x4a8]
mov ecx, dword [rbp + 0x2c0]
mov dword [rax], ecx
mov rcx, qword [rbp + 0x28]
call fcn.1400e52ab
nop
mov eax, 1
jmp 0x140134dd7
jmp 0x140134cd0
mov rcx, qword [rbp + 0x28]
call fcn.1400e52ab
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1402cfd10]
call fcn.1400e80c3
mov rax, rdi
mov rcx, qword [rbp + 0x460]
xor rcx, rbp
call fcn.1400e5f17
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret
Function at 0x1400e5bd4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401ceb10
mov rax, rcx
neg rcx
test rax, 7
je 0x1401ceb2d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401ceb88
test al, 7
jne 0x1401ceb20
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401ceb41
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401cebb2
test dh, dh
je 0x1401cebac
shr rdx, 0x10
test dl, dl
je 0x1401ceba6
test dh, dh
je 0x1401ceba0
shr rdx, 0x10
test dl, dl
je 0x1401ceb9a
test dh, dh
je 0x1401ceb94
shr edx, 0x10
test dl, dl
je 0x1401ceb8e
test dh, dh
jne 0x1401ceb41
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400e5c0b
Capabilities:
Query environment variable

Disassembly:
jmp 0x140288d30
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1402888b0
lea rcx, [rsp + 0x20]
call fcn.140288900
movzx eax, al
test eax, eax
jne 0x140288d75
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1402888e0
mov rax, qword [rsp + 0x40]
jmp 0x140288e6f
lea rcx, [rsp + 0x20]
call fcn.140288a00
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1402889a0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400e602a
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400e5440
lea rcx, [rsp + 0x28]
call fcn.1400e65ca
movzx eax, al
test eax, eax
jne 0x140288e0f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400e7e0c
lea rcx, [rsp + 0x20]
call fcn.1402888e0
mov rax, qword [rsp + 0x50]
jmp 0x140288e6f
lea rcx, [rsp + 0x20]
call fcn.140288a00
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400e908b
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400e5f3a
lea rcx, [rsp + 0x28]
call fcn.1400e9c16
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400e7e0c
lea rcx, [rsp + 0x20]
call fcn.1402888e0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400e5e6d
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1401345b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x140342040]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x1403613c2]
call fcn.1400e91bc
nop
xor edx, edx
mov ecx, 2
call fcn.1400e5e59
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140134623
lea rcx, str.CreateToolhelp32Snapshot_failed
call fcn.1400e706a
nop
jmp 0x14013472a
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400e6ad4
test eax, eax
jne 0x140134658
lea rcx, str.Process32First_failed
call fcn.1400e706a
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14013472a
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x5c]
call fcn.1400e5fc1
test eax, eax
jne 0x14013470a
mov r8d, dword [rbp + 0x50]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x288], rax
lea rdx, [rbp + 0x460]
mov rcx, qword [rbp + 0x288]
call fcn.1400e90ef
test eax, eax
jne 0x1401346fc
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x2a8], rax
mov edx, dword [rbp + 0x38]
lea rcx, str.___Found_browser_process:__d_n
call fcn.1400e5e31
nop
lea rcx, str.____Process_owner:
call fcn.1400e5e31
nop
mov rcx, qword [rbp + 0x2a8]
call fcn.1400e5125
nop
lea rcx, [0x1402cf67c]
call fcn.1400e5e31
nop
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400e8389
test eax, eax
jne 0x140134658
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1402cfb70]
call fcn.1400e80c3
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.1400e5f17
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret
Function at 0x1400e61fb
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401cbff0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401cb970
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401cc02f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140362020]
jmp 0x1401cc039
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400e64cb
Capabilities:
Query environment variable

Disassembly:
jmp 0x140288a80
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1402888b0
lea rcx, [rsp + 0x40]
call fcn.140288a30
movzx eax, al
test eax, eax
jne 0x140288ac8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1402888e0
mov rax, qword [rsp + 0x70]
jmp 0x140288c99
lea rcx, [rsp + 0x40]
call fcn.140288a00
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1402889a0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140288a00
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400e799d
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140288b6e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1402888e0
mov rax, qword [rsp + 0x80]
jmp 0x140288c99
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400e602a
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400e5daa
lea rcx, [rsp + 0x48]
call fcn.1400e56c5
movzx eax, al
test eax, eax
jne 0x140288bd5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400e3f19
lea rcx, [rsp + 0x40]
call fcn.1402888e0
mov rax, qword [rsp + 0x88]
jmp 0x140288c99
lea rcx, [rsp + 0x48]
call fcn.1400e6ab6
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140288a00
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400e799d
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140288c6b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400e3f19
lea rcx, [rsp + 0x40]
call fcn.1402888e0
mov rax, qword [rsp + 0xa0]
jmp 0x140288c99
lea rcx, [rsp + 0x48]
call fcn.1400e5d55
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400e3f19
lea rcx, [rsp + 0x40]
call fcn.1402888e0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x1400e64e9
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401cbf20
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1401cb8f0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401cbf61
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140362020]
jmp 0x1401cbf67
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1400e65d4
Capabilities:
Get geographical location

Disassembly:
jmp 0x140270ca0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14026fbd0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140270d07
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140362030]
jmp 0x140270d29
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400e562a
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1400e65f2
Capabilities:
Terminate process

Disassembly:
jmp 0x1401a9c20
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400e6a3e
Capabilities:
Print debug messages

Disassembly:
jmp 0x1402962e0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140342040]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140296306
jmp 0x140296383
mov rcx, qword [rbp + 0x30]
call fcn.1400e5bd4
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14029631f
jmp 0x140296383
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14029633c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400e4194
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400e48ec
test eax, eax
jne 0x140296383
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400e5f17
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400e6f16
Capabilities:
Set environment variable

Disassembly:
jmp 0x14028abe0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x1400e730d
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401ab180
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401ab1a0
xor al, al
jmp 0x1401ab221
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401ab1b3
xor al, al
jmp 0x1401ab221
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1401ab1dd
xor al, al
jmp 0x1401ab221
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401ab1f1
xor al, al
jmp 0x1401ab221
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401ab203
xor al, al
jmp 0x1401ab221
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401ab21f
xor al, al
jmp 0x1401ab221
mov al, 1
add rsp, 0x38
ret
Function at 0x1400e7cb3
Capabilities:
Terminate process

Disassembly:
jmp 0x1401ccfe0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401cd00e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400e8aaa
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400e8b45
Capabilities:
Print debug messages

Disassembly:
jmp 0x14026d110
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret