joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400023c4
Capabilities:
Get file size

Disassembly:
jmp 0x140022f60
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x338
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x348]
mov qword [rax], 0
lea rdx, str.Unknown
mov rcx, qword [rsp + 0x350]
call fcn.140004624
mov rax, qword [rsp + 0x358]
mov qword [rax], 0
mov qword [rsp + 0x40], 0xffffffffffffffff
mov rax, qword [rsp + 0x340]
add rax, 8
mov rcx, rax
call fcn.140002b08
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x140023020
xor eax, eax
jmp 0x1400230b2
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14002304b
mov rax, qword [rsp + 0x358]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x340]
add rax, 8
mov rcx, rax
call fcn.140002b08
mov dword [rsp + 0x20], 0x701
mov r9d, 0x2b8
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0x350]
call fcn.140004624
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x338
ret
Function at 0x140002702
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x1400d5ff0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [0x140001573]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [rsp + 0x90], 0
jne 0x1400d619b
lea rcx, [rsp + 0x48]
call fcn.14000138e
nop
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
jmp 0x1400d608d
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x98]
call fcn.140005e66
cmp qword [rsp + 0x28], rax
jae 0x1400d612d
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
call fcn.1400026d5
mov eax, dword [rax + 0x1c]
and eax, 0x40000
test eax, eax
je 0x1400d6128
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
call fcn.1400026d5
mov eax, dword [rax + 0x18]
and eax, 0xc00000
test eax, eax
je 0x1400d6128
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
call fcn.1400026d5
mov eax, dword [rax + 0x18]
and eax, 0x80000
test eax, eax
je 0x1400d6128
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
call fcn.1400026d5
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000105a
jmp 0x1400d612d
jmp 0x1400d6080
cmp dword [rsp + 0x20], 0
jne 0x1400d616a
mov rcx, qword [rsp + 0x98]
call fcn.140005e66
test rax, rax
jbe 0x1400d616a
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.1400026d5
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000105a
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0
je 0x1400d6191
mov rcx, qword [rsp + 0x98]
call fcn.140001c62
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
call fcn.140002815
nop
lea rcx, [rsp + 0x48]
call fcn.1400052f4
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x78
ret

Function at 0x14000284c
Capabilities:
Set registry value

Disassembly:
jmp 0x140067c80
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x140067cd9
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x140214388]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x186c
lea rdx, [0x140215fa0]
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x140067cd9
int3
xor eax, eax
test eax, eax
jne 0x140067c93
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140002a72
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400a9d30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x60]
mov dword [rax], 0
mov qword [rsp + 0x30], 0
lea r8, [0x14022a578]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR120D.dll__wfopen_s]
cmp qword [rsp + 0x30], 0
jne 0x1400a9d88
jmp 0x1400a9ed1
mov r9, qword [rsp + 0x30]
mov r8d, 2
mov edx, 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR120D.dll_fread]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 2
je 0x1400a9dba
jmp 0x1400a9ed1
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x20]
cmp eax, 0xff
jne 0x1400a9e01
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x20]
cmp eax, 0xfe
jne 0x1400a9e01
mov dword [rsp + 0x28], 2
mov rax, qword [rsp + 0x60]
mov dword [rax], 2
jmp 0x1400a9ed1
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x20]
cmp eax, 0xfe
jne 0x1400a9e48
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x20]
cmp eax, 0xff
jne 0x1400a9e48
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x60]
mov dword [rax], 2
jmp 0x1400a9ed1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR120D.dll_rewind]
mov r9, qword [rsp + 0x30]
mov r8d, 3
mov edx, 1
lea rcx, [rsp + 0x24]
call qword [sym.imp.MSVCR120D.dll_fread]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 3
je 0x1400a9e7f
jmp 0x1400a9ed1
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x24]
cmp eax, 0xef
jne 0x1400a9ed1
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
cmp eax, 0xbb
jne 0x1400a9ed1
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
cmp eax, 0xbf
jne 0x1400a9ed1
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x60]
mov dword [rax], 3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR120D.dll_fclose]
mov eax, dword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x140002b62
Capabilities:
Check os version

