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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd885
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100ff230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 0xc]
mov ebx, edx
cmp dword [edx + 0x14], 0x10
jb 0x1003288a
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x100328a8
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10032896
push edi
push edx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.100327c0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100328d9
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x71c71c7
je 0x10032a17
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x20], 0
call fcn.10091630
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.10003430
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov byte [ebx + 0x20], 0
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100eaea0]
mov eax, dword [esi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100eaea0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x100329b7
divss xmm0, xmm3
call fcn.10023f10
call fcn.10092460
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x1003299b
cmp eax, 0x200
jae 0x10032999
shl eax, 3
cmp eax, ecx
jae 0x1003299b
mov eax, ecx
push eax
mov ecx, esi
call fcn.10032e20
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100327c0
mov edx, dword [eax]
jmp 0x100329ba
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov edi, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x100329e4
mov dword [ecx + eax*8], ebx
jmp 0x100329f6
cmp esi, edx
jne 0x100329ed
mov dword [ecx + eax*8], ebx
jmp 0x100329fa
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100329fa
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1008e57d
int3
Function at 0x10032a30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd885
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100ff230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 0xc]
mov ebx, edx
cmp dword [edx + 0x14], 0x10
jb 0x10032a6a
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10032a88
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10032a76
push edi
push edx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.100327c0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10032ab9
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x71c71c7
je 0x10032bfc
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x20], 0
call fcn.10091630
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.10003430
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov al, byte [eax + 0x18]
mov byte [ebx + 0x20], al
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100eaea0]
mov eax, dword [esi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100eaea0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x10032b9c
divss xmm0, xmm3
call fcn.10023f10
call fcn.10092460
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x10032b80
cmp eax, 0x200
jae 0x10032b7e
shl eax, 3
cmp eax, ecx
jae 0x10032b80
mov eax, ecx
push eax
mov ecx, esi
call fcn.10032e20
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100327c0
mov edx, dword [eax]
jmp 0x10032b9f
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov edi, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x10032bc9
mov dword [ecx + eax*8], ebx
jmp 0x10032bdb
cmp esi, edx
jne 0x10032bd2
mov dword [ecx + eax*8], ebx
jmp 0x10032bdf
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10032bdf
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1008e57d
int3
Function at 0x100350f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cdc50
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10033510
mov edi, eax
test edi, edi
jne 0x1003522d
call fcn.10033d90
mov edi, eax
test edi, edi
jne 0x1003522d
push ecx
lea ecx, [ebp - 0x110]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x100]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100eaca0]
mov esi, eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x37212774
mov dword [ebp - 0x30], 0x27273137
mov word [ebp - 0x2c], 0x75
mov byte [ebp - 4], 1
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x43]
xor al, byte [ebp - 0x44]
mov byte [ebp + ecx - 0x2a], al
inc ecx
cmp ecx, 0x18
jb 0x100351a0
lea edx, [ebp - 0x2a]
mov byte [ebp - 0x12], 0
mov ecx, esi
call fcn.10006770
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x110]
lea eax, [ebp - 0x5c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x100351e5
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 2
call fcn.10003ef0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x10035222
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035218
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003524a
push ecx
push edx
call fcn.1009197a
add esp, 8
lea ecx, [ebp - 0x110]
call fcn.10004400
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10091622
mov esp, ebp
pop ebp
ret
call fcn.1009d81f
int3
Function at 0x10035eb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cdd8d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101073a4]
test eax, eax
je 0x10035f07
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x101073a4], 0
movaps xmm0, xmmword [0x100eb130]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x35375a7c
mov word [ebp - 0x48], 0x3637
mov byte [ebp - 0x46], 0
mov dword [ebp - 4], 0
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x5b]
xor al, byte [ebp - 0x5c]
mov byte [ebp + ecx - 0x45], al
inc ecx
cmp ecx, 0x15
jb 0x10035f30
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x45]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035f60
sub ecx, edx
lea eax, [ebp - 0x45]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000ad50
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
test esi, esi
jne 0x10035fe4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10035fc5
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035fbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036018
push ecx
push edx
call fcn.1009197a
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10091622
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10035fc5
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035fbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10035fbb
call fcn.1009d81f
int3
Function at 0x10039ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce440
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x101073a4]
test eax, eax
je 0x10039ced
push 0x3e8
push eax
call esi
cmp eax, 0x102
je 0x10039bd2
call fcn.1002dc60
push ecx
lea ecx, [ebp - 0xec]
mov byte [eax + 0x40f], 0
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100eaff0]
mov esi, eax
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x50415c19
mov word [ebp - 0x28], 0x4d
mov byte [ebp - 4], 1
xor eax, eax
nop dword [eax]
mov cl, byte [ebp + eax - 0x3b]
xor cl, byte [ebp - 0x3c]
mov byte [ebp + eax - 0x26], cl
inc eax
cmp eax, 0x14
jb 0x10039c60
lea edx, [ebp - 0x26]
mov byte [ebp - 0x12], 0
mov ecx, esi
call fcn.10006770
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0xec]
lea eax, [ebp - 0x2c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x10039ca5
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 2
call fcn.10003ef0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10039ce2
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039cd8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039d07
push ecx
push edx
call fcn.1009197a
add esp, 8
lea ecx, [ebp - 0xec]
call fcn.10004400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10091622
mov esp, ebp
pop ebp
ret
call fcn.1009d81f
int3
Function at 0x10054e90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d065c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100ff230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10054f44
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.10057240
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.10054e40
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10054f88
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x10058a60
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0b1d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x88], eax
mov eax, 3
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
nop word [eax + eax]
movaps xmm0, xmmword [0x100eaef0]
dec eax
mov dword [ebp - 0x88], eax
xor eax, eax
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x555f5a46
mov dword [ebp - 0x70], 0x595f4257
mov dword [ebp - 0x6c], 0x455c1958
mov word [ebp - 0x68], 0x5859
mov byte [ebp - 0x66], 0
nop word [eax + eax]
mov cl, byte [ebp + eax - 0x83]
xor cl, byte [ebp - 0x84]
mov byte [ebp + eax - 0x65], cl
inc eax
cmp eax, 0x1d
jb 0x10058b40
cmp dword [esi + 0x14], 0x10
mov ecx, esi
mov byte [ebp - 0x48], 0
jb 0x10058b65
mov ecx, dword [esi]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10058b6f
mov eax, dword [edi]
lea edx, [ebp - 0x44]
push edx
push 0x10058d50
push 0x1388
push 0x1388
push 1
lea edx, [ebp - 0x65]
push edx
push ecx
push eax
call dword [sym.imp.HttpClient.dll_HTTPAPI_RequestPost]
add esp, 0x20
cmp dword [ebp - 0x34], 0
jne 0x10058baf
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x10058b00
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.10003430
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10058bf0
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10058be6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058c52
push ecx
push edx
call fcn.1009197a
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x10058c32
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10058c28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058c52
push ecx
push edx
call fcn.1009197a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10091622
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1009d81f
int3
Function at 0x1005a3f0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push edi
mov edi, ecx
mov dword [edi + 0xc], 0
mov dword [edi + 0x54], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi], vtable.speed::core::CTCPHandle.0
movups xmmword [edi + 0x5c], xmm0
movq qword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
movups xmmword [edi + 0x78], xmm0
movq qword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
mov dword [edi + 0x58], eax
mov eax, dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [edi + 0x94], 0
cmp dword [0x101073a8], 0
jne 0x1005a588
push 1
push 0
push 0
push 0
push 1
push 2
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1005a59f
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAIoctl]
lea eax, [ebp - 0x18]
push 0
push 0
push eax
push 4
push 0x101073a8
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xb5367df1
push eax
push 0xc8000006
push ebx
mov dword [ebp - 0x10], 0x11cfcbac
mov dword [ebp - 0xc], 0x8000ca95
mov dword [ebp - 8], 0x92a1485f
mov dword [ebp - 0x18], 0
call esi
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x25a207b9
push eax
push 4
push 0x101073ac
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x4660ddf3
push eax
push 0xc8000006
push ebx
mov dword [ebp - 0xc], 0xe576e98e
mov dword [ebp - 8], 0x3e06748c
mov dword [ebp - 0x18], 0
call esi
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0xb5367df2
push eax
push 4
push 0x101073b0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x11cfcbac
push eax
push 0xc8000006
push ebx
mov dword [ebp - 0xc], 0x8000ca95
mov dword [ebp - 8], 0x92a1485f
mov dword [ebp - 0x18], 0
call esi
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [sym.imp.WS2_32.dll_WSASocketW]
pop esi
push 1
push 0
push 0
push 6
push 1
push dword [ebp + 8]
call eax
cmp eax, 0xffffffff
je 0x1005a59f
mov dword [edi + 0xc], eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.10091622
mov esp, ebp
pop ebp
ret 4
Function at 0x1005a690
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x58]
cmp eax, 2
je 0x1005a6f4
cmp eax, 0x17
jne 0x1005a75d
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov word [ebp - 0x20], ax
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x18]
push eax
push edi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1005a75d
push 0x1c
lea eax, [ebp - 0x20]
jmp 0x1005a728
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x10]
push eax
push edi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1005a75d
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1005a75d
push bind
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
setne al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10091622
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10091622
mov esp, ebp
pop ebp
ret 8
Function at 0x1005adc0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0f1f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100ff230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edi
cmp byte [ebp + 0x10], 0
mov dword [ebp - 4], 0
je 0x1005ae71
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x1005ae23
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push edi
mov edx, ebx
mov byte [ebp - 4], 0
mov ecx, 2
call fcn.10059fa0
mov edi, eax
add esp, 0x2c
test edi, edi
jne 0x1005aeca
xor bl, bl
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x1005ae5b
mov esi, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
push 0x100db776
push 0x58
call fcn.10091cf8
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x1005ae41
sub esp, 0x28
mov edi, esp
mov dword [ebp - 0x18], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x1005aeaf
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 2
mov ecx, esi
push dword [ebp - 0x10]
push ebx
push 2
call fcn.10059ed0
mov edi, eax
test edi, edi
je 0x1005ae41
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x4c]
push 0
push edi
push 0
push 0
push 1
push eax
mov dword [edi + 0x14], ecx
push dword [ecx + 0xc]
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, 0xffffffff
jne 0x1005af3f
cmp eax, 0x3e5
je 0x1005af3f
cmp byte [edi + 0x48], 0
je 0x1005af10
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1005af10
push eax
call fcn.100919ab
add esp, 4
mov ecx, dword [edi + 0x44]
lea esi, [edi + 0x20]
test ecx, ecx
je 0x1005af2f
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
push 0x58
push edi
call fcn.1009197a
add esp, 8
jmp 0x1005ae41
mov bl, 1
jmp 0x1005ae43