joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1401d8028]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
call fcn.14002ef10
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x10], 0
je 0x14003a83d
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x14003a845
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x88]
call fcn.14000b0c0
movzx eax, al
test eax, eax
je 0x14003a8a2
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x78], 0
je 0x14003a8a2
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x78]
cmp qword [rax + 0x3e0], 0
je 0x14003a8a2
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x78]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x24], eax
jmp 0x14003a8aa
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x88]
call fcn.14000b200
movzx eax, al
test eax, eax
je 0x14003a8e9
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x28], eax
jmp 0x14003a8f1
mov dword [rsp + 0x28], 0xffffffff
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x48], al
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x49], al
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 8]
and eax, 0x61fc20
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x88]
add rax, 0x40
mov rdx, rax
lea rcx, [rsp + 0x2c]
call fcn.14000a470
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x88]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000a470
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x88]
add rax, 0x50
mov rdx, rax
lea rcx, [rsp + 0x34]
call fcn.14000a470
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14003bc80
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + rax + 0x18], 0
je 0x14003a9d8
mov eax, dword [rsp + 0x90]
inc eax
mov ecx, 8
imul rcx, rcx, 0
mov r8d, eax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x80]
call fcn.14003a7e0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + rax + 0x18], 0
je 0x14003aa20
mov eax, dword [rsp + 0x90]
inc eax
mov ecx, 8
imul rcx, rcx, 1
mov r8d, eax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x80]
call fcn.14003a7e0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140143390
add rsp, 0x78
ret
Function at 0x140059ff0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1401d8028]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.140012e10
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140203540]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.140009140
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
movzx eax, byte [0x1402003b9]
test eax, eax
je 0x14005a068
call fcn.140059fb0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x140203548]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x140203550]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x140203548], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14005a0cc
mov dword [rsp + 0x28], 1
jmp 0x14005a0d4
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x134], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14005a103
mov dword [rsp + 0x2c], 1
jmp 0x14005a10b
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x135], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14005a13a
mov dword [rsp + 0x30], 1
jmp 0x14005a142
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x136], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x137], 0
call fcn.140059590
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc8]
test eax, eax
je 0x14005a17d
mov dword [rsp + 0x34], 0xffffffff
jmp 0x14005a186
call fcn.140018600
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [reloc.OLEAUT32.dll_VariantCopy], eax
je 0x14005a1a9
mov eax, dword [rsp + 0x38]
mov dword [reloc.OLEAUT32.dll_VariantCopy], eax
call fcn.140059460
call fcn.1400597a0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140143390
add rsp, 0x78
ret
Function at 0x14006d370
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1401d8028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.140001f60
mov rcx, qword [rsp + 0x78]
call fcn.140003e90
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14006d510
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14006d5b0
nop
lea rcx, [rsp + 0x38]
call fcn.14006d470
lea rax, [0x14006d600]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.140008670
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x14006d439
lea rcx, [rsp + 0x50]
call fcn.140004440
jmp 0x14006d451
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x50]
call fcn.14006d470
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140143390
add rsp, 0x68
ret

Function at 0x1400863d0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0xcd]
test eax, eax
je 0x14008644c
mov qword [rsp + 0x20], 0
jmp 0x140086401
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xcc
jae 0x140086440
lfence
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rax]
call fcn.1400848f0
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x1400863f4
mov rax, qword [rsp + 0x40]
mov byte [rax + 0xcd], 0
add rsp, 0x38
ret
Function at 0x14013dc20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14013dc6d
mov eax, 1
jmp 0x14013dc6f
xor eax, eax
add rsp, 0x38
ret