Disassembly:
jmp 0x140070e70
push rdi
sub rsp, 0x160
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], VarUI4FromDisp
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140070ed9
cmp dword [rsp + 0x34], 5
jae 0x140070ecf
cmp dword [rsp + 0x34], 4
jne 0x140070ed9
cmp dword [rsp + 0x38], 0x5a
jb 0x140070ed9
mov dword [rsp + 0x20], 0
jmp 0x140070ee1
mov dword [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x160
pop rdi
ret
Function at 0x140002e6e
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400df740
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x88]
call fcn.1400037e7
nop
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0xf8]
call fcn.140002b08
mov rcx, rax
call fcn.1400060c3
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400df7df
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x88]
call fcn.140004179
nop
mov rcx, qword [rsp + 0xf8]
call fcn.1400053e9
mov eax, dword [rsp + 0x50]
jmp 0x1400df936
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.1401b0bb0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0xf8]
call fcn.140002b08
lea r8, [0x1402329cc]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCR120D.dll__wfopen_s]
cmp qword [rsp + 0x48], 0
je 0x1400df85a
movsxd rax, dword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120D.dll_fread]
cmp rax, 1
je 0x1400df8a3
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call sub.MSVCR120D.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x58], 2
lea rcx, [rsp + 0x88]
call fcn.140004179
nop
mov rcx, qword [rsp + 0xf8]
call fcn.1400053e9
mov eax, dword [rsp + 0x58]
jmp 0x1400df936
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR120D.dll_fclose]
lea rax, [0x140232354]
mov qword [rsp + 0x20], rax
mov r9d, 0x4c
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xa8]
call fcn.140005687
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x100]
call fcn.140002022
lea rcx, [rsp + 0xa8]
call fcn.1400028ec
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call sub.MSVCR120D.dll_void___cdecl_operator_delete___void____ptr64_
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.140004179
nop
mov rcx, qword [rsp + 0xf8]
call fcn.1400053e9
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0xe8
ret
Function at 0x140002f36
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400d7950
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
cmp dword [rsp + 0x68], 0
je 0x1400d7a5a
mov eax, dword [rsp + 0x60]
cdq
mov ecx, 3
idiv ecx
cdqe
mov rcx, rax
call fcn.1401b0bb0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
jmp 0x1400d79b5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x60]
cdq
mov ecx, 3
idiv ecx
cmp dword [rsp + 0x20], eax
jge 0x1400d7a19
imul eax, dword [rsp + 0x20], 3
cdqe
mov rcx, qword [rsp + 0x58]
movzx eax, byte [rcx + rax]
imul ecx, dword [rsp + 0x20], 3
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x58]
movzx ecx, byte [rdx + rcx]
add eax, ecx
imul ecx, dword [rsp + 0x20], 3
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x58]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
mov ecx, 3
idiv ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
jmp 0x1400d79ab
mov eax, dword [rsp + 0x60]
cdq
mov ecx, 3
idiv ecx
cdqe
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x60]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120D.dll_fwrite]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call sub.MSVCR120D.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x1400d7a7c
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x60]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120D.dll_fwrite]
mov eax, 1
add rsp, 0x48
ret
Function at 0x140003120
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400a7ad0
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120D.dll_rewind]
mov r9, qword [rsp + 0x40]
mov r8d, 3
mov edx, 1
lea rcx, [rsp + 0x24]
call qword [sym.imp.MSVCR120D.dll_fread]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 3
je 0x1400a7b0e
xor eax, eax
jmp 0x1400a7b32
mov r8d, 3
lea rdx, [0x14022a46c]
lea rcx, [rsp + 0x24]
call sub.MSVCR120D.dll_memcmp
test eax, eax
jne 0x1400a7b30
mov eax, 1
jmp 0x1400a7b32
xor eax, eax
add rsp, 0x38
ret

Function at 0x140003198
Capabilities:
Delete registry key

Disassembly:
jmp 0x140064730
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x140064803
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400647a7
lea rax, str.hAdvAPI32___0
mov qword [rsp + 0x28], rax
lea rax, [0x140214388]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x29c
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VC_atlmfcinclude_atltransactionmanager.h
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x1400647a7
int3
cmp qword [rsp + 0x30], 0
jne 0x1400647b6
mov eax, 1
jmp 0x140064825
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140064801
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [rsp + reloc.WS2_32.dll_getservbyport]
jmp 0x140064825
jmp 0x140064820
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x140064820
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140064825
mov eax, 1
add rsp, 0x48
ret
Function at 0x14000336e
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14005f220
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x50], 0x20
jne 0x14005f28e
mov rax, qword [rsp + 0x40]
add rax, 8
mov r8d, 1
mov edx, 0xffffffff
mov rcx, rax
call fcn.140004b8d
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x14005f28e
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x14005f28e
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.1400020d1
mov rax, qword [rsp + 0x60]
mov dword [rax], 0
mov eax, 1
add rsp, 0x38
ret

