joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140124950
Capabilities:
Resolve dns

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
cmp r8, 0xffffffffffffffff
je 0x140124b70
mov rbx, r8
mov r15, r8
inc r15
js 0x140124b7c
mov rdi, r9
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140198310]
xor ecx, ecx
mov rdx, r15
call fcn.1400f22c0
test rax, rax
je 0x140124b81
mov r12, rax
mov rcx, rax
mov rdx, r14
mov r8, rbx
call fcn.140119a10
cmp rbx, 0xf
ja 0x1401249e8
test rbx, rbx
je 0x140124a8f
xor eax, eax
nop word cs:[rax + rax]
cmp byte [r14 + rax], 0
je 0x140124af8
inc rax
cmp rbx, rax
jne 0x1401249d0
jmp 0x140124a8f
lea rax, [r14 + 7]
and rax, 0xfffffffffffffff8
sub rax, r14
jne 0x140124a40
lea rcx, [rbx - 0x10]
xor eax, eax
movdqa xmm0, xmmword [0x140127700]
movabs rdx, 0x8080808080808080
nop dword [rax]
movdqu xmm1, xmmword [r14 + rax]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r8, xmm2
test r8, rdx
jne 0x140124a6c
add rax, 0x10
cmp rax, rcx
jbe 0x140124a10
jmp 0x140124a6c
cmp rax, rbx
cmovae rax, rbx
xor ecx, ecx
nop dword [rax]
cmp byte [r14 + rcx], 0
je 0x140124af8
inc rcx
cmp rax, rcx
jne 0x140124a50
lea rcx, [rbx - 0x10]
cmp rax, rcx
jbe 0x1401249fb
cmp rax, rbx
je 0x140124a8f
nop word cs:[rax + rax]
cmp byte [r14 + rax], 0
je 0x140124af8
inc rax
cmp rbx, rax
jne 0x140124a80
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x40]
call fcn.140006760
mov rbx, rax
mov r14, rdx
pxor xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x38], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x40]
lea r9, [rbp - 8]
mov rcx, rax
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140124b2b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140124b3f
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, qword [0x140198260]
xor edx, edx
mov r8, r12
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [rdi]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rbx], 0
test r14, r14
je 0x140124b60
mov rcx, qword [0x140198260]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.library_alloc_src_ffic_str.rs
call fcn.14011adb0
call fcn.140006640
mov ecx, 1
mov rdx, r15
call fcn.14011a520
int3
Function at 0x140001160
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x58
mov rax, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
mov rax, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x1400011b9
mov byte [rsp + 0x57], 0
jmp 0x1400012d3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rax, qword [rsp + 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
lea rdx, str.NtAllocateVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
lea rdx, str.NtWriteVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rax, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
lea rdx, str.NtCreateThreadEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rax, qword [rsp + 0x80]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
lea rdx, str.NtWaitForSingleObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rax, qword [rsp + 0x88]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x38]
xor eax, eax
cmp qword [rcx], 0
mov byte [rsp + 0x2f], al
je 0x1400012c9
mov rcx, qword [rsp + 0x40]
xor eax, eax
cmp qword [rcx], 0
mov byte [rsp + 0x2f], al
je 0x1400012c9
mov rcx, qword [rsp + 0x48]
xor eax, eax
cmp qword [rcx], 0
mov byte [rsp + 0x2f], al
je 0x1400012c9
mov rcx, qword [rsp + 0x80]
xor eax, eax
cmp qword [rcx], 0
mov byte [rsp + 0x2f], al
je 0x1400012c9
mov rax, qword [rsp + 0x88]
cmp qword [rax], 0
setne al
mov byte [rsp + 0x2f], al
mov al, byte [rsp + 0x2f]
and al, 1
mov byte [rsp + 0x57], al
mov al, byte [rsp + 0x57]
and al, 1
movzx eax, al
add rsp, 0x58
ret
Function at 0x1400034d0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x78], 0
jg 0x14000350d
mov qword [rsp + 0x80], 0
jmp 0x1400036d9
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x68], 0
je 0x14000353e
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
call fcn.1400042b0
mov qword [rsp + 0x80], rax
jmp 0x1400036d9
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
call fcn.140004670
mov qword [rsp + 0x50], rax
xor eax, eax
cmp rax, qword [rsp + 0x50]
jae 0x1400035dd
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.1400052f0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
call fcn.140004700
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400046c0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
sub rax, rdx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov edx, eax
call fcn.140004720
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x80], 0
je 0x1400036c7
mov rcx, qword [rsp + 0x30]
call fcn.140002960
mov qword [rsp + 0x40], 0xfff
mov eax, 0xfff
cmp rax, qword [rsp + 0x60]
jae 0x140003685
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov rcx, qword [rsp + 0x70]
mov edx, 1
mov r8d, 0xfff
call fcn.140016d78
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x38], 0xfff
je 0x140003680
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
jmp 0x1400036d9
jmp 0x140003603
xor eax, eax
cmp rax, qword [rsp + 0x60]
jae 0x1400036c2
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov edx, 1
call fcn.140016d78
mov rcx, rax
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x1400036c7
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
add rsp, 0x88
ret
Function at 0x1400036f0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rax + 0x68], 0
je 0x140003736
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
call fcn.140004400
mov qword [rsp + 0x60], rax
jmp 0x140003844
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
call fcn.140004770
mov qword [rsp + 0x38], rax
xor eax, eax
cmp rax, qword [rsp + 0x58]
jge 0x1400037e5
xor eax, eax
cmp rax, qword [rsp + 0x38]
jge 0x1400037e5
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x38]
jge 0x140003783
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400047c0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov rcx, rax
call fcn.1400046c0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
sub rax, rdx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov edx, eax
call fcn.1400047e0
xor eax, eax
cmp rax, qword [rsp + 0x58]
jge 0x140003835
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x80], 0
je 0x140003835
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov edx, 1
call fcn.1400167c8
mov rcx, rax
mov rax, qword [rsp + 0x58]
sub rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x140003ce0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x88], rcx
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
cmp qword [rax + 0x68], 0
je 0x140003d16
mov rax, qword [rsp + 0x38]
test byte [rax + 0x71], 1
jne 0x140003d23
mov byte [rsp + 0x97], 1
jmp 0x140003e85
call fcn.140003fb0
mov rcx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rsp + 0x84], eax
call fcn.140003fb0
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x84]
call fcn.140003f80
test al, 1
jne 0x140003d6a
jmp 0x140003d77
mov byte [rsp + 0x97], 0
jmp 0x140003e85
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x78], 0x20
mov rcx, qword [rdx + 0x68]
lea r9, [rsp + 0x70]
add rdx, 0x74
mov rax, rsp
lea r8, [rsp + 0x48]
mov qword [rax + 0x20], r8
lea r8, [rsp + 0x50]
call fcn.140003fc0
mov ecx, eax
mov dword [rsp + 0x34], ecx
test eax, eax
je 0x140003ddf
jmp 0x140003dbb
mov eax, dword [rsp + 0x34]
sub eax, 1
je 0x140003de8
jmp 0x140003dcd
mov eax, dword [rsp + 0x34]
sub eax, 3
je 0x140003e67
jmp 0x140003e7d
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x71], 0
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
sub rax, rcx
mov qword [rsp + 0x40], rax
xor eax, eax
cmp rax, qword [rsp + 0x40]
jae 0x140003e4f
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov edx, 1
call fcn.1400167c8
mov rcx, rax
mov rax, qword [rsp + 0x28]
cmp rax, rcx
je 0x140003e4f
mov byte [rsp + 0x97], 0
jmp 0x140003e85
mov rax, qword [rsp + 0x38]
mov al, byte [rax + 0x71]
xor al, 0xff
and al, 1
mov byte [rsp + 0x97], al
jmp 0x140003e85
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x71], 0
mov byte [rsp + 0x97], 1
jmp 0x140003e85
mov byte [rsp + 0x97], 0
mov al, byte [rsp + 0x97]
and al, 1
movzx eax, al
add rsp, 0x98
ret

Function at 0x14000f77c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140016127
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016127
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140016127
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140016127
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140016127
cmp dword [rcx + 0x84], 0xe
jbe 0x140016127
cmp dword [rcx + 0xf8], 0
je 0x140016127
mov ecx, ebx
call fcn.1400161c8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140015fb8
cmp dword [rbp + 0x20], 0
je 0x140016174
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001617c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400160c0
Function at 0x140001bf0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.140007970
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007970
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140001c60
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14000e0b4]
mov r12, rcx
test ebx, ebx
jle 0x140001d90
mov rax, qword [0x14000e0b8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x140001cac
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001d33
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x140001c90
mov rcx, r12
call fcn.1400026c0
mov rsi, rax
test rax, rax
je 0x140001db2
mov rax, qword [0x14000e0b8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.1400027f0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14000e0b8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001d97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001d2c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001d40
add dword [0x14000e0b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne 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 0x140001d2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001bf0
nop dword [rax]
xor ebx, ebx
jmp 0x140001cb7
mov rax, qword [0x14000e0b8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001bf0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140001bf0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002330
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14000e120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e100]
test rbx, rbx
je 0x140002384
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000237b
test r12, r12
je 0x14000237b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002360
lea rcx, [0x14000e120]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400026c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000aa40]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140002735
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000272c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400026e0
add rax, 0x28
cmp rax, r9
jne 0x140002718
xor eax, eax
ret

Function at 0x140002740
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000aa40]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002760
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002768
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002760
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1400027f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000aa40]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002810
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140002818
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x4176a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41782b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004345a0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x417705
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x417714
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x417733
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x417743
cmp rbx, 0x1000
jae 0x41770b
jmp 0x4177ad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x417755
xor edx, edx
jmp 0x4177a4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004345a0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
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 0x417739
jmp 0x417728
call fcn.00467620
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00438640
lea rax, [0x00597fba]
mov ebx, 0x18
nop dword [rax]
call fcn.00438ec0
mov rax, qword [rsp + 0x38]
call fcn.00438c00
lea rax, [0x00598522]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00438ec0
mov rax, qword [rsp + 0x30]
call fcn.00438c00
call fcn.00438880
call fcn.004386a0
lea rax, [0x0059b4d2]
mov ebx, 0x21
call fcn.00436ba0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004176a0
Function at 0x417860
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x417a86
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00434620
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4178d3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4178e2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x417905
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x417915
cmp rbx, 0x1000
jae 0x4178d9
nop
jmp 0x417998
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 0x41792d
xor esi, esi
jmp 0x41798a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00434620
xorps xmm15, xmm15
mov r14, qword [0x00748920]
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 0x41790b
jmp 0x4178f6
call fcn.00467620
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x417a20
nop dword [rax + rax]
call fcn.00438640
lea rax, [0x0059853b]
mov ebx, 0x19
call fcn.00438ec0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00438c00
lea rax, [0x00598522]
mov ebx, 0x19
call fcn.00438ec0
mov eax, dword [rsp + 0x34]
call fcn.00438c00
nop
call fcn.00438880
call fcn.004386a0
lea rax, [0x005945bd]
mov ebx, 0xd
call fcn.00436ba0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4179c0
call fcn.00438640
lea rax, [0x0059853b]
mov ebx, 0x19
call fcn.00438ec0
mov rax, qword [rsp + 0x38]
call fcn.00438c00
lea rax, [0x00598522]
mov ebx, 0x19
call fcn.00438ec0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00438c00
call fcn.00438880
call fcn.004386a0
lea rax, [0x0059a999]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00436ba0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00417860