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

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18011ee78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18011ee78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14004fdc0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14004fdcd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14004fddd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14004fdc5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14004fdf5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14004fde2
sub eax, 3
jb 0x14004fe0f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14004fe46
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14004fe36
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14004fe34
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14004fe23
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14004fd82
jmp 0x14004fdcd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x24000
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14004fe92
cmp rsi, rcx
jae 0x14004fe9a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14004fe79
cmp al, 0x8f
ja 0x14004fe79
cmp byte [rsi - 2], 0xf
je 0x14004fe7f
sub al, 0xe8
cmp al, 1
ja 0x14004fe63
cmp rsi, rcx
jae 0x14004fe9a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14004fe69
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14004fe9a
lodsb al, byte [rsi]
jmp 0x14004fe79
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4d000]
mov eax, dword [rdi]
or eax, eax
je 0x14004ff03
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x505e8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14004fea7
jns 0x14004fedc
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14004fee6
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14004fefd
mov qword [rbx], rax
add rbx, 8
jmp 0x14004fec7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14004ff3d
cmp al, 0xef
ja 0x14004ff2f
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14004ff0f
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14004ff1e
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14004ff91
sub rsp, 0xffffffffffffff80
jmp 0x14000afa0
Function at 0x140069c50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140069c5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140069c6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140069c55
lea eax, [rcx + 1]
jmp 0x140069c7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140069c8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140069c74
sub eax, 3
jb 0x140069cae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140069cfd
sar eax, 1
movsxd rbp, eax
jb 0x140069ce4
jmp 0x140069cbc
add ebx, ebx
jne 0x140069cba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140069ce4
inc ecx
add ebx, ebx
jne 0x140069cca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140069ce4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140069cdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140069ccc
add ecx, 2
jmp 0x140069ce9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140069c12
jmp 0x140069c5d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140069d49
cmp rsi, rcx
jae 0x140069d51
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140069d30
cmp al, 0x8f
ja 0x140069d30
cmp byte [rsi - 2], 0xf
je 0x140069d36
sub al, 0xe8
cmp al, 1
ja 0x140069d1a
cmp rsi, rcx
jae 0x140069d51
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140069d20
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140069d51
lodsb al, byte [rsi]
jmp 0x140069d30
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x67000]
mov eax, dword [rdi]
or eax, eax
je 0x140069dae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7dcd4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140069d5e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140069da8
mov qword [rbx], rax
add rbx, 8
jmp 0x140069d7e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140069de8
cmp al, 0xef
ja 0x140069dda
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140069dba
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140069dc9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140069e3c
sub rsp, 0xffffffffffffff80
jmp 0x14000a340
Function at 0x14081de70
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14081dff7
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 0x14081dea1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14081de87
add dl, dl
jne 0x14081deae
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14081df0e
xor eax, eax
add dl, dl
jne 0x14081debd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14081dfc5
add dl, dl
jne 0x14081dece
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081dedb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081dee8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081def5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14081df02
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14081de96
mov eax, 1
add dl, dl
jne 0x14081df1e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081df2b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14081df13
sub eax, ebx
mov ebx, 1
jne 0x14081df64
mov ecx, 1
add dl, dl
jne 0x14081df46
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14081df53
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14081df3b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14081de96
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14081df80
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14081df8d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14081df75
cmp eax, 0x7d00
jae 0x14081dfb3
cmp eax, 0x500
jb 0x14081dfae
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14081de96
cmp eax, 0x7f
ja 0x14081dfb6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14081de96
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14081dfea
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 0x14081de96
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180003f80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
lea rcx, str.Pipsi_HI3.cfg
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180004000
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, 0x36c
lea rdx, [0x1800560b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180046310
add rsp, 0x50
pop rbx
ret

Function at 0x180004020
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
lea rcx, str.Pipsi_HI3.cfg
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1800040af
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x36c
jne 0x1800040a6
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, eax
lea rdx, [0x1800560b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180046310
add rsp, 0x50
pop rbx
ret

Function at 0x180004a60
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
call fcn.180045450
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180045b10
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180044e10
test eax, eax
je 0x180004ad3
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_attach_hook.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.180045510
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.180004b00
mov qword [rax], rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180046310
add rsp, 0x40
pop rbx
ret
Function at 0x18003f440
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x180056db0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18003f65e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18003f65e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x180056db0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x18003f514
movsx rdx, word [r8 + 0x60a8]
lea rax, [r8 + 0x60ac]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x18003f509
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rax, [rax*8 + 0x60ac]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60a0]
test rdi, rdi
je 0x18003f531
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x18003f534
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x18004ecd8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x18003f577
mov rsi, qword [r8 + 0x90]
jmp 0x18003f57a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x18003f5a5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x180056db0]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18003f61e
inc rbx
cmp rbx, 5
jl 0x18003f600
jmp 0x18003f64a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x18003f660
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180046310
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x180041c20
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x180041c30
xor eax, eax
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x180041ba0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x1800446f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x1800447cb
nop dword [rax]
cmp rbx, qword [section..data]
jb 0x18004473e
cmp rbx, qword [0x180056008]
ja 0x18004473e
sub rbx, 0x8000000
jmp 0x1800447c2
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800447cb
cmp dword [rsp + 0x40], 0x10000
jne 0x1800447a6
cmp qword [rsp + 0x38], 0x10000
jb 0x1800447a6
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800447cd
sub rbx, 0x10000
jmp 0x1800447c2
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x180044720
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1800447e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x180044802
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x1800448bd
nop dword [rax + rax]
cmp rbx, qword [section..data]
jb 0x18004482e
cmp rbx, qword [0x180056008]
ja 0x18004482e
add rbx, 0x8000000
jmp 0x1800448b4
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800448bd
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x180044899
cmp rcx, 0x10000
jb 0x180044899
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800448bf
add rbx, 0x10000
jmp 0x1800448b4
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x1800448b4
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x180044810
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1800448d0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x1800448f2
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x18004490e
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x180044925
cmp byte [rcx + 1], 0x25
jne 0x180044969
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x180044931
cmp al, 0xe9
jne 0x180044969
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x180044954
cmp rcx, 0xffffffff80000000
jae 0x18004494b
lea rsi, [rcx + 0x7ff80000]
jmp 0x180044969
mov rsi, 0xfffffffffff80000
jmp 0x180044969
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x180044969
mov edi, 0x80000
mov rdx, qword [0x1800564e8]
mov rax, qword [0x1800564e0]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x180044990
test rax, rax
je 0x1800449a7
mov rdx, rax
mov qword [0x1800564e8], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1800449a7
cmp rcx, rdi
jb 0x1800449a7
cmp rcx, rsi
jbe 0x180044afa
mov qword [0x1800564e8], rax
mov rdx, rax
test rax, rax
je 0x1800449f2
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x1800449dc
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1800449dc
cmp rax, rdi
jb 0x1800449dc
cmp rax, rsi
jbe 0x180044afa
mov rdx, qword [rdx + 8]
mov qword [0x1800564e8], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x1800449c0
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x180044a1c
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.1800446f0
mov rdx, rax
test rax, rax
jne 0x180044aa8
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x180044a42
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.1800447e0
mov rdx, rax
test rax, rax
jne 0x180044aa8
cmp rbx, 0x40000000
jbe 0x180044a62
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.1800447e0
mov rdx, rax
test rax, rax
jne 0x180044aa8
cmp rbx, rbp
jae 0x180044a7e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.1800446f0
mov rdx, rax
test rax, rax
jne 0x180044aa8
mov rdx, rbx
mov rcx, rdi
call fcn.1800446f0
mov rdx, rax
test rax, rax
jne 0x180044aa8
mov rdx, rsi
mov rcx, rbx
call fcn.1800447e0
mov rdx, rax
test rax, rax
je 0x180044b31
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x1800564e8], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x1800564e0]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x1800564e0], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x180044ae2
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x180044b31
cmp rax, rsi
ja 0x180044b31
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x180048900]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x180044b33
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180044d90
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x180044dbe
xor al, al
jmp 0x180044e00
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x180044dcf
xor al, al
jmp 0x180044e00
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x180044df6
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x180044df6
mov al, 1
jmp 0x180044e00
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x1800452e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x28
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1800564f8], eax
je 0x180045307
mov eax, 0x10dd
add rsp, 0x28
pop rsi
pop rbp
ret
mov eax, dword [0x1800564fc]
test eax, eax
jne 0x180045443
test rbp, rbp
jne 0x180045324
lea eax, [rbp + 0x57]
add rsp, 0x28
pop rsi
pop rbp
ret
test rsi, rsi
je 0x180045340
cmp qword [rsi], 0
jne 0x18004534c
mov dword [0x1800564fc], 6
mov qword [0x180056500], rsi
mov eax, 6
add rsp, 0x28
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], rbx
mov ecx, 0x30
mov qword [rsp + 0x20], rdi
call fcn.180046330
mov rdi, rax
test rax, rax
jne 0x180045370
lea ebx, [rax + 8]
jmp 0x180045418
mov rcx, qword [rsi]
xor edx, edx
call fcn.180045230
xor edx, edx
mov rcx, rbp
mov rbx, rax
call fcn.180045230
movzx edx, byte [rbx + 0x3e]
mov rbp, qword [rbx + 0x48]
sub rbp, rdx
test dl, dl
je 0x18004540a
cmp rdx, 0x1e
ja 0x18004540a
cmp qword [rbx + 0x50], rax
jne 0x18004540a
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800453cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180045418
mov qword [rdi + 0x20], rbx
mov rbx, qword [rsp + 0x40]
mov dword [rdi + 8], 1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x28], eax
mov rax, qword [0x180056510]
mov qword [rdi], rax
xor eax, eax
mov qword [0x180056510], rdi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbp
ret
cmp dword [0x1800564f0], 0
mov ebx, 9
jne 0x180045423
mov dword [0x1800564fc], ebx
test rdi, rdi
je 0x180045430
mov edx, 0x30
mov rcx, rdi
call fcn.1800466e4
mov rdi, qword [rsp + 0x20]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov qword [0x180056500], rsi
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x180045450
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x1800564f8], 0
jne 0x1800454f7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x1800564f8], ecx
jne 0x1800454f7
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x1800564e0]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x180056510], rdi
mov qword [0x180056508], rdi
mov qword [0x180056500], rdi
test rbx, rbx
je 0x1800454e0
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800454d8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1800454b0
jmp 0x1800454e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x1800564fc], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x180045b10
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x1800564fc]
mov rdi, rcx
test eax, eax
jne 0x180045bb3
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x180045b3a
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.180046330
mov rbx, rax
test rax, rax
jne 0x180045b56
lea edi, [rax + 8]
jmp 0x180045b79
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180045b97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.1800466e4
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x1800564fc], edi
mov qword [0x180056500], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180056508]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x180056508], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret