joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180039100
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x180202968]
lea rdx, [0x18006ef00]
mov r8d, ecx
mov rbx, qword [rax + 0x1af0]
add rbx, 0xc0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x1800391b7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x1800391a3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800391a8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18003ee50
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180039260
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x180202968]
lea rdx, [0x18006ef00]
mov r8, rcx
mov rbx, qword [rax + 0x1af0]
add rbx, 0xc0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x180039361
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18003934d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180039352
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18003ee50
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180041c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x180041da1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x180041c80
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.180044fa0
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.18003f730
mov dword [rbx + 0x80], 0
jmp 0x180041d8d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.1800454e0
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18004eed0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
call fcn.180031fa0
mov rcx, qword [0x1802048c0]
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rsp + 0x28]
sub ecx, dword [rsp + 0x20]
movd xmm1, ecx
mov ecx, dword [rsp + 0x2c]
sub ecx, dword [rsp + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rsp + 0x50]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm1, xmm1
sub rax, qword [0x1802048c8]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1802048d0]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rsp + 0x50]
mov qword [0x1802048c8], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
call fcn.180031fa0
cmp byte [rax + 0x39b], 0
lea rbx, [rax + 0x128]
je 0x18004efee
cvttss2si ecx, dword [rbx]
lea rdx, [rsp + 0x40]
cvttss2si eax, dword [rax + 0x12c]
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x1802048c0]
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18004f05f
mov rdx, qword [0x1802048c0]
cmp rax, rdx
je 0x18004f01f
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18004f05f
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18004f05f
mov rcx, qword [0x1802048c0]
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18004f05f
movd xmm0, dword [rsp + 0x48]
movd xmm1, dword [rsp + 0x4c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc0], 0
je 0x18004f06f
mov eax, 0xffffffff
jmp 0x18004f074
call fcn.180031fb0
cmp dword [0x180201bd0], eax
je 0x18004f087
mov dword [0x180201bd0], eax
call fcn.18004f0a0
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180062310
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180062350
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1802048f0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18006238e
cmp rsi, r14
jb 0x180062386
cmp rsi, r15
jae 0x180062386
cmp qword [rsi + 8], 0
jne 0x180062557
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180062371
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180062422
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180062419
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180062419
cmp dword [rsp + 0x70], 0x10000
je 0x18006249b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180062419
sub rbx, rbp
cmp rbx, r14
jae 0x1800623e0
test rsi, rsi
jne 0x180062500
cmp rdi, r15
ja 0x18006253f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18006253f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18006253f
cmp dword [rsp + 0x70], 0x10000
je 0x1800624d1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180062452
jmp 0x18006253f
test rbx, rbx
je 0x180062419
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180062500
cmp rbx, r14
jae 0x1800623c0
jmp 0x180062422
test rdi, rdi
je 0x18006253f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180062500
cmp rdi, r15
jbe 0x180062430
jmp 0x18006253f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180062510
mov rax, qword [0x1802048f0]
mov qword [rsi], rax
mov qword [0x1802048f0], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x180062e00
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x180204914]
mov ebx, edi
test ecx, ecx
je 0x180062f1a
mov rax, qword [0x180204908]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180062e58
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180062e30
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180062f1a
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800631b0
mov r8d, dword [0x180204914]
cmp ebx, r8d
jae 0x180062ec8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180204908]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180062ec1
mov edx, esi
mov ecx, ebx
call fcn.1800630a0
mov edi, eax
test eax, eax
jne 0x180062ec8
mov r8d, dword [0x180204914]
inc ebx
cmp ebx, r8d
jb 0x180062e90
cmp qword [rsp + 0x20], 0
je 0x180062f1a
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180062f06
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
test rax, rax
je 0x180062efc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
add rbx, 4
sub rsi, 1
jne 0x180062ee0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180204900]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1800630a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180204908]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180063104
mov eax, 0xa
jmp 0x180063197
test esi, esi
je 0x180063126
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180063149
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180063149
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180063142
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180063149
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800631b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
xor edi, edi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
xor edx, edx
mov ebp, r8d
lea ecx, [rdi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
test rax, rax
je 0x1800632c1
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1800632c1
nop
cmp dword [rsp + 0x20], 0x10
jb 0x1800632a4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800632a4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800632a4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180063262
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x180204900]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1800632c1
jmp 0x180063297
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180063297
mov rcx, qword [0x180204900]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800632c1
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180063210
cmp qword [rbx], rdi
je 0x18006330a
cmp dword [rbx + 0xc], edi
jbe 0x18006330a
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180063303
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180063330
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800632d0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800636b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov esi, edx
mov ebx, r14d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1802048f8], ebp
je 0x180062f87
cmp rbx, 0x20
jae 0x180062f70
xor ecx, ecx
jmp 0x180062f72
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1802048f8], ebp
jne 0x180062f66
cmp qword [0x180204900], r14
je 0x180063073
test rdi, rdi
jne 0x180062fa7
mov ecx, esi
call fcn.180062e00
mov esi, eax
jmp 0x180063078
mov ecx, dword [0x180204914]
mov ebx, r14d
test ecx, ecx
je 0x180062fcf
mov r8, qword [0x180204908]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180062fd9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180062fc0
mov esi, 4
jmp 0x180063078
cmp ebx, 0xffffffff
je 0x180062fcf
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18006306a
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800631b0
mov edx, esi
mov ecx, ebx
call fcn.1800630a0
mov rbp, qword [rsp + 0x20]
mov esi, eax
test rbp, rbp
je 0x180063078
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180063056
mov rbx, rbp
mov edi, eax
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
test rax, rax
je 0x18006304c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
add rbx, 4
sub rdi, 1
jne 0x180063030
mov rcx, qword [0x180204900]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180063078
neg esi
sbb esi, esi
add esi, 6
jmp 0x180063078
mov esi, 2
xchg dword [0x1802048f8], r14d
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov edx, 1
jmp 0x180062f30
Function at 0x180063b30
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx ebx, byte [rcx]
lea rdi, [rcx + 1]
mov rsi, rdx
mov r10d, 0x811c9dc5
mov rcx, rdi
movzx eax, bl
test bl, bl
je 0x180063b79
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x180063b60
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r11, qword [rcx + 0x10]
mov r9, r11
nop dword [rax]
mov rcx, qword [r9 + 0x60]
mov edx, 0x811c9dc5
movzx eax, word [r9 + 0x58]
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x180063bc4
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x180063bb0
cmp edx, r10d
je 0x180063bd6
mov r9, qword [r9]
cmp r9, r11
jne 0x180063b90
xor r11d, r11d
jmp 0x180063bda
mov r11, qword [r9 + 0x30]
mov r10d, 0x811c9dc5
test bl, bl
je 0x180063c08
nop dword [rax]
nop dword [rax + rax]
movsx eax, bl
movzx ebx, byte [rdi]
lea rdi, [rdi + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
test bl, bl
jne 0x180063bf0
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
mov r8, rbx
nop dword [rax]
mov rcx, qword [r8 + 0x60]
mov edx, 0x811c9dc5
movzx eax, word [r8 + 0x58]
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x180063c54
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x180063c40
cmp edx, r10d
je 0x180063c65
mov r8, qword [r8]
cmp r8, rbx
jne 0x180063c20
xor eax, eax
jmp 0x180063c69
mov eax, dword [r8 + 0x40]
lea rbx, [rax + r11]
xor r10d, r10d
mov r8, rsi
cmp r11, rbx
jae 0x180063d27
mov edi, 0x3f3f
movzx r9d, byte [r8]
test r9b, r9b
je 0x180063d39
cmp r9b, 0x3f
je 0x180063cf1
movzx eax, r9b
and al, 0xdf
sub al, 0x41
cmp al, 5
ja 0x180063cac
movzx edx, r9b
and dl, 0xdf
sub dl, 0x37
jmp 0x180063cb9
xor edx, edx
lea ecx, [r9 - 0x30]
cmp cl, 9
cmovbe edx, r9d
movzx ecx, byte [r8 + 1]
movzx eax, cl
and al, 0xdf
sub al, 0x41
cmp al, 5
ja 0x180063cd1
and cl, 0xdf
sub cl, 0x37
jmp 0x180063cdf
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180063cdd
sub cl, 0x30
jmp 0x180063cdf
xor cl, cl
shl dl, 4
or dl, cl
cmp byte [r11], dl
je 0x180063cf1
mov r8, rsi
xor r10d, r10d
jmp 0x180063d1b
test r10, r10
mov rax, r11
cmovne rax, r10
cmp byte [r8 + 2], 0
mov r10, rax
je 0x180063d29
cmp word [r8], di
je 0x180063d17
cmp r9b, 0x3f
jne 0x180063d17
add r8, 2
jmp 0x180063d1b
add r8, 3
inc r11
cmp r11, rbx
jb 0x180063c81
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rax, r10
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x180066c00
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.180066e20
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180066d07
mov rax, qword [0x180201f48]
cmp qword [rsp + 0x20], rax
jb 0x180066c64
mov rax, qword [0x180201f50]
cmp qword [rsp + 0x20], rax
ja 0x180066c64
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180066c26
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180066c93
jmp 0x180066d07
cmp dword [rsp + 0x50], 0x10000
jne 0x180066cea
cmp qword [rsp + 0x48], 0x10000
jb 0x180066cea
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 0x180066cd8
mov rax, qword [rsp + 0x28]
jmp 0x180066d09
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180066d02
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180066e20
mov qword [rsp + 0x20], rax
jmp 0x180066c26
xor eax, eax
add rsp, 0x68
ret

Function at 0x180066d10
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.180066e60
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180066e13
mov rax, qword [0x180201f48]
cmp qword [rsp + 0x20], rax
jb 0x180066d6b
mov rax, qword [0x180201f50]
cmp qword [rsp + 0x20], rax
ja 0x180066d6b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180066d2d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180066d9a
jmp 0x180066e13
cmp dword [rsp + 0x50], 0x10000
jne 0x180066df1
cmp qword [rsp + 0x48], 0x10000
jb 0x180066df1
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 0x180066ddf
mov rax, qword [rsp + 0x28]
jmp 0x180066e15
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180066e0e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180066e60
mov qword [rsp + 0x20], rax
jmp 0x180066d2d
xor eax, eax
add rsp, 0x68
ret