joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009c70
Capabilities:
Parse pe header

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

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 r15
sub rsp, 0x40
mov qword [0x180046a30], rcx
mov ebx, 0x400
mov ecx, ebx
call fcn.180019378
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov qword [0x180046a38], rax
call fcn.180019620
xor r15d, r15d
lea rbp, str.._._._..._._._.._._...
mov eax, r15d
xor byte [rax + rbp], 0x2e
inc rax
cmp rax, 0x1000
jl 0x180018195
lea rcx, [rsp + 0x20]
mov r8d, 0x1000
mov rdx, rbp
call fcn.1800141f4
jmp 0x180018262
lea rcx, [rsp + 0x20]
call fcn.180014264
lea rcx, [rsp + 0x20]
movsx ebx, ax
call fcn.180014264
mov rcx, qword [0x180046a38]
movsx rdi, di
mov edx, ebx
movzx esi, ax
shl rdi, 4
mov word [rdi + rcx], bx
dec edx
je 0x18001824c
dec edx
je 0x180018235
dec edx
jne 0x180018262
movsx rbx, ax
mov rcx, rbx
call fcn.180019378
mov rdx, qword [0x180046a38]
lea rcx, [rsp + 0x20]
mov qword [rdi + rdx + 8], rax
movsx edx, si
call fcn.18001423c
mov rcx, qword [0x180046a38]
mov r8, rbx
mov rcx, qword [rdi + rcx + 8]
mov rdx, rax
call fcn.180019c80
jmp 0x180018262
lea rcx, [rsp + 0x20]
call fcn.180014204
mov rcx, qword [0x180046a38]
mov dword [rdi + rcx + 8], eax
jmp 0x180018262
lea rcx, [rsp + 0x20]
call fcn.180014264
mov rdx, qword [0x180046a38]
mov word [rdi + rdx + 8], ax
lea rcx, [rsp + 0x20]
call fcn.180014264
movzx edi, ax
test ax, ax
jg 0x1800181bc
xor edx, edx
mov r8d, 0x1000
mov rcx, rbp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r15
jmp fcn.180019620

Function at 0x180018708
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
or rsi, 0xffffffffffffffff
mov rdi, rdx
mov rbx, rcx
lea edx, [rsi + 0x19]
lea r9d, [rsi + 5]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [r14 + 0x10], rax
call fcn.180018880
mov r8, qword [0x180042768]
test r8, r8
je 0x18001877d
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
ret