Function at 0x1400034ef
Capabilities:
Delete registry key

Disassembly:
jmp 0x140054530
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x140054584
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x140214388]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1682
lea rdx, [0x140215fa0]
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x140054584
int3
xor eax, eax
test eax, eax
jne 0x14005453e
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x1400545b6
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.140003198
jmp 0x140054639
movzx eax, byte [0x140291c41]
test eax, eax
jne 0x1400545fb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400545f4
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140291c38], rax
mov byte [0x140291c41], 1
cmp qword [0x140291c38], 0
je 0x140054626
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [0x140291c38]
jmp 0x140054639
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x48
ret
Function at 0x1400038b4
Capabilities:
Get file size

Disassembly:
jmp 0x140024090
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rcx, [rsp + 0x68]
call fcn.140002d51
nop
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0
jmp 0x1400240e1
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xa0]
call fcn.140003f35
cmp dword [rsp + 0x40], eax
jge 0x1400241f9
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call fcn.140004ea8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 8
xor edx, edx
mov rcx, rax
call fcn.140003d2d
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002b67
nop
lea rcx, [rsp + 0x58]
call fcn.140002b08
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140024185
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x1400240d7
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400241be
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x1400240d7
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x1400240d7
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x68]
call fcn.1400053e9
mov rax, qword [rsp + 0x78]
add rsp, 0x98
ret
Function at 0x140003927
Capabilities:
Get file size

Disassembly:
jmp 0x1400a5e10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0xffffffffffffffff
je 0x1400a5e33
mov rcx, qword [rsp + 0x60]
call fcn.1400012f8
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0xffffffffffffffff
jne 0x1400a5e7c
xor eax, eax
jmp 0x1400a5ed5
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
lea rdx, [rsp + 0x40]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov eax, 1
add rsp, 0x58
ret
Function at 0x140003a71
Capabilities:
Get file size

Disassembly:
jmp 0x140028fe0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x88]
call fcn.140002e55
nop
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rcx, [rsp + 0x80]
call fcn.140002d51
nop
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x128]
add rax, 0xf8
lea rdx, [rsp + 0xd8]
mov rcx, rax
call fcn.1400011f9
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x88]
call fcn.1400047cd
nop
lea rcx, [rsp + 0xd8]
call fcn.14000614a
jmp 0x1400290ad
xor r8d, r8d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x88]
call fcn.1400047eb
lea rcx, [rsp + 0xc0]
call fcn.14000614a
mov rax, qword [rsp + 0x128]
add rax, 0xf8
lea rdx, [rsp + 0xf0]
mov rcx, rax
call fcn.1400022f7
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.1400017d0
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0xf0]
call fcn.14000614a
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140029203
lea rcx, [rsp + 0x88]
call fcn.1400040de
add rax, 0x10
xor edx, edx
mov rcx, rax
call fcn.140003d2d
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002b67
nop
lea rcx, [rsp + 0x58]
call fcn.140002b08
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14002918f
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x140029088
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400291c8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x140029088
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x140029088
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x80]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x88]
call fcn.14000614a
mov rax, qword [rsp + 0x70]
add rsp, 0x118
ret
Function at 0x140003b61
Capabilities:
Create directory

Disassembly:
jmp 0x140016eb0
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
lea rcx, [rsp + 0x28]
call fcn.140002d51
nop
xor r8d, r8d
mov dx, 0x3a
mov rcx, qword [rsp + 0x80]
call fcn.140005420
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x140016ef7
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
mov dx, VarDateFromDisp
mov rcx, qword [rsp + 0x80]
call fcn.140005420
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140016f34
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x28]
call fcn.140001451
jmp 0x140016f74
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
call fcn.140001edd
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.140001451
nop
lea rcx, [rsp + 0x50]
call fcn.1400053e9
lea rcx, [rsp + 0x28]
call fcn.140002b08
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x140016fca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140016fca
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x28]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x80]
call fcn.1400053e9
mov eax, dword [rsp + 0x34]
jmp 0x14001704e
lea rcx, [rsp + 0x28]
call fcn.140002b08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
and eax, 0x10
test eax, eax
jne 0x140017012
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x80]
call fcn.1400053e9
mov eax, dword [rsp + 0x30]
jmp 0x14001704e
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14001701b
jmp 0x14001702a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140016eff
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x28]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x80]
call fcn.1400053e9
mov eax, dword [rsp + 0x38]
add rsp, 0x78
ret