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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1d0
mov rdi, rcx
mov rsi, rdx
lea rcx, [0x140096618]
or edx, 0xffffffff
call fcn.140017380
lea rcx, [rsp + 0xc0]
mov rdx, rax
mov rbx, rax
call fcn.1400194b0
mov rcx, rbx
call fcn.1400185f4
lea rcx, [rsp + 0x30]
call fcn.140016ac0
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x30]
call fcn.1400168d0
xor ebp, ebp
mov dword [rdi + 0xc], ebp
mov rcx, rbp
mov edx, ebp
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x30]
inc rcx
add edx, eax
cmp rcx, 0x10
jl 0x140016810
mov dword [rdi + 0xc], edx
lea rdx, [0x140098d54]
mov rcx, rsi
call fcn.140019ebc
mov qword [rdi], rax
test rax, rax
je 0x140034040
mov rcx, rdi
call fcn.140017440
test eax, eax
je 0x14003404a
mov rcx, qword [rdi]
mov ebx, eax
call fcn.14001a354
mov eax, ebx
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, 1
jmp 0x14001685a
mov r9, qword [rdi]
mov edx, 1
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xf]
call fcn.14001a6e8
lea rdx, [rsp + 0x20]
mov r9d, 0x99f2
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rdi
call fcn.1400587b0
mov dword [rdi + 0xc], ebp
mov ecx, ebp
movzx eax, byte [rsp + rbp + 0x20]
inc rbp
imul ecx, eax
cmp rbp, 0x10
jl 0x14003407e
mov dword [rdi + 0xc], ecx
mov rcx, qword [rdi]
call fcn.14001b74c
mov dword [rdi + 8], eax
xor eax, eax
jmp 0x14001685a

Function at 0x140016ac0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
add rcx, 0x44
lea r8d, [rdx + 8]
call fcn.140018a40
mov dword [rbx + 0x34], 0x67452301
mov dword [rbx + 0x38], 0xefcdab89
mov dword [rbx + 0x3c], 0x98badcfe
mov dword [rbx + 0x40], 0x10325476
add rsp, 0x20
pop rbx
ret
Function at 0x140017440
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10040
call fcn.140030df0
sub rsp, rax
mov rdi, rcx
xor edx, edx
lea rcx, [0x140000000]
nop
movzx eax, byte [rdx + rcx + 0xaaf00]
inc rdx
cmp rdx, 8
mov byte [rsp + rdx + 0x1f], al
movzx eax, byte [rdx + rcx + 0xaa787]
mov byte [rsp + rdx + 0x27], al
jl 0x140017460
lea rdx, str.AU3_
lea rcx, [rsp + 0x10058]
call fcn.1400194b0
lea rdx, [rsp + 0x10058]
lea rcx, [rsp + 0x30]
mov r8d, 4
call fcn.140018610
xor ebx, ebx
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8d, 0x10000
call fcn.14001a6e8
cmp eax, 0x18
jl 0x140017522
lea r10d, [rax - 0x14]
xor ecx, ecx
mov r11, rax
test r10d, r10d
jle 0x14001750a
lea rdx, [rsp + 0x40]
nop
xor r9d, r9d
xor r8d, r8d
movzx eax, byte [rdx + r8]
cmp byte [rsp + r8 + 0x20], al
je 0x140031680
cmp r9d, 0x14
je 0x140031695
inc ecx
inc rdx
cmp ecx, r10d
jl 0x1400174e0
mov rcx, qword [rdi]
mov edx, 0xffffffec
lea ebx, [rbx + r11 - 0x14]
lea r8d, [rdx + 0x15]
call fcn.140019f7c
jmp 0x1400174af
mov eax, 3
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
inc r8
inc r9d
cmp r8, 0x14
jl 0x1400174e6
jmp 0x1400174f6
lea edx, [rbx + rcx + 0x14]
mov rcx, qword [rdi]
xor r8d, r8d
call fcn.140019f7c
mov r9, qword [rdi]
mov edx, 1
lea r8d, [rdx + 3]
lea rcx, [rsp + 0x10058]
call fcn.14001a6e8
lea rdx, str.EA06
lea rcx, [rsp + 0x10058]
mov byte [rsp + 0x1005c], 0
call fcn.140019b60
neg eax
sbb eax, eax
and eax, 4
jmp 0x140017527

