joyce8/EMBER2024-capa huggingface dataset:
Function at 0x74bbd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov edi, dword [rcx + 0x80]
movsxd rdx, edx
mov rsi, rcx
mov rcx, qword [rcx + 0x78]
mov r12, rdx
imul rdx, rdx, 0x38
call fcn.0074b670
test rax, rax
mov rbp, rax
je 0x74bcbf
movsxd rbx, edi
mov r8d, r12d
xor edx, edx
imul rbx, rbx, 0x38
sub r8d, edi
movsxd r8, r8d
imul r8, r8, 0x38
add rbx, rax
mov rcx, rbx
call sub.msvcrt.dll_memset
cmp edi, r12d
mov qword [rsi + 0x78], rbp
jl 0x74bc98
jmp 0x74bcd0
mov rax, qword [rsi + 0x60]
test rax, rax
jle 0x74bca8
mov qword [rbx], rax
mov eax, dword [rsi + 0x3c]
mov ecx, 0x200
mov dword [rbx + 0x1c], eax
call fcn.0074b070
test rax, rax
je 0x74bcb0
mov dword [rax], ebp
mov qword [rbx + 0x10], rax
mov rax, qword [rsi + 0x128]
mov dword [rbx + 0x20], 1
test rax, rax
je 0x74bc86
mov edx, dword [rax + 0x58]
mov dword [rbx + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rbx + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rbx + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rbx + 0x30], eax
add edi, 1
add rbx, 0x38
cmp edi, r12d
mov dword [rsi + 0x80], edi
je 0x74bcd0
mov rax, qword [rsi + 0x50]
mov ebp, dword [rsi + 0x20]
cmp qword [rax], 0
mov dword [rbx + 0x18], ebp
jne 0x74bc31
mov eax, dword [rsi + 0xb8]
jmp 0x74bc3a
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x20], 1
mov eax, 7
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x768430
Capabilities:
Create thread

Disassembly:
mov rax, qword [rcx + 0x48]
test rax, rax
je 0x768460
mov r8d, dword [rax + 0x20]
test r8d, r8d
je 0x768454
lea rdx, [0x007685e0]
mov r8, rcx
mov rcx, qword [rax]
jmp fcn.0074b560
jmp fcn.00768320
xor eax, eax
ret
Function at 0x794640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13, qword [rsp + 0x90]
test rdx, rdx
mov r12, r8
mov rdi, rcx
mov rbp, rdx
mov r8d, r9d
je 0x794700
mov rsi, qword [rcx + 0x80]
mov rcx, rsi
call fcn.00755310
test rax, rax
mov rbx, rax
je 0x794720
mov qword [rsp + 0x20], rax
lea rdx, [rsi + 0x10]
mov r9, rbp
mov r8d, r12d
lea rcx, [rsi + 4]
call fcn.0074e6c0
movzx eax, word [rbx + 0x1c]
test ax, ax
je 0x7946af
cmp ax, word [rsi + 8]
jbe 0x794734
mov r9d, 0x1082c
mov ecx, 0xb
mov esi, 0xb
lea rax, [0x00b49bdc]
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.00761b10
mov rax, qword [rdi + 0x80]
mov rdx, rbx
mov rcx, qword [rax + 0x10]
call fcn.00741080
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r9, r13
mov rdx, r12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.00794b60
mov esi, 7
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r8, r13
mov rdx, rbx
mov rcx, rdi
call fcn.00794180
mov esi, eax
jmp 0x7946de
Function at 0x7e4940
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r12d, dword [rsp + 0x90]
mov byte [rcx + 0x1c], 1
mov edi, r8d
mov rsi, rdx
mov rbp, r9
mov qword [rsp + 0x28], r9
mov r9, rdx
mov rbx, rcx
mov dword [rsp + 0x20], r8d
mov r8, rdx
mov dword [rsp + 0x30], r12d
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
call fcn.007e0db0
test edi, edi
je 0x7e4992
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r9, rbp
mov r8, rsi
mov rcx, rbx
mov dword [rsp + 0x90], r12d
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.007e0db0
Function at 0x7e8f30
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov edi, edx
mov rbp, r8
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov r12, r9
mov qword [rsp + 0x48], rax
movsxd rax, edx
lea rsi, [rcx + rax*8]
cmp qword [rsi + 0x28], 0
je 0x7e8fc3
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x7e8f80
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rsi + 0x28]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.00764b60
mov rcx, rsi
call fcn.007c57e0
cmp eax, 0x65
je 0x7e8fe0
cmp eax, 0x64
je 0x7e9010
mov rcx, rsi
call fcn.0079eb60
mov edx, dword [rbx + 0x40]
test edx, edx
jne 0x7e8f72
mov dword [rbx + 0x40], eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [rsp + rax*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call fcn.007e0430
mov qword [rsi + 0x28], rax
jmp 0x7e8f6b
test edi, edi
mov r9, r12
mov r8, rbp
lea rdx, str.__parent
mov rcx, rbx
lea rax, str.__rowid
cmove rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call fcn.007877b0
jmp 0x7e8fa6
xor edx, edx
mov rcx, rsi
call fcn.0074e610
cmp r12, rax
je 0x7e8fa6
test edi, edi
mov qword [rsp + 0x30], r12
mov r9, rax
mov r8, rbp
lea rcx, str.__parent
mov qword [rsp + 0x28], rbp
lea rdx, str.__rowid
cmove rdx, rcx
mov rcx, rbx
mov qword [rsp + 0x20], rdx
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
call fcn.007877b0
jmp 0x7e8fa6
Function at 0x7fdf30
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.DLL_CreateEventA]
test rax, rax
mov qword [0x00bca190], rax
je 0x7fdf65
lea rcx, [0x00bca1a0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
lea r9, [rax + 0x60]
mov r8d, 0x3d
mov edx, 1
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x7fe840
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00bca7e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x7fe9c8
mov rax, qword [0x00bca7e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x7fe88c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x7fe915
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x7fe870
mov rcx, rbx
call fcn.007ff4e0
test rax, rax
mov r12, rax
je 0x7fe9fd
mov rax, qword [0x00bca7e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.007ff610
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00bca7e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.DLL_VirtualQuery]
test rax, rax
je 0x7fe9e0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x7fe90e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x7fe970
add dword [0x00bca7e4], 1
cmp edi, 8
jae 0x7fe943
test dil, 4
jne 0x7fe9b4
test edi, edi
je 0x7fe938
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x7fe9cf
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x7fe938
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x7fe95c
jmp 0x7fe938
add rsi, qword [0x00bca7e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
jne 0x7fe90e
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.007ffe80
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x7fe938
xor esi, esi
jmp 0x7fe897
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x7fe938
mov rax, qword [0x00bca7e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.007ffe80
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.007ffe80
nop
nop dword [rax]
Function at 0x7ff150
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00bcaac0]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x00bcaaa0]
test rbx, rbx
je 0x7ff1a4
mov rbp, qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.DLL_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x7ff19b
test rsi, rsi
je 0x7ff19b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x7ff180
lea rcx, [0x00bcaac0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]

Function at 0x7ff4e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00b5c000]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x7ff54d
mov rcx, r8
call fcn.007ff3c0
test eax, eax
je 0x7ff54d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x7ff54d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x7ff544
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x7ff54f
add rax, 0x28
cmp rax, r9
jne 0x7ff530
xor eax, eax
add rsp, 0x28
ret

Function at 0x7ffe80
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.007ffc80
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.007ffc80
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x140009870
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140009895
test rdx, rdx
je 0x1400098a7
cmp rdx, 0x40
jae 0x1400098b5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 0x40
call fcn.14000a750
test al, al
jne 0x140009895
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x140009895
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x140009895
lea rbx, [rax + rdi]
mov rcx, rax
test rsi, rsi
je 0x1400098fa
test rbx, rbx
je 0x140009895
cmp rbx, rdi
jb 0x140009895
add rax, 0xf8
cmp rax, rsi
ja 0x140009895
cmp rax, 0xf8
jb 0x140009895
cmp rax, rcx
jb 0x140009895
jmp 0x14000990b
mov edx, 0xf8
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x140009895
mov rsi, qword [rsp + 0x38]
xor eax, eax
cmp dword [rbx], 0x4550
cmovne rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140009930
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140009a20
mov edx, 0x40
call fcn.14000a750
test al, al
jne 0x140009a20
mov edi, 0x5a4d
cmp word [rbx], di
jne 0x140009a20
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009a20
lea rsi, [rbx + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.14000a750
test al, al
jne 0x140009a20
cmp dword [rsi], 0x4550
jne 0x140009a20
mov edx, 0x40
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x140009a0d
cmp word [rbx], di
jne 0x140009a0d
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009a0d
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009a0d
cmp dword [rdi], 0x4550
jne 0x140009a0d
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009a0d
xor eax, eax
mov ecx, 0x20b
cmp word [rdi + 0x18], cx
cmovne rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140009a40
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140009b15
mov edx, 0x40
call fcn.14000a750
test al, al
jne 0x140009b15
mov edi, 0x5a4d
cmp word [rbx], di
jne 0x140009b15
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009b15
lea rsi, [rbx + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.14000a750
test al, al
jne 0x140009b15
cmp dword [rsi], 0x4550
jne 0x140009b15
mov edx, 0x40
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x140009b15
cmp word [rbx], di
jne 0x140009b15
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009b15
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009b15
cmp dword [rdi], 0x4550
jne 0x140009b15
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009b15
xor eax, eax
mov ecx, 0x20b
cmp word [rdi + 0x18], cx
cmove rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140009b30
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
cmp edx, 0x10
jae 0x140009c24
test rcx, rcx
je 0x140009c24
mov edx, 0x40
call fcn.14000a750
test al, al
jne 0x140009c24
mov edi, 0x5a4d
cmp word [rbx], di
jne 0x140009c24
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009c24
lea r14, [rbx + rax]
mov edx, 0xf8
mov rcx, r14
call fcn.14000a750
test al, al
jne 0x140009c24
cmp dword [r14], 0x4550
jne 0x140009c24
mov edx, 0x40
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x140009c0f
cmp word [rbx], di
jne 0x140009c0f
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009c0f
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009c0f
cmp dword [rdi], 0x4550
jne 0x140009c0f
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009c0f
mov eax, 0x20b
cmp word [rdi + 0x18], ax
lea rax, [rsi*8 + 0x88]
je 0x140009c17
lea rax, [rsi*8 + 0x78]
add rax, r14
xor ecx, ecx
cmp dword [rax], ecx
cmove rax, rcx
jmp 0x140009c26
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140009c40
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x5a4d
test rcx, rcx
je 0x140009cbb
mov edx, 0x40
call fcn.14000a750
test al, al
jne 0x140009cbb
cmp word [rbx], bp
jne 0x140009cbb
movsxd rax, dword [rbx + 0x3c]
lea rdi, [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009cbb
lea rsi, [rbx + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.14000a750
test al, al
jne 0x140009cbb
cmp dword [rsi], 0x4550
jne 0x140009cbb
mov edx, 0xf8
mov rcx, rsi
call fcn.14000a750
test al, al
je 0x140009cb5
xor esi, esi
jmp 0x140009cc6
movzx esi, word [rsi + 0x18]
jmp 0x140009cc6
xor esi, esi
lea rdi, [rbx + 0x3c]
test rbx, rbx
je 0x140009d18
mov edx, 0x40
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x140009d18
cmp word [rbx], bp
jne 0x140009d18
movsxd rax, dword [rdi]
cmp eax, 0x400
jg 0x140009d18
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009d18
cmp dword [rdi], 0x4550
jne 0x140009d18
mov eax, 0x20b
cmp si, ax
jne 0x140009d13
mov rax, qword [rdi + 0x30]
jmp 0x140009d1a
mov eax, dword [rdi + 0x34]
jmp 0x140009d1a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140009d30
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140009e2f
mov edx, 0x40
call fcn.14000a750
test al, al
jne 0x140009e2f
mov esi, 0x5a4d
cmp word [rbx], si
jne 0x140009e2f
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009e2f
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009e2f
cmp dword [rdi], 0x4550
jne 0x140009e2f
mov edx, 0x40
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x140009e14
cmp word [rbx], si
jne 0x140009e14
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009e14
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009e14
cmp dword [rdi], 0x4550
jne 0x140009e14
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009e14
mov eax, 0x20b
cmp word [rdi + 0x18], ax
jne 0x140009e14
mov rcx, rbx
call fcn.140009a40
mov eax, dword [rax + 0x50]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.140009930
mov eax, dword [rax + 0x50]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140009e50
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
je 0x140009f1c
call fcn.140009870
mov rsi, rax
test rax, rax
je 0x140009f1c
mov edx, 0x40
mov qword [rsp + 0x30], rdi
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x140009edd
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140009edd
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140009edd
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009edd
cmp dword [rdi], 0x4550
jne 0x140009edd
mov edx, 0xf8
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x140009edd
mov eax, 0x20b
lea rax, [rsi + 4]
test rax, rax
je 0x140009f05
cmp rax, rbx
jb 0x140009f05
mov rcx, rax
sub rcx, rbx
lea rdx, [rcx + 0x14]
cmp rdx, rbp
ja 0x140009f05
cmp rdx, 0x14
jb 0x140009f05
cmp rdx, rcx
jae 0x140009f07
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret

Function at 0x140009f30
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, r8
mov rbp, rdx
mov rdi, rcx
call fcn.140009870
test rax, rax
jne 0x140009f64
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbx
mov rdx, rbp
mov rcx, rdi
mov qword [rsp + 0x38], rsi
call fcn.140009e50
test rax, rax
je 0x14000a078
cmp word [rax + 2], 0
je 0x14000a078
test rdi, rdi
je 0x14000a0be
mov edx, 0x40
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x14000a0be
mov ebx, 0x5a4d
cmp word [rdi], bx
jne 0x14000a0be
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x14000a0be
lea rsi, [rdi + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.14000a750
test al, al
jne 0x14000a0be
cmp dword [rsi], 0x4550
jne 0x14000a0be
mov edx, 0x40
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x14000a038
cmp word [rdi], bx
jne 0x14000a038
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x14000a038
lea rbx, [rdi + rax]
mov edx, 0xf8
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x14000a038
cmp dword [rbx], 0x4550
jne 0x14000a038
mov edx, 0xf8
mov rcx, rbx
call fcn.14000a750
mov esi, dword [rsi + 0x50]
test rsi, rsi
je 0x14000a0be
mov r9d, 4
mov r8d, 0x3000
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14000a0be
mov r9d, esi
mov r8, rax
mov rdx, rbp
mov rcx, rdi
call fcn.14000a0e0
test al, al
je 0x14000a0be
mov qword [r14], rsi
jmp 0x14000a0c0
mov eax, 0x1000
mov rsi, rbp
cmp rbp, rax
cmovb rsi, rax
test rsi, rsi
je 0x14000a0be
mov r9d, 4
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14000a0be
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call fcn.140038dd0
mov qword [r14], rsi
jmp 0x14000a0c0
xor ebx, ebx
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000a0e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, r9
mov r13, r8
mov r15, rdx
mov rdi, rcx
test rcx, rcx
je 0x14000a11d
test r8, r8
je 0x14000a11d
test rdx, rdx
je 0x14000a13c
cmp rdx, 0x40
jae 0x14000a14a
xor al, al
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, 0x40
call fcn.14000a750
test al, al
jne 0x14000a11d
mov esi, 0x5a4d
cmp word [rdi], si
jne 0x14000a11d
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x14000a11d
lea rbx, [rax + rdi]
mov rcx, rax
test r15, r15
je 0x14000a18f
test rbx, rbx
je 0x14000a11d
cmp rbx, rdi
jb 0x14000a11d
add rax, 0xf8
cmp rax, r15
ja 0x14000a11d
cmp rax, 0xf8
jb 0x14000a11d
cmp rax, rcx
jb 0x14000a11d
jmp 0x14000a1a4
mov edx, 0xf8
mov rcx, rbx
call fcn.14000a750
test al, al
jne 0x14000a11d
cmp dword [rbx], 0x4550
jne 0x14000a11d
mov edx, 0x40
mov rcx, rdi
call fcn.14000a750
test al, al
jne 0x14000a204
cmp word [rdi], si
jne 0x14000a204
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x14000a204
lea rsi, [rdi + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.14000a750
test al, al
jne 0x14000a204
cmp dword [rsi], 0x4550
jne 0x14000a204
mov edx, 0xf8
mov rcx, rsi
call fcn.14000a750
test al, al
jne 0x14000a204
mov eax, 0x20b
xor r11d, r11d
lea r12, [rbx + 4]
mov eax, 0x10
mov rcx, r12
mov r14d, r11d
movzx esi, r11w
movzx edx, word [rax + rcx]
mov eax, dword [rbx + 0x54]
add rdx, 0x18
add rdx, rbx
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x20], rdx
cmp r11w, word [r12 + 2]
jae 0x14000a350
nop dword [rax]
movzx eax, si
lea rcx, [rax + rax*4]
lea rbx, [rdx + rcx*8]
test rbx, rbx
je 0x14000a11d
cmp rbx, rdi
jb 0x14000a11d
mov rcx, rbx
sub rcx, rdi
lea rax, [rcx + 0x28]
cmp rax, r15
ja 0x14000a11d
cmp rax, 0x28
jb 0x14000a11d
cmp rax, rcx
jb 0x14000a11d
cmp rax, rbp
ja 0x14000a11d
mov ecx, dword [rbx + 0x14]
test ecx, ecx
je 0x14000a33d
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x14000a33d
mov r9d, dword [rbx + 0xc]
mov edx, ecx
mov r8d, eax
add rcx, rdi
add rax, r9
lea r10, [r9 + r13]
cmp rax, rbp
jbe 0x14000a2ca
mov rax, rbp
mov r8, r11
sub rax, r9
cmp rbp, r9
cmova r8, rax
cmp r9, rbp
jb 0x14000a2d8
test r8, r8
jne 0x14000a11d
lea rax, [rdx + r8]
cmp rax, rbp
ja 0x14000a11d
test rcx, rcx
je 0x14000a338
cmp rcx, rdi
jb 0x14000a338
cmp rax, r15
ja 0x14000a338
cmp rax, r8
jb 0x14000a338
cmp rax, rdx
jb 0x14000a338
test r10, r10
je 0x14000a338
cmp r10, r13
jb 0x14000a338
lea rax, [r9 + r8]
cmp rax, rbp
ja 0x14000a338
cmp rax, r8
jb 0x14000a338
cmp rax, r9
jb 0x14000a338
mov rdx, rcx
mov rcx, r10
call fcn.140038dd0
test r14d, r14d
je 0x14000a331
cmp dword [rbx + 0x14], r14d
jae 0x14000a335
mov r14d, dword [rbx + 0x14]
xor r11d, r11d
mov rdx, qword [rsp + 0x20]
inc si
cmp si, word [r12 + 2]
jb 0x14000a240
mov eax, dword [rsp + 0x60]
test eax, eax
cmovne r14d, eax
mov r8d, r14d
cmp r8, rbp
ja 0x14000a11d
mov rdx, rdi
mov rcx, r13
call fcn.140038dd0
mov al, 1
jmp 0x14000a11f