joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140f334d0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140f33657
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 0x140f33501
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f334e7
add dl, dl
jne 0x140f3350e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f3356e
xor eax, eax
add dl, dl
jne 0x140f3351d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f33625
add dl, dl
jne 0x140f3352e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3353b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f33548
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f33555
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f33562
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f334f6
mov eax, 1
add dl, dl
jne 0x140f3357e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3358b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f33573
sub eax, ebx
mov ebx, 1
jne 0x140f335c4
mov ecx, 1
add dl, dl
jne 0x140f335a6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f335b3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f3359b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f334f6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f335e0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f335ed
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f335d5
cmp eax, 0x7d00
jae 0x140f33613
cmp eax, 0x500
jb 0x140f3360e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f334f6
cmp eax, 0x7f
ja 0x140f33616
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f334f6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f3364a
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 0x140f334f6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800039a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x30], xmm7
mov ecx, reloc.WS2_32.dll_select
movaps xmmword [rsp + 0x20], xmm8
movaps xmm7, xmm1
movaps xmm8, xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1800039d8
xor al, al
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x58
ret
movaps xmmword [rsp + 0x40], xmm6
mov ecx, reloc.WS2_32.dll_recv
movss xmm6, dword [0x1801192a8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800039fd
movss xmm6, dword [0x180119330]
mov rax, qword [0x18012d7b8]
mov rcx, qword [rax]
test rcx, rcx
je 0x180003a4f
cmp byte [rcx + 0x60c], 0
addss xmm6, dword [rcx + 0xb4]
je 0x180003a36
mov rax, qword [0x18012d7d8]
movss dword [rax + 0x14], xmm6
movss dword [rax + 0x10], xmm8
movss dword [rax + 0x18], xmm7
jmp 0x180003a4f
movss dword [rcx + 0xb4], xmm6
movss dword [rcx + 0xb0], xmm8
movss dword [rcx + 0xb8], xmm7
movaps xmm6, xmmword [rsp + 0x40]
mov al, 1
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x180005a10
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xf0
test rcx, rcx
je 0x180005c39
test rdx, rdx
je 0x180005c39
test r8, r8
je 0x180005c39
lea rax, [0x1800429a0]
mov qword [r11 + 0x10], rdi
mov qword [rbp - 9], rax
xor edi, edi
cmp qword [0x180136ab0], rdi
lea rax, [0x180042b10]
mov qword [rbp + 7], rax
xorps xmm0, xmm0
lea rax, [0x180042b20]
movaps xmmword [r11 - 0x18], xmm6
mov qword [rbp + 0xf], rax
xorps xmm6, xmm6
lea rax, [0x180042b30]
mov qword [0x180136b50], rcx
mov qword [rbp + 0x27], rax
lea rax, [0x180042b10]
mov qword [rbp + 0x37], rax
lea rax, [0x180042b20]
mov qword [rbp + 0x3f], rax
lea rax, [0x180042cc0]
mov qword [rbp - 0x69], rax
lea rax, [0x180042f10]
mov qword [rbp - 0x49], rax
lea rax, [0x180042f20]
mov qword [rbp - 0x41], rax
lea rax, [0x180042f30]
mov qword [rbp - 0x39], rax
lea rax, [0x180043040]
mov qword [rbp - 0x19], rax
lea rax, [0x180043070]
mov qword [rbp - 0x11], rax
mov qword [0x180136b58], rdx
mov qword [0x180136b60], r8
mov qword [rbp - 1], rdi
mov qword [rbp + 0x2f], rdi
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rdi
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rdi
jne 0x180005c12
mov ecx, 0x120
mov qword [r11 + 8], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x180005b3b
mov rbx, qword [rsp + 0x100]
mov ecx, 0xe0000001
mov qword [0x180136ab0], rdi
jmp 0x180005c17
xor edx, edx
mov r8d, 0x120
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [rbp - 9]
lea rax, [0x180043210]
movaps xmm1, xmmword [rbp + 7]
xor r9d, r9d
movups xmmword [rbx + 0x10], xmm0
xor r8d, r8d
xor edx, edx
movaps xmm0, xmmword [rbp + 0x27]
xor ecx, ecx
movups xmmword [rbx + 0x20], xmm1
mov qword [0x180136ab0], rbx
movaps xmm1, xmmword [rbp + 0x37]
movups xmmword [rbx + 0x30], xmm6
mov qword [rbx + 8], rax
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rbx + 0x50], xmm1
movups xmm1, xmmword [rbp - 0x59]
movups xmmword [rbx + 0x60], xmm0
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbx + 0x70], xmm1
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rbx + 0x80], xmm0
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbx + 0x90], xmm0
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rbx + 0xa0], xmm1
movups xmmword [rbx + 0xb0], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov r9, rbx
mov qword [rsp + 0x28], rdi
lea r8, [0x18003ebe0]
mov qword [rbx + 0xf8], rax
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x20000000
mov edx, 0xe0000002
test rax, rax
mov qword [rbx + 0xf0], rax
mov rbx, qword [rsp + 0x100]
cmove ecx, edx
jmp 0x180005c17
mov ecx, 0x20000000
movaps xmm6, xmmword [rsp + 0xe0]
cmp ecx, 0x20000000
mov rdi, qword [rsp + 0x108]
sete al
add rsp, 0xf0
pop rbp
ret
xor al, al
add rsp, 0xf0
pop rbp
ret
Function at 0x180008d00
Capabilities:
Create process on windows
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
mov rdx, rcx
lea rcx, str.Hook64_ErrorMessage
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ecx, 0x208
call fcn.1800d2498
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
call fcn.18004af50
mov r9, rax
lea r8, str._s_s
lea rax, str.Hook64.exe
mov edx, 0x208
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1800046e0
xorps xmm0, xmm0
mov dword [rsp + 0x70], WSAGetLastError
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0xd4], eax
xor r8d, r8d
mov qword [rsp + 0x60], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, Ordinal_79
mov ebx, 0x8000
cmp rbx, 0x8000
jb 0x180008dfe
call fcn.1800982b0
add rdi, 0x13f
add rbx, rdi
lea rdi, [rbx + 0x17b]
jmp 0x180008df0
Function at 0x180009fc0
Capabilities:
Enumerate pe sections

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbp, r8
mov r15, rdx
mov r14, rcx
lea rbx, [rcx + 0x28]
mov qword [r11 + 0x20], rbx
xor r12d, r12d
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [r11 - 0x38], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x20], xmm1
mov qword [r11 - 0x38], r12
lea rax, [r11 - 0x48]
cmp rbx, rax
je 0x18000a099
mov r8, qword [rbx]
test r8, r8
je 0x18000a080
mov rcx, qword [rbx + 0x10]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
cmp rdx, 0x1000
jb 0x18000a075
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x18000a106
mov r8, rcx
mov rcx, r8
call fcn.1800d2490
mov qword [rbx], r12
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x20]
call fcn.1800018f0
mov qword [r14], r15
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18000a12f
movsxd rbx, dword [rax + 0x3c]
add rbx, rax
movzx eax, word [rbx + 0x14]
lea rsi, [rbx + 0x18]
add rsi, rax
mov edi, r12d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18000a10d
mov eax, edi
lea rsi, [rax*4 + 3]
movzx ecx, word [rbx + 0x14]
add rcx, rbx
add rsi, rax
lea rsi, [rcx + rsi*8]
inc edi
movzx eax, word [rbx + 6]
cmp edi, eax
jbe 0x18000a0d1
jmp 0x18000a12f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [rsi + 0xc]
add rdx, rax
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], rdx
mov eax, dword [rsi + 0x10]
mov qword [r14 + 0x18], rax
mov dword [r14 + 0x20], r12d
mov rax, r14
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x18000a150
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, Ordinal_50
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 0x18000a17e
xor al, al
jmp 0x18000a1c0
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x18000a18f
xor al, al
jmp 0x18000a1c0
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x18000a1b6
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x18000a1b6
mov al, 1
jmp 0x18000a1c0
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x18000a3c0
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 0x18000a3e2
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x18000a49a
nop dword [rax + rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x18000a40b
add rbx, 0x8000000
jmp 0x18000a491
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, Ordinal_50
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 0x18000a49a
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x18000a476
cmp rcx, 0x10000
jb 0x18000a476
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18000a49c
add rbx, 0x10000
jmp 0x18000a491
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x18000a491
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x18000a3f0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x18000a4b0
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 0x18000a588
nop dword [rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x18000a4fb
sub rbx, 0x8000000
jmp 0x18000a57f
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, Ordinal_50
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 0x18000a588
cmp dword [rsp + 0x40], 0x10000
jne 0x18000a563
cmp qword [rsp + 0x38], 0x10000
jb 0x18000a563
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18000a58a
sub rbx, 0x10000
jmp 0x18000a57f
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 0x18000a4e0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x18000a5a0
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 0x18000a5c2
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x18000a5de
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x18000a5f5
cmp byte [rcx + 1], 0x25
jne 0x18000a639
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x18000a601
cmp al, 0xe9
jne 0x18000a639
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x18000a624
cmp rcx, 0xffffffff80000000
jae 0x18000a61b
lea rsi, [rcx + 0x7ff80000]
jmp 0x18000a639
mov rsi, 0xfffffffffff80000
jmp 0x18000a639
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x18000a639
mov edi, 0x80000
mov rdx, qword [0x180136e38]
mov rax, qword [0x180136e48]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x18000a660
test rax, rax
je 0x18000a677
mov rdx, rax
mov qword [0x180136e38], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x18000a677
cmp rcx, rdi
jb 0x18000a677
cmp rcx, rsi
jbe 0x18000a7ca
mov qword [0x180136e38], rax
mov rdx, rax
test rax, rax
je 0x18000a6c2
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x18000a6ac
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x18000a6ac
cmp rax, rdi
jb 0x18000a6ac
cmp rax, rsi
jbe 0x18000a7ca
mov rdx, qword [rdx + 8]
mov qword [0x180136e38], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x18000a690
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x18000a6ec
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.18000a4b0
mov rdx, rax
test rax, rax
jne 0x18000a778
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x18000a712
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.18000a3c0
mov rdx, rax
test rax, rax
jne 0x18000a778
cmp rbx, 0x40000000
jbe 0x18000a732
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.18000a3c0
mov rdx, rax
test rax, rax
jne 0x18000a778
cmp rbx, rbp
jae 0x18000a74e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.18000a4b0
mov rdx, rax
test rax, rax
jne 0x18000a778
mov rdx, rbx
mov rcx, rdi
call fcn.18000a4b0
mov rdx, rax
test rax, rax
jne 0x18000a778
mov rdx, rsi
mov rcx, rbx
call fcn.18000a3c0
mov rdx, rax
test rax, rax
je 0x18000a801
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x180136e38], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x180136e48]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x180136e48], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x18000a7b2
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x18000a801
cmp rax, rsi
ja 0x18000a801
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x1801195e0]
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 0x18000a803
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 0x18000a820
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x180136e30], 0
jne 0x18000a8c7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180136e30], ecx
jne 0x18000a8c7
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180136e48]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x180136e58], rdi
mov qword [0x180136e50], rdi
mov qword [0x180136e40], rdi
test rbx, rbx
je 0x18000a8b0
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 0x18000a8a8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18000a880
jmp 0x18000a8b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x180136d28], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret

Function at 0x18000a8e0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180136e30], eax
je 0x18000a8fc
mov eax, 0x10dd
add rsp, 0x28
ret
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180136e58]
mov qword [rsp + 0x40], rsi
xor esi, esi
mov qword [rsp + 0x20], rdi
test rbx, rbx
je 0x18000a995
nop dword [rax]
mov rax, qword [rbx + 0x20]
lea r9, [rsp + 0x30]
mov r8d, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
movzx edx, byte [rax + 0x3e]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [rbx + 8], esi
jne 0x18000a97d
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x18000a97d
xorps xmm0, xmm0
mov rcx, rdx
movups xmmword [rdx], xmm0
and rcx, 0xffffffffffff0000
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rcx + 0x10], rdx
mov qword [rbx + 0x20], rsi
mov rdi, qword [rbx]
mov edx, Ordinal_50
mov rcx, rbx
call fcn.1800d2490
mov rbx, rdi
test rdi, rdi
jne 0x18000a920
mov qword [0x180136e58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, qword [0x180136e48]
mov rdi, rax
test rbx, rbx
je 0x18000a9f4
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 0x10000
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18000a9c0
mov rdi, qword [0x180136e50]
test rdi, rdi
je 0x18000aa22
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rdi]
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1800d2490
mov rdi, rbx
test rbx, rbx
jne 0x18000aa00
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov qword [0x180136e50], rsi
mov dword [0x180136e30], esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x28
ret
Function at 0x18000aee0
Capabilities:
Suspend thread

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x180136d28]
mov rbx, rcx
test eax, eax
jne 0x18000af79
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rbx, rax
jne 0x18000af0a
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov ecx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x30], rdi
call fcn.1800d22a0
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x18000af5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1800d2490
mov rdi, qword [rsp + 0x30]
mov eax, ebx
mov dword [0x180136d28], ebx
mov qword [0x180136e40], 0
add rsp, 0x20
pop rbx
ret
mov rax, qword [0x180136e50]
mov qword [rdi], rax
xor eax, eax
mov qword [rdi + 8], rbx
mov qword [0x180136e50], rdi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x18000b490
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push r14
sub rsp, 0x28
mov rdi, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180136e30], eax
je 0x18000b4b9
mov eax, 0x10dd
add rsp, 0x28
pop r14
pop rdi
ret
mov eax, dword [0x180136d28]
test eax, eax
jne 0x18000b6c3
test rdi, rdi
jne 0x18000b4d7
lea eax, [rdi + 0x57]
add rsp, 0x28
pop r14
pop rdi
ret
test r14, r14
je 0x18000b4f3
cmp qword [r14], 0
jne 0x18000b500
mov dword [0x180136d28], 6
mov qword [0x180136e40], r14
mov eax, 6
add rsp, 0x28
pop r14
pop rdi
ret
mov qword [rsp + 0x40], rbx
mov ecx, Ordinal_50
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], r15
call fcn.1800d22a0
mov rbx, qword [r14]
mov rsi, rax
test rbx, rbx
je 0x18000b59d
cmp byte [rbx], 0xff
jne 0x18000b550
cmp byte [rbx + 1], 0x25
jne 0x18000b550
movsxd r15, dword [rbx + 2]
lea rdx, [rbx + 6]
add rdx, r15
mov rcx, rbx
call fcn.18000a150
test al, al
je 0x18000b550
mov rbx, qword [r15 + rbx + 6]
cmp byte [rbx], 0xeb
jne 0x18000b59d
movsx rax, byte [rbx + 1]
add rbx, 2
add rbx, rax
movzx ecx, byte [rbx]
cmp cl, 0xff
jne 0x18000b58d
cmp byte [rbx + 1], 0x25
jne 0x18000b58d
movsxd r15, dword [rbx + 2]
mov rcx, rbx
lea rdx, [r15 + 6]
add rdx, rbx
call fcn.18000a150
test al, al
je 0x18000b59d
mov rbx, qword [r15 + rbx + 6]
jmp 0x18000b59d
cmp cl, 0xe9
jne 0x18000b59d
movsxd rax, dword [rbx + 1]
add rbx, 5
add rbx, rax
cmp byte [rdi], 0xff
jne 0x18000b5c4
cmp byte [rdi + 1], 0x25
jne 0x18000b5c4
movsxd r15, dword [rdi + 2]
lea rdx, [rdi + 6]
add rdx, r15
mov rcx, rdi
call fcn.18000a150
test al, al
je 0x18000b5c4
mov rdi, qword [r15 + rdi + 6]
cmp byte [rdi], 0xeb
jne 0x18000b611
movsx rax, byte [rdi + 1]
add rdi, 2
add rdi, rax
movzx ecx, byte [rdi]
cmp cl, 0xff
jne 0x18000b601
cmp byte [rdi + 1], 0x25
jne 0x18000b601
movsxd r15, dword [rdi + 2]
mov rcx, rdi
lea rdx, [r15 + 6]
add rdx, rdi
call fcn.18000a150
test al, al
je 0x18000b611
mov rdi, qword [r15 + rdi + 6]
jmp 0x18000b611
cmp cl, 0xe9
jne 0x18000b611
movsxd rax, dword [rdi + 1]
add rdi, 5
add rdi, rax
movzx edx, byte [rbx + 0x3e]
mov rbp, qword [rbx + 0x48]
mov r15, qword [rsp + 0x20]
sub rbp, rdx
test dl, dl
je 0x18000b68a
cmp rdx, 0x1e
ja 0x18000b68a
cmp qword [rbx + 0x50], rdi
jne 0x18000b68a
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 0x18000b65b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18000b698
mov dword [rsi + 8], 1
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x20], rbx
mov qword [rsi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x28], eax
mov rax, qword [0x180136e58]
mov qword [rsi], rax
xor eax, eax
mov qword [0x180136e58], rsi
jmp 0x18000b6b4
cmp dword [0x180136a60], 0
mov ebx, 9
jne 0x18000b69e
mov dword [0x180136d28], ebx
mov edx, Ordinal_50
mov rcx, rsi
call fcn.1800d2490
mov eax, ebx
mov qword [0x180136e40], r14
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x28
pop r14
pop rdi
ret