Function at 0x1400175d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rsp + 0x60]
lea eax, [r9 + r9]
mov rdi, r8
mov dword [rsp + 0x58], eax
xor eax, eax
mov r9d, 1
mov word [rbx], ax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001764c
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0x58]
test r11d, r11d
je 0x140017641
shr r11d, 1
mov dword [rsp + 0x58], r11d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140017660
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor eax, eax
xor edx, edx
mov dword [0x1400be100], 5
lea ecx, [rax + 0x5b]
mov dword [0x1400be104], 5
mov byte [0x1400be108], 1
mov dword [0x1400be160], eax
mov byte [0x1400be109], al
mov qword [0x1400be110], rax
mov dword [0x1400be178], 0xa0
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x10]
mov byte [0x1400be175], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, dword [0x1400be178]
xor edx, edx
mov byte [0x1400be172], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, RegisterTypeLib
mov byte [0x1400be173], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x11]
mov byte [0x1400be174], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x12]
mov byte [0x1400be170], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea rcx, [rsp + 0x20]
mov byte [0x1400be171], al
call qword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
mov ebx, 1
lea rdi, [0x1400ab618]
movzx ecx, byte [rbx + rdi]
call qword [sym.imp.USER32.dll_VkKeyScanA]
cmp ax, 0xffff
je 0x14001779f
inc rbx
cmp rbx, 7
jle 0x140017726
lea rdx, str.0409
lea rcx, [rsp + 0x24]
call fcn.140019b60
test eax, eax
je 0x140031b80
lea rdx, str.0809
lea rcx, [rsp + 0x24]
call fcn.140019b60
test eax, eax
jne 0x140031bb2
mov byte [0x1400ab61a], 0x20
mov byte [0x1400ab61d], 0x20
mov byte [str.___bd_t_], 0x20
mov byte [0x1400ab61b], 0x20
mov byte [0x1400ab61c], 0x20
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov byte [rbx + rdi], SafeArrayAllocDescriptor
jmp 0x140017736
lea rdx, str.0002
lea rcx, [rsp + 0x20]
mov r8d, 4
call fcn.140019c20
mov byte [0x1400ab61a], 0x20
mov byte [0x1400ab61d], 0x20
test eax, eax
je 0x140017794
jmp 0x14001777f
lea rdx, [0x140097498]
lea rcx, [rsp + 0x26]
call fcn.140019b60
test eax, eax
jne 0x140031bd3
mov byte [0x1400ab61d], 0x20
jmp 0x14001778d
lea rdx, [0x14009749c]
lea rcx, [rsp + 0x26]
call fcn.140019b60
test eax, eax
je 0x140017771
lea rdx, [0x1400974a0]
lea rcx, [rsp + 0x26]
call fcn.140019b60
test eax, eax
je 0x14001778d
lea rdx, [0x1400974a4]
lea rcx, [rsp + 0x26]
call fcn.140019b60
test eax, eax
jne 0x140017794
jmp 0x140017778
Function at 0x140018484
Capabilities:
Terminate process

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

