joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006eab0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x14006eaf0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1400978d8]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x14006eb2e
cmp rsi, r14
jb 0x14006eb26
cmp rsi, r15
jae 0x14006eb26
cmp qword [rsi + 8], 0
jne 0x14006ecf7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14006eb11
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x14006ebc2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x14006ebb9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14006ebb9
cmp dword [rsp + 0x70], 0x10000
je 0x14006ec3b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x14006ebb9
sub rbx, rbp
cmp rbx, r14
jae 0x14006eb80
test rsi, rsi
jne 0x14006eca0
cmp rdi, r15
ja 0x14006ecdf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x14006ecdf
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14006ecdf
cmp dword [rsp + 0x70], 0x10000
je 0x14006ec71
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x14006ebf2
jmp 0x14006ecdf
test rbx, rbx
je 0x14006ebb9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14006eca0
cmp rbx, r14
jae 0x14006eb60
jmp 0x14006ebc2
test rdi, rdi
je 0x14006ecdf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14006eca0
cmp rdi, r15
jbe 0x14006ebd0
jmp 0x14006ecdf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x14006ecb0
mov rax, qword [0x1400978d8]
mov qword [rsi], rax
mov qword [0x1400978d8], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1400736c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007370a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007370a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007370a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007370a
cmp dword [rcx + 0x84], 0xe
jbe 0x14007370a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007370c
xor al, al
add rsp, 0x28
ret
Function at 0x41b2dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x41b336
call fcn.00413bf8
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x41b336
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x41b358
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.0041ad5c
test rdi, rdi
mov esi, eax
je 0x41b356
test rbx, rbx
je 0x41b356
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x423e77
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x00449e08]
jne 0x42078a
rol rcx, 0x10
test cx, 0xffff
jne 0x420786
repz ret
ror rcx, 0x10
jmp 0x423dd0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0044f3a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0044f498]
mov qword [rsp + 0x58], rax
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 0x423e55
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, [0x0044f3a0]
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 0x423e77
mov rax, qword [rsp + 0x88]
mov qword [0x0044f498], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0044f438], rax
mov rax, qword [0x0044f498]
mov qword [0x0044f310], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0044f420], rax
mov dword [0x0044f300], 0xc0000409
mov dword [0x0044f304], 1
mov rax, qword [0x00449e08]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00449e10]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0044f398], eax
mov ecx, 1
call fcn.0042e9a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0043c000]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0044f398], 0
jne 0x423efe
mov ecx, 1
call fcn.0042e9a0
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 0x42e9b0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.004245e0
xor ebx, ebx
cmp qword [0x00450070], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x42eae1
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x42ea13
xor eax, eax
jmp 0x42ebc1
lea rdx, [0x0043c8a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x42ea0c
mov rcx, rax
call fcn.00424570
lea rdx, [0x0043c890]
mov rcx, rbp
mov qword [0x00450070], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00424570
lea rdx, [0x0043c878]
mov rcx, rbp
mov qword [0x00450078], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00424570
lea rcx, [rsp + 0x30]
mov qword [0x00450080], rax
call fcn.004226b0
test eax, eax
je 0x42ea97
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00423fe0
cmp dword [rsp + 0x30], 2
jne 0x42eae1
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00424570
test rax, rax
mov qword [0x00450090], rax
je 0x42eae1
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00424570
mov qword [0x00450088], rax
mov rcx, qword [0x00450088]
cmp rcx, rsi
je 0x42eb73
cmp qword [0x00450090], rsi
je 0x42eb73
call fcn.00424640
call rax
test rax, rax
mov rbp, rax
je 0x42eb3e
mov rcx, qword [0x00450090]
call fcn.00424640
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x42eb3e
test byte [rsp + 0x48], 1
jne 0x42eb73
lea rcx, [rsp + 0x34]
call fcn.00422700
test eax, eax
je 0x42eb60
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00423fe0
cmp dword [rsp + 0x34], 4
jb 0x42eb6d
bts edi, 0x15
jmp 0x42eba7
bts edi, 0x12
jmp 0x42eba7
mov rcx, qword [0x00450078]
cmp rcx, rsi
je 0x42eba7
call fcn.00424640
call rax
test rax, rax
mov rbx, rax
je 0x42eba7
mov rcx, qword [0x00450080]
cmp rcx, rsi
je 0x42eba7
call fcn.00424640
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x00450070]
call fcn.00424640
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400012a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x1050
call fcn.14000bda0
sub rsp, rax
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rsi, rdx
mov r13, rcx
add rcx, 0x70
lea rdx, [0x14002c854]
mov ebp, 0xffffffff
call fcn.140003fc0
mov r14, rax
test rax, rax
jne 0x140001301
lea rdx, [rsi + 0x12]
push 0xffffffffb5630d8d
add al, byte [rax]
call fcn.140002b10
xor ebx, ebx
jmp 0x14000142a
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r13]
mov rcx, r14
call fcn.140010df4
test eax, eax
jns 0x14000133d
lea r8, [rsi + 0x12]
lea rdx, [0x14002c890]
lea rcx, [0x14002c8cc]
call fcn.140002870
mov rcx, r14
call fcn.14001076c
xor ebx, ebx
jmp 0x14000142a
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x1048], r12
call fcn.140015570
mov r12, rax
mov rbx, rax
test rax, rax
jne 0x140001380
mov r9d, dword [rsi + 0xc]
lea r8, [rsi + 0x12]
lea rdx, [0x14002c8e0]
lea rcx, [0x14002c6f4]
call fcn.140002870
mov rcx, r14
call fcn.14001076c
jmp 0x140001422
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x1090], rdi
mov qword [rsp + 0x1040], r15
jne 0x140001453
mov r9, r12
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140001050
test eax, eax
jne 0x1400014c7
mov rcx, r14
add rsi, 0x12
call fcn.14001076c
mov rdx, rsi
lea rcx, [r13 + 0x3070]
call fcn.1400077c0
test eax, eax
js 0x140001412
mov qword [rsp + 0x28], rsi
lea r9, [r13 + 0x3070]
lea r8, [0x14002c924]
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call fcn.140001ee0
cmp eax, 0x1000
jge 0x140001412
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.140004160
mov ebp, eax
mov rdi, qword [rsp + 0x1090]
mov r15, qword [rsp + 0x1040]
mov r12, qword [rsp + 0x1048]
mov rcx, rbx
call fcn.14001555c
mov eax, ebp
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14000be00
add rsp, 0x1050
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov edi, dword [rsi + 0xc]
mov r15, r12
test rdi, rdi
je 0x1400013b3
mov eax, 0x2000
nop word [rax + rax]
cmp rdi, rax
mov rbp, rdi
mov r9, r14
mov r8d, 1
cmova rbp, rax
mov rcx, r15
mov rdx, rbp
call fcn.140010abc
cmp rax, 1
jb 0x1400014ab
add r15, rbp
mov eax, 0x2000
sub rdi, rbp
jne 0x140001470
mov ebp, 0xffffffff
jmp 0x1400013b3
lea r8, [rsi + 0x12]
lea rdx, [0x14002c7d8]
lea rcx, [0x14002c80c]
call fcn.140002870
mov ebp, 0xffffffff
mov rcx, r12
call fcn.14001555c
mov rcx, r14
call fcn.14001076c
xor ebx, ebx
jmp 0x140001412
Function at 0x140007420
Capabilities:
Create directory
Query environment variable

Disassembly:
push rdi
mov eax, 0x4030
call fcn.14000bda0
sub rsp, rax
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.140008bd0
mov rdi, rax
test rax, rax
jne 0x140007469
lea rcx, [0x14002eb10]
call fcn.140002b10
xor eax, eax
jmp 0x140007578
mov r8d, 0x1000
mov qword [rsp + 0x4048], rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.14001555c
test ebx, ebx
jne 0x1400074a6
lea rcx, [0x14002eb50]
call fcn.140002b10
xor eax, eax
jmp 0x140007570
lea rcx, [rsp + 0x20]
call fcn.140008a70
test eax, eax
je 0x1400074c0
lea rcx, [rsp + 0x20]
call fcn.140017f84
jmp 0x1400074d2
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.140016908
mov rbx, rax
test rax, rax
jne 0x1400074ed
lea rcx, [0x14002eba0]
call fcn.140002b10
xor eax, eax
jmp 0x140007570
xor edx, edx
lea rcx, [rsp + 0x2020]
mov r8d, 0x2000
call fcn.14002b380
mov edx, 0x5c
mov rcx, rbx
call fcn.14000ccf8
mov rdi, rax
test rax, rax
je 0x140007562
nop word [rax + rax]
mov r8, rdi
lea rcx, [rsp + 0x2020]
sub r8, rbx
mov rdx, rbx
sar r8, 1
inc r8
call fcn.140018008
xor edx, edx
lea rcx, [rsp + 0x2020]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.14000ccf8
mov rdi, rax
test rax, rax
jne 0x140007520
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rbx
mov rbx, qword [rsp + 0x4048]
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000be00
add rsp, 0x4030
pop rdi
ret
Function at 0x140007950
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x2050
call fcn.14000bda0
sub rsp, rax
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x2040], rax
xor edi, edi
mov rbp, rdx
mov r15, rcx
mov esi, edi
test rdx, rdx
je 0x1400079dd
lea rcx, [0x14002ebe4]
call fcn.140007b60
mov rcx, rbp
mov rsi, rax
call fcn.140007420
mov r14, rax
test rax, rax
je 0x140007aaf
mov rdx, rax
lea rcx, [0x14002ebe8]
call fcn.1400183cc
mov rcx, r14
mov ebx, eax
call fcn.14001555c
test ebx, ebx
je 0x1400079dd
lea rcx, [0x14002ebf0]
call fcn.140002b10
xor eax, eax
jmp 0x140007b38
lea rdx, [rsp + 0x40]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, [0x14002ec28]
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002810
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140019084
mov rcx, rax
mov rbx, rax
call fcn.140008b70
test eax, eax
je 0x140007ab6
mov rcx, rbx
call fcn.14001555c
inc edi
cmp edi, 5
jl 0x140007a10
test rbp, rbp
je 0x140007aaf
xor r8d, r8d
lea rdx, [0x14002ebe4]
xor ecx, ecx
call fcn.140008bd0
test rsi, rsi
je 0x140007a99
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.140008bd0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400183cc
mov rcx, rdi
call fcn.14001555c
mov rcx, rbx
call fcn.14001555c
mov rcx, rsi
call fcn.14001555c
xor eax, eax
jmp 0x140007b38
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14001555c
xor eax, eax
jmp 0x140007b38
mov r8d, 0x1000
mov rdx, rbx
mov rcx, r15
call fcn.140008ce0
mov rcx, rbx
call fcn.14001555c
test rbp, rbp
je 0x140007b33
xor r8d, r8d
lea rdx, [0x14002ebe4]
xor ecx, ecx
call fcn.140008bd0
test rsi, rsi
je 0x140007b1d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.140008bd0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400183cc
mov rcx, rdi
call fcn.14001555c
mov rcx, rbx
call fcn.14001555c
mov rcx, rsi
jmp 0x140007b2e
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14001555c
mov eax, 1
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.14000be00
mov rbx, qword [rsp + 0x2090]
add rsp, 0x2050
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008080
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2110
call fcn.14000bda0
sub rsp, rax
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x2100], rax
mov rdx, rcx
xor edi, edi
lea rcx, [rsp + 0x100]
mov dword [rsp + 0x50], edi
mov r8d, 0x1000
call fcn.140008bd0
mov ebx, 1
lea rcx, [0x140007400]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xorps xmm0, xmm0
mov qword [rsp + 0x98], rdi
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xcc], 0x101
mov word [rsp + 0xd0], bx
call fcn.1400158d0
mov rcx, rax
call fcn.14001aff4
mov ecx, eax
call fcn.140018c10
cmp rax, 0xffffffffffffffff
mov ecx, ebx
cmove rax, rdi
mov qword [rsp + 0xe0], rax
call fcn.1400158d0
mov rcx, rax
call fcn.14001aff4
mov ecx, eax
call fcn.140018c10
cmp rax, 0xffffffffffffffff
lea ecx, [rdi + 2]
cmove rax, rdi
mov qword [rsp + 0xe8], rax
call fcn.1400158d0
mov rcx, rax
call fcn.14001aff4
mov ecx, eax
call fcn.140018c10
cmp rax, 0xffffffffffffffff
cmove rax, rdi
mov qword [rsp + 0xf0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x100]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140008200
mov rcx, qword [rsp + 0x70]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x50]
jmp 0x140008218
lea rdx, [0x14002ecd0]
lea rcx, [0x14002ecf0]
call fcn.1400029c0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2100]
xor rcx, rsp
call fcn.14000be00
mov rbx, qword [rsp + 0x2128]
add rsp, 0x2110
pop rdi
ret
Function at 0x1400082b0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov rsi, r8
mov ecx, 0x2000
mov r14, rdx
xor r13d, r13d
call fcn.140015570
mov r15, rax
test rax, rax
je 0x1400083c3
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, r12
call fcn.140010df4
test eax, eax
js 0x1400083c3
mov rcx, r12
mov qword [rsp + 0x50], rbx
call fcn.140019650
mov rbx, rax
cmp rax, rsi
jb 0x1400083be
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
nop dword [rax]
cmp rbx, 0x2000
lea rbp, [rbx - 0x2000]
cmovb rbp, r13
sub rbx, rbp
cmp rbx, rsi
jb 0x1400083b4
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.140010df4
test eax, eax
js 0x1400083b4
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.140010abc
cmp rax, rbx
jne 0x1400083b4
sub rbx, rsi
add rbx, 1
je 0x14000839b
lea rdi, [r15 - 1]
add rdi, rbx
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14002b720
test eax, eax
je 0x1400083ad
dec rdi
sub rbx, 1
jne 0x140008380
lea rbx, [rsi - 1]
add rbx, rbp
test rbp, rbp
jne 0x140008320
jmp 0x1400083b4
lea r13, [rbp - 1]
add r13, rbx
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rcx, r15
call fcn.14001555c
mov rax, r13
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret

Function at 0x140008b70
Capabilities:
Create directory

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140040fb0]
test rax, rax
jne 0x140008b96
lea rcx, [0x14002ef38]
call fcn.140002c30
mov eax, 0xffffffff
add rsp, 0x48
ret
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x18
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
dec eax
add rsp, 0x48
ret
Function at 0x140004c60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140004cbd
lea rbx, [0x14012f310]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004ca4
cmp r10, 2
jb 0x140004ca4
cmp byte [r9], r8b
jne 0x140004ca4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140004c80
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004cff
lea rbx, [0x14012f310]
cmp r8b, 0x23
jne 0x140004ce3
cmp byte [r9], r8b
jne 0x140004ce3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140004cd0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004e40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140004e5a
mov qword [r8], 0
lea rdx, [0x14012ef04]
call fcn.140004d10
mov rbx, rax
test rax, rax
jne 0x140004e7a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140004f51
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004f51
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004f51
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004f51
cmp rdi, 0xffffffffffffffff
je 0x140004f51
mov rax, qword [0x1401cc4b0]
test rax, rax
je 0x140004eee
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140004f51
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140004f3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401cc4b0]
test rax, rax
je 0x140004f33
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004f5a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140004f4c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140004f5c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret