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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov eax, dword [0x140549cd4]
mov rbx, rcx
test eax, eax
jne 0x140010359
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov edx, eax
shr edx, 1
or edx, eax
mov eax, edx
shr eax, 2
or eax, edx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [0x140549ce0], eax
mov eax, dword [rsp + 0x48]
mov dword [0x140549ce4], eax
mov eax, 1
xchg dword [0x140549cd4], eax
mov r13d, dword [0x140549ce0]
lea rax, [0x1403a3ea0]
test rbx, rbx
cmovne rax, rbx
mov r12d, dword [rax]
mov r14d, dword [rax + 4]
mov esi, dword [rax + 8]
mov r15d, dword [rax + 0xc]
mov eax, r12d
shr rax, 1
and eax, 1
lea rbp, [rax*2 + 1]
lea eax, [r14 - 0x10000]
cmp eax, 0xfff0000
ja 0x1400103a4
lea eax, [r14 - 1]
test r14d, eax
je 0x1400103ab
mov r14d, dword [0x140549ce4]
lea eax, [rsi - 0x40]
cmp eax, 0xc0
ja 0x1400103bc
lea eax, [rsi - 1]
test esi, eax
je 0x1400103c1
mov esi, 0x40
mov eax, 0xcccccccc
bt r12d, 0x1c
cmovae r15d, eax
imul rcx, rbp, 0x38
add rcx, 0x60
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14001046f
xorps xmm0, xmm0
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
lea rbx, [rax + 0x60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r9d, r9d
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x40], r9
lea rax, [rbx + 0x10]
mov qword [rdi + 0x48], r9
mov r8d, r9d
mov qword [rdi + 0x58], rbp
mov dword [rdi], r12d
mov dword [rdi + 4], r14d
mov dword [rdi + 8], esi
mov dword [rdi + 0xc], r15d
mov dword [rdi + 0x38], r13d
nop dword [rax]
mov qword [rax - 0x10], r9
mov rcx, r8
mov qword [rax - 8], r9
mov edx, esi
shl edx, cl
inc r8
mov qword [rax], r9
mov dword [rax + 8], r9d
mov word [rax + 0xc], dx
mov byte [rax + 0xf], r9b
mov qword [rax + 0x10], r9
mov qword [rax + 0x18], r9
mov qword [rax + 0x20], r9
lea rax, [rax + 0x38]
bsf ecx, edx
mov byte [rax - 0x2a], cl
cmp r8, rbp
jb 0x140010430
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140010490
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx eax, word [r8 + 0x1c]
lea r15, [r9 - 1]
mov r14, rcx
add r15, rax
movzx ecx, byte [r8 + 0x1e]
mov rbp, r9
shr r15, cl
mov ecx, 0x68
lea r12d, [r15 + 0x3f]
shr r12d, 6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xorps xmm0, xmm0
mov edi, 1
mov rbx, rax
movups xmmword [rsp + 0x20], xmm0
test rax, rax
je 0x14001060e
mov ecx, r12d
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r13d, r13d
mov rsi, rax
test rax, rax
je 0x140010605
test byte [r14], dil
je 0x140010535
lea r8d, [rdi + 6]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call sym.ConsoleApplication10.exe_unsigned_int___cdecl_asmjit::_abi_1_10::VirtMem::allocDualMapping_struct_asmjit::_abi_1_10::VirtMem::DualMapping____ptr64__unsigned_long_long_unsigned___int64___enum_asmjit::_abi_1_10::VirtMem::MemoryFlags_
mov rdx, qword [rsp + 0x28]
mov edi, eax
mov r13d, 4
jmp 0x14001056c
test rbp, rbp
jne 0x14001053f
lea edi, [rbp + 2]
jmp 0x140010562
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140010562
mov qword [rsp + 0x20], rax
xor edi, edi
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rdx
test edi, edi
jne 0x1400105fc
mov eax, dword [r14]
shr eax, 2
test al, 1
je 0x140010593
mov rcx, rbp
shr rcx, 2
test rcx, rcx
je 0x140010593
mov eax, dword [r14 + 0xc]
mov rdi, rdx
rep stosd dword [rdi], eax
mov r8d, r12d
xor edx, edx
shl r8, 4
mov rcx, rsi
call fcn.14015e888
mov rax, qword [rsp + 0x80]
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x20]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
lea rax, [rsi + r12*8]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
movups xmmword [rbx + 0x28], xmm0
mov qword [rax], rbx
xor eax, eax
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x40], r13d
mov dword [rbx + 0x44], r15d
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], r15d
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], r15d
mov qword [rbx + 0x58], rsi
jmp 0x140010610
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140012c40
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
cmp dword [0x140549cd0], 0
jne 0x140012d24
xorps xmm0, xmm0
mov word [rbp - 0x79], 2
xor eax, eax
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x77], xmm0
mov dword [rbp + 0x19], eax
movups xmmword [rbp - 0x67], xmm0
mov word [rbp + 0x1d], ax
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
movups xmmword [rbp + 9], xmm0
call fcn.140012010
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x140549bf0], xmm0
movaps xmmword [0x140549c00], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x140549c20], xmm1
movaps xmm1, xmmword [rbp - 0x29]
movaps xmmword [0x140549c40], xmm1
movaps xmm1, xmmword [rbp - 9]
mov dword [rbp - 0x59], eax
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x140549c10], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x140549c30], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x140549c50], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x140549c60], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x140549c70], xmm0
movsd qword [0x140549c80], xmm1
mov dword [0x140549cd0], 1
lea rax, [0x140549bf0]
add rsp, 0xf0
pop rbp
ret

Function at 0x140012e00
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
mov eax, r8d
shr eax, 2
test al, 1
je 0x140012e1e
shr r8d, 1
and r8d, 1
inc r8d
shl r8d, 5
jmp 0x140012e3b
test r8b, 3
je 0x140012e35
shr r8d, 1
and r8d, 1
lea r8d, [r8*2 + 2]
jmp 0x140012e3b
mov r8d, 1
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
mov ecx, 2
test eax, eax
cmovne ecx, edx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140013010
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x140549cd4]
test eax, eax
jne 0x140013076
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x140549ce0], rax
mov eax, 1
xchg dword [0x140549cd4], eax
mov rax, qword [0x140549ce0]
add rsp, 0x58
ret

Function at 0x140015f40
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, qword [rcx + 0x18]
mov rax, rdx
test r9, r9
je 0x140015f6e
cmp r8, 0xffffffffffffffff
jne 0x140015f60
inc r8
cmp byte [rdx + r8], 0
jne 0x140015f56
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
add rsp, 0x28
ret
Function at 0x14006c930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x48
movsx eax, byte [rsp + 0x58]
and eax, 1
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x60]
mov ecx, eax
call fcn.14006c380
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x58]
and eax, 0xf
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x14006c980
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
ja 0x14006ca03
movsx eax, byte [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
sar eax, cl
and eax, 1
cmp eax, dword [rsp + 0x34]
jne 0x14006c9a5
mov dword [rsp + 0x28], 1
jmp 0x14006c9ad
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x14006c9be
mov dword [rsp + 0x2c], 0
jmp 0x14006c9c6
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006c9e9
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14006c7c0
jmp 0x14006c9fe
movzx eax, byte [rsp + 0x20]
xor eax, 1
movzx edx, al
mov rcx, qword [rsp + 0x50]
call fcn.14006c7c0
jmp 0x14006c976
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14006c7c0
add rsp, 0x48
ret
Function at 0x14015e624
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14015e66e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14015e66e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14015e66e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14015e66e
cmp dword [rcx + 0x84], 0xe
jbe 0x14015e66e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14015e670
xor al, al
add rsp, 0x28
ret

Function at 0x140004000
Capabilities:
Encode data using xor

Disassembly:
push rsp
pop r14
xor rsi, rsi
and r14w, 0xf2e0
fld st(3)
fxsave64 [r14]
mov si, 0xd8e
movabs rdi, 0x705d6c6e8d68d76a
add r14, 8
mov rbp, qword [r14]
dec rsi
xor qword [rbp + rsi*8 + 0x28], rdi
test rsi, rsi
jne 0x140004027
invalid
Function at 0x14001cf90
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 8], rbx
mov eax, edx
mov ebx, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
lea r10d, [rax*4]
movsxd r10, r10d
add r10, rcx
neg eax
movsxd rdx, eax
je 0x14001cfe9
nop word [rax + rax]
imul eax, dword [r10 + rdx*4], 0xcc9e2d51
rol eax, 0xf
imul ecx, eax, 0x1b873593
xor r8d, ecx
rol r8d, 0xd
add r8d, 0xfaddaf14
lea r8d, [r8 + r8*4]
add rdx, 1
jne 0x14001cfc0
mov ecx, ebx
xor edx, edx
and ecx, 3
sub ecx, 1
je 0x14001d011
sub ecx, 1
je 0x14001d007
cmp ecx, 1
jne 0x14001d029
movzx edx, byte [r10 + 2]
shl edx, 0x10
movzx eax, byte [r10 + 1]
shl eax, 8
xor edx, eax
movzx eax, byte [r10]
xor eax, edx
imul ecx, eax, 0xcc9e2d51
rol ecx, 0xf
imul eax, ecx, 0x1b873593
xor r8d, eax
xor r8d, ebx
mov rbx, qword [rsp + 8]
mov eax, r8d
shr eax, 0x10
xor eax, r8d
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov dword [r9], eax
ret
Function at 0x14001edb0
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, 0x40
movsxd rdi, r8d
mov rsi, r9
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x14001eddd
lea eax, [rcx - 1]
jmp 0x14001ee5f
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14001edea
lea eax, [rcx - 4]
jmp 0x14001ee5f
xor r8d, r8d
mov edx, esi
call fcn.14005e130
test eax, eax
je 0x14001edff
mov eax, 0xfffffffb
jmp 0x14001ee5f
mov r9, qword [rbx]
mov r8, rdi
mov edx, 1
mov rcx, rbp
call fcn.14005de60
cmp eax, edi
je 0x14001ee5d
mov rcx, qword [str.x__v_]
cmp dword [rcx], 5
jl 0x14001ee56
lea rcx, [rbx + 0x3c]
mov edx, 0x147
mov qword [rsp + 0x38], rcx
lea r9, str._d____d_trying_to_read_from_offset__lld_of__s_n
mov qword [rsp + 0x30], rsi
lea rcx, str.C:_dvs_p4_build_sw_rel_gpu_drv_r535_r537_56_apps_nvml_common_packetlogger.c
mov dword [rsp + 0x28], edi
mov r8d, 5
mov dword [rsp + 0x20], eax
call fcn.14001b9c0
mov eax, 0xfffffffa
jmp 0x14001ee5f
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14001f020
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movsxd rdi, r8d
mov rsi, r9
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x14001f04d
lea eax, [rcx - 1]
jmp 0x14001f0cf
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14001f05a
lea eax, [rcx - 4]
jmp 0x14001f0cf
xor r8d, r8d
mov edx, esi
call fcn.14005e130
test eax, eax
je 0x14001f06f
mov eax, 0xfffffffb
jmp 0x14001f0cf
mov r9, qword [rbx]
mov r8, rdi
mov edx, 1
mov rcx, rbp
call fcn.14005e388
cmp eax, edi
je 0x14001f0cd
mov rcx, qword [str.x__v_]
cmp dword [rcx], 1
jl 0x14001f0c6
lea rcx, [rbx + 0x3c]
mov edx, 0x161
mov qword [rsp + 0x38], rcx
lea r9, str._d____d_trying_to_write_to_offset__lld_of__s_n
mov qword [rsp + 0x30], rsi
lea rcx, str.C:_dvs_p4_build_sw_rel_gpu_drv_r535_r537_56_apps_nvml_common_packetlogger.c
mov dword [rsp + 0x28], edi
mov r8d, 1
mov dword [rsp + 0x20], eax
call fcn.14001b9c0
mov eax, 0xfffffffa
jmp 0x14001f0cf
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140027460
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400b2de8]
xor rax, rsp
mov qword [rsp + 0x150], rax
xorps xmm0, xmm0
movsxd rbx, ecx
movups xmmword [rsp + 0xe2], xmm0
mov eax, 0x20
mov rdi, rdx
mov word [rsp + 0xe0], ax
xor eax, eax
mov word [r11 - 0x26], ax
movups xmmword [r11 - 0x76], xmm0
movups xmmword [r11 - 0x66], xmm0
movups xmmword [r11 - 0x56], xmm0
movups xmmword [r11 - 0x46], xmm0
movups xmmword [r11 - 0x36], xmm0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x1400274da
lea rdx, str.Please_run_as_Administrator_n
mov ecx, 0x3e7
call fcn.14001aba0
cmp rbx, 1
jle 0x140027545
movzx eax, word [0x140076a7c]
mov r10d, 1
nop dword [rax]
lea rcx, [rsp + 0xe0]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140027500
mov r9, qword [rdi + r10*8]
xor r8d, r8d
movzx edx, byte [r9 + r8]
mov byte [rcx + r8], dl
lea r8, [r8 + 1]
test dl, dl
jne 0x140027511
lea rcx, [rsp + 0xe0]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140027530
inc r10
mov word [rcx], ax
cmp r10, rbx
jl 0x1400274f0
lea rcx, str.nvidia_smi.exe_daemon_init
call fcn.1400553e8
mov r10, rax
lea rcx, [rax - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140027560
lea r8, [rsp + 0xe0]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140027580
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x68
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0xb4], eax
xor r8d, r8d
lea rax, [rsp + 0xc0]
mov rdx, r10
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140027635
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.nvidia_smi_deamon_CreateProcess_error__d_n
lea rcx, str.ERROR_C:_dvs_p4_build_sw_rel_gpu_drv_r535_r537_56_apps_nvml_nvsmi_stats_daemon.c:525
call fcn.1400012a0
xor edx, edx
mov ecx, 0x3e7
call fcn.14001aba0
jmp 0x140027643
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140027d70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov rdi, r8
mov ecx, 0x10
mov rsi, rdx
call fcn.140053938
mov rbx, rax
test rax, rax
jne 0x140027da5
lea eax, [rbx + 4]
jmp 0x140027de3
mov qword [rax], rsi
lea r8, [0x140027b60]
mov qword [rax + 8], rdi
mov r9, rbx
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.14005f64c
mov qword [r14], rax
test rax, rax
jne 0x140027dde
mov rcx, rbx
call fcn.140053924
xor eax, eax
jmp 0x140027de3
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x140037e10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x140037eef
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x140037e47
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140037ef2
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x140037e96
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x140037ea0
test rax, rax
je 0x140037eef
mov rdx, rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140037ee0
cmp rdx, rax
jb 0x140037ec0
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140038ac0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140038b22
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140038b17
cmp edi, eax
jb 0x140038b17
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14004d4e0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, eax
test eax, eax
jne 0x14004d500
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
xor edx, edx
cmp rcx, rbx
cmovb ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x14004d5e0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
movsd xmm1, qword [0x14007a0e8]
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x60]
divsd xmm1, xmm0
movsd qword [0x1400b7008], xmm1
mulsd xmm1, qword [0x14007a0f0]
movsd qword [0x1400b7010], xmm1
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x28]
lea rcx, str.KernelBase.dll
mov qword [0x1400b7018], rax
mov rax, qword [rsp + 0x30]
mov qword [0x1400b7020], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x14004d69c
lea rdx, str.VirtualAlloc2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.MapViewOfFile3
mov rcx, rbx
mov qword [0x1400b7028], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UnmapViewOfFile2
mov rcx, rbx
mov qword [0x1400b7030], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400b7038], rax
add rsp, 0x50
pop rbx
ret

Function at 0x14005d44c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14005d2df
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005d2df
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005d2df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005d2df
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005d2df
cmp dword [rcx + 0x84], 0xe
jbe 0x14005d2df
cmp dword [rcx + 0xf8], 0
je 0x14005d2df
mov ecx, ebx
call fcn.14005d380
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14005d170
cmp dword [rbp + 0x20], 0
je 0x14005d32c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005d334
int3
xor r8d, r8d
xor edx, edx
jmp 0x14005d278

Function at 0x1400610cc
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp dword [0x1400b73a8], 0
jne fcn.140061106
test rcx, rcx
jne 0x1400610f8
call fcn.140060ba0
mov dword [rax], 0x16
call fcn.140063aa0
mov eax, 0x7fffffff
add rsp, 0x28
ret
test rdx, rdx
je 0x1400610de
add rsp, 0x28
jmp fcn.140061080
Function at 0x140061106
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
mov rcx, qword [str.KERNEL32.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [str.InitOnceExecuteOnce]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [0x1400b3160]
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor r9d, r9d
call rax
test eax, eax
je 0x14006114d
add rsp, 0x28
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140062f90
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140062f6d
call fcn.140060ba0
mov dword [rax], 0x16
call fcn.140063aa0
or eax, 0xffffffff
jmp 0x140062f8a
sub dword [rcx + 0x10], 1
jns 0x140062f7c
add rsp, 0x28
jmp fcn.14006b5d8
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140062f4c

Function at 0x14006bf60
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14006bf80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140060b30
or eax, 0xffffffff
jmp 0x14006bf82
xor eax, eax
add rsp, 0x28
ret