joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800027f7
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x18001eb60
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1800893b8]
mov ecx, 2
lea r8, [0x1800893b0]
lea rdx, str.FlsGetValue
call fcn.18001e630
mov ecx, ebx
test rax, rax
je 0x18001eb9a
add rsp, 0x20
pop rbx
jmp qword [0x1800ac020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x180002946
Capabilities:
Query environment variable

Disassembly:
jmp 0x18005ea08
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 0x18005ea38
xor eax, eax
jmp 0x18005eafb
mov rbp, rbx
cmp word [rax], si
je 0x18005ea5d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005ea44
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005ea40
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.18000330f
movsxd r14, eax
test eax, eax
jne 0x18005ea9b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005ea31
mov rcx, r14
call fcn.180001037
mov rdi, rax
test rax, rax
jne 0x18005eab4
xor ecx, ecx
call fcn.18000117c
jmp 0x18005ea90
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.18000330f
test eax, eax
jne 0x18005eae5
mov rcx, rdi
call fcn.18000117c
jmp 0x18005eaef
xor ecx, ecx
call fcn.18000117c
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 0x180002950
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18001eab0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180089378]
xor ecx, ecx
lea r8, [0x180089370]
lea rdx, str.FlsAlloc
call fcn.18001e630
test rax, rax
je 0x18001eae9
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1800ac020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1800029c8
Capabilities:
Get geographical location

Disassembly:
jmp 0x180060e60
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x18008b448]
mov rbp, rcx
lea r8, [0x18008b440]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.180060380
test rax, rax
je 0x180060ec0
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1800ac030]
jmp 0x180060eda
xor edx, edx
mov rcx, rbp
call fcn.180002298
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180003c65
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18001ebb8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1800893d8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1800893d0]
call fcn.18001e630
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x18001ebf8
call qword [0x1800ac020]
jmp 0x18001ebfe
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400bb620]
mov dword [rax], 1
mov rax, qword [0x1400bb630]
mov dword [rax], 1
mov rax, qword [0x1400bb640]
mov dword [rax], 1
mov rax, qword [0x1400bb5c0]
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 0x14001c640
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.140096390
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 0x14001c705
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 0x1400a7292
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14001c6e6
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14001c6d8
test rsi, rsi
je 0x1400a7292
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14001c698
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 0x14001c734
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 0x14001c750
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 0x14001c80d
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 0x1400a7298
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14001c7ee
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14001c7e0
test rsi, rsi
je 0x1400a7298
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14001c7a0
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 0x14003b610
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 [0x1400cc3f0]
mov rsi, rcx
test rbx, rbx
je 0x14003b690
mov rax, qword [0x1400bb760]
mov rcx, qword [rax + 0x48]
cmp rbx, rcx
je 0x14003b680
mov rdx, qword [0x1400cc628]
test rdx, rdx
je 0x14003b780
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 0x14003b661
lea r15, str.NUITKA_ONEFILE_BINARY
mov rcx, r15
call fcn.14001c640
test rax, rax
je 0x14003b7a0
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 0x1400a7332
cmp word [r13], 0
movzx edx, word [rsp + 0x3c]
mov rax, r13
je 0x14003b72e
nop word [rax + rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x14003b720
test rbx, rbx
je 0x1400a7332
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 0x14003b6e0
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.14003b4a0
mov rbx, rax
mov qword [0x1400cc3f0], rbx
jmp 0x14003b632
lea rcx, [0x1400b7cb2]
call qword [sym.imp.python312.dll_PyUnicode_FromString]
mov qword [0x1400cc628], rax
mov rdx, rax
jmp 0x14003b652
mov rbx, qword [0x1400cc408]
test rbx, rbx
jne 0x14003b771
cmp byte [0x1400cc622], 0
je 0x14003b7e3
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400cc420]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
mov qword [0x1400cc408], rax
mov rbx, rax
test rax, rax
je 0x14003b7ef
mov eax, dword [rax]
add eax, 1
je 0x14003b771
mov dword [rbx], eax
jmp 0x14003b771
mov ecx, 1
call fcn.14001d2c0
jmp 0x14003b7b5
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 0x14003c070
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.14001c640
test rax, rax
je 0x14003c1c0
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 0x1400a734a
cmp word [r15], 0
movzx edx, word [rsp + 0x3c]
mov rax, r15
je 0x14003c126
nop dword [rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x14003c118
test rbx, rbx
je 0x1400a734a
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 0x14003c0d8
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call qword [sym.imp.python312.dll_PyThreadState_Get]
mov rcx, qword [0x1400ccd60]
mov rsi, rax
mov rax, qword [0x1400bb760]
mov rbx, qword [rax + 0x1c0]
test rcx, rcx
je 0x14003c22d
mov rdx, rbx
call fcn.14000cd10
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.14002fc40
mov rdx, qword [rbx]
test edx, edx
js 0x14003c1a2
sub rdx, 1
mov qword [rbx], rdx
je 0x14003c215
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1400cc400]
lea rsi, [0x1400cc400]
test bl, bl
je 0x14003c1e0
mov rax, qword [0x1400cc408]
lea rsi, [0x1400cc408]
test rax, rax
jne 0x14003c1a2
cmp byte [0x1400cc622], 0
je 0x14003c257
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400cc420]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x14003c261
mov edx, dword [rax]
add edx, 1
je 0x14003c1a2
mov dword [rax], edx
jmp 0x14003c1a2
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [sym.imp.python312.dll__Py_Dealloc]
mov rax, qword [rsp + 0x28]
jmp 0x14003c1a2
mov rcx, qword [0x1400cccd8]
mov rdi, qword [rax + 0x1b0]
test rcx, rcx
je 0x14003c26c
mov rdx, rdi
call fcn.14000cd10
mov qword [0x1400ccd60], rax
mov rcx, rax
jmp 0x14003c179
movzx ecx, bl
call fcn.14001d2c0
jmp 0x14003c1ee
call qword [sym.imp.python312.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1400b2893]
call qword [sym.imp.python312.dll_PyImport_ImportModule]
mov qword [0x1400cccd8], rax
mov rcx, rax
test rax, rax
je 0x1400a734a
jmp 0x14003c240
Function at 0x140092ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400cc3e1], 0
mov rbp, rcx
mov rdi, rdx
mov r12, r8
je 0x140092b58
lea rdx, [0x1400b758a]
mov rcx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140092bc0
mov rbx, qword [0x1400cc280]
jmp 0x140092af5
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 0x140092af0
movzx eax, word [rdx + 4]
lea r8, [rdx + 6]
test ax, ax
je 0x140092b47
lea rbx, [rdi + rax*8]
nop word cs:[rax + rax]
mov rdx, rdi
mov rcx, rbp
add rdi, 8
call fcn.140082ab0
mov r8, rax
cmp rdi, rbx
jne 0x140092b30
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 [0x1400cc280], rax
mov ebx, dword [rax]
mov qword [0x1400cc280], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400cc280], rdx
call fcn.140091be0
cmp eax, ebx
jne 0x140092c28
mov byte [0x1400cc3e1], 1
jmp 0x140092ad0
cmp byte [0x1400cc3e0], 0
jne 0x140092ae7
mov rbx, qword [sym.imp.python312.dll_PyDict_New]
call rbx
mov qword [0x1400ccf88], rax
call rbx
mov qword [0x1400ccf80], rax
call rbx
mov qword [0x1400ccf78], rax
call rbx
mov qword [0x1400ccf70], rax
call rbx
mov qword [0x1400ccf68], rax
call rbx
mov qword [0x1400ccf60], rax
call rbx
mov qword [0x1400ccf58], rax
call rbx
mov byte [0x1400cc3e0], 1
mov qword [0x1400ccf50], rax
jmp 0x140092ae7
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140095070
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.1400a67f0
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.1400a67f0
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 0x140095d42
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400cd448]
test eax, eax
je 0x140095dda
lea rax, [0x1400cd420]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400cd450]
mov qword [rbp - 8], rax
jmp 0x140095dbe
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 0x140095db2
cmp qword [rbp - 0x10], 0
je 0x140095db2
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 0x140095d78
lea rax, [0x1400cd420]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140095ddb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140095ee0
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 0x140095f08
mov eax, 0
jmp 0x140095f56
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 0x140095f31
mov eax, 0
jmp 0x140095f56
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 0x140095f51
mov eax, 0
jmp 0x140095f56
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140095f5c
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 0x140095fda
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140095fd1
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 0x140095fd1
mov rax, qword [rbp - 8]
jmp 0x140095fef
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 0x140095fa4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400113a7
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14001a490
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001a4b0
xor al, al
jmp 0x14001a531
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001a4c3
xor al, al
jmp 0x14001a531
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 0x14001a4ed
xor al, al
jmp 0x14001a531
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001a501
xor al, al
jmp 0x14001a531
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001a513
xor al, al
jmp 0x14001a531
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001a52f
xor al, al
jmp 0x14001a531
mov al, 1
add rsp, 0x38
ret
Function at 0x3b2237e00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x3b2237f8b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x3b23d9f58]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.3b22566a0
xorps xmm15, xmm15
mov r14, qword [0x3b262ebe8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x3b2237e65
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x3b2237e74
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x3b2237e93
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x3b2237ea3
cmp rbx, 0x1000
jae 0x3b2237e6b
jmp 0x3b2237f0d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x3b2237eb5
xor edx, edx
jmp 0x3b2237f04
mov rcx, qword [0x3b23d9f58]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.3b22566a0
xorps xmm15, xmm15
mov r14, qword [0x3b262ebe8]
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 0x3b2237e99
jmp 0x3b2237e88
call fcn.3b228d380
xorps xmm15, xmm15
mov r14, qword [0x3b262ebe8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.3b225ac80
lea rax, [0x3b24459cb]
mov ebx, 0x18
nop dword [rax]
call fcn.3b225b500
mov rax, qword [rsp + 0x38]
call fcn.3b225b240
lea rax, [0x3b2446168]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.3b225b500
mov rax, qword [rsp + 0x30]
call fcn.3b225b240
call fcn.3b225aec0
call fcn.3b225ace0
lea rax, [0x3b2449695]
mov ebx, 0x21
call fcn.3b22591e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.3b2289ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.3b2237e00
Function at 0x3b2237fc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x3b22381e6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x3b23d9f50]
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.3b2256720
xorps xmm15, xmm15
mov r14, qword [0x3b262ebe8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x3b2238033
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x3b2238042
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x3b2238065
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x3b2238075
cmp rbx, 0x1000
jae 0x3b2238039
nop
jmp 0x3b22380f8
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 0x3b223808d
xor esi, esi
jmp 0x3b22380ea
mov rax, qword [0x3b23d9f50]
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.3b2256720
xorps xmm15, xmm15
mov r14, qword [0x3b262ebe8]
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 0x3b223806b
jmp 0x3b2238056
call fcn.3b228d380
xorps xmm15, xmm15
mov r14, qword [0x3b262ebe8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x3b2238180
nop dword [rax + rax]
call fcn.3b225ac80
lea rax, [0x3b2446181]
mov ebx, 0x19
call fcn.3b225b500
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.3b225b240
lea rax, [0x3b2446168]
mov ebx, 0x19
call fcn.3b225b500
mov eax, dword [rsp + 0x34]
call fcn.3b225b240
nop
call fcn.3b225aec0
call fcn.3b225ace0
lea rax, [0x3b243fdac]
mov ebx, 0xd
call fcn.3b22591e0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x3b2238120
call fcn.3b225ac80
lea rax, [0x3b2446181]
mov ebx, 0x19
call fcn.3b225b500
mov rax, qword [rsp + 0x38]
call fcn.3b225b240
lea rax, [0x3b2446168]
mov ebx, 0x19
call fcn.3b225b500
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.3b225b240
call fcn.3b225aec0
call fcn.3b225ace0
lea rax, [0x3b2448be9]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.3b22591e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.3b2289ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.3b2237fc0