Function at 0x140018490
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140020140
nop
cmp dword [0x1400ac2d0], 1
je 0x140018430
mov dword [0x1400ac2cc], 1
mov byte [0x1400ac2c8], r12b
test ebx, ebx
jne 0x14001841c
mov rcx, qword [0x1400c16f0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140018409
mov rcx, qword [0x1400c16e8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400183a8
call fcn.14001f690
cmp qword [rdi], rax
jne 0x1400183a8
jmp 0x14001838e
cmp rdi, rsi
jb 0x140018409
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001f690
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400c16f0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400c16e8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400183e7
cmp r13, rax
je 0x140018407
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14001838e
lea rdx, [0x1400930f0]
lea rcx, [0x1400930d8]
call fcn.1400181d8
lea rdx, [0x140093100]
lea rcx, [0x1400930f8]
call fcn.1400181d8
nop
test r12d, r12d
je 0x14001843f
mov ecx, 8
call fcn.140020040
test r12d, r12d
jne 0x14001846a
mov dword [0x1400ac2d0], 1
lea ecx, [r12 + 8]
call fcn.140020040
mov ecx, r15d
call fcn.14001816c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400182f8
Function at 0x14002a2f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14001f690
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400acc10], rbx
jne 0x14002a3f6
lea rcx, [0x140095928]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14002a4cb
lea rdx, [0x140095918]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002a4cb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140095908]
mov rcx, rsi
mov qword [0x1400acc10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400958f0]
mov rcx, rsi
mov qword [0x1400acc18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400958d0]
mov rcx, rsi
mov qword [0x1400acc20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400acc30], rax
test rax, rax
je 0x14002a3ed
lea rdx, [0x1400958b8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400acc28], rax
jmp 0x14002a3fd
mov rax, qword [0x1400acc28]
jmp 0x14002a404
mov rax, qword [0x1400acc28]
mov r11, qword [0x1400acc30]
cmp rax, rdi
je 0x14002a46c
cmp r11, rdi
je 0x14002a46c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400acc30]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14002a46c
test rax, rax
je 0x14002a46c
call rsi
test rax, rax
je 0x14002a466
lea rcx, [rsp + 0x88]
mov r9d, recvfrom
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002a466
test byte [rsp + 0x38], 1
jne 0x14002a46c
bts ebp, 0x15
jmp 0x14002a4aa
mov rcx, qword [0x1400acc18]
cmp rcx, rdi
je 0x14002a4aa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002a4aa
call rax
mov rbx, rax
test rax, rax
je 0x14002a4aa
mov rcx, qword [0x1400acc20]
cmp rcx, rdi
je 0x14002a4aa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002a4aa
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400acc10]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002a4cb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002a4cd
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002dfbb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400a9928]
jne 0x140029e7a
rol rcx, 0x10
test cx, 0xffff
jne 0x140029e76
repz ret
ror rcx, 0x10
jmp 0x14002df14
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400acd60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400ace58]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002df99
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400acd60]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14002dfbb
mov rax, qword [rsp + 0x88]
mov qword [0x1400ace58], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400acdf8], rax
mov rax, qword [0x1400ace58]
mov qword [0x1400accd0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400acde0], rax
mov dword [0x1400accc0], 0xc0000409
mov dword [0x1400accc4], 1
mov rax, qword [0x1400a9928]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400a9930]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400acd58], eax
mov ecx, 1
call fcn.14002a2e8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400962d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400acd58], 0
jne 0x14002e042
mov ecx, 1
call fcn.14002a2e8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14003d7c0
Capabilities:
Parse credit card information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r15
sub rsp, 0x20
mov al, byte [rcx]
mov esi, dword [rdx + 0x58]
movsxd r12, r9d
mov rbp, r8
mov r13, rdx
mov rbx, rcx
test al, al
je 0x14003d8f9
mov r15d, 1
cmp al, 0x5c
jne 0x14003d83b
add rbx, r15
mov al, byte [rbx]
test al, al
je 0x14003d8f9
cmp al, 0x51
jne 0x14003d9a8
add rbx, r15
mov al, byte [rbx]
test al, al
je 0x14003d8f9
cmp al, 0x5c
jne 0x14003d815
test al, al
je 0x14003d8f9
add rbx, r15
cmp byte [rbx], 0x45
jne 0x14003d815
jmp 0x14003d9a8
cmp al, 0x5b
jne 0x14003d8d9
xor edi, edi
add rbx, r15
movzx eax, byte [rbx]
cmp eax, 0x5c
jne 0x14003d87a
lea rcx, [rbx + 1]
cmp byte [rcx], 0x45
jne 0x14003d85e
mov rbx, rcx
jmp 0x14003d845
lea rdx, [0x14009e874]
mov r8d, 3
call fcn.140019c20
test eax, eax
jne 0x14003d888
add rbx, 3
jmp 0x14003d845
test edi, edi
jne 0x14003d888
cmp eax, 0x5e
jne 0x14003d888
mov edi, r15d
jmp 0x14003d845
lea rax, [rbx + 1]
cmp byte [rax], 0x5d
jne 0x14003d8cb
bt dword [r13 + 0x68], 0x19
cmovae rbx, rax
jmp 0x14003d8cb
test al, al
je 0x14003d8f9
cmp al, 0x5c
jne 0x14003d8cb
add rbx, r15
mov al, byte [rbx]
test al, al
je 0x14003d8f9
cmp al, 0x51
jne 0x14003d8cb
add rbx, r15
mov al, byte [rbx]
test al, al
je 0x14003d8f9
cmp al, 0x5c
jne 0x14003d8b2
test al, al
je 0x14003d8f9
add rbx, r15
cmp byte [rbx], 0x45
jne 0x14003d8b2
add rbx, r15
mov al, byte [rbx]
cmp al, 0x5d
jne 0x14003d89d
jmp 0x14003d9a8
cmp dword [rsp + 0x60], 0
je 0x14003d91b
cmp al, 0x23
jne 0x14003d91b
add rbx, r15
mov al, byte [rbx]
test al, al
je 0x14003d8f9
cmp al, 0xa
jne 0x14003d8e4
test al, al
jne 0x14003d9a8
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r13
pop r12
ret
cmp al, 0x28
jne 0x14003d9a8
mov al, byte [rbx + 1]
cmp al, 0x3f
je 0x14003d93b
cmp al, 0x2a
je 0x14003d93b
add esi, r15d
test rbp, rbp
jne 0x14003d9a8
cmp esi, r12d
jmp 0x14003d9a6
add rbx, 2
cmp byte [rbx], 0x50
jne 0x14003d947
add rbx, r15
cmp byte [rbx], 0x3c
jne 0x14003d957
mov al, byte [rbx + 1]
cmp al, 0x21
je 0x14003d957
cmp al, 0x3d
jne 0x14003d95c
cmp byte [rbx], 0x27
jne 0x14003d9a8
add esi, r15d
test rbp, rbp
jne 0x14003d969
cmp esi, r12d
je 0x14003d9ba
movzx ecx, byte [rbx]
add rbx, r15
mov eax, 0x3e
cmp ecx, 0x3c
mov rdx, rbx
cmove ecx, eax
jmp 0x14003d982
add rbx, r15
movzx eax, byte [rbx]
cmp eax, ecx
jne 0x14003d97f
test rbp, rbp
je 0x14003d9a8
mov rax, rbx
mov r8, r12
sub rax, rdx
cmp r12, rax
jne 0x14003d9a8
mov rcx, rbp
call fcn.140019c20
test eax, eax
je 0x14003d9ba
add rbx, r15
mov al, byte [rbx]
test al, al
jne 0x14003d7fc
jmp 0x14003d8f9
mov eax, esi
jmp 0x14003d8fc
Function at 0x14003e2f0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x80
xor r13d, r13d
mov rbp, r9
mov rax, r8
mov rsi, rdx
mov qword [r11 - 0x50], r13
cmp word [r8], r13w
je 0x14003e477
mov qword [r11 - 0x68], r13
mov dword [r11 - 0x70], r13d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14003e359
xor eax, eax
jmp 0x14003e4b4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 2
mov edx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rsp + 0xb0]
mov r8d, ebx
mov rcx, r12
mov rdx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rsp + 0x50]
lea r11, [rsp + 0x48]
lea r9, [0x140093280]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r11
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x48]
cmp rcx, r13
je 0x14003e352
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x58]
mov edx, SafeArrayAllocDescriptor
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r11, qword [rsp + 0xc0]
cmp dword [rbp], r13d
jne 0x14003e444
cmp dword [r11], r13d
jne 0x14003e444
mov eax, dword [rsp + 0x5c]
mov dword [rbp], eax
mov eax, dword [rsp + 0x60]
mov dword [r11], eax
mov r9d, dword [r11]
mov r8d, dword [rbp]
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.USER32.dll_CopyImage]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [rsp + 0x40]
jmp 0x14003e47f
mov r9, r13
mov qword [rsp + 0x40], r13
mov rcx, qword [rsi + 0x98]
cmp rcx, r13
je 0x14003e496
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9, qword [rsp + 0x40]
mov rbx, qword [rsi]
xor r8d, r8d
mov edx, 0x172
mov rcx, rbx
mov qword [rsi + 0x98], r9
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14003ee40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x50
mov rbx, rdx
xor edx, edx
lea rbp, [0x1400c03e0]
lea r8d, [rdx + 0x68]
mov rcx, rbp
call fcn.140018a40
xor edx, edx
lea rdi, [0x1400c03c0]
lea r8d, [rdx + 0x18]
mov rcx, rdi
call fcn.140018a40
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rbp
xor edi, edi
mov eax, 1
xor r9d, r9d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], SafeArrayDestroyDescriptor
mov dword [0x1400c03e0], 0x68
mov dword [0x1400c041c], eax
mov word [0x1400c0420], ax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, edi
je 0x14003eedc
mov rcx, qword [0x1400c03c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14003f2a0
Capabilities:
Parse url

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x8a0
mov rsi, qword [rsp + 0x8d8]
and qword [rsp + 0x28], 0
mov eax, 0x400
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x8d0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x8e0]
mov rcx, rdx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x8e8]
mov rbp, r9
mov qword [rsp + 0x58], rax
lea rax, [r11 - 0x818]
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x20], WSAGetLastError
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], rsi
call fcn.140018b2c
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x14003f392
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.1400180f4
mov ecx, dword [rsp + 0x34]
movzx r11d, word [rsp + 0x44]
sub ecx, 1
mov dword [rbp], r11d
je 0x14003f38a
cmp ecx, 1
je 0x14003f382
mov dword [rdi], 3
jmp 0x14003f390
mov dword [rdi], 2
jmp 0x14003f390
mov dword [rdi], 1
mov al, 1
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003f480
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rbp, rdx
lea rdx, [rsp + 0x30]
mov esi, r9d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003f4c1
xor al, al
jmp 0x14003f607
xor ebx, ebx
lea rdx, [0x140098e4c]
lea rcx, [rsp + 0x5c]
call fcn.140018ccc
cmp eax, ebx
je 0x14003f516
lea rdx, [0x14009bfd8]
lea rcx, [rsp + 0x5c]
call fcn.140018ccc
cmp eax, ebx
je 0x14003f516
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x5c]
mov edx, eax
mov eax, esi
or edx, dword [rsp + 0x2b0]
not eax
and edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, ebx
je 0x14003f545
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
jne 0x14003f4c3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov sil, byte [rsp + 0x2c0]
cmp sil, bl
jne 0x14003f553
mov al, 1
jmp 0x14003f607
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14003f4ba
lea rdx, [rsp + 0x30]
lea rcx, [0x14009bfd0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14003f5fa
test byte [rsp + 0x30], 0x10
je 0x14003f5e4
lea rdx, [0x140098e4c]
lea rcx, [rsp + 0x5c]
call fcn.140018ccc
cmp eax, ebx
je 0x14003f5e4
lea rdx, [0x14009bfd8]
lea rcx, [rsp + 0x5c]
call fcn.140018ccc
cmp eax, ebx
je 0x14003f5e4
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r9d, dword [rsp + 0x2b8]
mov r8d, dword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2a0]
mov rdx, rbp
mov byte [rsp + 0x20], sil
call fcn.14003f480
cmp al, bl
je 0x14003f5fc
lea rcx, [0x14009bfd8]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
jne 0x14003f572
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret