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

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14002a99d
lea rbx, [0x140091e90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14002a984
cmp r10, 2
jb 0x14002a984
cmp byte [r9], r8b
jne 0x14002a984
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14002a960
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14002a9df
lea rbx, [0x140091e90]
cmp r8b, 0x23
jne 0x14002a9c3
cmp byte [r9], r8b
jne 0x14002a9c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14002a9b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14002aae0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14002aafe
mov qword [r8], r14
lea rdx, [0x14009ac58]
call fcn.14002a9f0
mov rbx, rax
test rax, rax
jne 0x14002ab23
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14002ac4f
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002ac4f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14002ac4f
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002ac4f
cmp rdi, 0xffffffffffffffff
je 0x14002ac4f
mov rcx, rdi
call fcn.14002e3a0
mov rbp, rax
test rax, rax
je 0x14002ac4f
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14002ac3c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400ae6b8]
test r8, r8
je 0x14002ac31
movsx rdx, word [r8 + 0x60e0]
lea rcx, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14002ac26
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 + 0x60e0], cx
movsx rax, cx
lea rcx, [r8 + 0x60e4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60dc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002ac58
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14002ac4a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14002ac5a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002de80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140091e90]
movsxd rcx, dword [rcx + 0x100]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x108]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x14002df14
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140040dd0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003a700
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400ad040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400ae6b8]
mov edi, ecx
cmp byte [rbx + 0x4d55], 0
jne 0x14003a761
cmp byte [rbx + 0x4d56], 0
jne 0x14003a761
movsx r9d, word [rbx + 0x5eb0]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14002a750
test dil, 2
je 0x14003a88f
jmp 0x14003a7ec
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14009dca8]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x14009dc88]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x14009dbe0]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.14002a750
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14003a840
lea r11, [0x140091e90]
nop dword [rax]
cmp r9b, 0x23
jne 0x14003a823
cmp byte [r8], r9b
jne 0x14003a823
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14003a810
not ecx
call fcn.140031620
test rax, rax
je 0x14003a88f
cmp byte [rax + 0xbe], 0
je 0x14003a88f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5eb0]
movsx r9d, word [rbx + 0x5eb0]
call fcn.14002a750
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140034260
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006ec90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14003f5f0
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 + 0x6008], 0
lea rbx, [rcx + 0x6010]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14003f697
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14003f64a
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.140041e80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14002b160
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6008]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6018]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400ae6a2]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14003f69f
mov rcx, rbx
call fcn.14002b160
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14003f9c0
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 [0x1400ae6b8]
xor ebp, ebp
cmp byte [rbx + 0x5f60], bpl
jne 0x14003fa9f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14003fa98
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.14002aae0
mov rsi, rax
test rax, rax
je 0x14003fa98
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14003fa24
mov rcx, rax
call fcn.14003fbf0
mov r8, qword [0x1400ae6b8]
test r8, r8
je 0x14003fa8f
movsx rdx, word [r8 + 0x60e0]
lea rcx, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14003fa84
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 + 0x60e0], cx
movsx rax, cx
lea rcx, [r8 + 0x60e4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60dc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f60], 1
movss xmm0, dword [rbx + 0x5f64]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14003fb2e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f64], xmm0
jb 0x14003fb2e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14003fb21
mov rax, qword [0x1400ae6b8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f64], ebp
call fcn.14003fe50
lea rdx, [0x14009ac54]
mov rcx, rdi
mov rsi, rax
call fcn.14002a9f0
mov rdi, rax
test rax, rax
je 0x14003fb28
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 0x14003fb28
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f64], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14003fb50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400ae6b8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14003fbb3
mov qword [rsp], rbx
lea rbx, [0x140091e90]
nop dword [rax]
cmp r9b, 0x23
jne 0x14003fb93
cmp byte [r8], r9b
jne 0x14003fb93
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 0x14003fb80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f78]
not eax
mov r8, qword [r10 + 0x5f80]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14003fbdf
cmp dword [r8 + 8], eax
je 0x14003fbe6
add r8, 0x48
cmp r8, rcx
jne 0x14003fbd0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140054220
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1400ad040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400ae6b8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14005443e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14005443e
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 [0x1400ae6b8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x1400542f4
movsx rdx, word [r8 + 0x60e0]
lea rax, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x1400542e9
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 + 0x60e0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60e4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60d8]
test rdi, rdi
je 0x140054311
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 0x140054314
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x14009b3f0]
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 0x140054357
mov rsi, qword [r8 + 0x90]
jmp 0x14005435a
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 0x140054385
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400ae6b8]
mov rcx, qword [rax + 0x4b18]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
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
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1400543fe
inc rbx
cmp rbx, 5
jl 0x1400543e0
jmp 0x14005442a
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 0x140054440
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006ec90
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140059690
Capabilities:
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1f0
mov rax, qword [0x1400ad040]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x101
lea rdx, [rsp + 0x40]
mov rsi, r8
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400596d4
mov eax, 0xffffdcd8
jmp 0x1400598d8
movzx eax, word [rsp + 0x40]
cmp al, 1
jne 0x1400598c2
shr ax, 8
cmp al, 1
jne 0x1400598c2
mov rax, qword [0x1400af520]
mov qword [rsp + 0x228], rbp
test rax, rax
jne 0x14005971c
lea r8, str.busy
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1400af520], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [0x1400af528], xmm0
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebp, 2
xor r8d, r8d
mov edx, ebp
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, rbx
mov qword [0x1400aef50], rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, rdi
mov word [0x1400aef40], bp
mov dword [0x1400aef44], eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, rsi
mov word [0x1400aef42], ax
call fcn.140059510
mov dword [0x1400ae700], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, dword [0x1400ae700]
lea rdi, [0x1400aef40]
mov dword [0x1400ae704], eax
lea rdx, [0x1400ae700]
xor eax, eax
mov byte [0x1400af52b], cl
mov qword [0x1400ae6f8], rax
xorps xmm0, xmm0
mov qword [0x1400aeb10], rax
xor ebx, ebx
mov dword [0x1400aeb18], eax
xor r9d, r9d
movzx eax, byte [0x1400ae703]
mov r8d, reloc.WS2_32.dll_recv
mov byte [0x1400af528], al
movzx eax, byte [0x1400ae702]
mov byte [0x1400af529], al
mov eax, ecx
mov rcx, qword [0x1400aef50]
shr eax, 8
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov byte [0x1400af52a], al
mov dword [0x1400ae708], ebx
mov dword [0x1400ae70c], 0xaf3c2828
movups xmmword [0x1400ae6c8], xmm0
mov qword [rsp + 0x20], rdi
movups xmmword [0x1400ae6d8], xmm0
movups xmmword [0x1400ae6e8], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
mov ecx, reloc.WS2_32.dll_sendto
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1400aef50]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400aeb20]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8d, 0x400
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [0x1400ae70c]
mov eax, 0xffffdcdc
cmp dword [0x1400aeb2c], ecx
mov ecx, dword [0x1400ae708]
cmovne ebx, eax
cmp dword [0x1400aeb28], ecx
mov rcx, qword [0x1400af520]
mov eax, 0xffffdcdd
cmovne ebx, eax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rbp, qword [rsp + 0x228]
mov eax, ebx
jmp 0x1400598d8
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffdcd9
mov qword [0x1400aef50], 0xffffffffffffffff
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14006ec90
add rsp, 0x1f0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140059900
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400ad040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x1400aef50], 0
mov ebx, ecx
ja 0x140059939
mov eax, 0xffffdcd8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006ec90
add rsp, 0x50
pop rbx
ret
mov rcx, qword [0x1400af520]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc dword [0x1400ae708]
mov dword [0x1400ae70c], 0x9823ae8d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x1400ae704], eax
test ebx, ebx
je 0x140059974
or dword [0x1400ae6c8], 1
jmp 0x14005997b
and dword [0x1400ae6c8], 0xfffffffe
movups xmm0, xmmword [0x1400ae6c8]
mov rcx, qword [0x1400aef50]
lea rax, [0x1400aef40]
movups xmm1, xmmword [0x1400ae6d8]
lea rdx, [0x1400ae700]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
movaps xmmword [0x1400ae710], xmm0
xor r9d, r9d
movups xmm0, xmmword [0x1400ae6e8]
mov r8d, 0x48
mov qword [rsp + 0x20], rax
movaps xmmword [0x1400ae720], xmm1
movsd xmm1, qword [0x1400ae6f8]
movaps xmmword [0x1400ae730], xmm0
movsd qword [0x1400ae740], xmm1
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x1400aef50]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400aeb20]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [0x1400ae70c]
xor ebx, ebx
cmp dword [0x1400aeb2c], ecx
mov eax, 0xffffdcdc
mov ecx, dword [0x1400ae708]
cmovne ebx, eax
cmp dword [0x1400aeb28], ecx
mov rcx, qword [0x1400af520]
mov eax, 0xffffdcdd
cmovne ebx, eax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006ec90
add rsp, 0x50
pop rbx
ret
Function at 0x14005f260
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400ad040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 0x10]
mov rbx, rcx
cmp rax, 0xffffffffffffffff
je 0x14005f288
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + 0x30], 0
lea rcx, [rbx + 0x18]
mov dword [rsp + 0x28], 0x40000080
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x10]
cmp rax, 0xffffffffffffffff
je 0x14005f316
lea rax, [rsp + 0x40]
mov byte [rbx + 0xb4], 1
mov qword [rsp + 0x28], rax
lea r8, [0x14005f4b0]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xa0], rax
mov rax, qword [rbx + 0xa0]
test rax, rax
jne 0x14005f32b
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], 0xffffffffffffffff
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006ec90
add rsp, 0x50
pop rbx
ret
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006ec90
add rsp, 0x50
pop rbx
ret

Function at 0x14005f410
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
cmp rax, 0xffffffffffffffff
je 0x14005f4a9
mov byte [rcx + 0xb4], 0
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetCommMask]
mov rcx, qword [rbx + 0xd8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0xa0]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14005f46c
mov rcx, qword [rbx + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xd8]
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0x10], 0xffffffffffffffff
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ResetEvent]
add rsp, 0x20
pop rbx
ret
Function at 0x14005ffb0
Capabilities:
Create thread
Execute command

Disassembly:
push rbx
sub rsp, 0x1f0
mov rax, qword [0x1400ad040]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
xor ebx, ebx
lea rcx, [rsp + 0x50]
call fcn.14005e2a0
nop
lea rcx, [rsp + 0x50]
call fcn.14005b5e0
test al, al
jne 0x14005fffd
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, 1
jmp 0x140060092
lea rcx, [rsp + 0x50]
call fcn.14005f630
call fcn.14005fc00
mov ecx, 8
call fcn.14006ecb0
lea rcx, [0x14005fef0]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14000eb00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400600c3
cmp dword [rsp + 0x38], 0
je 0x1400600b7
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400600b7
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1400af0c0]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
call fcn.140060140
nop
lea rcx, [rsp + 0x50]
call fcn.14005b450
mov eax, ebx
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14006ec90
add rsp, 0x1f0
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14006e220
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14006e25a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14006e25f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14006e2a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140073de0]
cmp byte [rcx + rax], 0
je 0x14006e2a8
dec r8
sub rdx, 1
jne 0x14006e28e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14006fa48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006fa92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006fa92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006fa92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006fa92
cmp dword [rcx + 0x84], 0xe
jbe 0x14006fa92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006fa94
xor al, al
add rsp, 0x28
ret
Function at 0x141138bd8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x141138be2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x141138c0b
pop rbp
sub rbp, 0x33
sub rbp, 0x1138bd8
sub rsp, 0x20
jmp 0x141138c2a
mov rax, 0x1138bd8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xb936462
xor byte [rax], dl
inc rax
dec rcx
jne 0x141138c49
jmp 0x141138c60
sub ch, bl
mov ebp, ecx
jmp 0x141138cc4
movabs dword [0x6daa9d2a62626266], eax
out 0x8c, eax
popfq
popfq
popfq
movabs eax, dword [0x8a9ada2a3230383a]
invalid