joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003caf0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
call fcn.140043d34
mov rcx, qword [0x14037c678]
call fcn.14000e638
mov rax, qword [0x14037c600]
lea r9, [rbp - 0x29]
movups xmm0, xmmword [0x140313b20]
movups xmm1, xmmword [0x140313b30]
or dword [rax + 0x1c40], 2
movups xmmword [rbp - 0x29], xmm0
mov dword [rax + 0x1c64], 0x43d90000
xor r8d, r8d
movups xmm0, xmmword [0x140313b40]
mov dword [rax + 0x1c68], 0x43330000
mov dword [rax + 0x1c48], 1
movzx eax, word [0x140313b58]
movups xmmword [rbp - 9], xmm0
mov word [rbp + 0xf], ax
movsd xmm0, qword [0x140313b50]
mov al, byte [0x140313b5a]
movsd qword [rbp + 7], xmm0
movups xmmword [rbp - 0x19], xmm1
mov byte [rbp + 0x11], al
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9], al
inc r9
cmp r8d, 0x3b
jl 0x14003cb8d
mov r8d, Ordinal_41
lea rdx, [0x14037c5fb]
lea rcx, [rbp - 0x29]
call fcn.14000bcf4
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], 0x41400000
mov dword [rbp + 0x6b], 0x41f80000
call fcn.14000ee94
and dword [rsp + 0x20], 0
lea r8, [rbp + 0x67]
mov edx, 1
mov dword [rbp + 0x67], 0x43cb8000
mov r9b, 1
mov dword [rbp + 0x6b], 0x42ce0000
xor ecx, ecx
call fcn.14000915c
movaps xmm0, xmmword [0x140313b80]
lea r9, [rbp - 0x29]
movaps xmm1, xmmword [0x140313b90]
xor r8d, r8d
movaps xmmword [rbp - 0x29], xmm0
movaps xmm0, xmmword [0x140313ba0]
movaps xmmword [rbp - 9], xmm0
movaps xmm0, xmmword [0x140313bc0]
movaps xmmword [rbp - 0x19], xmm1
movaps xmm1, xmmword [0x140313bb0]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x140313be0]
movaps xmmword [rbp + 7], xmm1
movaps xmm1, xmmword [0x140313bd0]
movsd qword [rbp + 0x37], xmm0
movaps xmmword [rbp + 0x27], xmm1
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9], al
inc r9
cmp r8d, 0x68
jl 0x14003cc5d
lea rcx, [rbp - 0x29]
call fcn.14002d914
call fcn.14000935c
movss xmm1, dword [0x14037f4e0]
movss xmm6, dword [0x140314358]
comiss xmm6, xmm1
jbe 0x14003ccd5
addss xmm1, dword [0x1403142c0]
comiss xmm1, xmm6
movss dword [0x14037f4e0], xmm1
jb 0x14003ccca
and dword [0x14037f4e0], 0
mov byte [0x14037c5fb], 0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], 0x41600000
mov dword [rbp + 0x6b], 0x43140000
call fcn.14000ee94
movss xmm0, dword [0x140314374]
call fcn.14000ef0c
movss xmm0, dword [0x14037f4e0]
lea rdx, [rbp + 0x67]
and dword [rbp + 0x67], 0
and dword [rbp + 0x6b], 0
divss xmm0, xmm6
call fcn.14002f764
call fcn.14000efa8
call fcn.14000e180
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbp
jmp fcn.14000e6d0
Function at 0x14003cd38
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1328]
mov eax, 0x1420
call fcn.1401a7f50
sub rsp, rax
mov rax, qword [0x140327010]
xor rax, rsp
mov qword [rbp + 0x1310], rax
mov edi, edx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
and dword [rsp + 0x20], 0
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]
movups xmmword [rbp + 0x12d0], xmm0
movups xmm1, xmmword [0x1403113f8]
movups xmmword [rbp + 0x12e0], xmm1
movups xmm0, xmmword [0x140311408]
movups xmmword [rbp + 0x12f0], xmm0
movsd xmm0, qword [0x140311418]
movsd qword [rbp + 0x1300], xmm0
mov eax, dword [0x140311420]
mov dword [rbp + 0x1308], eax
movzx eax, word [0x140311424]
mov word [rbp + 0x130c], ax
mov al, byte [0x140311426]
mov byte [rbp + 0x130e], al
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov r14d, 1
mov dword [rsp + 0x20], r14d
call fcn.140063b54
mov edx, eax
or dword [rbp + 0x12c4], 0xffffffff
mov dword [rsp + 0x44], eax
mov ecx, r14d
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x44], edx
add rcx, r14
cmp rcx, r8
jb 0x14003ce1d
mov dword [rsp + 0x40], r8d
and dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0x3d
test edi, edi
jle 0x14003cea5
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14004cee4
movsxd rcx, eax
mov r9b, byte [rbp + rcx + 0x12d0]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14003ce92
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003ce87
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003cea0
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.14004e37c
sub rdi, r14
jne 0x14003ce4e
mov rax, rbx
mov rcx, qword [rbp + 0x1310]
xor rcx, rsp
call fcn.1400600c0
lea r11, [rsp + 0x1420]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003d184
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13d0
call fcn.1401a7f50
sub rsp, rax
mov rax, qword [0x140327010]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov ebx, edx
call fcn.140063b54
or dword [rsp + 0x13b4], 0xffffffff
mov edx, 0x270
mov dword [rsp + 0x34], eax
mov r8d, 1
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x34], eax
inc r8
cmp r8, rdx
jb 0x14003d1c3
mov dword [rsp + 0x30], edx
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 5
mov dword [rsp + 0x24], ebx
call fcn.14004cee4
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400600c0
add rsp, 0x13d0
pop rbx
ret
Function at 0x14004715c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14004717c
xor eax, eax
jmp 0x140047262
cmp qword [rcx + 0x68], 0
je 0x14004718d
call fcn.140048820
jmp 0x140047262
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400471a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400471a6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400471d8
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14012e970
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14004725c
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14004720f
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140047238
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14014ccb0
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x14004725c
cmp rdi, rbx
ja 0x140047216
test rdi, rdi
je 0x14004725c
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.14014ccb0
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14004d5fc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140327010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140060d60
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14005c9dc]
xor edx, edx
xor ecx, ecx
call fcn.140158690
mov qword [rdi], rax
test rax, rax
je 0x14004d671
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400600c0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call fcn.140062890
int3
Function at 0x14005bfd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x14005c03b
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x14005bffe
mov ecx, dword [r9]
jmp 0x14005c109
cmp ecx, 0x4e0
jb 0x14005c109
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov edi, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx + 0x630]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rsi, 1
jne 0x14005c061
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov edi, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx - 0xd50]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rsi, 1
jne 0x14005c0a2
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
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
ret

Function at 0x14007a264
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140065a1e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140065a01
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400659ec
Function at 0x140091ed0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x54], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov r8d, 0x1008
mov edx, 0xffff
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x140091f44
cmp dword [rsp + 0x34], 1
jne 0x140091f44
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rsp
lea rdx, reloc.XINPUT1_3.dll_Ordinal_2
call fcn.1401a7fa0
add rsp, 0x70
pop rdi
ret

Function at 0x140098120
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x1505
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jae 0x1400981ab
mov rax, qword [rsp + 0x28]
shl rax, 5
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
movzx ecx, byte [rsp + 0x30]
call fcn.1400ba790
movsx rax, al
mov rcx, qword [rsp + 0x28]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x14009814d
xor edx, edx
mov rax, qword [rsp + 0x28]
mov ecx, 0x100
div rcx
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400b3d40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x40]
call fcn.1400b3ba0
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.14017b220
cdqe
add rsp, 0x20
pop rdi
ret

Function at 0x1400b42b0
Capabilities:
Initialize winsock library

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x30]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x230]
mov rax, qword [0x140327010]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x230]
and eax, 2
test eax, eax
je 0x1400b4387
mov eax, 0x202
mov word [rsp + 0x30], ax
lea rdx, [rsp + 0x50]
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x1f4], eax
cmp dword [rsp + 0x1f4], 0
je 0x1400b432d
mov eax, 2
jmp 0x1400b443f
movzx eax, word [rsp + 0x50]
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x1400b4377
movzx eax, word [rsp + 0x50]
shr rax, 8
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
shr rcx, 8
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x1400b4387
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
jmp 0x1400b443f
call fcn.140114e00
mov dword [rsp + 0x1f8], eax
cmp dword [rsp + 0x1f8], 0
je 0x1400b43a9
mov eax, dword [rsp + 0x1f8]
jmp 0x1400b443f
lea rcx, str.iphlpapi.dll
call fcn.1400b44e0
mov qword [0x14037b1b8], rax
cmp qword [0x14037b1b8], 0
je 0x1400b43fc
lea rdx, str.if_nametoindex
mov rcx, qword [0x14037b1b8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
je 0x1400b43fc
mov rax, qword [rsp + 0x200]
mov qword [0x14037b1b0], rax
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.140114950
movzx eax, al
test eax, eax
je 0x1400b4429
mov byte [0x14037f9fc], 1
jmp 0x1400b4430
mov byte [0x14037f9fc], 0
lea rcx, [0x14037fa00]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401a7fa0
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400600c0
add rsp, 0x220
pop rdi
ret
Function at 0x1400b44e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400b451d
xor eax, eax
jmp 0x1400b46b9
lea rdx, str.LoadLibraryExA
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rdx, [0x14032ac44]
mov rcx, qword [rsp + 0x70]
call fcn.140172500
test rax, rax
je 0x1400b4589
cmp qword [rsp + 0x28], 0
je 0x1400b456a
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x50], rax
jmp 0x1400b457a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
jmp 0x1400b46b4
cmp qword [rsp + 0x28], 0
je 0x1400b45c3
lea rdx, str.AddDllDirectory
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b45c3
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x20], rax
jmp 0x1400b46b4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400b46b4
mov rcx, qword [rsp + 0x70]
call fcn.140171e30
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
add rax, qword [rsp + 0x40]
mov rcx, rax
call qword [fcn.140155f80]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400b46a9
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400b46a9
mov rcx, qword [rsp + 0x48]
call fcn.140171e30
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, [0x14032ac68]
mov rcx, rax
call fcn.140172220
mov rcx, qword [rsp + 0x48]
call fcn.140171e30
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.140172220
cmp qword [rsp + 0x28], 0
je 0x1400b468f
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x58], rax
jmp 0x1400b469f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
call qword [fcn.14014c2d0]
mov rax, qword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret
Function at 0x1400bf410
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4004747b
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400bf4b1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x64]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rsp
lea rdx, reloc.XINPUT1_3.dll_Ordinal_2
call fcn.1401a7fa0
add rsp, 0xa0
pop rdi
ret
Function at 0x1400c5a40
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
add rax, 0xe8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x60]
mov dword [rax + 0x1350], ecx
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x1358], eax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1161]
test eax, eax
je 0x1400c5ab5
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1161]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 0x70f]
cmp eax, ecx
jle 0x1400c5acc
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 0x70f]
mov byte [rax + 0x1161], cl
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1170], 0
je 0x1400c5b05
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x11e8]
test eax, eax
jne 0x1400c5b05
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x1a0
jne 0x1400c5b05
mov rax, qword [rsp + 0x20]
mov byte [rax + 0xdd], 1
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
cmp eax, 0xa
jne 0x1400c5b38
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, qword [rsp + 0x50]
call fcn.1400aff10
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.1400b1320
jmp 0x1400c5ba0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
cmp eax, 0x14
je 0x1400c5b5f
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x7c], 2
jne 0x1400c5b79
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x65
jne 0x1400c5b79
xor eax, eax
test eax, eax
jne 0x1400c5b5f
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x6d0]
mov dword [rax], 2
jmp 0x1400c5ba0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
cmp eax, 0xb
jl 0x1400c5ba0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x2ce]
test eax, eax
jne 0x1400c5ba0
xor eax, eax
test eax, eax
jne 0x1400c5b9a
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x64
jl 0x1400c5bc3
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0xc8
jge 0x1400c5bc3
mov dword [rsp + 0x28], 1
jmp 0x1400c5bcb
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x1400c5bdc
mov dword [rsp + 0x2c], 0
jmp 0x1400c5be4
mov dword [rsp + 0x2c], 1
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0xde], cl
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x60]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xcc
je 0x1400c5c32
cmp dword [rsp + 0x30], 0x130
je 0x1400c5c16
jmp 0x1400c5c57
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x528]
test eax, eax
je 0x1400c5c32
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x1434], 1
mov rax, qword [rsp + 0x20]
mov qword [rax], 0
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov byte [rax + 0xde], 1
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1400d1ba0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
cmp qword [rsp + 0x88], 0
je 0x1400d1bea
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
jne 0x1400d1c2c
cmp qword [rsp + 0x90], 0
je 0x1400d1c02
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
jne 0x1400d1c2c
cmp qword [rsp + 0x98], 0
je 0x1400d1c1a
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jne 0x1400d1c2c
mov rcx, qword [rsp + 0xa0]
call fcn.1400d1b20
jmp 0x1400d1cfd
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.14011f020
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x98], 0
je 0x1400d1c6a
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
je 0x1400d1c6a
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x50], rax
jmp 0x1400d1c73
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x90], 0
je 0x1400d1c9a
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
je 0x1400d1c9a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
jmp 0x1400d1ca3
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x88], 0
je 0x1400d1cca
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
je 0x1400d1cca
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
jmp 0x1400d1cd3
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x80]
inc eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401a7fa0
mov rax, rdi
add rsp, 0x70
pop rdi
ret