Function at 0x180018798
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, 1
mov rdi, rcx
mov rbx, rdx
add dword [0x180042760], esi
lea ecx, [rsi + 0x26]
call fcn.180018118
cmp ax, si
jne 0x1800187d2
mov rdx, rbx
mov rcx, rdi
call fcn.180018708
jmp 0x1800187ed
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rbx
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400015e0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ecx, ecx
call fcn.1400014d0
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
lea rcx, [rsp + 0x28]
call fcn.140001770
nop
mov dword [rsp + 0x20], 0
jmp 0x140001621
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x14
jae 0x14000163c
call fcn.1400014f0
movzx edx, al
lea rcx, [rsp + 0x28]
call fcn.140001710
jmp 0x140001617
lea rcx, [rsp + 0x28]
call fcn.1400016f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
lea rcx, [rsp + 0x28]
call fcn.140001740
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002a50
add rsp, 0x58
ret
Function at 0x1400024e0
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x28], rax
call fcn.140001520
call fcn.1400015e0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dx, 7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.__:D___Witaj_w_Fivem_Cleaner_Stworzony_Przez_FrostyNew_jak_zawsze_LOL_n_n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400026c0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dx, 6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.__F1___Clean_Traces_Ban_Fivem_n_n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400026c0
mov dx, 7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.______Version_1.0___1_29_2024_n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400026c0
xor eax, eax
cmp eax, 1
je 0x140002679
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140002674
lea rcx, [0x140004474]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140004568]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Cleaning_Tracking_Files..._n
call fcn.140001670
mov ecx, 0x1b58
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14000458c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.color_2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Cleaned___:D_n
call fcn.140001670
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1400045a8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r9d, 0x24
lea r8, str.Finished
lea rdx, str.Do_You_Want_To_Restart_PC_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 6
jne 0x140002647
lea rcx, str.C:WindowsSystem32_shutdown__r__t_0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp dword [rsp + 0x20], 7
jne 0x140002674
lea rcx, str.color_4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Exiting..._n
call fcn.140001670
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002679
jmp 0x14000257a
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400033e8
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140013d20
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 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015070
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015090
xor al, al
jmp 0x140015111
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400150a3
xor al, al
jmp 0x140015111
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 0x1400150cd
xor al, al
jmp 0x140015111
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400150e1
xor al, al
jmp 0x140015111
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400150f3
xor al, al
jmp 0x140015111
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001510f
xor al, al
jmp 0x140015111
mov al, 1
add rsp, 0x38
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140104320]
mov dword [rax], 1
mov rax, qword [0x140104330]
mov dword [rax], 1
mov rax, qword [0x140104340]
mov dword [rax], 1
mov rax, qword [0x1401042c0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140061d10
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.1400e4de0
sub rsp, rax
xor eax, eax
mov r8d, 0x28
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.140085770
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140061d6f
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret

Function at 0x140061d80
Capabilities:
Set environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x78
xor eax, eax
mov r8d, 0x28
lea rsi, [rsp + 0x20]
mov rbx, rdx
mov rdx, rcx
mov word [rsp + 0x20], ax
mov rcx, rsi
call fcn.140085770
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x78
pop rbx
pop rsi
ret
Function at 0x140061e40
Capabilities:
Set environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
mov rbp, rdx
mov rdi, r8
mov r12, rcx
call fcn.14007f480
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python39.dll_PyObject_GetAttrString]
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.python39.dll_PyUnicode_FromString]
mov rsi, rax
test rdi, rdi
je 0x140061eef
mov rdx, rdi
mov rcx, rbp
call fcn.140061d80
mov rcx, rdi
mov rdx, 0xffffffffffffffff
call sub.python39.dll_PyUnicode_FromWideChar
mov rdx, rsi
mov rcx, rbx
mov rdi, rax
mov r8, rax
call qword [sym.imp.python39.dll_PyObject_SetItem]
test eax, eax
jne 0x140061f31
sub qword [rdi], 1
jne 0x140061ebe
mov rcx, rdi
call fcn.140061dc0
sub qword [rsi], 1
jne 0x140061ecc
mov rcx, rsi
call fcn.140061dc0
sub qword [rbx], 1
jne 0x140061ee4
mov rcx, rbx
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140061dc0
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rdi, [rsp + 0x20]
mov r8d, 0x28
mov rdx, rbp
mov word [rsp + 0x20], 0
mov rcx, rdi
call fcn.140085770
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.python39.dll_PyObject_DelItem]
test eax, eax
je 0x140061ebe
mov rcx, r12
call fcn.140061dd0
jmp 0x140061ebe
mov ecx, 1
call qword [sym.imp.python39.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python39.dll_Py_Exit]
nop
nop dword [rax + rax]
Function at 0x1400d9ee0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x140120b69], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x1400d9f68
lea rdx, [0x1401027aa]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400da080
mov rsi, qword [0x140120a28]
jmp 0x1400d9f25
lea rsi, [rdx + rax + 4]
mov rdx, rsi
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rsi
mov ebx, eax
call sub.msvcrt.dll_strlen
lea rdx, [rsi + rax + 1]
mov eax, dword [rdx]
test ebx, ebx
jne 0x1400d9f20
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1400c95e0
mov r8d, 0xa
mov edx, 3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140120a28], rax
mov rdx, rax
mov r9d, dword [rax]
lea rax, [rax + 4]
mov qword [0x140120a28], rax
mov eax, dword [rdx + 4]
lea rcx, [rdx + 8]
mov qword [0x140120a28], rcx
test eax, eax
je 0x1400da068
lea r8, [rcx + rax]
mov eax, 0xffffffff
nop word cs:[rax + rax]
movzx edx, byte [rcx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add rcx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
cmp rcx, r8
jne 0x1400d9fd0
not eax
cmp r9d, eax
jne 0x1400da107
mov byte [0x140120b69], 1
jmp 0x1400d9efc
cmp byte [0x140120b68], 0
jne 0x1400d9f13
mov rbx, qword [sym.imp.python39.dll_PyDict_New]
call rbx
mov qword [0x1401214a8], rax
call rbx
mov qword [0x1401214a0], rax
call rbx
mov qword [0x140121498], rax
call rbx
mov qword [0x140121490], rax
call rbx
mov qword [0x140121488], rax
call rbx
mov qword [0x140121480], rax
call rbx
mov qword [0x140121478], rax
call rbx
mov byte [0x140120b68], 1
mov qword [0x140121470], rax
mov rax, qword [sym.imp.python39.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xdc0
mov qword [0x140120a20], rax
jmp 0x1400d9f13
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x1400e3ac0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400f5240
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400f5240
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400e4792
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140121908]
test eax, eax
je 0x1400e482a
lea rax, [0x1401218e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140121910]
mov qword [rbp - 8], rax
jmp 0x1400e480e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400e4802
cmp qword [rbp - 0x10], 0
je 0x1400e4802
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400e47c8
lea rax, [0x1401218e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400e482b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400e4930
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400e4958
mov eax, 0
jmp 0x1400e49a6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400e4981
mov eax, 0
jmp 0x1400e49a6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400e49a1
mov eax, 0
jmp 0x1400e49a6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400e49ac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400e4a2a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400e4a21
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400e4a21
mov rax, qword [rbp - 8]
jmp 0x1400e4a3f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400e49f4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x416400
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41658b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433c60
xorps xmm15, xmm15
mov r14, qword [0x0068a488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416465
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416474
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416493
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4164a3
cmp rbx, 0x1000
jae 0x41646b
jmp 0x41650d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4164b5
xor edx, edx
jmp 0x416504
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433c60
xorps xmm15, xmm15
mov r14, qword [0x0068a488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x416499
jmp 0x416488
call fcn.00466c80
xorps xmm15, xmm15
mov r14, qword [0x0068a488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004382c0
lea rax, [0x0054084b]
mov ebx, 0x18
nop dword [rax]
call fcn.00438b40
mov rax, qword [rsp + 0x38]
call fcn.00438880
lea rax, [0x00540d80]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00438b40
mov rax, qword [rsp + 0x30]
call fcn.00438880
call fcn.00438500
call fcn.00438320
lea rax, [0x005437ed]
mov ebx, 0x21
call fcn.00436920
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463580
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416400
Function at 0x4165c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4167e6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00433ce0
xorps xmm15, xmm15
mov r14, qword [0x0068a488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416633
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416642
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416665
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416675
cmp rbx, 0x1000
jae 0x416639
nop
jmp 0x4166f8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41668d
xor esi, esi
jmp 0x4166ea
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00433ce0
xorps xmm15, xmm15
mov r14, qword [0x0068a488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41666b
jmp 0x416656
call fcn.00466c80
xorps xmm15, xmm15
mov r14, qword [0x0068a488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416780
nop dword [rax + rax]
call fcn.004382c0
lea rax, [0x00540d99]
mov ebx, 0x19
call fcn.00438b40
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00438880
lea rax, [0x00540d80]
mov ebx, 0x19
call fcn.00438b40
mov eax, dword [rsp + 0x34]
call fcn.00438880
nop
call fcn.00438500
call fcn.00438320
lea rax, [0x0053d177]
mov ebx, 0xd
call fcn.00436920
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416720
call fcn.004382c0
lea rax, [0x00540d99]
mov ebx, 0x19
call fcn.00438b40
mov rax, qword [rsp + 0x38]
call fcn.00438880
lea rax, [0x00540d80]
mov ebx, 0x19
call fcn.00438b40
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00438880
call fcn.00438500
call fcn.00438320
lea rax, [0x00542e70]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00436920
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463580
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004165c0