joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400015d0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0xe8
mov qword [rsp + 0xd8], rcx
lea rcx, [rsp + 0xc8]
call fcn.1400212b0
lea rcx, [rsp + 0xa8]
lea rdx, [rsp + 0xc8]
call fcn.140021210
lea rcx, [rsp + 0xa8]
call fcn.140034250
test al, 1
jne 0x14000161b
jmp 0x140001633
mov byte [rsp + 0xe7], 0
mov dword [rsp + 0xa4], 1
jmp 0x140001745
lea rcx, [rsp + 0x80]
lea rdx, str._countryCode_:_______
mov r8d, 0x10
call fcn.1400c1830
lea rcx, [rsp + 0x60]
call fcn.1400cb120
lea rcx, [rsp + 0xa8]
lea rdx, [rsp + 0x60]
lea r8, [rsp + 0x80]
xor r9d, r9d
call fcn.1400ed7d0
test al, 1
jne 0x140001681
jmp 0x14000171b
lea rcx, [rsp + 0x60]
call fcn.140035720
cmp rax, 2
jne 0x140001716
lea rcx, [rsp + 0x60]
mov edx, 1
call fcn.140035770
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14004be80
mov rcx, qword [rsp + 0xd8]
call fcn.140030910
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0xd8]
call fcn.1400308c0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
call fcn.140001780
and al, 1
mov byte [rsp + 0xe7], al
mov dword [rsp + 0xa4], 1
lea rcx, [rsp + 0x40]
call fcn.1400caa10
jmp 0x14000172e
jmp 0x14000171b
mov byte [rsp + 0xe7], 0
mov dword [rsp + 0xa4], 1
lea rcx, [rsp + 0x60]
call fcn.1400cb170
lea rcx, [rsp + 0x80]
call fcn.1400c18b0
lea rcx, [rsp + 0xa8]
call fcn.1400caa10
lea rcx, [rsp + 0xc8]
call fcn.1400212d0
mov al, byte [rsp + 0xe7]
and al, 1
movzx eax, al
add rsp, 0xe8
ret

Function at 0x1400017f0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0xd0], rcx
lea rcx, [rsp + 0x68]
xor edx, edx
mov r8d, 0x68
call sub.msvcrt.dll_memset
mov dword [rsp + 0x68], 0x68
mov rcx, qword [rsp + 0xd0]
call fcn.140034230
mov rdx, rax
xor eax, eax
mov r9d, eax
xor eax, eax
lea r10, [rsp + 0x68]
lea rax, [rsp + 0x50]
mov rcx, r9
mov r8, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
and al, 1
movzx eax, al
add rsp, 0xd8
ret
Function at 0x14000e350
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401088b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000e370
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000e378
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000e370
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000e3cd
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 0x14000e3c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000e370
add rax, 0x28
cmp rax, r9
jne 0x14000e3b0
xor eax, eax
ret

Function at 0x14000e3d0
Capabilities:
Parse pe header

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

Function at 0x14000e490
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401088b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000e4af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000e4b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000f400
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2d
lea rdx, str._buffer_overflow_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14000f430
mov ecx, 8
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14000f450
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14000f480
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14001b110
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, qword [0x1401089b0]
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14001b258
cmp eax, 1
je 0x14001b17d
call fcn.14001a100
lea r12, [rax + 8]
mov rdi, rax
mov rcx, r12
call fcn.140019a00
mov r13d, dword [rbx]
test r13d, r13d
je 0x14001b1a0
cmp r13d, 1
jne 0x14001b230
mov rcx, r12
call fcn.140019cd0
test rdi, rdi
je 0x14001b17d
mov rcx, rdi
call fcn.14001a400
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbp]
jne 0x14001b2ab
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x14001a4e0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001a780
mov ecx, dword [0x1400fe308]
mov r13, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r13
test rax, rax
je 0x14001b298
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mfence
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call r13
test rax, rax
je 0x14001b280
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
mfence
call rsi
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call r13
test rax, rax
je 0x14001b268
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x14001b168
mov ecx, 2
call qword [fcn.140017cd0]
mov r9d, r13d
mov r8, rbx
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001b168
mov eax, 0x16
jmp 0x14001b17f
call fcn.14001a830
test rax, rax
jne 0x14001b213
jmp 0x1400fd5ae
call fcn.14001a830
test rax, rax
jne 0x14001b1f2
jmp 0x1400fd59f
call fcn.14001a830
test rax, rax
jne 0x14001b1cf
jmp 0x1400fd595
call fcn.14000f450
nop
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2

