joyce8/EMBER2024-capa huggingface dataset:
Function at 0x142c20370
Capabilities:
Terminate process

Disassembly:
fcmovbe st(0), st(1)
xor cl, cl
enter 0xffffffffffff9c94, 0xffffffffffffff91
retf
cld
pop r11
jmp 0x142c2037d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x142c2038d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x142c20375
lea eax, [rcx + 1]
jmp 0x142c2039b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x142c203ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x142c20394
sub eax, 3
jb 0x142c203ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x142c2041d
sar eax, 1
movsxd rbp, eax
jb 0x142c20404
jmp 0x142c203dc
add ebx, ebx
jne 0x142c203da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x142c20404
inc ecx
add ebx, ebx
jne 0x142c203ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x142c20404
call r11
adc ecx, ecx
add ebx, ebx
jne 0x142c203fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x142c203ec
add ecx, 2
jmp 0x142c20409
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.142c20332
jmp 0x142c2037d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2c1c000]
mov eax, dword [rdi]
or eax, eax
je 0x142c20479
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2c21adc]
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 0x142c20429
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 0x142c20473
mov qword [rbx], rax
add rbx, 8
jmp 0x142c20449
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 0x142c204bd
cmp al, 0xef
ja 0x142c204a5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x142c20485
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x142c20494
mov eax, dword [rdi]
add rdi, 4
jmp 0x142c20494
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 0x142c20511
sub rsp, 0xffffffffffffff80
jmp 0x1422a9f14
Function at 0x1800169b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1800b0090]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov dword [rbp - 0x30], 0x64616f4c
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x2c], 0x7262694c
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x28], 0x41797261
mov byte [rbp - 0x24], 0
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x41424c45
mov dword [rbp - 0x18], 0x642e4553
mov word [rbp - 0x14], 0x6c6c
mov byte [rbp - 0x12], 0
call fcn.180016a30
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180058d40
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x180016a30
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x1800b0090]
xor rax, rsp
mov qword [rsp + 0x100], rax
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x64
mov rdi, rdx
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov r8, rcx
xor ecx, ecx
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
jmp 0x180016ab6
mov rcx, qword [rax + 0x60]
lea r8, [rsp + 0x30]
sub r8, rcx
movzx edx, word [rcx]
movzx r9d, word [rcx + r8]
sub edx, r9d
jne 0x180016aaf
add rcx, 2
test r9d, r9d
jne 0x180016a99
test edx, edx
je 0x180016abf
mov rax, qword [rax]
cmp qword [rax + 0x30], 0
jne 0x180016a8d
jmp 0x180016ac8
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x180016ad5
mov rcx, rbx
call fcn.1800169b0
test rax, rax
je 0x180016ae0
mov rdx, rdi
mov rcx, rax
call fcn.180016b04
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180058d40
mov rbx, qword [rsp + 0x130]
add rsp, 0x110
pop rdi
ret
Function at 0x180016b04
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1800b0090]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r12d, r12d
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
je 0x180016c7c
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [rax + rcx + 0x88]
mov r11d, dword [rax + rcx + 0x8c]
lea r8, [rcx + r9]
test r11d, r11d
je 0x180016c7c
lea r13d, [r12 + 1]
cmp rdx, 0xffff
ja 0x180016c2b
mov ecx, dword [r8 + 0x1c]
movzx eax, bp
sub ax, word [r8 + 0x10]
add rcx, rbx
add ax, r13w
movzx edx, ax
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x180016c2b
lea eax, [r9 + r11]
cmp edi, eax
jae 0x180016c2b
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18005b9f0
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x180016bba
test r8, r8
je 0x180016c7c
lea rcx, [rsp + 0x20]
call fcn.18005b350
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.18005b294
lea rdi, [rax + r13]
mov byte [rax], r12b
cmp byte [rdi], 0x23
jne 0x180016bfd
lea rcx, [rdi + 1]
call fcn.180066618
movzx edi, ax
lea rcx, [rsp + 0x20]
call fcn.1800169b0
mov rsi, rax
cmp rax, rbx
jne 0x180016c1e
mov rdx, rbp
mov rcx, rdi
call fcn.180065680
test eax, eax
je 0x180016c7c
mov rdx, rdi
mov rcx, rsi
call fcn.180016b04
jmp 0x180016c7e
mov ecx, dword [r8 + 0x18]
mov edi, r12d
mov r15d, dword [r8 + 0x20]
sub ecx, r13d
lea r10d, [rdi + rcx]
mov rsi, rbp
shr r10d, 1
lea rax, [r15 + r10*4]
mov edx, dword [rax + rbx]
add rdx, rbx
sub rsi, rdx
mov al, byte [rdx]
cmp al, byte [rdx + rsi]
jne 0x180016c63
add rdx, r13
test al, al
jne 0x180016c50
mov eax, r12d
jmp 0x180016c68
sbb eax, eax
or eax, r13d
test eax, eax
jns 0x180016c72
lea edi, [r10 + 1]
jmp 0x180016c78
jle 0x180016ca9
lea ecx, [r10 - 1]
cmp edi, ecx
jbe 0x180016c39
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180058d40
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [r8 + 0x24]
add rcx, rbx
cmp word [rcx + r10*2], r12w
je 0x180016c7c
movzx edx, word [rcx + r10*2]
mov ecx, dword [r8 + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x180016cfb
lea eax, [r9 + r11]
cmp edi, eax
jae 0x180016cfb
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18005b9f0
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x180016ced
jmp 0x180016bc3
lea rax, [rbx + rdi]
jmp 0x180016c7e
Function at 0x180019114
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1800b0090]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x1800b4018]
lea rdx, [rbp - 0x28]
mov rdi, qword [0x1800b39d0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x20]
lea rcx, [rbp - 0x10]
sub eax, dword [rbp - 0x28]
movd xmm1, eax
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x10]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1800b4020]
cvtsi2ss xmm0, qword [0x1800b4028]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1800b4020], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x1800b39d0]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x14b], 0
mov byte [rdi + 0x14a], al
cmp byte [rcx + 0x3a3], 0
lea rbx, [rcx + 0x130]
je 0x18001923d
cvttss2si eax, dword [rbx]
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x18], eax
cvttss2si eax, dword [rcx + 0x134]
mov rcx, qword [0x1800b4018]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1800192a7
mov rdx, qword [0x1800b4018]
cmp rax, rdx
je 0x18001926b
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1800192a7
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1800192a7
mov rcx, qword [0x1800b4018]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1800192a7
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x1800192b5
or eax, 0xffffffff
jmp 0x1800192c2
mov rax, qword [0x1800b39d0]
mov eax, dword [rax + 0x1f98]
cmp dword [0x1800b1378], eax
je 0x1800192d5
mov dword [0x1800b1378], eax
call fcn.1800190b8
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180058d40
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x18001aa08
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18001aa62
mov r11b, 0x23
lea rdi, [0x1800977a0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x18001aa4c
cmp rdx, 2
jb 0x18001aa4c
cmp byte [r10], r11b
jne 0x18001aa4c
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18001aa2a
jmp 0x18001aaa3
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18001aaa3
mov r11b, 0x23
lea rdi, [0x1800977a0]
cmp dl, r11b
jne 0x18001aa87
cmp byte [r10], r11b
jne 0x18001aa87
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18001aa75
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18001abd8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x18001abf8
and qword [r8], 0
lea rdx, [0x18009de2c]
call fcn.18001aab4
mov rbx, rax
test rax, rax
je 0x18001acdf
mov rcx, rax
call fcn.180066cf0
mov ebp, eax
cmp eax, 0xffffffff
je 0x18001acd7
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18006763c
test eax, eax
jne 0x18001acd7
mov rcx, rbx
call fcn.180066cf0
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001acd7
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.18006763c
test eax, eax
jne 0x18001acd7
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x18001acd7
mov rax, qword [0x1800b39d0]
test rax, rax
je 0x18001ac79
inc dword [rax + 0x3bc]
mov rcx, rbp
call fcn.18006da28
mov rdi, rax
test rax, rax
je 0x18001acd7
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.180068474
mov rcx, rbx
cmp rax, rbp
je 0x18001acc5
call fcn.18006729c
mov rax, qword [0x1800b39d0]
test rax, rax
je 0x18001acbb
dec dword [rax + 0x3bc]
mov rcx, rdi
call fcn.180065594
jmp 0x18001acdf
call fcn.18006729c
test rsi, rsi
je 0x18001acd2
mov qword [rsi], rbp
mov rax, rdi
jmp 0x18001ace1
mov rcx, rbx
call fcn.18006729c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001c704
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0xc0]
mov r9d, 4
mov rax, qword [rcx + 0xc8]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1800977a0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x18001c72d
not r8d
mov ecx, r8d
call fcn.18001c918
mov eax, r8d
add rsp, 0x28
ret
Function at 0x18001c764
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1800b0090]
xor rax, rsp
mov qword [rsp + 0x30], rax
movss xmm0, dword [rdx]
mov r8, rcx
subss xmm0, dword [rcx + 0x10]
movss xmm1, dword [rdx + 8]
mov r9d, 0x10
subss xmm1, dword [rcx + 0x10]
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 4]
subss xmm0, dword [rcx + 0x14]
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm0, dword [rcx + 0x14]
movsxd rcx, dword [rcx + 0xc0]
mov dword [rsp + 0x24], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [r8 + 0xc8]
lea r8, [rsp + 0x20]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x1800977a0]
xor edx, dword [rax + rcx*4]
sub r9, 1
jne 0x18001c7e0
not edx
mov ecx, edx
call fcn.18001c918
mov eax, edx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180058d40
add rsp, 0x48
ret
Function at 0x1800240e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800b0090]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x1800b39d0]
mov r10d, 8
mov qword [rsp + 0x20], rcx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1800977a0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18002412f
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x20], r8d
call fcn.18002a478
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180058d40
add rsp, 0x38
ret

Function at 0x18002417c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800b0090]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x1800b39d0]
mov r10d, 4
mov dword [rsp + 0x20], ecx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1800977a0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1800241c2
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x20], r8d
call fcn.18002a478
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180058d40
add rsp, 0x38
ret
Function at 0x18004ec04
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18004ec24
xor eax, eax
jmp 0x18004ed0a
cmp qword [rcx + 0x68], 0
je 0x18004ec35
call fcn.1800520fc
jmp 0x18004ed0a
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18004ec4c
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18004ec4e
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18004ec80
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18005b350
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18004ed04
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18004ecb7
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18004ece0
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180068474
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x18004ed04
cmp rdi, rbx
ja 0x18004ecbe
test rdi, rdi
je 0x18004ed04
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.180068474
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180053f40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180054160
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180054047
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180053fa4
mov rax, qword [0x1800b0008]
cmp qword [rsp + 0x20], rax
ja 0x180053fa4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180053f66
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18005b9f0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180053fd3
jmp 0x180054047
cmp dword [rsp + 0x50], 0x10000
jne 0x18005402a
cmp qword [rsp + 0x48], 0x10000
jb 0x18005402a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180054018
mov rax, qword [rsp + 0x28]
jmp 0x180054049
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180054042
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180054160
mov qword [rsp + 0x20], rax
jmp 0x180053f66
xor eax, eax
add rsp, 0x68
ret
Function at 0x180054050
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800541a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180054153
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800540ab
mov rax, qword [0x1800b0008]
cmp qword [rsp + 0x20], rax
ja 0x1800540ab
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005406d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18005b9f0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800540da
jmp 0x180054153
cmp dword [rsp + 0x50], 0x10000
jne 0x180054131
cmp qword [rsp + 0x48], 0x10000
jb 0x180054131
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005411f
mov rax, qword [rsp + 0x28]
jmp 0x180054155
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005414e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800541a0
mov qword [rsp + 0x20], rax
jmp 0x18005406d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800541f0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180054780
mov qword [rsp + 0x28], 0
cmp qword [0x1800b1d28], 0
jne 0x180054238
cmp qword [0x1800b1d20], 0
je 0x180054238
mov rax, qword [0x1800b1d20]
mov qword [0x1800b1d28], rax
cmp qword [0x1800b1d28], 0
je 0x1800542de
mov rax, qword [0x1800b1d28]
cmp qword [rax + 0x10], 0
je 0x1800542de
mov rax, qword [0x1800b1d28]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800542de
mov rax, qword [0x1800b1d28]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800542de
mov rax, qword [0x1800b1d28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800542a4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800542ab
xor eax, eax
jmp 0x180054459
mov rax, qword [0x1800b1d28]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.18005b9f0
mov rax, qword [rsp + 0x28]
jmp 0x180054459
mov rax, qword [0x1800b1d20]
mov qword [0x1800b1d28], rax
jmp 0x180054300
mov rax, qword [0x1800b1d28]
mov rax, qword [rax + 8]
mov qword [0x1800b1d28], rax
cmp qword [0x1800b1d28], 0
je 0x18005434d
cmp qword [0x1800b1d28], 0
je 0x18005434b
mov rax, qword [0x1800b1d28]
cmp qword [rax + 0x10], 0
je 0x18005434b
mov rax, qword [0x1800b1d28]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005434b
mov rax, qword [0x1800b1d28]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005434b
jmp 0x18005427c
jmp 0x1800542ee
mov rcx, qword [rsp + 0x60]
call fcn.1800563b0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180054460
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180054457
mov rax, qword [rsp + 0x48]
mov qword [0x1800b1d28], rax
mov rax, qword [0x1800b1d28]
mov dword [rax], 0x52727464
mov rax, qword [0x1800b1d28]
mov qword [rax + 0x10], 0
mov rax, qword [0x1800b1d28]
mov rcx, qword [0x1800b1d20]
mov qword [rax + 8], rcx
mov rax, qword [0x1800b1d28]
mov qword [0x1800b1d20], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1800b1d28]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180054408
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180054442
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800543fe
mov rax, qword [0x1800b1d28]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18005427c
xor eax, eax
add rsp, 0x58
ret