Function at 0x14013dd60
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea r9, [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14013dc20
test eax, eax
jne 0x14013dd97
jmp 0x14013ddcc
mov rcx, qword [rsp + 0x50]
call fcn.14013dc80
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret
Function at 0x14013dee0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x2070
call fcn.140144890
sub rsp, rax
mov rax, qword [0x1401d8028]
xor rax, rsp
mov qword [rsp + 0x2060], rax
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x2088]
mov rcx, qword [rsp + 0x2080]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14013df4a
jmp 0x14013e06a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x1ffe
rep stosb byte [rdi], al
mov dword [rsp + 0x58], 0x1ffe
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x2090]
mov rcx, qword [rsp + 0x40]
call fcn.14013dc20
test eax, eax
jne 0x14013df9d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14013e06a
mov dword [rsp + 0x30], 0
jmp 0x14013dfb1
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x30], eax
jae 0x14013e031
lfence
mov eax, dword [rsp + 0x30]
mov dx, pe_nt_image_headers64
movzx ecx, word [rsp + rax*2 + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswctype]
test eax, eax
je 0x14013e02c
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
lea rcx, str.abcdef012345789
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
cmp word [rcx + rdx*2], 0
jne 0x14013dff2
mov rcx, qword [rsp + 0x38]
dec rcx
xor edx, edx
div rcx
mov rax, rdx
lea rcx, str.abcdef012345789
mov edx, dword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
mov word [rsp + rdx*2 + 0x60], ax
jmp 0x14013dfa7
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x2090]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.140143390
add rsp, 0x2070
pop rdi
ret
Function at 0x14013e090
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401d8028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14013e0e5
jmp 0x14013e14a
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rsp + 0x40], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140143390
add rsp, 0x50
pop rdi
ret
Function at 0x14013e160
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1401d8028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14013e1b7
jmp 0x14013e2b8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14013e209
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14013e2b8
mov eax, dword [rsp + 0x48]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14013e232
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14013e2b8
mov dword [rsp + 0x30], 0
jmp 0x14013e246
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x14013e274
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
jmp 0x14013e23c
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140143390
add rsp, 0x68
ret
Function at 0x14013e2d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1401d8028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x3fd
jne 0x14013e370
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14013e379
jmp 0x14013e3b9
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCopyTreeA]
test eax, eax
jne 0x14013e3ae
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140143390
add rsp, 0x78
ret

Function at 0x14013e3d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [rsp + 0x20], eax
add rsp, 0x38
ret

Function at 0x14013e400
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov dword [rsp + 0x20], eax
add rsp, 0x38
ret
Function at 0x14013ea40
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5a0
mov rax, qword [0x1401d8028]
xor rax, rsp
mov qword [rsp + 0x590], rax
lea rax, [rsp + 0x380]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x5b0]
lea rdx, str._ws
lea rcx, [rsp + 0x380]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x140
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x380]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x170]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea r9, [rsp + 0x5c]
mov r8, qword [rsp + 0x5b0]
lea rdx, str._ws_ws
lea rcx, [rsp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rax, [rsp + 0x5c]
lea rcx, [0x1402004c4]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14013eb19
add rax, 2
test dx, dx
jne 0x14013eb03
xor eax, eax
jmp 0x14013eb1e
sbb eax, eax
or eax, 1
test eax, eax
je 0x14013eb97
lea rax, [rsp + 0x5c]
lea rcx, [0x1402009b4]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14013eb47
add rax, 2
test dx, dx
jne 0x14013eb31
xor eax, eax
jmp 0x14013eb4c
sbb eax, eax
or eax, 1
test eax, eax
je 0x14013eb97
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x14013eb72
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x170]
call fcn.14013ea40
jmp 0x14013eb97
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrStrA]
test rax, rax
je 0x14013eb97
lea rcx, [rsp + 0x170]
call fcn.14013e570
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14013eabe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.140143390
add rsp, 0x5a0
pop rdi
ret

Function at 0x14013ee10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1401d8028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x14013ee6b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14013eeb1
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x5c]
call fcn.14013ebe0
test eax, eax
jne 0x14013ee90
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14013eeb1
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14013ee6b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140143390
add rsp, 0x178
ret
Function at 0x1401402a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140140460
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140142f90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x140142fb2
mov rcx, qword [rsp + 0x40]
call fcn.140143060
jmp 0x140142fc9
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x140142fc9
mov rcx, qword [rsp + 0x40]
call fcn.140143110
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140143060
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140143081
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x140143105
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1401430d0
mov dword [rsp + 4], 0x9908b0df
jmp 0x1401430d8
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140143074
add rsp, 0x18
ret
Function at 0x140143110
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x140143140
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x1401431c2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14014318e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x140143196
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140143135
mov qword [rsp + 8], 0xe3
jmp 0x1401431da
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x140143261
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14014322b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x140143233
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1401431cd
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1401432b5
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x1401432bd
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret

Function at 0x1401441c8
Capabilities:
Parse pe header

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