Function at 0x14001b530
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001b5a8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001a000
cmp esi, dword [rbx + 0x48]
jae 0x14001b583
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001b583
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001a050
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001a830
mov rbx, rax
jmp 0x14001b55d
Function at 0x14001f4e0
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x2e8
mov qword [rsp + 0x2d8], rcx
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x2d0], 0
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x2d0], rax
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0x2d0], rax
jne 0x14001f53e
mov byte [rsp + 0x2e7], 0
jmp 0x14001f6d3
mov dword [rsp + 0x98], 0x238
mov rcx, qword [rsp + 0x2d0]
lea rdx, [rsp + 0x98]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 0
jne 0x14001f574
mov byte [rsp + 0x2e7], 0
jmp 0x14001f6d3
jmp 0x14001f579
mov rcx, qword [rsp + 0x2d0]
lea rdx, [rsp + 0x98]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 0
je 0x14001f6bd
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400bc790
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400bc760
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x80]
call fcn.1400229a0
test al, 1
jne 0x14001f5f0
jmp 0x14001f6b8
lea rcx, [rsp + 0x88]
call fcn.140024650
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400c9350
lea rax, [rsp + 0x98]
add rax, 0x2c
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea r8, str..exe
call fcn.1400f8300
lea rcx, [rsp + 0x40]
call fcn.140034230
mov rcx, qword [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.msvcrt.dll__wcsicmp]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x40]
call fcn.1400caa10
mov eax, dword [rsp + 0x2c]
cmp eax, 0
jne 0x14001f679
mov byte [rsp + 0x2e7], 1
mov dword [rsp + 0x3c], 1
jmp 0x14001f681
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x60]
call fcn.1400caa10
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x14001f6a1
jmp 0x14001f69c
jmp 0x14001f6d3
jmp 0x14001f6a6
lea rcx, [rsp + 0x88]
call fcn.140021900
jmp 0x14001f5ce
jmp 0x14001f579
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x2e7], 0
mov al, byte [rsp + 0x2e7]
and al, 1
movzx eax, al
add rsp, 0x2e8
ret
Function at 0x140020c60
Capabilities:
Read data from internet
Receive data

Disassembly:
sub rsp, 0x4c8
mov qword [rsp + 0x48], rcx
mov rax, rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x4a8], rcx
mov qword [rsp + 0x4a0], rdx
mov qword [rsp + 0x498], r8
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x497], 0
call fcn.1400c9920
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
je 0x140020e76
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x498]
call fcn.140034230
mov rcx, qword [rsp + 0x40]
mov rdx, rax
xor eax, eax
mov r8d, eax
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
mov qword [rsp + 0x28], 0
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rcx, rax
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], rcx
cmp qword [rax + 8], 0
je 0x140020e71
jmp 0x140020d12
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
lea rdx, [rsp + 0x90]
mov r8d, 0x400
lea r9, [rsp + 0x8c]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, eax
xor eax, eax
cmp ecx, 0
mov byte [rsp + 0x3f], al
je 0x140020d57
cmp dword [rsp + 0x8c], 0
seta al
mov byte [rsp + 0x3f], al
mov al, byte [rsp + 0x3f]
test al, 1
jne 0x140020d68
jmp 0x140020e6c
lea r8, [rsp + 0x90]
mov r9d, dword [rsp + 0x8c]
mov ecx, 0xfde9
xor edx, edx
xor eax, eax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jle 0x140020e67
movsxd rdx, dword [rsp + 0x88]
lea rax, [rsp + 0x67]
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x4b0]
mov qword [rsp + 0x4c0], rax
lea rcx, [rsp + 0x68]
xor r8d, r8d
lea r9, [rsp + 0x67]
call fcn.1400ca9b0
lea rax, [rsp + 0x67]
mov qword [rsp + 0x4b8], rax
mov rcx, qword [rsp + 0x4b8]
call fcn.1400aea10
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x68]
xor eax, eax
mov edx, eax
call fcn.1400cabf0
mov r8, qword [rsp + 0x30]
mov r9d, dword [rsp + 0x38]
mov r10, rax
mov eax, dword [rsp + 0x88]
mov ecx, 0xfde9
xor edx, edx
mov qword [rsp + 0x20], r10
mov dword [rsp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x68]
call fcn.1400cacd0
lea rcx, [rsp + 0x68]
call fcn.1400caa10
jmp 0x140020d12
jmp 0x140020e71
jmp 0x140020e76
mov byte [rsp + 0x497], 1
test byte [rsp + 0x497], 1
jne 0x140020e96
mov rcx, qword [rsp + 0x48]
call fcn.1400caa10
mov rax, qword [rsp + 0x50]
add rsp, 0x4c8
ret
Function at 0x140020eb0
Capabilities:
Read data from internet
Receive data

Disassembly:
sub rsp, 0x6a8
mov qword [rsp + 0x40], rcx
mov rax, rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x688], rcx
mov qword [rsp + 0x680], rdx
mov qword [rsp + 0x678], r8
mov qword [rsp + 0x670], r9
mov rax, qword [rsp + 0x680]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x66f], 0
mov rdx, qword [rsp + 0x670]
call fcn.1400c9350
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x1400210e8
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x678]
call fcn.140034230
mov rcx, qword [rsp + 0x38]
mov rdx, rax
xor eax, eax
mov r8d, eax
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
mov qword [rsp + 0x28], 0
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rcx, rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rcx
cmp qword [rax + 8], 0
je 0x1400210d9
mov rcx, qword [rsp + 0x670]
call fcn.140034220
mov qword [rsp + 0x470], rax
mov rcx, qword [rsp + 0x670]
call fcn.140033fc0
mov qword [rsp + 0x468], rax
lea rax, [rsp + 0x467]
mov qword [rsp + 0x690], rax
mov rax, qword [rsp + 0x690]
mov qword [rsp + 0x6a0], rax
mov rdx, qword [rsp + 0x470]
mov r8, qword [rsp + 0x468]
lea rcx, [rsp + 0x478]
lea r9, [rsp + 0x467]
call fcn.1400c59f0
lea rcx, [rsp + 0x498]
lea rdx, [rsp + 0x478]
mov r8d, 4
call fcn.1400ab500
lea rcx, [rsp + 0x478]
call fcn.1400c5bf0
lea rax, [rsp + 0x467]
mov qword [rsp + 0x698], rax
mov rcx, qword [rsp + 0x698]
call fcn.1400ae8b0
lea rcx, [rsp + 0x498]
call fcn.1400ab190
test al, 1
jne 0x14002103b
jmp 0x1400210bd
jmp 0x140021040
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
lea rdx, [rsp + 0x60]
mov r8d, 0x400
lea r9, [rsp + 0x5c]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, eax
xor eax, eax
cmp ecx, 0
mov byte [rsp + 0x37], al
je 0x14002107c
cmp dword [rsp + 0x5c], 0
seta al
mov byte [rsp + 0x37], al
mov al, byte [rsp + 0x37]
test al, 1
jne 0x14002108d
jmp 0x1400210ab
lea rdx, [rsp + 0x60]
mov eax, dword [rsp + 0x5c]
mov r8d, eax
lea rcx, [rsp + 0x498]
call fcn.140085f80
jmp 0x140021040
lea rcx, [rsp + 0x498]
call fcn.1400ab150
jmp 0x1400210c7
mov rcx, qword [rsp + 0x40]
call fcn.1400c7460
lea rcx, [rsp + 0x498]
call fcn.1400abbb0
jmp 0x1400210e3
mov rcx, qword [rsp + 0x40]
call fcn.1400c7460
jmp 0x1400210e8
mov byte [rsp + 0x66f], 1
test byte [rsp + 0x66f], 1
jne 0x140021108
mov rcx, qword [rsp + 0x40]
call fcn.1400caa10
mov rax, qword [rsp + 0x48]
add rsp, 0x6a8
ret

Function at 0x140021120
Capabilities:
Create http request

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rax], 0
mov qword [rax + 8], 0
lea rcx, str.WinINet_Example
mov edx, 1
xor eax, eax
mov r9d, eax
xor eax, eax
mov r8, r9
mov dword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rcx, rax
mov rax, qword [rsp + 0x28]
mov qword [rax], rcx
add rsp, 0x38
ret
Function at 0x4556db
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.00457af7
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 0x45597a
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 0x45597a
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 0x455921
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 0x455918
test r12d, r12d
je 0x455836
bt esi, 0xc
jae 0x455836
lea r9d, [r14 + 4]
mov dword [rbp + 0x210], 0x3380
lea r8, [rbp + 0x210]
mov rcx, rax
lea edx, [r14 + 0x1f]
call qword [rdi + 0x108]
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 0x45590f
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 0x45590f
cmp dword [rbp + 0x208], 0xc8
jne 0x45590f
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 0x45590f
mov rdx, qword [rsi]
test rdx, rdx
je 0x45590f
xor ecx, ecx
lea r9d, [r12 + 4]
mov r8d, 0x3000
call qword [rdi + 0x48]
mov qword [rdi + 0x920], rax
test rax, rax
je 0x45590f
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 0x455975
cmp dword [rdi + 0x234], 3
jne 0x455975
mov rbx, qword [rdi + 0x920]
lea rdx, [rdi + 0x908]
mov r9d, dword [rdi + 0x918]
lea rcx, [rdi + 0x8f8]
mov r8, rbx
call fcn.0045773f
mov rdx, qword [rdi + 0x28]
lea rcx, [rdi + 0x7f0]
call fcn.004575f7
cmp rax, qword [rbx + 0x518]
jne 0x45597a
mov eax, r14d
jmp 0x45597c
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 0x455993
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 0x455a69
lea rdi, [rdx + rax]
mov esi, dword [rdi + 0x18]
test esi, esi
je 0x455a69
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 0x455a2a
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 0x455a18
mov byte [rbp + rcx], 0
mov rdx, r13
lea rcx, [rbp]
call fcn.004575f7
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.004575f7
xor rax, qword [rsp + 0x20]
cmp rax, qword [rbp + 0x160]
je 0x455a86
test esi, esi
jne 0x455a40
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 0x455b53
mov eax, dword [r15 + rbx + 0x8c]
add rax, rdi
cmp r8, rax
jae 0x455b53
xor ebx, ebx
mov r9d, ebx
cmp byte [r8], bl
je 0x455ae3
cmp r9d, 0x3c
jae 0x455ae3
mov ecx, r9d
mov al, byte [rcx + r8]
mov byte [rsp + rcx + 0x40], al
cmp byte [rcx + r8], 0x2e
je 0x455ae3
inc r9d
cmp byte [r9 + r8], bl
jne 0x455ac2
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 0x455b2a
cmp edx, 0x7f
jae 0x455b2a
mov ecx, edx
inc edx
mov al, byte [rcx + r9]
mov byte [rbp + rcx - 0x80], al
cmp byte [rdx + r9], bl
jne 0x455b13
mov eax, edx
lea rcx, [rsp + 0x40]
mov byte [rbp + rax - 0x80], bl
call qword [r12 + 0x30]
test rax, rax
je 0x455b50
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [r12 + 0x38]
mov r8, rax
jmp 0x455b53
mov r8, rbx
mov rax, r8
jmp 0x455a6b
Function at 0x4572df
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 0x457358
mov r9d, dword [rsi + 0x344]
lea rax, [rcx + rcx*4]
cmp dword [r10 + rax*8 + 0x18], r9d
je 0x4573c4
inc ecx
cmp ecx, r8d
jb 0x457346
mov ebx, dword [rsp + 0xf0]
mov rdi, qword [rsp + 0xf0]
xor ebp, ebp
test ebx, ebx
je 0x4573a7
mov r14, rdi
mov rdx, qword [r14 + 8]
mov rcx, rsi
call fcn.00456067
test eax, eax
je 0x45739d
mov r8b, 1
lea rcx, [r12 + 0x70]
mov rdx, r14
call qword [rsi + 0x160]
test eax, eax
jne 0x4573da
mov r12, qword [rsp + 0xf0]
inc ebp
add r14, 8
cmp ebp, ebx
jb 0x457370
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 0x457367
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.00456067
test eax, eax
je 0x457428
mov r8b, 1
lea rcx, [rsp + 0x20]
mov rdx, r15
call qword [rsi + 0x168]
test eax, eax
jne 0x45743b
mov r9d, 1
add r15, 8
add ebp, r9d
cmp ebp, ebx
jae 0x457466
jmp 0x457403
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.00457ad7
mov r9d, 1
mov rax, qword [r13 + 0x18]
mov rdi, qword [rax + 0x10]
jmp 0x45754e
lea r15, [rsi + 0x36c]
mov cl, byte [r15]
xor ebp, ebp
xor edx, edx
mov r12d, r9d
test cl, cl
je 0x45754b
xor r8d, r8d
cmp cl, 0x3b
je 0x4574c2
cmp edx, 0x80
jae 0x4574c2
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 0x45748f
test edx, edx
je 0x45754b
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 0x45747a
test r12d, r12d
je 0x45751d
test ebp, ebp
je 0x4574fd
call rbx
mov rbx, rax
mov r9d, 1
test rbx, rbx
je 0x45747a
cmp qword [rbx], 0
je 0x45747a
mov rax, qword [rsp + 0x28]
jmp 0x457543
test ebp, ebp
je 0x457526
call rbx
mov rbx, rax
mov r9d, 1
test rbx, rbx
je 0x45747a
cmp qword [rbx], 0
je 0x45747a
mov rax, qword [r14 + 8]
mov qword [rbx], rax
jmp 0x45747a
mov rdi, qword [rdi]
cmp qword [rdi + 0x30], 0
jne 0x457473
mov eax, r9d
jmp 0x4573a9