joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b858
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14003e0a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400212dc
xor ebx, ebx
cmp qword [0x140040f98], rbx
mov rdi, rax
jne 0x14002b96b
lea rcx, str.USER32.DLL
call qword [0x140032180]
mov rsi, rax
test rax, rax
je 0x14002ba42
lea rdx, [0x140034a70]
mov rcx, rax
call qword [0x1400320c8]
test rax, rax
je 0x14002ba42
mov rcx, rax
call qword [0x1400322a8]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140040f98], rax
call qword [0x1400320c8]
mov rcx, rax
call qword [0x1400322a8]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140040fa0], rax
call qword [0x1400320c8]
mov rcx, rax
call qword [0x1400322a8]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140040fa8], rax
call qword [0x1400320c8]
mov rcx, rax
call qword [0x1400322a8]
mov r11, rax
mov qword [0x140040fb8], rax
test rax, rax
je 0x14002b962
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [0x1400320c8]
mov rcx, rax
call qword [0x1400322a8]
mov qword [0x140040fb0], rax
jmp 0x14002b972
mov rax, qword [0x140040fb0]
jmp 0x14002b979
mov rax, qword [0x140040fb0]
mov r11, qword [0x140040fb8]
cmp rax, rdi
je 0x14002b9e0
cmp r11, rdi
je 0x14002b9e0
mov rcx, rax
call qword [0x1400322a0]
mov rcx, qword [0x140040fb8]
mov rsi, rax
call qword [0x1400322a0]
mov r12, rax
test rsi, rsi
je 0x14002b9e0
test rax, rax
je 0x14002b9e0
call rsi
test rax, rax
je 0x14002b9da
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002b9da
test byte [rsp + 0x40], 1
jne 0x14002b9e0
bts ebp, 0x15
jmp 0x14002ba20
mov rcx, qword [0x140040fa0]
cmp rcx, rdi
je 0x14002ba20
call qword [0x1400322a0]
test rax, rax
je 0x14002ba20
call rax
mov rbx, rax
test rax, rax
je 0x14002ba20
mov rcx, qword [0x140040fa8]
cmp rcx, rdi
je 0x14002ba20
call qword [0x1400322a0]
test rax, rax
je 0x14002ba20
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140040f98]
call qword [0x1400322a0]
test rax, rax
je 0x14002ba42
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14002ba44
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001d120
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140016120
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401aa2e0]
call fcn.1400bfd90
mov eax, edi
add rsp, 0x50
pop rdi
ret

Function at 0x1400165d0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x40
cmp dword [rsp + 0x50], 0
jne 0x1400165ec
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
jmp 0x1400165f4
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140016623
mov byte [rsp + 0x31], 1
jmp 0x140016628
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a900
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
lea rdi, [rsp + 0x30]
mov ecx, 0x4c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x170]
cmp qword [rsp + 0x170], 0
je 0x14001a94d
mov rax, qword [rsp + 0x170]
jmp 0x14001aae0
lea rcx, [rsp + 0x40]
call fcn.140004cd0
nop
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cdqe
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x14001a984
lea rdx, [0x1401ae4e0]
lea rcx, [rsp + 0x40]
call fcn.140053030
lea rcx, [rsp + 0xb8]
call fcn.140044830
nop
lea rcx, [rsp + 0x108]
call fcn.140044830
nop
xor r8d, r8d
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x178]
call fcn.140035000
mov qword [rsp + 0x158], rax
xor r8d, r8d
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x180]
call fcn.140035000
mov rcx, qword [rsp + 0x158]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x188]
mov r8, rax
lea rdx, [0x1401ae4e8]
lea rcx, [rsp + 0x40]
call fcn.140053b90
mov rcx, qword [rsp + 0x190]
call fcn.14001ab00
test rax, rax
jne 0x14001aa36
lea rdx, [0x1401ae51c]
lea rcx, [rsp + 0x40]
call fcn.140053030
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x40]
call fcn.140053030
lea rcx, [rsp + 0x40]
call fcn.140052720
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0xa8], 0
je 0x14001aa64
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
int3
mov r9d, SafeArrayLock
lea r8, [0x1401ae528]
mov rdx, qword [rsp + 0x148]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
test eax, eax
jne 0x14001aaa2
mov r8d, 0x41
lea rdx, str.D:HSwin_androidplugins_vprj_winclasslib_sys_baselibswin_basecpp_vol_assert.cpp
lea rcx, [0x1401ae600]
call fcn.140124f80
xor eax, eax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x108]
call fcn.140004d30
nop
lea rcx, [rsp + 0xb8]
call fcn.140004d30
nop
lea rcx, [rsp + 0x40]
call fcn.140004db0
mov rax, qword [rsp + 0x150]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401b0720]
call fcn.1400bfd90
mov rax, rdi
add rsp, 0x160
pop rdi
ret
Function at 0x140021a90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [rsp + 0x70], 0
je 0x140021af9
cmp qword [rsp + 0x58], 0
je 0x140021af9
cmp qword [rsp + 0x60], 0
jl 0x140021af9
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1f8], 0
jne 0x140021af9
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xa0], 0
jne 0x140021af9
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xa8], 0
jne 0x140021af9
mov qword [rsp + 0x20], 1
jmp 0x140021b02
mov qword [rsp + 0x20], 0
mov r9d, GetAltMonthNames
lea r8, [0x1401b4230]
lea rdx, str.pVolAppRuntimeClass___NULL__hInstance___NULL__npArgC___0__m_hInstance__NULL__m_pVolAppObject__NULL__m_blpComInitSucceeded__FALSE
mov rcx, qword [rsp + 0x20]
call fcn.14001a8b0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x1f8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x200], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x208], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x210], eax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x140021b80
mov qword [rsp + 0x28], 1
jmp 0x140021b89
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0xa8], rcx
xor ecx, ecx
call fcn.14003a620
mov rax, qword [rsp + 0x50]
movsd qword [rax + 0xb0], xmm0
mov rcx, qword [rsp + 0x70]
call fcn.140019d00
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0xa0], rax
call fcn.140012a90
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xa0]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + 0xa0]
mov qword [rsp + 0x30], rdx
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, rax
mov rax, qword [rsp + 0x38]
call qword [rax + 0x68]
test eax, eax
jne 0x140021c48
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0xa0]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xa0]
mov rax, qword [rax]
call qword [rax + 0x60]
mov r9d, 0x15d
lea r8, [0x1401b4350]
lea rdx, [0x1401b4008]
xor ecx, ecx
call fcn.14001a8b0
mov ecx, 0xffffffff
call fcn.140125e00
add rsp, 0x40
pop rdi
ret
Function at 0x140022210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x20]
mov ecx, SafeArrayAllocDescriptor
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
cmp dword [rsp + 0xb8], 0
jl 0x140022261
cmp dword [rsp + 0xb8], 4
jge 0x140022261
mov qword [rsp + 0x90], 1
jmp 0x14002226d
mov qword [rsp + 0x90], 0
mov r9d, 0x244
lea r8, [0x1401b48e0]
lea rdx, str.enImageType___0__enImageType____NUM_VOL_RES_IMAGE_TYPES
mov rcx, qword [rsp + 0x90]
call fcn.14001a8b0
cmp qword [rsp + 0xc0], 0
je 0x140022425
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax]
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0xb8], 0
je 0x1400222cf
cmp dword [rsp + 0xb8], 3
jne 0x1400223d3
movzx eax, word [rsp + 0xc0]
mov r8d, 0xa
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400223d1
mov qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140022391
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140022386
lea rcx, [rsp + 0x58]
call fcn.140023610
nop
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov r8d, eax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14001bfc0
test rax, rax
je 0x14002237c
lea rcx, [rsp + 0x58]
call fcn.14001e1f0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
call fcn.14001bd70
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rsp + 0x30], 0
je 0x1400223d1
cmp dword [rsp + 0xb8], 3
jne 0x1400223ca
mov rcx, qword [rsp + 0x30]
call fcn.1400230d0
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rsp + 0x88]
jmp 0x140022427
mov rax, qword [rsp + 0x30]
jmp 0x140022427
jmp 0x140022425
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 1
je 0x1400223f7
cmp dword [rsp + 0x98], 2
je 0x14002240e
jmp 0x140022425
movzx eax, word [rsp + 0xc0]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x140022427
movzx eax, word [rsp + 0xc0]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x140022427
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401b7e60]
call fcn.1400bfd90
mov rax, rdi
add rsp, 0xa0
pop rdi
ret
Function at 0x140022810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rcx, qword [rsp + 0x70]
call fcn.140008d80
cmp qword [rsp + 0x68], 0
jne 0x140022845
mov eax, 1
jmp 0x140022906
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax]
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140022888
jmp 0x140022901
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400228a7
jmp 0x140022901
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400228ec
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.140023f40
mov qword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
test eax, eax
jne 0x14002284e
mov rax, qword [rsp + 0x20]
add rsp, 0x50
pop rdi
ret
Function at 0x1400380e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
cmp qword [rsp + 0x48], 0
jle 0x140038102
mov qword [rsp + 0x20], 1
jmp 0x14003810b
mov qword [rsp + 0x20], 0
mov r9d, 0x9a3
lea r8, [0x1401c4ee0]
lea rdx, str.npBufLength___0
mov rcx, qword [rsp + 0x20]
call fcn.14001a8b0
mov rax, qword [rsp + 0x48]
shl rax, 1
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.140032010
mov r9d, 0x9a4
lea r8, [0x1401c4f50]
lea rdx, str.IsValidAddress___psBuf____npBufLength__sizeof__TCHAR____TRUE_
mov rcx, rax
call fcn.14001a8b0
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jbe 0x14003817e
mov qword [rsp + 0x28], 1
jmp 0x140038187
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop rdi
ret

Function at 0x1400381a0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x30]
call fcn.1400090b0
mov r9d, 0x9b6
lea r8, [0x1401c4ff0]
lea rdx, str.IsValidString__szNewDir_
mov rcx, rax
call fcn.14001a8b0
mov rcx, qword [rsp + 0x30]
call fcn.14001ab00
test rax, rax
je 0x1400381e3
xor eax, eax
jmp 0x1400381f0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cdqe
add rsp, 0x20
pop rdi
ret

Function at 0x140038740
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x20]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
call fcn.1400090b0
mov r9d, 0x71a
lea r8, [0x1401c3960]
lea rdx, [0x1401c39c0]
mov rcx, rax
call fcn.14001a8b0
mov rcx, qword [rsp + 0xc0]
call fcn.14001ab00
test rax, rax
je 0x1400387a5
xor eax, eax
jmp 0x14003880c
lea rcx, [rsp + 0x30]
call fcn.140004cd0
nop
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
call fcn.140038830
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400387de
mov qword [rsp + 0xa0], 1
jmp 0x1400387ea
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x30]
call fcn.140004db0
mov rax, qword [rsp + 0x98]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401ca558]
call fcn.1400bfd90
mov rax, rdi
add rsp, 0xb0
pop rdi
ret
Function at 0x140038dd0
Capabilities:
Copy file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rcx, qword [rsp + 0x40]
call fcn.14001ab00
test rax, rax
jne 0x140038e02
mov rcx, qword [rsp + 0x48]
call fcn.14001ab00
test rax, rax
je 0x140038e09
xor eax, eax
jmp 0x140038f00
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 1
je 0x140038e28
cmp dword [rsp + 0x24], 2
je 0x140038e4b
cmp dword [rsp + 0x24], 3
je 0x140038e41
jmp 0x140038e69
mov rcx, qword [rsp + 0x48]
call fcn.140038740
test rax, rax
je 0x140038e41
mov eax, 1
jmp 0x140038f00
mov dword [rsp + 0x20], 1
jmp 0x140038eb1
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140038cd0
test rax, rax
je 0x140038e69
mov eax, 1
jmp 0x140038f00
cmp dword [rsp + 0x50], 0
je 0x140038e82
cmp dword [rsp + 0x50], 2
je 0x140038e82
mov qword [rsp + 0x28], 0
jmp 0x140038e8b
mov qword [rsp + 0x28], 1
mov r9d, 0x6d9
lea r8, [0x1401c3730]
lea rdx, str.enOverrideMode__FCOM_OVERRIDE__enOverrideMode__FCOM_FAST
mov rcx, qword [rsp + 0x28]
call fcn.14001a8b0
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1401271e0
test eax, eax
jne 0x140038ee9
mov rcx, qword [rsp + 0x40]
call fcn.140038740
test rax, rax
jne 0x140038ee2
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140038f00
mov eax, 1
jmp 0x140038f00
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cdqe
add rsp, 0x30
pop rdi
ret
Function at 0x140039f50
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
lea rdi, [rsp + 0x50]
mov ecx, 0x48
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x180]
call fcn.1400090b0
mov r9d, 0x87a
lea r8, [0x1401c46c0]
lea rdx, str.IsValidString__szCommandLine_
mov rcx, rax
call fcn.14001a8b0
mov rcx, qword [rsp + 0x180]
call fcn.14001ab00
test rax, rax
je 0x140039fc2
xor eax, eax
jmp 0x14003a119
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400c2c60
mov dword [rsp + 0x60], 0x68
cmp qword [rsp + 0x190], 0
jl 0x14003a008
mov eax, dword [rsp + 0x9c]
or eax, 1
mov dword [rsp + 0x9c], eax
movzx eax, word [rsp + 0x190]
mov word [rsp + 0xa0], ax
lea rcx, [rsp + 0x118]
call fcn.140044830
nop
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x118]
call fcn.140046140
lea rcx, [rsp + 0x118]
call fcn.140008e50
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14003a0a9
mov qword [rsp + 0x158], 0
lea rcx, [rsp + 0x118]
call fcn.140004d30
mov rax, qword [rsp + 0x158]
jmp 0x14003a119
cmp qword [rsp + 0x188], 0
je 0x14003a0c9
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14003a0dc
mov edx, 0x1f4
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x160], 1
lea rcx, [rsp + 0x118]
call fcn.140004d30
mov rax, qword [rsp + 0x160]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401cab40]
call fcn.1400bfd90
mov rax, rdi
add rsp, 0x170
pop rdi
ret
Function at 0x14003a400
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rcx, qword [rsp + 0x180]
call fcn.1400090b0
mov r9d, 0x8ae
lea r8, [0x1401c4860]
lea rdx, [0x1401c48c0]
mov rcx, rax
call fcn.14001a8b0
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1400087a0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x140]
lea rdx, str.__select___
lea rcx, [rsp + 0x88]
call fcn.140058bb0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
lea r8, [0x1401c1704]
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0xe0]
call fcn.140058a70
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.140052720
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.explorer.exe
lea rdx, [0x1401c4900]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0xe0]
call fcn.140004db0
nop
lea rcx, [rsp + 0x88]
call fcn.140004db0
nop
lea rcx, [rsp + 0x30]
call fcn.140004db0
add rsp, 0x170
pop rdi
ret

Function at 0x14003a940
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401cadc0]
call fcn.1400bfd90
mov eax, edi
add rsp, 0x70
pop rdi
ret
Function at 0x14003bf30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa0]
call fcn.1400090b0
mov r9d, 0xa1e
lea r8, [0x1401c5390]
lea rdx, [0x1401c53f0]
mov rcx, rax
call fcn.14001a8b0
mov rcx, qword [rsp + 0xa8]
call fcn.1400090b0
mov r9d, 0xa1f
lea r8, [0x1401c5410]
lea rdx, [0x1401c5378]
mov rcx, rax
call fcn.14001a8b0
mov edx, 1
mov rcx, qword [rsp + 0xb0]
call fcn.140042270
mov r9d, 0xa20
lea r8, [0x1401c5470]
lea rdx, [0x1401c54d0]
mov rcx, rax
call fcn.14001a8b0
mov rcx, qword [rsp + 0xa0]
call fcn.14001ab00
test rax, rax
jne 0x14003c00f
mov rcx, qword [rsp + 0xa8]
call fcn.14001ab00
test rax, rax
jne 0x14003c00f
mov qword [rsp + 0x78], 1
jmp 0x14003c018
mov qword [rsp + 0x78], 0
mov r9d, 0xa21
lea r8, [0x1401c5510]
lea rdx, [0x1401c5570]
mov rcx, qword [rsp + 0x78]
call fcn.14001a8b0
mov rcx, qword [rsp + 0xb0]
call fcn.140008d80
mov rcx, qword [rsp + 0xa0]
call fcn.140041550
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14003c064
xor eax, eax
jmp 0x14003c158
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x14003c124
cmp dword [rsp + 0x44], 3
jne 0x14003c0b6
mov qword [rsp + 0x80], 1
jmp 0x14003c0c2
mov qword [rsp + 0x80], 0
mov r9d, 0xa2d
lea r8, [0x1401c55f0]
lea rdx, str.dwType__REG_BINARY
mov rcx, qword [rsp + 0x80]
call fcn.14001a8b0
mov eax, dword [rsp + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call fcn.140044ed0
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x74], 0
jne 0x14003c144
mov qword [rsp + 0x88], 1
jmp 0x14003c150
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x88]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400bfd90
mov rax, rdi
add rsp, 0x90
pop rdi
ret