joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001a970
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6080], 0
lea rbx, [rcx + 0x6088]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001aa17
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001a9ca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001d180
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180004dc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6080]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6090]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18004ccf8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001aa1f
mov rcx, rbx
call fcn.180004dc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001ad50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x18004cd00]
xor ebp, ebp
cmp byte [rbx + 0x5fd0], bpl
jne 0x18001ae2f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18001ae28
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.180004740
mov rsi, rax
test rax, rax
je 0x18001ae28
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x18001adb4
mov rcx, rax
call fcn.18001af80
mov r8, qword [0x18004cd00]
test r8, r8
je 0x18001ae1f
movsx rdx, word [r8 + 0x6160]
lea rcx, [r8 + 0x6164]
mov r9d, dword [r8 + 0x3fb0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18001ae14
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 + 0x6160], cx
movsx rax, cx
lea rcx, [r8 + 0x6164]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x615c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5fd0], 1
movss xmm0, dword [rbx + 0x5fd4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18001aebe
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5fd4], xmm0
jb 0x18001aebe
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x18001aeb1
mov rax, qword [0x18004cd00]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5fd4], ebp
call fcn.18001b1e0
lea rdx, [0x18003bbb4]
mov rcx, rdi
mov rsi, rax
call fcn.180004590
mov rdi, rax
test rax, rax
je 0x18001aeb8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x18001aeb8
mov byte [rbx + 0xde], 1
mov dword [rbx + 0x5fd4], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18001aee0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18004cd00]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001af43
mov qword [rsp], rbx
lea rbx, [0x18003c0c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001af23
cmp byte [r8], r9b
jne 0x18001af23
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001af10
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fe8]
not eax
mov r8, qword [r10 + 0x5ff0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001af6f
cmp dword [r8 + 8], eax
je 0x18001af76
add r8, 0x48
cmp r8, rcx
jne 0x18001af60
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18002fe90
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x180048010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x18004cd00]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800300af
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800300af
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 [0x18004cd00]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x18002ff64
movsx rdx, word [r8 + 0x6160]
lea rax, [r8 + 0x6164]
mov r9d, dword [r8 + 0x3fb0]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x18002ff59
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 + 0x6160], cx
movsx rax, cx
lea rax, [rax*8 + 0x6164]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6158]
test rdi, rdi
je 0x18002ff81
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 0x18002ff84
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
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 0x18002ffc7
mov rsi, qword [r8 + 0x90]
jmp 0x18002ffca
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 0x18002fff5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x18004cd00]
mov rcx, qword [rax + 0x4b88]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
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
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18003006f
inc rbx
cmp rbx, 5
jl 0x180030051
jmp 0x18003009b
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 0x1800300b1
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180037e50
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x180034ab0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
xor dil, dil
mov rbx, r8
mov rsi, rdx
test r8, r8
je 0x180034bfe
movss xmm1, dword [0x18004117c]
mov eax, dword [0x18004cd64]
movss xmm3, dword [0x18004cd68]
dec eax
movaps xmmword [rsp + 0x70], xmm6
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [0x18004cd6c]
movaps xmmword [rsp + 0x60], xmm7
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
mulss xmm6, xmm1
mulss xmm7, dword [0x1800411ac]
movaps xmmword [rsp + 0x50], xmm8
addss xmm6, xmm1
movaps xmm8, xmmword [0x1800412a0]
addss xmm7, xmm1
comiss xmm3, xmm7
jb 0x180034b72
movss xmm2, dword [0x18004cd60]
comiss xmm2, xmm6
jb 0x180034b72
movaps xmm0, xmm7
addss xmm0, dword [0x1800411a8]
comiss xmm0, xmm3
jbe 0x180034b72
movaps xmm0, xmm6
addss xmm0, xmm1
comiss xmm0, xmm2
jbe 0x180034b72
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180034b72
cmp byte [rbx], dil
mov dil, 1
sete al
mov byte [rbx], al
cmp byte [rbx], 0
je 0x180034b87
movaps xmm2, xmmword [0x1800412c0]
lea r8, str.Enabled
jmp 0x180034b95
movaps xmm2, xmmword [0x1800412b0]
lea r8, str.Disabled
movaps xmm0, xmm2
movss dword [rsp + 0x30], xmm2
shufps xmm0, xmm2, 0x55
lea rax, [rsp + 0x40]
movss dword [rsp + 0x34], xmm0
lea r9, [rsp + 0x30]
movaps xmm1, xmm2
movdqa xmmword [rsp + 0x40], xmm8
shufps xmm1, xmm2, 0xaa
movaps xmm0, xmm7
unpcklps xmm0, xmm6
mov rdx, rsi
shufps xmm2, xmm2, 0xff
movq rcx, xmm0
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x3c], xmm2
mov qword [rsp + 0x20], rax
call fcn.180034780
inc dword [0x18004cd6c]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
lea r11, [rsp + 0x80]
movzx eax, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180035c90
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180048010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x180035cdf
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18004cdd0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x180035d1d
cmp rsi, r14
jb 0x180035d15
cmp rsi, r15
jae 0x180035d15
cmp qword [rsi + 8], 0
jne 0x180035ee7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180035d00
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180035db2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180035da9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180035da9
cmp dword [rsp + 0x40], 0x10000
je 0x180035e2b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180035da9
sub rbx, rbp
cmp rbx, r14
jae 0x180035d70
test rsi, rsi
jne 0x180035e90
cmp rdi, r15
ja 0x180035ecf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
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 0x180035ecf
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180035ecf
cmp dword [rsp + 0x40], 0x10000
je 0x180035e61
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180035de2
jmp 0x180035ecf
test rbx, rbx
je 0x180035da9
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 0x180035e90
cmp rbx, r14
jae 0x180035d50
jmp 0x180035db2
test rdi, rdi
je 0x180035ecf
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 0x180035e90
cmp rdi, r15
jbe 0x180035dc0
jmp 0x180035ecf
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 0x180035ea0
mov rax, qword [0x18004cdd0]
mov qword [rsi], rax
mov qword [0x18004cdd0], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180037e50
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180036900
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180048010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180036a4f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180036a46
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x1800369fc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800369fc
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800369fc
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1800369bd
mov rcx, qword [0x18004cd18]
mov r8d, 0x200
mov dword [rdi + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x180036a25
lea rbx, [rdi + 0xc]
jmp 0x1800369f1
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x1800369f1
mov rcx, qword [0x18004cd18]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180036a25
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180036963
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180036a41
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x180036a41
mov rcx, qword [0x18004cd18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180037e50
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180036a70
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.180036900
test eax, eax
jne 0x180036ab7
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x180036b2e
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x180036b16
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180036b0a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180036750
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180036ad0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180036b50
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, 0x30
mov rax, qword [0x180048010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x18004cdc0]
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 0x180036bc3
mov eax, 0xa
jmp 0x180036c56
test esi, esi
je 0x180036be5
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 0x180036c08
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180036c08
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180036c01
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180036c08
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
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 rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180037e50
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180036c80
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x18004cdcc]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180036cc7
mov rax, qword [0x18004cdc0]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180036cd4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180036cb0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180036cc7
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180036a70
mov edi, eax
test eax, eax
jne 0x180036dbd
mov r9d, dword [0x18004cdcc]
cmp ebx, r9d
jae 0x180036d4c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x18004cdc0]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180036d45
mov edx, esi
mov ecx, ebx
call fcn.180036b50
mov edi, eax
test eax, eax
jne 0x180036d4c
mov r9d, dword [0x18004cdcc]
inc ebx
cmp ebx, r9d
jb 0x180036d10
cmp qword [rsp + 0x20], 0
je 0x180036dbb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180036da7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180036d98
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180036d70
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18004cd18]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x180037230
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x30
xor r12d, r12d
mov rdi, rcx
mov r14d, r12d
mov ebx, r12d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x18004cd10], esi
je 0x180037281
cmp rbx, 0x20
jae 0x18003726a
xor ecx, ecx
jmp 0x18003726c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18004cd10], esi
jne 0x180037260
cmp qword [0x18004cd18], r12
mov qword [rsp + 0x58], r13
je 0x180037418
mov ecx, dword [0x18004cdcc]
mov ebx, r12d
test ecx, ecx
je 0x1800372bf
mov rdx, qword [0x18004cdc0]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x1800372ca
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800372b0
mov r14d, 4
jmp 0x18003741e
cmp ebx, 0xffffffff
je 0x1800372bf
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18003737d
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180036a70
mov r14d, eax
test eax, eax
jne 0x18003741e
xor edx, edx
mov ecx, ebx
call fcn.180036b50
mov r14d, eax
cmp qword [rsp + 0x20], r12
je 0x18003736d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180037359
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, eax
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18003734a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180037322
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18004cd18]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x18003741e
mov rdx, qword [0x18004cdc0]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180035f10
mov edx, dword [0x18004cdcc]
dec edx
cmp ebx, edx
jae 0x1800373cc
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x18004cdc0]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x18004cdc8]
mov eax, ecx
mov dword [0x18004cdcc], edx
shr eax, 1
cmp eax, 0x20
jb 0x18003741e
cmp eax, edx
jb 0x18003741e
mov r8, qword [0x18004cdc0]
mov eax, ecx
mov rcx, qword [0x18004cd18]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18003741e
shr dword [0x18004cdc8], 1
mov qword [0x18004cdc0], rax
jmp 0x18003741e
mov r14d, 2
xchg dword [0x18004cd10], r12d
mov r13, qword [rsp + 0x58]
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r12
pop rdi
ret
Function at 0x180002760
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002792
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002792
nop word cs:[rax + rax]
jmp 0x180002790
mov rax, qword gs:[0x60]
mov r10, qword [rax + 0x18]
add r10, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r11, [rcx - 1]
xor eax, eax
mov r14, r10
mov r14, qword [r14]
cmp r14, r10
je 0x18000288b
mov rsi, r11
test r8b, r8b
je 0x180002870
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002800
sub rsi, rcx
je 0x180002882
test r9b, r9b
je 0x180002880
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop word [rax + rax]
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002860
test ebp, ebp
jne 0x180002860
add rbx, 1
cmp rsi, rbx
jne 0x180002820
jmp 0x180002887
test ebp, ebp
jne 0x1800027ec
jmp 0x180002887
jmp 0x180002870
jmp 0x180002880
test r9b, r9b
je 0x1800028a0
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800028a0