joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018f00
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rcx, [0x140217a50]
call fcn.1400101f0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x40]
lea r8, [0x1401b82b8]
lea rdx, [0x1401b82c0]
lea rcx, [0x1401b82d0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x270]
call fcn.140023080
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140138320
add rsp, 0x260
pop rdi
ret

Function at 0x140018fc0
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x38
lea rcx, [0x140217a50]
call fcn.1400101f0
mov r9, rax
mov r8d, 1
lea rdx, str.killexp
lea rcx, [0x1401b82f0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140018ffc
xor al, al
jmp 0x140018ffe
mov al, 1
add rsp, 0x38
ret

Function at 0x140019010
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x38
lea rcx, [0x140217a50]
call fcn.1400101f0
mov r9, rax
mov r8d, 1
lea rdx, str.shutdown
lea rcx, [0x1401b8318]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14001904c
xor al, al
jmp 0x14001904e
mov al, 1
add rsp, 0x38
ret

Function at 0x140019060
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x30], 0
lea rcx, [0x140217a50]
call fcn.1400101f0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400190d6
lea rdx, str.N.N.N.N
mov rcx, qword [rsp + 0x290]
call fcn.140009a10
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x290]
jmp 0x14001915f
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rcx, [0x140217a50]
call fcn.1400101f0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
lea r8, str.X.X.X.X
lea rdx, [0x1401b8360]
lea rcx, str.VERSION
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140023080
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x290]
call fcn.14001ab50
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.140010220
mov rax, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140138320
add rsp, 0x280
pop rdi
ret
Function at 0x140019180
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x30], 0xa000
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov eax, 2
mov rcx, qword [rsp + 0x58]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x1401a11e1]
mov rcx, rax
call fcn.140138d24
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140019211
mov rcx, qword [rsp + 0x2e0]
call fcn.140010220
jmp 0x1400193bf
mov dword [rsp + 0x20], 0
mov rdi, qword [rsp + 0x28]
xor eax, eax
mov ecx, 0xa000
rep stosb byte [rdi], al
lea rcx, [0x140217a50]
call fcn.1400101f0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x2e0]
call fcn.1400101f0
mov rcx, qword [rsp + 0x68]
mov r9, rcx
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x20], eax
jge 0x140019361
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x1400192a2
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
lea rcx, [rdx + rcx*2]
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xb0]
call fcn.1400144e0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x1400192fa
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x20]
lea rax, [rcx + rax + 1]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
call fcn.140023080
nop
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x2e8]
call fcn.140022250
nop
lea rcx, [rsp + 0x90]
call fcn.140010220
jmp 0x140019264
cmp qword [rsp + 0x28], 0
je 0x1400193b2
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140138344
cmp qword [rsp + 0x50], 0
jne 0x140019393
mov qword [rsp + 0x80], 0
jmp 0x1400193a9
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x2e0]
call fcn.140010220
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x2d0
pop rdi
ret
Function at 0x1400193e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x100], 1
mov r8, qword [rsp + 0x120]
lea rdx, [0x1401b250c]
lea rcx, [rsp + 0x70]
call fcn.1400255c0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea r8, [0x1401b24fc]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400256a0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x120]
call fcn.140015370
nop
lea rcx, [rsp + 0x50]
call fcn.140010220
nop
lea rcx, [rsp + 0x70]
call fcn.140010220
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_WSASetLastError
rep stosb byte [rdi], al
mov dword [rsp + 0x90], reloc.WS2_32.dll_WSASetLastError
movzx eax, byte [rsp + 0x148]
test eax, eax
je 0x1400194cf
mov dword [rsp + 0x94], 0x440
jmp 0x1400194da
mov dword [rsp + 0x94], 0x40
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov rcx, qword [rsp + 0x120]
call fcn.1400101f0
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x128]
call fcn.1400101f0
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0
movzx eax, byte [rsp + 0x140]
test eax, eax
je 0x140019541
mov dword [rsp + 0xc0], 5
jmp 0x14001954c
mov dword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
lea rcx, [rsp + 0x90]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp qword [rsp + 0x138], 0
je 0x140019589
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
movzx eax, byte [rsp + 0x130]
test eax, eax
je 0x1400195c0
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x120]
call fcn.140010220
nop
mov rcx, qword [rsp + 0x128]
call fcn.140010220
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140138320
add rsp, 0x110
pop rdi
ret
Function at 0x140019610
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x100], 1
mov r8, qword [rsp + 0x120]
lea rdx, [0x1401b252c]
lea rcx, [rsp + 0x70]
call fcn.1400255c0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea r8, [0x1401b251c]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400256a0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x120]
call fcn.140015370
nop
lea rcx, [rsp + 0x50]
call fcn.140010220
nop
lea rcx, [rsp + 0x70]
call fcn.140010220
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_WSASetLastError
rep stosb byte [rdi], al
mov dword [rsp + 0x90], reloc.WS2_32.dll_WSASetLastError
movzx eax, byte [rsp + 0x148]
test eax, eax
je 0x1400196ff
mov dword [rsp + 0x94], 0x440
jmp 0x14001970a
mov dword [rsp + 0x94], 0x40
mov qword [rsp + 0x98], 0
lea rax, [0x1401b8378]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x120]
call fcn.1400101f0
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x128]
call fcn.1400101f0
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0
movzx eax, byte [rsp + 0x140]
test eax, eax
je 0x140019774
mov dword [rsp + 0xc0], 5
jmp 0x14001977f
mov dword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
lea rcx, [rsp + 0x90]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp qword [rsp + 0x138], 0
je 0x1400197bc
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
movzx eax, byte [rsp + 0x130]
test eax, eax
je 0x1400197f1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x120]
call fcn.140010220
nop
mov rcx, qword [rsp + 0x128]
call fcn.140010220
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140138320
add rsp, 0x110
pop rdi
ret
Function at 0x140019840
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140023080
nop
lea rdx, [0x1401b253c]
lea rcx, [rsp + 0x30]
call fcn.140022fd0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x280]
call fcn.140015400
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140010220
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140138320
add rsp, 0x270
pop rdi
ret

Function at 0x140019900
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, Ordinal_26
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140023080
nop
lea rdx, [0x1401b254c]
lea rcx, [rsp + 0x30]
call fcn.140022fd0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x280]
call fcn.140015400
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140010220
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140138320
add rsp, 0x270
pop rdi
ret
Function at 0x14001a240
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140023080
nop
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140022c10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140015370
nop
lea rcx, [rsp + 0x40]
call fcn.140010220
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x2b0]
call fcn.140015400
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x60]
call fcn.140010220
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140138320
add rsp, 0x2a0
pop rdi
ret
Function at 0x14001a340
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x308
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r8d, 1
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x310]
call fcn.140022770
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rdx, [0x1401b25ac]
mov rcx, qword [rsp + 0x40]
call fcn.140022540
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x48]
call fcn.14000ffc0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14001a3cf
mov dx, 0x5c
mov rcx, qword [rsp + 0x310]
call fcn.140022920
lea r8, [0x1401b8428]
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x60]
call fcn.14000fed0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140010050
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x60]
call fcn.14000ffc0
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14001a449
mov rcx, qword [rsp + 0x310]
call fcn.14000ffc0
nop
mov rcx, qword [rsp + 0x318]
call fcn.14000ffc0
jmp 0x14001a5a0
mov eax, dword [rsp + 0xa0]
and eax, 0x10
test eax, eax
je 0x14001a45c
jmp 0x14001a55e
mov edx, 8
lea rcx, [rsp + 0x98]
call fcn.14000c8b0
lea r8, [rsp + 0xcc]
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x98]
call fcn.14000fed0
nop
mov edx, 8
lea rcx, [rsp + 0x90]
call fcn.14000c8b0
lea rdx, [0x1401b25bc]
lea rcx, [rsp + 0x30]
call fcn.140022af0
nop
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x318]
lea rcx, [rsp + 0x78]
call fcn.140022670
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0xcc]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x90]
call fcn.14000fed0
nop
lea rcx, [rsp + 0x78]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x30]
call fcn.14000ffc0
lea rcx, [rsp + 0x90]
call fcn.140010050
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x98]
call fcn.140010050
mov r8d, 1
mov rcx, qword [rsp + 0x80]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
lea rcx, [rsp + 0x90]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x98]
call fcn.14000ffc0
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001a449
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, qword [rsp + 0x310]
call fcn.14000ffc0
nop
mov rcx, qword [rsp + 0x318]
call fcn.14000ffc0
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x308
ret
Function at 0x14001b3c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4f0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x14018a760]
mov r8d, 1
xor edx, edx
lea rcx, [0x14018a850]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14001b46e
xor edx, edx
mov rcx, qword [rsp + 0x500]
call fcn.140023080
nop
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x500]
jmp 0x14001b554
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
lea r8, [rsp + 0x50]
lea rdx, [0x14018a7b0]
mov rcx, qword [rsp + 0x48]
call qword [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14001b4fc
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
xor r8d, r8d
mov rdx, qword [rsp + 0x508]
mov rcx, qword [rsp + 0x50]
call qword [rax + Ordinal_41]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14001b4ec
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, 0x104
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x48]
call qword [rax + Ordinal_26]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x58]
call fcn.140023080
nop
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x500]
call fcn.140015400
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x58]
call fcn.140010220
mov rax, qword [rsp + 0x500]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x4f0
pop rdi
ret
Function at 0x14001b8d0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov edx, Ordinal_26
lea rcx, [rsp + 0x90]
call fcn.14000c8b0
lea rdx, [0x1401b26a4]
lea rcx, [rsp + 0x50]
call fcn.140009a10
nop
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x90]
call fcn.14001b670
nop
lea rcx, [rsp + 0x50]
call fcn.140009960
lea rcx, [rsp + 0x90]
call fcn.140021fc0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0xa8]
call fcn.140009a60
nop
mov dword [rsp + 0x20], 0
jmp 0x14001b977
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x30]
jae 0x14001ba69
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140021f90
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x20], 0
jne 0x14001ba26
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.140015550
movsx eax, byte [rax]
cmp eax, 0x3a
je 0x14001b9df
lea rcx, [rsp + 0xa8]
call fcn.140009960
nop
lea rcx, [rsp + 0x90]
call fcn.140010100
jmp 0x14001ba84
lea r8, [0x1401b26b4]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.1400259a0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xa8]
call fcn.140010520
nop
lea rcx, [rsp + 0x70]
call fcn.140009960
jmp 0x14001b96d
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xa8]
call fcn.140010520
lea rcx, [rsp + 0xa8]
call fcn.1400097a0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, [0x1401b26c4]
lea rcx, [rsp + 0xa8]
call fcn.1400104f0
jmp 0x14001b96d
lea rcx, [rsp + 0xa8]
call fcn.140009960
nop
lea rcx, [rsp + 0x90]
call fcn.140010100
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140138320
add rsp, 0xd8
ret
Function at 0x14001bdc0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x78], 0
mov rcx, qword [rsp + 0xa0]
call fcn.140022bc0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 2
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x14001be6d
mov byte [rsp + 0x40], 0
mov rcx, qword [rsp + 0xa0]
call fcn.14000ffc0
nop
mov rcx, qword [rsp + 0xb0]
call fcn.14000ffc0
movzx eax, byte [rsp + 0x40]
jmp 0x14001bf74
mov rcx, qword [rsp + 0xb0]
call fcn.140022bc0
movzx ecx, word [rsp + 0xa8]
mov r8, rax
mov edx, ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x44], 0
je 0x14001bf44
cmp dword [rsp + 0x44], 0x200000
jae 0x14001bee2
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
jmp 0x14001beea
mov dword [rsp + 0x4c], 0x200000
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x44]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x14001bec7
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x41], 1
mov rcx, qword [rsp + 0xa0]
call fcn.14000ffc0
nop
mov rcx, qword [rsp + 0xb0]
call fcn.14000ffc0
movzx eax, byte [rsp + 0x41]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140138320
add rsp, 0x98
ret