joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c8800
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x208
mov rax, qword [0x1400ef0c0]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x1e0]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_26
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov qword [rsp + 0x50], rax
lea rdx, str.Cheat_Engine_7.5
lea rcx, [rsp + 0xb0]
call fcn.1400ac4e0
nop
lea rdx, [0x1400df8a4]
lea rcx, [rsp + 0xd0]
call fcn.1400ac4e0
nop
lea rdx, [0x1400df8b0]
lea rcx, [rsp + 0xf0]
call fcn.1400ac4e0
nop
lea rdx, str.x64dbg
lea rcx, [rsp + 0x110]
call fcn.1400ac4e0
nop
lea rdx, str.FileGrab
lea rcx, [rsp + 0x130]
call fcn.1400ac4e0
nop
lea rdx, str.Nigger
lea rcx, [rsp + 0x150]
call fcn.1400ac4e0
nop
lea rdx, str.Beammer
lea rcx, [rsp + 0x170]
call fcn.1400ac4e0
nop
lea rdx, str.Process_Hacker
lea rcx, [rsp + 0x190]
call fcn.1400ac4e0
nop
lea rdx, str.dexzunpacker
lea rcx, [rsp + 0x1b0]
call fcn.1400ac4e0
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x90]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
call fcn.1400ac6a0
nop
lea r9, [fcn.1400461e0]
mov r8d, 9
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0xb0]
call fcn.1400cdaac
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
jmp 0x1400c89bd
mov rax, qword [rsp + 0x28]
add rax, 0x20
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
je 0x1400c8a81
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 7
jbe 0x1400c8a01
mov dword [rsp + 0x24], 1
jmp 0x1400c8a09
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400c8a32
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400bd0f0
movzx eax, al
test eax, eax
je 0x1400c8a7c
mov rcx, qword [rsp + 0x48]
call fcn.1400461d0
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x88], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x1400c89af
lea rcx, [rsp + 0x1e0]
call fcn.1400c8c10
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1400ccff0
add rsp, 0x208
pop rdi
pop rsi
ret
Function at 0x1400ca490
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x6c8
mov rax, qword [0x1400ef0c0]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1400ca4ce
xor eax, eax
jmp 0x1400ca5b2
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400ca4fb
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400ca5b2
mov edx, dword [rsp + 0x38]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400ca58e
mov dword [rsp + 0x270], 0x438
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1400ca583
mov rdx, qword [rsp + 0x6d0]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
jne 0x1400ca56d
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1400ca5b2
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1400ca537
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400ca4fb
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.1400ccff0
add rsp, 0x6c8
ret
Function at 0x1400ca5d0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x6c8
mov rax, qword [0x1400ef0c0]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
movzx eax, byte [0x1402efa22]
test eax, eax
je 0x1400ca6ff
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1400ca61d
xor al, al
jmp 0x1400ca6ff
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400ca64a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400ca6ff
mov edx, dword [rsp + 0x38]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400ca6db
mov dword [rsp + 0x270], 0x438
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1400ca6d0
mov rdx, qword [rsp + 0x6d0]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
jne 0x1400ca6ba
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400ca6ff
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1400ca686
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400ca64a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.1400ccff0
add rsp, 0x6c8
ret
Function at 0x1400ca9b0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400caa05
lea rdx, str.Failed_to_open_process
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140046f10
mov qword [rsp + 0x28], rax
lea rdx, [0x1400ac1b0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x1400caa5c
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1400caa4f
lea rdx, str.Failed_to_terminate_process
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140046f10
mov qword [rsp + 0x30], rax
lea rdx, [0x1400ac1b0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400caa5c
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x48
ret

Function at 0x1400cad50
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, Ordinal_50
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400cad97
xor al, al
jmp 0x1400cae39
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x1400cadc1
xor al, al
jmp 0x1400cae39
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x1400cae31
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x1400cae31
mov al, 1
jmp 0x1400cae39
jmp 0x1400cae37
xor al, al
add rsp, 0x78
ret
Function at 0x1400cb140
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1402f0138]
mov qword [rsp + 0x28], rax
jmp 0x1400cb160
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400cb18f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1400cb18d
call sub.KERNEL32.dll_GetLastError
jmp 0x1400cb191
jmp 0x1400cb152
xor eax, eax
add rsp, 0x38
ret
Function at 0x1400cb1d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1402f0150], eax
je 0x1400cb1fd
mov eax, 0x10dd
jmp 0x1400cb416
cmp dword [0x1402f0154], 0
je 0x1400cb211
mov eax, dword [0x1402f0154]
jmp 0x1400cb416
cmp qword [rsp + 0x78], 0
jne 0x1400cb223
mov eax, 0x57
jmp 0x1400cb416
cmp qword [rsp + 0x70], 0
jne 0x1400cb235
mov eax, 6
jmp 0x1400cb416
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1400cb267
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x1402f0154], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1402f0158], rax
mov eax, dword [rsp + 0x20]
jmp 0x1400cb416
mov ecx, Ordinal_50
call fcn.1400cd010
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400cb2d9
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1402f0154], eax
cmp qword [rsp + 0x30], 0
je 0x1400cb2c4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x50]
call fcn.1400cd28c
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1402f0158], rax
mov eax, dword [rsp + 0x20]
jmp 0x1400cb416
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1400cb1a0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1400cb1a0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x1400cb336
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x1400cb353
mov dword [rsp + 0x20], 9
cmp dword [0x1402f0148], 0
je 0x1400cb34e
jmp 0x1400cb29a
jmp 0x1400cb290
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x1400cb380
mov dword [rsp + 0x20], 9
cmp dword [0x1402f0148], 0
je 0x1400cb37b
jmp 0x1400cb29a
jmp 0x1400cb290
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1400cb3b7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1400cb290
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x1402f0168]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1402f0168], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x1400cb420
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1402f0150], eax
je 0x1400cb43b
mov eax, 0x10dd
jmp 0x1400cb560
mov rax, qword [0x1402f0168]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400cb4e5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1400cb4b0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1400cb4b0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1400cab50
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x38]
call fcn.1400cd28c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1400cb447
mov qword [0x1402f0168], 0
call fcn.1400caf00
mov rax, qword [0x1402f0160]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400cb549
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x48]
call fcn.1400cd28c
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1400cb501
mov qword [0x1402f0160], 0
mov dword [0x1402f0150], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1400cba90
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1402f0154], 0
je 0x1400cbaad
mov eax, dword [0x1402f0154]
jmp 0x1400cbb73
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1400cbac0
xor eax, eax
jmp 0x1400cbb73
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400cd010
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400cbb2e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1400cbb13
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x38]
call fcn.1400cd28c
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1402f0154], eax
mov qword [0x1402f0158], 0
mov eax, dword [rsp + 0x20]
jmp 0x1400cbb73
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1400cbb48
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1400cbae9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1402f0160]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1402f0160], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400cded4
Capabilities:
Parse pe header

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

