joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4616a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4030af
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409940
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403080
cmp byte [0x005f824f], 0
je 0x4616b5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45e700
jmp 0x403080

Function at 0x4616c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005f8540]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005f824f], 0
je 0x4616f5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005f8880]
aesenc xmm0, xmmword [0x005f8890]
aesenc xmm0, xmmword [0x005f88a0]
movq rax, xmm0
ret
jmp 0x409b40

Function at 0x461700
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005f8540]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005f824f], 0
je 0x461736
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005f8880]
aesenc xmm0, xmmword [0x005f8890]
aesenc xmm0, xmmword [0x005f88a0]
movq rax, xmm0
ret
jmp 0x409ba0

Function at 0x463140
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005f8800]
mov qword [rsp + 8], rdx
lea r8d, [0x005f8268]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.004615e0
add rsp, 0x30
ret

Function at 0x463680
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4636ac
call fcn.004615e0
shl rcx, 3
add rcx, 0x1480
mov qword [0x005f8448], rcx
ret
Function at 0x1400011c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13e0
call fcn.140003fe0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov r12, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
call fcn.140002490
mov r14d, 1
mov dword [rsp + 0x20], r14d
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r8d, 0xffffffff
mov dword [rsp + 0x13c4], r8d
mov dword [rsp + 0x44], eax
mov edx, r14d
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x140001230
mov dword [rsp + 0x40], 0x270
cmp qword [r12 + 0x18], 0xf
jbe 0x14000126d
mov rdx, qword [r12]
mov r13, rdx
add rdx, qword [r12 + 0x10]
jmp 0x140001278
mov rdx, qword [r12 + 0x10]
add rdx, r12
mov r13, r12
mov qword [rsp + 0x28], rdx
mov ecx, 0x40
mov rsi, 0xffffffffffffffff
nop dword [rax]
lea rcx, [rcx - 1]
shr rsi, 1
cmp rsi, r8
ja 0x140001290
cmp r13, rdx
je 0x14000135b
lea rax, [r13 + 1]
cmp rax, rdx
je 0x14000135b
lea rbp, [rcx - 1]
nop word [rax + rax]
lea r15, [r14 + 1]
xor ebx, ebx
xor edi, edi
test r14, r14
je 0x140001305
nop dword [rax]
mov rcx, rbp
shl rbx, cl
add rbx, rbx
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.140002870
mov eax, eax
cmp rax, rsi
ja 0x1400012e0
or rbx, rax
mov rcx, rbp
shl rdi, cl
add rdi, rdi
or rdi, rsi
cmp rdi, r14
jb 0x1400012d0
xor edx, edx
mov rax, rdi
div r15
mov rcx, rax
xor edx, edx
mov rax, rbx
div r15
cmp rax, rcx
jb 0x14000132a
xor edx, edx
mov rax, rdi
div r15
cmp rdx, r14
jne 0x1400012c4
xor edx, edx
mov rax, rbx
div r15
cmp rdx, r14
je 0x140001349
movzx r8d, byte [r14 + r13]
movzx ecx, byte [rdx + r13]
mov byte [r14 + r13], cl
mov byte [rdx + r13], r8b
inc r14
lea rcx, [r14 + r13]
cmp rcx, qword [rsp + 0x28]
jne 0x1400012c0
mov rax, r12
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140002fa0
mov rbx, qword [rsp + 0x1430]
add rsp, 0x13e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400014a0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r8
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x30]
xor r8d, r8d
mov r9d, 2
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400014f9
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002fa0
add rsp, 0x50
pop rbx
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002fa0
add rsp, 0x50
pop rbx
ret
Function at 0x140001550
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13e0
call fcn.140003fe0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov rdi, rcx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13c4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x44], eax
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x1400015a0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x270
call fcn.140002870
mov ecx, eax
imul rcx, rcx, 0x3e9
cmp ecx, 0x26b
ja 0x1400015fd
lea rcx, [rsp + 0x40]
call fcn.140002870
mov ecx, eax
imul rcx, rcx, 0x3e9
cmp ecx, 0x26c
jb 0x1400015e2
shr rcx, 0x20
add ecx, 0x800001f4
btc ecx, 0x1f
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
test al, 1
jne 0x140001625
mov ecx, 5
call fcn.140001390
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x14000166a
cmp qword [rdi + 0x18], 0xf
jbe 0x140001647
mov rdi, qword [rdi]
mov r8d, 0x24
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x14000166e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x140001695
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140002fa0
mov rbx, qword [rsp + 0x13f8]
add rsp, 0x13e0
pop rdi
ret
Function at 0x140002870
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400028d1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140002890
mov ecx, dword [r9]
jmp 0x1400029bb
cmp ecx, 0x4e0
jb 0x1400029bb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400028f0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140002940
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x1400039f0
Capabilities:
Parse pe header

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

Disassembly:
test rcx, rcx
je 0x140005450
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000544f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140005455
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000544f
mov eax, 0
jmp 0x14000544f

Function at 0x140005ad0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140005a80
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000f0e0
Capabilities:
Write file on windows

Disassembly:
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.140017c20
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.140017c20
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 0x14000f150
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140591154]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000f2e0
mov rax, qword [0x140591158]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000f19c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000f225
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000f180
mov rcx, rdi
call fcn.14000fcb0
test rax, rax
mov r12, rax
je 0x14000f332
mov rax, qword [0x140591158]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14000fdf0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140591158]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000f315
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000f21e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000f290
add dword [0x140591154], 1
cmp ebx, 8
jae 0x14000f251
test bl, 4
jne 0x14000f2f0
test ebx, ebx
je 0x14000f246
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000f304
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000f246
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000f26a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x140591158]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000f21e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000f0e0
xor esi, esi
jmp 0x14000f1a7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000f246
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000f246
mov rax, qword [0x140591158]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000f0e0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000f0e0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000f900
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1405911c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1405911a0]
test rbx, rbx
je 0x14000f954
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 0x14000f94b
test rsi, rsi
je 0x14000f94b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000f930
lea rcx, [0x1405911c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000fcb0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14058c130]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000fd1f
mov rcx, r9
call fcn.14000fb80
test eax, eax
je 0x14000fd1f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000fd1d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000fd14
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000fd1f
add rdx, 0x28
cmp rdx, r9
jne 0x14000fd00
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140019fe0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x140588ea0]
jmp 0x140010ae0

Function at 0x140019ff0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x140588ea0]
jmp 0x140010ae0
Function at 0x180003b4f
Capabilities:
Check http status code

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
and dword [rbp + 0x208], 0
mov rdi, rcx
xor r14d, r14d
lea rcx, [rsp + 0x40]
xor edx, edx
mov esi, 0x84600200
lea ebx, [r14 + 0x68]
mov r8d, ebx
call fcn.180005f6b
lea rax, [rbp - 0x50]
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x58], rax
lea rcx, [rdi + 0x6e8]
lea rax, [rbp + 0xb0]
xor edx, edx
mov qword [rbp - 0x78], rax
lea r9, [rsp + 0x40]
mov eax, 0x100
mov r8d, 0x10000000
mov dword [rsp + 0x60], eax
mov dword [rbp - 0x70], eax
call qword [rdi + 0xf0]
xor ebx, ebx
test eax, eax
je 0x180003dee
cmp dword [rsp + 0x54], 4
mov eax, 0x84e03200
mov r12d, ebx
mov dword [rsp + 0x20], ebx
sete r12b
cmove esi, eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [rdi + 0xf8]
mov r13, rax
test rax, rax
je 0x180003dee
movzx r8d, word [rsp + 0x64]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], ebx
mov rcx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
call qword [rdi + 0x100]
mov r15, rax
test rax, rax
je 0x180003d95
mov qword [rsp + 0x38], rbx
lea rdx, [rdi + 0x7e8]
mov dword [rsp + 0x30], esi
lea r8, [rbp + 0xb0]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [rdi + 0x120]
mov rbx, rax
test rax, rax
je 0x180003d8c
test r12d, r12d
je 0x180003caa
bt esi, 0xc
jae 0x180003caa
lea r9d, [r14 + 4]
mov dword [rbp + 0x210], 0x3380
lea r8, [rbp + 0x210]
mov rcx, rax
lea edx, [r14 + 0x1f]
call qword [rdi + pe_nt_image_headers64]
xor r12d, r12d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
xor edx, edx
mov rcx, rbx
call qword [rdi + 0x128]
test eax, eax
je 0x180003d83
lea r9, [rbp + 0x200]
mov dword [rbp + 0x200], 4
lea r8, [rbp + 0x208]
mov qword [rsp + 0x20], r12
mov edx, 0x20000013
mov rcx, rbx
call qword [rdi + 0x130]
test eax, eax
je 0x180003d83
cmp dword [rbp + 0x208], 0xc8
jne 0x180003d83
lea rsi, [rdi + 0x918]
mov dword [rbp + 0x200], 8
mov r8, rsi
mov qword [rsi], r12
lea r9, [rbp + 0x200]
mov qword [rsp + 0x20], r12
mov edx, 0x20000005
mov rcx, rbx
call qword [rdi + 0x130]
test eax, eax
je 0x180003d83
mov rdx, qword [rsi]
test rdx, rdx
je 0x180003d83
xor ecx, ecx
lea r9d, [r12 + 4]
mov r8d, 0x3000
call qword [rdi + 0x48]
mov qword [rdi + 0x920], rax
test rax, rax
je 0x180003d83
mov r8d, dword [rsi]
lea r9, [rbp + 0x218]
mov rdx, rax
mov dword [rbp + 0x218], r12d
mov rcx, rbx
call qword [rdi + 0x110]
mov r14d, eax
mov rcx, rbx
call qword [rdi + 0x118]
mov rcx, r15
call qword [rdi + 0x118]
mov rcx, r13
call qword [rdi + 0x118]
test r14d, r14d
je 0x180003de9
cmp dword [rdi + 0x234], 3
jne 0x180003de9
mov rbx, qword [rdi + 0x920]
lea rdx, [rdi + 0x908]
mov r9d, dword [rdi + 0x918]
lea rcx, [rdi + 0x8f8]
mov r8, rbx
call fcn.180005bb3
mov rdx, qword [rdi + 0x28]
lea rcx, [rdi + 0x7f0]
call fcn.180005a6b
cmp rax, qword [rbx + 0x518]
jne 0x180003dee
mov eax, r14d
jmp 0x180003df0
xor eax, eax
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180003e07
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
movsxd r15, dword [rdx + 0x3c]
mov r13, r9
mov rbx, rdx
mov r12, rcx
mov eax, dword [r15 + rdx + 0x88]
test eax, eax
je 0x180003edd
lea rdi, [rdx + rax]
mov esi, dword [rdi + 0x18]
test esi, esi
je 0x180003edd
mov eax, dword [rdi + 0x1c]
xor ecx, ecx
mov r8d, dword [rdi + 0xc]
add rax, rdx
mov qword [rsp + 0x30], rax
add r8, rdx
mov eax, dword [rdi + 0x20]
add rax, rdx
mov qword [rbp + 0x158], rax
mov eax, dword [rdi + 0x24]
add rax, rdx
mov qword [rsp + 0x28], rax
mov al, byte [r8]
test al, al
je 0x180003e9e
xor edx, edx
inc ecx
or al, 0x20
mov byte [rbp + rdx], al
mov edx, ecx
mov al, byte [rcx + r8]
test al, al
jne 0x180003e8c
mov byte [rbp + rcx], 0
mov rdx, r13
lea rcx, [rbp]
call fcn.180005a6b
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x158]
dec esi
mov rdx, r13
mov ecx, dword [rax + rsi*4]
add rcx, rbx
call fcn.180005a6b
xor rax, qword [rsp + 0x20]
cmp rax, qword [rbp + 0x160]
je 0x180003efa
test esi, esi
jne 0x180003eb4
xor eax, eax
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + rsi*2]
mov r8d, dword [rcx + rax*4]
add r8, rbx
cmp r8, rdi
jb 0x180003fc7
mov eax, dword [r15 + rbx + 0x8c]
add rax, rdi
cmp r8, rax
jae 0x180003fc7
xor ebx, ebx
mov r9d, ebx
cmp byte [r8], bl
je 0x180003f57
cmp r9d, 0x3c
jae 0x180003f57
mov ecx, r9d
mov al, byte [rcx + r8]
mov byte [rsp + rcx + 0x40], al
cmp byte [rcx + r8], 0x2e
je 0x180003f57
inc r9d
cmp byte [r9 + r8], bl
jne 0x180003f36
lea eax, [r9 + 1]
mov edx, eax
mov byte [rsp + rax + 0x40], 0x64
lea eax, [r9 + 2]
mov byte [rsp + rax + 0x40], 0x6c
lea eax, [r9 + 3]
mov byte [rsp + rax + 0x40], 0x6c
lea eax, [r9 + 4]
lea r9, [rdx + r8]
mov byte [rsp + rax + 0x40], bl
mov edx, ebx
cmp byte [r9], bl
je 0x180003f9e
cmp edx, 0x7f
jae 0x180003f9e
mov ecx, edx
inc edx
mov al, byte [rcx + r9]
mov byte [rbp + rcx - 0x80], al
cmp byte [rdx + r9], bl
jne 0x180003f87
mov eax, edx
lea rcx, [rsp + 0x40]
mov byte [rbp + rax - 0x80], bl
call qword [r12 + 0x30]
test rax, rax
je 0x180003fc4
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [r12 + 0x38]
mov r8, rax
jmp 0x180003fc7
mov r8, rbx
mov rax, r8
jmp 0x180003edf
Function at 0x180005753
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword gs:[0x30]
mov rsi, rcx
add rcx, 0x34c
mov r13, qword [rax + 0x60]
mov r12, qword [r13 + 0x20]
mov qword [rsp + 0xf0], r12
call qword [rsi + 0x40]
xor ecx, ecx
mov r11, rax
movsxd r9, dword [rax + 0x3c]
add r9, rax
movzx r10d, word [r9 + 0x14]
movzx r8d, word [r9 + 6]
add r10, r9
test r8d, r8d
je 0x1800057cc
mov r9d, dword [rsi + 0x344]
lea rax, [rcx + rcx*4]
cmp dword [r10 + rax*8 + 0x18], r9d
je 0x180005838
inc ecx
cmp ecx, r8d
jb 0x1800057ba
mov ebx, dword [rsp + 0xf0]
mov rdi, qword [rsp + 0xf0]
xor ebp, ebp
test ebx, ebx
je 0x18000581b
mov r14, rdi
mov rdx, qword [r14 + 8]
mov rcx, rsi
call fcn.1800044db
test eax, eax
je 0x180005811
mov r8b, 1
lea rcx, [r12 + 0x70]
mov rdx, r14
call qword [rsi + 0x160]
test eax, eax
jne 0x18000584e
mov r12, qword [rsp + 0xf0]
inc ebp
add r14, 8
cmp ebp, ebx
jb 0x1800057e4
xor eax, eax
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rcx + rcx*4]
mov edi, dword [r10 + rax*8 + 0x24]
mov ebx, dword [r10 + rax*8 + 0x20]
add rdi, r11
shr ebx, 3
jmp 0x1800057db
mov r8b, 1
lea rdx, [r12 + 0x70]
lea rcx, [rsp + 0x20]
call qword [rsi + 0x170]
mov rdx, qword [rsp + 0xf8]
mov rcx, r14
call qword [rsi + 0x190]
xor ebp, ebp
mov r15, rdi
mov rdx, qword [r15 + 8]
mov rcx, rsi
call fcn.1800044db
test eax, eax
je 0x18000589c
mov r8b, 1
lea rcx, [rsp + 0x20]
mov rdx, r15
call qword [rsi + 0x168]
test eax, eax
jne 0x1800058af
mov r9d, 1
add r15, 8
add ebp, r9d
cmp ebp, ebx
jae 0x1800058da
jmp 0x180005877
mov r8b, 1
lea rcx, [rsp + 0x20]
mov rdx, r14
call qword [rsi + 0x170]
lea rcx, [rdi + rbp*8]
mov r8d, 0x10
lea rdx, [rsp + 0x20]
call fcn.180005f4b
mov r9d, 1
mov rax, qword [r13 + 0x18]
mov rdi, qword [rax + 0x10]
jmp 0x1800059c2
lea r15, [rsi + 0x36c]
mov cl, byte [r15]
xor ebp, ebp
xor edx, edx
mov r12d, r9d
test cl, cl
je 0x1800059bf
xor r8d, r8d
cmp cl, 0x3b
je 0x180005936
cmp edx, 0x80
jae 0x180005936
xor eax, eax
mov byte [rsp + r8 + 0x30], cl
cmp cl, 0x77
cmovne eax, r12d
cmp cl, 0x70
mov r12d, eax
cmove ebp, r9d
add edx, r9d
mov r8d, edx
mov cl, byte [rdx + r15]
test cl, cl
jne 0x180005903
test edx, edx
je 0x1800059bf
lea ecx, [rdx + 1]
mov byte [rsp + rdx + 0x30], 0
add r15, rcx
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 0x30]
call qword [rsi + 0x38]
mov rbx, rax
mov r9d, 1
test rax, rax
je 0x1800058ee
test r12d, r12d
je 0x180005991
test ebp, ebp
je 0x180005971
call rbx
mov rbx, rax
mov r9d, 1
test rbx, rbx
je 0x1800058ee
cmp qword [rbx], 0
je 0x1800058ee
mov rax, qword [rsp + 0x28]
jmp 0x1800059b7
test ebp, ebp
je 0x18000599a
call rbx
mov rbx, rax
mov r9d, 1
test rbx, rbx
je 0x1800058ee
cmp qword [rbx], 0
je 0x1800058ee
mov rax, qword [r14 + 8]
mov qword [rbx], rax
jmp 0x1800058ee
mov rdi, qword [rdi]
cmp qword [rdi + 0x30], 0
jne 0x1800058e7
mov eax, r9d
jmp 0x18000581d