joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045540
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140045568
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14004558e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140045590
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400455e9
test ecx, ecx
jle 0x1400455c9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400455e9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400455e9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140045610
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140045632
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140045648
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140045664
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140045666
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400456a2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14004573e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400456dd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14004571e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14004573e
cmp rbx, rax
ja 0x1400456f0
test rbx, rbx
je 0x14004573e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140045ba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140045bcd
xor eax, eax
jmp 0x140045d39
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140045c07
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140045c07
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140045d39
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140045d2c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140045c4a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140045c75
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140045d31
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140045ce4
sub eax, 1
je 0x140045ce4
cmp eax, 2
jne 0x140045d2c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140045d31
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140045d12
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140045d2c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140045d31
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140049590
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140046670
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140046743
cmp byte [rcx + 0x71], 0
je 0x140046743
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14004673f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140046704
sub eax, 1
je 0x140046708
cmp eax, 2
jne 0x14004673f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140049590
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140046736
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14004673f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400466ec
xor al, al
jmp 0x1400466ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140049590
add rsp, 0x60
pop rbx
ret

Function at 0x140048f58
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140048f92
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140048f97
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140048fe0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004c900]
cmp byte [rcx + rax], 0
je 0x140048fe0
dec r8
sub rdx, 1
jne 0x140048fc6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14004a20c
Capabilities:
Parse pe header

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

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

Function at 0x140006690
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000648c
Function at 0x140009744
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140009774
xor eax, eax
jmp 0x140009837
mov rbp, rbx
cmp word [rax], si
je 0x140009799
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140009780
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000977c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140009664
movsxd r14, eax
test eax, eax
jne 0x1400097d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000976d
mov rcx, r14
call fcn.14000a1d8
mov rdi, rax
test rax, rax
jne 0x1400097f0
xor ecx, ecx
call fcn.140007c9c
jmp 0x1400097cc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140009664
test eax, eax
jne 0x140009821
mov rcx, rdi
call fcn.140007c9c
jmp 0x14000982b
xor ecx, ecx
call fcn.140007c9c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000efa0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000efc8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000efc8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001070
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1010]
mov eax, 0x1110
call fcn.1400021d0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1000], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rbp + 0x7e0]
mov r8d, 0x410
call sub.VCRUNTIME140.dll_memset
mov r8, rsi
lea rcx, [rbp + 0x7e0]
mov edx, 0x208
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x14000332c]
mov edx, 0x208
lea rcx, [rbp + 0x7e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x7e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001302
mov qword [rsp + 0x1138], rbx
mov qword [rsp + 0x1140], r14
xor r14d, r14d
mov qword [rsp + 0x1148], r15
lea r15, str.SUCCESS
cmp word [rsp + 0x4c], 0x2e
je 0x1400012cb
cmp word [rsp + 0x4e], 0x2e
je 0x1400012cb
xor edx, edx
lea rcx, [rbp + 0x3d0]
mov r8d, 0x410
call sub.VCRUNTIME140.dll_memset
mov r8, rsi
lea rcx, [rbp + 0x3d0]
mov edx, 0x208
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x140003334]
mov edx, 0x208
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rsp + 0x4c]
mov edx, 0x208
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test byte [rsp + 0x20], 0x10
je 0x1400011bb
lea rcx, [rbp + 0x3d0]
call fcn.140001070
jmp 0x1400012cb
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x258
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8, [rbp + 0x170]
xor edx, edx
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_FindFirstStreamW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400012cb
nop word [rax + rax]
lea rdx, str.::_DATA
lea rcx, [rbp + 0x178]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x1400012aa
lea rcx, [rbp + 0x178]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140001230
cmp rax, 0x11
jne 0x1400012aa
xor edx, edx
mov word [rbp + 0x18e], r14w
mov r8d, 0x410
lea rcx, [rbp + 0xbf0]
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x178]
lea r8, [rbp + 0x3d0]
lea rdx, str._s_s
lea rcx, [rbp + 0xbf0]
call fcn.140001480
lea rcx, [rbp + 0xbf0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
lea rdx, str.FAIL
lea r8, [rbp + 0xbf0]
cmovne rdx, r15
lea rcx, str._s_DELETE__Tracker____S___n
call fcn.140001010
lea rdx, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextStreamW]
test eax, eax
jne 0x140001200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140001132
mov r15, qword [rsp + 0x1148]
mov rcx, rdi
mov r14, qword [rsp + 0x1140]
mov rbx, qword [rsp + 0x1138]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x1000]
xor rcx, rsp
call fcn.1400014f0
add rsp, 0x1110
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001320
Capabilities:
Delete registry value
Execute command
Self delete
Set current directory

Disassembly:
sub rsp, 0x48
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [0x140003338]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000139b
mov edx, eax
lea rcx, str.Failed_to_open_BuildGUIDEx_path_key:__d_n
call fcn.140001010
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400014f0
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x30]
lea rdx, str.BuildGUIDEx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, str.PASS
test ebx, ebx
lea rdx, str.FAIL
cmove rdx, rax
lea rcx, str._s_DELETE__BuildGuidEx_n
call fcn.140001010
lea rcx, str.Deleting_VALORANT_app_data_n
call fcn.140001010
lea rcx, str.rmdir__s__q__C:UsersuserAppDataLocalVALORANT_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Deleting_Vanguard_Logs_n
call fcn.140001010
lea rcx, str.del__f__s__q__C:Program_FilesRiot_VanguardLogs_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Deleting_Desktop.ini_n
call fcn.140001010
lea rcx, str.del__f__s__q__a:h__a:s_desktop.ini
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del__f__s__q_desktop.ini
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Bruteforcing_in__C:__n
call fcn.140001010
lea rcx, [0x1400034f8]
call fcn.140001070
lea rcx, str.Done__Restart_PC_n
call fcn.140001010
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400014f0
add rsp, 0x48
ret

Function at 0x140001db0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001dfa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001dfa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001dfa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001dfa
cmp dword [rcx + 0x84], 0xe
jbe 0x140001dfa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001dfc
xor al, al
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x140014008]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov edi, r9d
mov rbx, r8
test r8, r8
jne 0x1400010a2
or eax, 0xffffffff
jmp 0x140001182
xor eax, eax
mov qword [rsp + 0x100], rsi
xor esi, esi
mov dword [rsp + 0x68], 1
xor edx, edx
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rsi + 0x60]
call fcn.140002460
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
mov dword [rsp + 0xac], 1
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rsi
mov rdx, rbx
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov word [rsp + 0xb0], di
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000115f
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x68]
lea eax, [rcx - 0xbc2]
cmp eax, 1
jbe 0x140001176
cmp ecx, 0x669
jne 0x140001178
mov ecx, esi
mov rsi, qword [rsp + 0x100]
mov eax, ecx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400012d0
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rdi
ret
Function at 0x140003730
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140003504
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003504
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003504
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003504
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003504
cmp dword [rcx + 0x84], 0xe
jbe 0x140003504
cmp dword [rcx + 0xf8], esi
je 0x140003504
mov ecx, r14d
call fcn.14000364c
mov ecx, 2
call fcn.140004df0
nop
cmp byte [0x140015148], 0
jne 0x1400035ce
mov r15d, 1
mov eax, r15d
xchg dword [0x140015138], eax
test ebx, ebx
jne 0x140003577
mov rdi, qword [0x140014008]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140015140]
cmp rcx, rax
je 0x14000356e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140001e88]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140015380]
jmp 0x140003583
cmp ebx, r15d
jne 0x140003589
lea rcx, [0x140015398]
call fcn.14000409c
nop
test ebx, ebx
jne 0x1400035a0
lea rdx, [0x14000b2c8]
lea rcx, [0x14000b2a8]
call fcn.1400043b4
lea rdx, [0x14000b2d8]
lea rcx, [0x14000b2d0]
call fcn.1400043b4
movzx eax, byte [0x140015148]
test esi, esi
cmove eax, r15d
mov byte [0x140015148], al
jmp 0x1400035ce
mov ecx, 2
call fcn.140004e44
test esi, esi
jne 0x1400035e5
mov ecx, r14d
call fcn.140003600
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140003494
Function at 0x1400113ca
Capabilities:
Terminate process

Disassembly:
jmp 0x140019c50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400114ba
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001afa0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001afc0
xor al, al
jmp 0x14001b041
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001afd3
xor al, al
jmp 0x14001b041
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001affd
xor al, al
jmp 0x14001b041
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001b011
xor al, al
jmp 0x14001b041
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001b023
xor al, al
jmp 0x14001b041
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001b03f
xor al, al
jmp 0x14001b041
mov al, 1
add rsp, 0x38
ret