Function at 0x14000c0d4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rbp, rdx
mov eax, 0xfeff
mov qword [rsp + 0x30], rbx
lea edi, [rbx + 2]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov word [rsp + 0x70], ax
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x100004a59
lea r9, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov r8d, edi
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
je 0x100004a59
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
lea r9, [rsp + 0x78]
mov rdx, rbp
not rcx
mov qword [rsp + 0x20], rbx
lea r8d, [rcx + rcx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
jne 0x100004a61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x100004a80
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
and qword [rdx], 0
and dword [rax - 0x20], 0
and qword [rax + 0x18], 0
xor r9d, r9d
mov rsi, rdx
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rax - 0x28], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x100004ad4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x100004b57
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x58], eax
cmp eax, 0xffffffff
je 0x100004ac7
lea rdx, [rsp + 0x60]
mov ecx, eax
call sub.netutils.dll_NetApiBufferAllocate
mov ebx, eax
test eax, eax
jne 0x100004b57
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100004ac7
mov ecx, dword [rsp + 0x58]
mov rdx, rsi
call sub.netutils.dll_NetApiBufferAllocate
mov ebx, eax
test eax, eax
jne 0x100004b57
mov r8d, dword [rsp + 0x58]
mov rcx, qword [rsi]
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsi]
sub r8, 2
add rdx, 2
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x60]
call sub.netutils.dll_NetApiBufferFree
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x100004b84
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
xor esi, esi
lea rax, [r11 - 0x20]
mov rbx, rcx
lea rdx, [0x100002170]
lea r9d, [rsi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], rsi
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rsi
mov qword [r11 - 0x58], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, esi
je 0x100004be9
lea rdx, [0x100002170]
mov r8d, eax
mov ecx, 0x400003f0
call fcn.100007294
jmp 0x100004de4
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rdx, [0x1000021d0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp eax, esi
je 0x100004c40
lea rdx, [0x1000021d0]
mov ecx, 0x400003f1
mov r8d, eax
call fcn.100007294
jmp 0x100004d8b
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rdx, [0x100002200]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp eax, esi
je 0x100004c8a
lea rdx, [0x100002200]
jmp 0x100004c2e
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rdx, [0x100002248]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp eax, esi
je 0x100004cda
lea rdx, [0x100002248]
jmp 0x100004c2e
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rdx, [0x100001d58]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp eax, esi
je 0x100004d2a
lea rdx, [0x100001d58]
jmp 0x100004c2e
mov rdx, qword [0x10000b608]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
mov r9d, 1
xor r8d, r8d
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [0x10000b608]
mov edi, eax
cmp eax, esi
je 0x100004d7a
mov ecx, 0x40000401
jmp 0x100004c33
lea r8, [0x100002270]
mov ecx, 0x400003f2
call fcn.100007294
mov rcx, qword [rsp + 0x88]
cmp rcx, rsi
je 0x100004d9e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x90]
cmp rcx, rsi
je 0x100004db1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x98]
cmp rcx, rsi
je 0x100004dc4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
cmp rcx, rsi
je 0x100004dd4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
cmp rcx, rsi
je 0x100004de4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret