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

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

Function at 0x140eb6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140eb61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140eb6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140eb606f
add dl, dl
jne 0x140eb6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140eb60f6
xor eax, eax
add dl, dl
jne 0x140eb60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140eb61ad
add dl, dl
jne 0x140eb60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eb60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eb60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eb60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140eb60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140eb607e
mov eax, 1
add dl, dl
jne 0x140eb6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140eb6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140eb60fb
sub eax, ebx
mov ebx, 1
jne 0x140eb614c
mov ecx, 1
add dl, dl
jne 0x140eb612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140eb613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140eb6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140eb607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140eb6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140eb6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140eb615d
cmp eax, 0x7d00
jae 0x140eb619b
cmp eax, 0x500
jb 0x140eb6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140eb607e
cmp eax, 0x7f
ja 0x140eb619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140eb607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140eb61d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140eb607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001579
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Inject apc
Resume thread
Use process replacement

Disassembly:
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x80]
call fcn.140001770
lea rdx, [rbp - 0x10]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
pxor xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movq qword [rbp - 0x20], xmm0
call fcn.1400014a4
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
lea rax, str.C:WindowsSystem32_notepad.exe
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0x70], rax
mov eax, dword [0x140f19b48]
mov edx, eax
mov rax, qword [rbp + 0x78]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x60], rax
mov eax, dword [0x140f19b48]
mov ecx, eax
mov rdx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x20], 0
mov r9, rcx
lea r8, section..data
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
mov rdx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x60]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_QueueUserAPC]
call rax
mov rax, qword [rbp + 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ResumeThread]
call rax
mov eax, 0
add rsp, 0x108
pop rdi
pop rbp
ret

Function at 0x140001980
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
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.1400077a0
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.1400077a0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x1400019f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140f1d0a4]
mov rbx, rcx
test esi, esi
jle 0x140001b20
mov rax, qword [0x140f1d0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001a3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001ac5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001a20
mov rcx, rbx
call fcn.140002460
mov rdi, rax
test rax, rax
je 0x140001b42
mov rax, qword [0x140f1d0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400025a0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140f1d0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001b27
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001abe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001ad0
add dword [0x140f1d0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140f1d0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001abe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001980
nop dword [rax]
xor esi, esi
jmp 0x140001a48
mov rax, qword [0x140f1d0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001980
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001980
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400020d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140f1d100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140f1d0e0]
test rbx, rbx
je 0x14000212c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140002123
test eax, eax
jne 0x140002123
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002108
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002460
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140f1a750]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002480
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002488
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002480
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400024dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400024d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002480
add rax, 0x28
cmp rax, r9
jne 0x1400024c0
xor eax, eax
ret

Function at 0x1400024e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140f1a750]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400024ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002508
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400024ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400025a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140f1a750]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400025bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400025c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000b7a0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000b7b0]
mov dword [rax], 1
mov rax, qword [0x14000b7c0]
mov dword [rax], 1
mov rax, qword [0x14000b740]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000b790]
mov dword [0x14000e020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x14000b870]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14000b850]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x14000b6f0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001980
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x1400019f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000e0b4]
mov rbx, rcx
test esi, esi
jle 0x140001b20
mov rax, qword [0x14000e0b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001a3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001ac5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001a20
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001b42
mov rax, qword [0x14000e0b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e0b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001b27
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001abe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001ad0
add dword [0x14000e0b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000e0b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001abe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001a48
mov rax, qword [0x14000e0b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400021f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp edx, 2
je 0x140002320
ja 0x140002238
test edx, edx
je 0x1400022b8
mov eax, dword [0x14000e108]
test eax, eax
je 0x1400023a0
mov dword [0x14000e108], 1
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp edx, 3
jne 0x140002225
mov eax, dword [0x14000e108]
test eax, eax
je 0x140002225
lea r12, [0x14000e120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e100]
test rbx, rbx
je 0x1400022a4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400023c8
test eax, eax
jne 0x1400023c8
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002278
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140002225
mov eax, dword [0x14000e108]
test eax, eax
jne 0x140002338
mov eax, dword [0x14000e108]
cmp eax, 1
jne 0x140002225
mov rbx, qword [0x14000e100]
test rbx, rbx
je 0x1400022f1
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
call sym.free
test rbx, rbx
jne 0x1400022e0
lea rcx, [0x14000e120]
mov qword [0x14000e100], 0
mov dword [0x14000e108], 0
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x140002225
call sym._fpreset
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r12, [0x14000e120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e100]
test rbx, rbx
je 0x14000238c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word [rax + rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400023b8
test rsi, rsi
je 0x1400023b8
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002368
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400022c2
lea rcx, [0x14000e120]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x14000221b
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002368
jmp 0x14000238c
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002278
jmp 0x1400022a4

Function at 0x1400023e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400023f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002400
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002410
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000245d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002454
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000245f
add rax, 0x28
cmp rax, r9
jne 0x140002440
xor eax, eax
ret
Function at 0x140002460
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400024f0
mov rdx, qword [0x14000b740]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400024de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400024de
cmp word [rax + 0x18], 0x20b
jne 0x1400024de
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400024f0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400024c9
add rbx, 0x28
cmp rbx, rdi
je 0x1400024f0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400024c0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002500
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r8, qword [0x14000b740]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002520
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002528
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002520
movzx eax, word [rdx + 0x14]
sub rcx, r8
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002575
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000256c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002520
add rax, 0x28
cmp rax, r9
jne 0x140002558
xor eax, eax
ret

Function at 0x140002580
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000b740]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000259f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400025a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000259f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400025c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000b740]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400025e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400025e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400025e0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002630
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002627
test rcx, rcx
je 0x1400025e0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002618
xor eax, eax
ret

Function at 0x140002640
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000b740]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000265f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002668
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002680
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000b740]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026a0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400026a0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400026f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002700
add rdx, 0x28
cmp r9, rdx
jne 0x1400026e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002710
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000b740]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140002734
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x140002740
mov rax, r9
ret
cmp word [rcx + 0x18], 0x20b
jne 0x140002734
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140002734
movzx edx, word [rcx + 0x14]
movzx r10d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r10w, r10w
je 0x140002734
lea ecx, [r10 - 1]
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x14000278c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x1400027a0
add rdx, 0x28
cmp rdx, r10
jne 0x140002778
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400027b0
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x1400027be
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002795
test r8d, r8d
jg 0x1400027a8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400270e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002710e
xor eax, eax
jmp 0x14002713f
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
cmp dword [rax], 0x4550
je 0x140027137
xor eax, eax
jmp 0x14002713f
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x50]
add rsp, 0x28
ret
Function at 0x140027150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
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]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x1400271dc
cmp dword [rsp + 0x40], 1
je 0x1400271da
xor eax, eax
jmp 0x14002737f
jmp 0x140027203
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400271fc
cmp dword [rsp + 0x40], 2
je 0x1400271fa
xor eax, eax
jmp 0x14002737f
jmp 0x140027203
xor eax, eax
jmp 0x14002737f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
call fcn.14002b900
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x20]
call fcn.14002b900
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x1c]
call fcn.14002b900
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x24]
call fcn.14002b900
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x58], 0
je 0x14002737d
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
call fcn.14002b900
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
lea rdx, [0x140075600]
mov rcx, qword [rsp + 0x60]
call fcn.14000d3e0
test rax, rax
je 0x14002735c
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x1c]
call fcn.14002b900
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
call fcn.14002b900
jmp 0x14002737f
mov rax, qword [rsp + 0x38]
add rax, 4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x1400272b9
xor eax, eax
add rsp, 0x78
ret