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

Disassembly:
test r8d, r8d
jle 0x1400208ee
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400d52f0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x1400208b6
mov rcx, rbp
call fcn.14001fc40
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140020771
movsxd rdx, dword [rbp + 0x5dc8]
mov r8, qword [rbp + 0x5dd0]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140020761
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140020759
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14002075c
mov rdx, rcx
test rdx, rdx
jne 0x140020730
cmp r8, r10
je 0x140020771
cmp dword [r8], r9d
jne 0x140020771
mov rcx, qword [r8 + 8]
jmp 0x140020773
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc8]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x140020807
cmp qword [rcx + 0x20], 0
jne 0x1400207fc
mov qword [rcx + 0x20], rbx
jmp 0x140020807
cmp qword [rcx + 0x28], 0
jne 0x140020807
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14002084c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140020840
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.140003660
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x1400208a8
cmp r9b, 0x23
jne 0x14002088b
cmp byte [r8], r9b
jne 0x14002088b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140020878
not ecx
call fcn.14000c4d0
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x1400206f0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c1970
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140028a40
Capabilities:
Resolve function by parsing pe exports

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, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x140028a8d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140028a92
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x140028abd
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140028abd
mov rax, qword [rax + 0x3a8]
test rax, rax
je 0x140028abd
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x140028ac2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x140028adc
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140028ae1
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x140028b63
inc ecx
test r8d, r8d
je 0x140028b4e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140028b53
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14002a440
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140028ba2
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140028a40
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140028bb2
inc esi
jmp 0x140028a70
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400573e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [rsp + 0x20], 0x130
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140057472
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_Process32First]
test eax, eax
je 0x140057469
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140057453
inc rax
test ecx, ecx
jne 0x140057440
mov rcx, rbx
test edx, edx
je 0x140057495
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
jne 0x140057432
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400c1970
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140057474
Function at 0x140057590
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
mov dword [rsp + 0x40], edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140057705
mov r8d, 0x100
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x140057705
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rsp + 0x20], xmm0
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x140057600
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x140057775
cmp rbx, 0xf
ja 0x14005764c
mov r8, rbx
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x20], dil
jmp 0x1400576e0
mov rax, rbx
or rax, 0xf
cmp rax, rsi
jbe 0x140057685
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400c1c30
test rax, rax
je 0x140057741
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400576bd
mov ecx, reloc.WLDAP32.dll_Ordinal_22
mov rsi, rax
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
test rcx, rcx
je 0x1400576bd
cmp rcx, 0x1000
jb 0x1400576b5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005777b
jmp 0x140057666
call fcn.1400c1c30
mov rdi, rax
mov r8, rbx
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
xor r8d, r8d
lea rdx, [0x1400f1e58]
lea rcx, [rsp + 0x20]
mov edi, 1
call fcn.14005f7f0
cmp rax, 0xffffffffffffffff
je 0x140057705
movzx ebx, dil
jmp 0x140057707
xor bl, bl
test dil, 1
je 0x14005774d
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14005774d
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057748
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057748
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c1c74
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400c1970
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.1400014e0
int3
call fcn.140001440
int3
Function at 0x14005a4e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x90
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r11 - 0x10], rbp
mov rbp, rdx
mov qword [r11 - 0x18], rsi
mov esi, dword [rdx + 0x20]
mov qword [r11 - 0x20], rdi
mov rdi, r9
mov qword [r11 - 0x28], r12
xor r12d, r12d
mov qword [r11 - 0x30], r14
mov eax, r12d
mov qword [r11 - 0x58], rax
mov r14, rcx
mov qword [r11 - 0x60], r12
mov r8d, r12d
mov qword [r11 - 0x50], r12
test rsi, rsi
je 0x14005a55f
mov edx, esi
lea rcx, [r11 - 0x60]
call fcn.140061a50
mov rbx, qword [rsp + 0x38]
mov r8d, esi
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rsp + 0x38]
lea rax, [rbx + rsi]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x60], r15
mov rsi, r12
cmp rax, r8
je 0x14005a612
mov r15, qword [rbp + 0x18]
mov rbp, r12
nop word [rax + rax]
mov rbx, r15
mov qword [rsp + 0x20], r12
sub rbx, rbp
lea r8, [rsp + 0x30]
sub rbx, 0x10000
mov r9d, 1
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
jne 0x14005a5f2
mov r8, qword [rsp + 0x38]
mov r9, rdi
mov rdx, rbx
mov qword [rsp + 0x20], r12
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test rdi, rdi
je 0x14005a5f2
mov r8, qword [rsp + 0x38]
mov eax, 1
mov rcx, rax
cmp byte [r8 + rax - 1], r12b
jne 0x14005a5f7
cmp rax, rdi
je 0x14005a672
inc rax
cmp rcx, rdi
jb 0x14005a5d5
jmp 0x14005a5f7
mov r8, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
inc rsi
sub rax, r8
add rbp, 0x10000
cmp rsi, rax
jb 0x14005a580
mov rbx, r12
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
test r8, r8
je 0x14005a6c5
mov rdx, qword [rsp + 0x48]
mov rax, r8
sub rdx, r8
cmp rdx, 0x1000
jb 0x14005a6bd
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a6bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rbx + 0x1000]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 4
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov r8, qword [rsp + 0x38]
jmp 0x14005a615
mov rcx, r8
call fcn.1400c1c74
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c1970
add rsp, 0x90
pop rbx
ret
Function at 0x14005bb00
Capabilities:
Enumerate process modules

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x1b8]
sub rsp, 0x2b0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rbp + 0x198], rax
cmp qword [0x1400f1e20], 0
movss xmm6, dword [0x1400f110c]
je 0x14005bcc0
movdqa xmm1, xmmword [0x1400dfd90]
mov r10b, 1
movd ecx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov qword [r11 + 8], rbx
mov dl, reloc.WS2_32.dll_send
xor byte [rsp + 0x32], cl
movzx ebx, r10b
xor byte [rsp + 0x33], cl
xor dl, cl
xor byte [rsp + 0x34], cl
xor r10b, cl
xor byte [rsp + 0x35], cl
xor bl, cl
xor byte [rsp + 0x36], cl
mov r8b, reloc.WS2_32.dll_socket
xor byte [rsp + 0x37], cl
xor r8b, cl
xor byte [rsp + 0x38], cl
mov r9b, 0x4a
xor byte [rsp + 0x39], cl
xor r9b, cl
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
mov qword [r11 + 0x10], rdi
mov r11b, Ordinal_30
xor r11b, cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rsp + 0x40], dl
mov byte [rsp + 0x41], r8b
xor al, cl
mov byte [rsp + 0x42], r9b
lea rcx, [rsp + 0x31]
mov byte [rsp + 0x31], al
mov byte [rsp + 0x43], r10b
mov byte [rsp + 0x44], r11b
mov byte [rsp + 0x45], bl
mov byte [rsp + 0x46], 0
call fcn.1400573e0
mov edx, eax
mov ecx, 8
mov edi, eax
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [rsp + 0x50], 0x238
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005bc5e
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_Module32First]
test eax, eax
je 0x14005bc55
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x31]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x14005bc55
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_Module32Next]
test eax, eax
jne 0x14005bc30
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.DLL_OpenProcess]
mulss xmm6, dword [0x1400dfae4]
lea r8, [rbp + 0x190]
mov rdx, qword [0x1400f1e38]
mov r9d, 4
mov rcx, rax
mov qword [rsp + 0x20], 0
mov rbx, rax
movss dword [rbp + 0x190], xmm6
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rdi, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x2c0]
mov rcx, qword [rbp + 0x198]
xor rcx, rsp
call fcn.1400c1970
movaps xmm6, xmmword [rsp + 0x2a0]
add rsp, 0x2b0
pop rbp
ret
Function at 0x14005ce00
Capabilities:
Execute command

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov r8, rcx
movdqa xmm1, xmmword [0x1400dfec0]
movdqu xmmword [rbp - 0x19], xmm1
movdqa xmm2, xmmword [str._grag_Capv__34]
movdqu xmmword [rbp - 9], xmm2
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rbp - 0x18], al
xor byte [rbp - 0x17], cl
xor byte [rbp - 0x16], cl
xor byte [rbp - 0x15], cl
xor byte [rbp - 0x14], cl
xor byte [rbp - 0x13], cl
xor byte [rbp - 0x12], cl
xor byte [rbp - 0x11], cl
xor byte [rbp - 0x10], cl
xor byte [rbp - 0xf], cl
xor byte [rbp - 0xe], cl
xor byte [rbp - 0xd], cl
xor byte [rbp - 0xc], cl
xor byte [rbp - 0xb], cl
xor byte [rbp - 0xa], cl
movd eax, xmm2
xor al, cl
mov byte [rbp - 9], al
xor byte [rbp - 8], cl
xor byte [rbp - 7], cl
xor byte [rbp - 6], cl
xor byte [rbp - 5], cl
xor byte [rbp - 4], cl
xor byte [rbp - 3], cl
xor byte [rbp - 2], cl
xor byte [rbp - 1], cl
xor byte [rbp], cl
xor byte [rbp + 1], cl
xor byte [rbp + 2], cl
xor byte [rbp + 3], cl
xor byte [rbp + 4], cl
xor byte [rbp + 5], cl
mov byte [rbp + 6], 0
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0xf]
call fcn.1400607a0
nop
mov r8d, 1
lea rdx, [0x1400de770]
mov rcx, rax
call fcn.14005f8f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2f], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3f], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14005cf42
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cf3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cf3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c1c74
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rcx, qword [rbp + 0x2f]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x14005cf94
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cf8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cf8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c1c74
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400c1970
add rsp, 0x90
pop rbp
ret
Function at 0x14006b9d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14006ba31
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14006b9f0
mov ecx, dword [r9]
jmp 0x14006bb1b
cmp ecx, 0x4e0
jb 0x14006bb1b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14006ba50
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14006baa0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140070df0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret
Function at 0x140083240
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [rcx + 0xb36], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1400832f6
cmp qword [rcx + 0x278], 0
je 0x1400832ab
mov dl, 1
call fcn.140072cf0
mov rax, qword [rdi + 0x1d8]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x278]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140072cf0
mov eax, ebx
jmp 0x1400832f8
mov edx, ebx
test ebx, ebx
je 0x1400832bb
sub edx, 1
je 0x1400832bb
cmp edx, 1
jne 0x1400832f6
mov r9, qword [rdi + 0x1d0]
lea rax, [0x1400c74f8]
mov edx, 2
lea rcx, [rbx + rbx*2]
add rcx, rax
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x1d0]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140083310
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x160
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xb36], 0
mov rbx, rcx
jne 0x140083353
cmp qword [rcx + 0x1e0], 0
je 0x140083420
mov r8, rdx
mov qword [rsp + 0x158], rdi
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.140071120
mov rdx, qword [rbx + 0x1e0]
movsxd rdi, eax
test rdx, rdx
je 0x1400833b8
cmp byte [rbx + 0x12eb], 0
jne 0x1400833b8
lea rcx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400833a0
mov byte [rbx + 0x12eb], 1
mov byte [rsp + rdi + 0x30], 0xa
inc rdi
cmp rdi, 0x102
jae 0x140083471
cmp byte [rbx + 0xb36], 0
mov byte [rsp + rdi + 0x30], 0
je 0x140083418
cmp qword [rbx + 0x278], 0
je 0x140083439
mov dl, 1
mov rcx, rbx
call fcn.140072cf0
mov rax, qword [rbx + 0x1d8]
lea r8, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [rbx + 0x278]
xor edx, edx
mov rcx, rbx
call fcn.140072cf0
mov rdi, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400c1970
add rsp, 0x160
pop rbx
ret
mov r9, qword [rbx + 0x1d0]
lea rcx, [0x1400c74f8]
mov edx, 2
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rbx + 0x1d0]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
jmp 0x140083418
call fcn.1400c1a98
int3

Function at 0x1400835a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1400835e2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140083780
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, qword [rsp + 0x190]
mov rbp, rcx
mov rcx, qword [rcx + 0x18]
mov r15, r8
movsxd r8, edx
mov r12, r9
mov rax, r8
shl rax, 5
lea rbx, [rcx + 0x230]
mov r14, qword [rcx + r8*8 + 0x1e8]
add rbx, rax
mov rax, qword [rcx + 0x418]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x84], 3
je 0x14008388c
lea rax, [0x140083630]
cmp qword [rcx + r8*8 + 0x210], rax
jne 0x14008388c
cmp qword [rbx], 0
je 0x140083811
test rdi, rdi
je 0x14008388c
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, r14
call fcn.140094690
cmp eax, 0xffffffff
je 0x14008388c
test al, 1
je 0x14008388c
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14008386b
mov eax, dword [rbp + 0x734]
add eax, eax
movsxd rcx, eax
mov qword [rbx + 8], rcx
call qword [str.__f_]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x1400838c6
mov rdi, qword [rbx + 8]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rcx
mov r8d, edi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x14008388c
add qword [rbx + 0x10], rcx
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
mov dword [rsi], 0
cmp rbx, 0xffffffffffffffff
jne 0x140083905
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
jne 0x1400838d5
xor ebx, ebx
mov dword [rsi], 0x51
jmp 0x140083905
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_27
mov rax, 0xffffffffffffffff
jmp 0x140083908
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.140096400
mov r8, rax
lea rdx, str.Send_failure:__s
mov rcx, rbp
call fcn.140083310
mov dword [rbp + 0xdec], edi
mov dword [rsi], Ordinal_60
mov rax, rbx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400c1970
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140083d90
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x280], 0
je 0x140083dad
call fcn.14007ce80
test eax, eax
jne 0x140083dd3
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x1e8]
cmp rcx, 0xffffffffffffffff
je 0x140083da6
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x140083da6
mov al, 1
add rsp, 0x28
ret