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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401b2c90]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14002df3e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x14002dee2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x14002df50
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401b2c90]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x14002e054
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x14002e04f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x14002e024
cmp qword [rsp + 0x38], 2
jb 0x14002e024
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14002e024
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14002e024
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14002df97
jmp 0x14002e0e6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x14002e0e6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14002e0bc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14002e0bc
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14002e0bc
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14002e054
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1400644c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.140069940
test eax, eax
je 0x140064647
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.1400331d0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.140069940
test eax, eax
je 0x140064647
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x14006463b
mov r8d, 0x8eb
lea rdx, [0x1401e0350]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
xor eax, eax
test eax, eax
jne 0x140064612
mov eax, dword [rsp + 0x50]
jmp 0x140064658
mov rax, qword [rsp + 0xb0]
mov qword [rax], 0
xor eax, eax
add rsp, 0x98
ret

Function at 0x140073ed0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub rsp, 0x48
call fcn.1400720a0
mov qword [rsp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 0x2c
mov r9d, 4
mov r8, rax
mov edx, 0x20001004
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140073f32
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x2c], 0
add rsp, 0x48
ret

Function at 0x140075a80
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140075aa6
mov dword [rsp + 0x20], 1
jmp 0x140075aae
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400b8200
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x68]
call fcn.14006e260
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400bad00
nop
lea rax, [0x1400b65f0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.1400b6080
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400b828d
lea rcx, [rsp + 0x30]
call fcn.1400e3730
jmp 0x1400b82a4
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x30]
call fcn.1400c0d90
add rsp, 0x58
ret
Function at 0x1400c5780
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400c8170
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [0x140ae7d48], 0
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400bb9c0
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1400bb9c0
nop
lea rdx, [0x1401fd3ac]
lea rcx, [rsp + 0x38]
call fcn.1400bbae0
nop
lea rdx, [rsp + 0x28]
lea rcx, [0x1400c7190]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [0x140ae7d48]
mov qword [rsp + 0x20], rax
lea r9, [fcn.1400c00e0]
mov r8d, 3
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140193dc0
mov rax, qword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x1400c8e80
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x470
mov qword [rsp + 0x20], 0
mov edx, dword [rsp + 0x480]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400c8eca
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400c8f5b
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1400c8f05
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400c8f5b
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x488]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400c8f2b
add rax, 2
test dx, dx
jne 0x1400c8f15
xor eax, eax
jmp 0x1400c8f30
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400c8f3b
mov rax, qword [rsp + 0x58]
jmp 0x1400c8f5b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1400c8f05
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x470
pop rdi
ret
Function at 0x1400c9c00
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x98
mov r8d, dword [rsp + 0xa0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400c9c39
xor eax, eax
jmp 0x1400c9e0d
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2], 0
jne 0x1400c9c4f
mov rax, qword [rsp + 0x50]
shl rax, 1
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400c9caa
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400c9e0d
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x1400c9cc0
mov rax, qword [rsp + 0x58]
shl rax, 1
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400c9d35
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400c9e0d
lea rcx, [0x1401fa2b0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x78], rax
lea rdx, [0x1401fa2d0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400c9dc9
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400c9e0d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x98
ret
Function at 0x1400ca6a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400ca6d6
mov eax, 0xfffffffd
jmp 0x1400ca7d3
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400ca6f6
mov eax, 0xfffffffd
jmp 0x1400ca7d3
cmp dword [rsp + 0x20], 0
jne 0x1400ca704
xor eax, eax
jmp 0x1400ca7d3
movsxd rax, dword [rsp + 0x20]
inc rax
lea rdx, [0x14020eee0]
mov rcx, rax
call fcn.1401942e0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400ca73c
mov eax, 0xfffffffe
jmp 0x1400ca7d3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
movsxd rax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x78]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x38], rax
je 0x1400ca7a3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140193e90
mov eax, 0xfffffffd
jmp 0x1400ca7d3
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400ca3a0
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140193e90
mov eax, dword [rsp + 0x28]
add rsp, 0x68
ret
Function at 0x1400cb790
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x10325476
ret
Function at 0x1400cd330
Capabilities:
Terminate thread

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x78
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x14022eac0]
xor edx, edx
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x14022eac0]
mov edx, 0x1f4
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x14022ee00]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14011a340
movzx eax, al
lea rdx, [0x1401f9e98]
lea rcx, [0x1401f9ea0]
call fcn.1400e5eb0
movsxd rcx, dword [rsp + 0x80]
imul rcx, rcx, 0x170
lea rdx, [0x140cf2c00]
add rdx, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1400c1b20
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140ae0750]
cmp qword [rcx + rax*8], 0
je 0x1400cd525
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [0x1401f9eb0]
mov rcx, qword [rsp + 0x20]
call fcn.1400bbae0
mov qword [rsp + 0x28], rax
mov r8d, 0x135
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x80]
call fcn.1400e6d80
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140ae0430]
movsxd rdx, dword [rsp + 0x80]
mov qword [rsp + 0x30], rdx
lea r8, [0x14022ee00]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x30]
mov rcx, qword [r8 + rax*8]
call fcn.14012dd10
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140ae0750]
movsxd rdx, dword [rsp + 0x80]
mov qword [rsp + 0x38], rdx
lea r8, [0x14022ee00]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x38]
mov rcx, qword [r8 + rax*8]
call fcn.14012dd10
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140ae08e0]
movsxd rdx, dword [rsp + 0x80]
mov qword [rsp + 0x40], rdx
lea r8, [0x14022ee00]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x40]
mov rcx, qword [r8 + rax*8]
call fcn.14012dd10
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140ae0a70]
movsxd rdx, dword [rsp + 0x80]
mov qword [rsp + 0x48], rdx
lea r8, [0x14022ee00]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x48]
mov rcx, qword [r8 + rax*8]
call fcn.14012dd10
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rdx, str._e4N
mov rcx, qword [rsp + 0x50]
call fcn.1400bbae0
mov qword [rsp + 0x58], rax
mov r8d, 0x13a
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x80]
call fcn.1400e6d80
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x14022eac0]
mov qword [rcx + rax*8], 0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140cfe710]
lea rax, [rcx + rax*8]
lea rdx, [0x1401ef8d3]
mov rcx, rax
call fcn.1400c18a0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x14022ee00]
mov qword [rcx + rax*8], 0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x14022ed60]
mov qword [rcx + rax*8], 0
add rsp, 0x78
ret
Function at 0x1400cd810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x60], 0
je 0x1400cd842
cmp qword [rsp + 0x70], 0
je 0x1400cd842
cmp qword [rsp + 0x80], 0
jne 0x1400cd849
xor eax, eax
jmp 0x1400cd9ac
mov ecx, 0x100
call fcn.1401942ac
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400c8c90
test eax, eax
jne 0x1400cd880
xor eax, eax
jmp 0x1400cd9ac
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
jmp 0x1400cd8a4
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x24], eax
jge 0x1400cd985
mov eax, dword [rsp + 0x20]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
add eax, dword [rsp + 0x28]
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1400e5e70
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x2c], eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx + rcx]
movsxd rdx, dword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
movzx edx, byte [r8 + rdx]
add ecx, edx
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x2c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx], al
jmp 0x1400cd89a
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x68]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140193e90
mov eax, 0xffffffff
add rsp, 0x58
ret
Function at 0x1400d19e0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.1400bd860
nop
mov rdx, qword [rsp + 0x2d8]
lea rcx, [rsp + 0x50]
call fcn.1400bd6b0
nop
lea rdx, [0x1401ef3ec]
lea rcx, [rsp + 0x50]
call fcn.1400c3ab0
lea rcx, [rsp + 0x50]
call fcn.140075fd0
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400d1b1b
mov eax, dword [rsp + 0x70]
and eax, 0x10
test eax, eax
je 0x1400d1af8
lea rax, [rsp + 0x9c]
lea rcx, [0x1401ef3f4]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400d1a88
add rax, 2
test dx, dx
jne 0x1400d1a72
xor eax, eax
jmp 0x1400d1a8d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400d1ac2
lea rax, [rsp + 0x9c]
lea rcx, [0x1401ef3f8]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400d1ab9
add rax, 2
test dx, dx
jne 0x1400d1aa3
xor eax, eax
jmp 0x1400d1abe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400d1ac4
jmp 0x1400d1af8
lea rcx, [rsp + 0x30]
call fcn.1400dbf60
movzx eax, al
test eax, eax
jne 0x1400d1ae6
lea rdx, [0x1401ef400]
lea rcx, [rsp + 0x30]
call fcn.1400c3ab0
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x30]
call fcn.1400c3ab0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400d1a51
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2d0]
call fcn.1400bd630
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.1400c0b70
nop
lea rcx, [rsp + 0x30]
call fcn.1400c0b70
mov rax, qword [rsp + 0x2d0]
add rsp, 0x2c8
ret
Function at 0x1400d2c20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400d2c4b
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400d2c52
mov al, 1
jmp 0x1400d2dac
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.1400dc210
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.1400dc210
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1400dc2b0
movzx eax, al
test eax, eax
je 0x1400d2ca9
xor al, al
jmp 0x1400d2dac
mov qword [rsp + 0x68], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400d2d19
cmp dword [rsp + 0x30], 1
je 0x1400d2d25
cmp dword [rsp + 0x30], 3
je 0x1400d2d9a
jmp 0x1400d2daa
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400d2d71
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x1400d2d71
xor al, al
jmp 0x1400d2dac
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400d2d8b
mov dword [rsp + 0x34], 1
jmp 0x1400d2d93
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400d2dac
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400d2dac
xor al, al
add rsp, 0xa8
ret