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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb520
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x100fd230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1002fe06
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1002fd0d
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edi, dword [eax]
jmp 0x1002fe06
push ecx
lea ecx, [ebp - 0xfc]
call fcn.100043e0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.10006590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001c750
mov edx, 0x100e5420
mov ecx, eax
call fcn.10006590
movaps xmm0, xmmword [0x100e8c50]
mov esi, eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x1b1b2c49
mov dword [ebp - 0x30], 0x531b06
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 - 0x2c], al
inc ecx
cmp ecx, 0x16
jb 0x1002fd70
lea edx, [ebp - 0x2c]
mov byte [ebp - 0x16], 0
mov ecx, esi
call fcn.10006590
mov edx, ebx
mov ecx, eax
call fcn.10006590
mov byte [ebp - 4], 0
call fcn.100035c0
mov esi, eax
lea ecx, [ebp - 0xfc]
lea eax, [ebp - 0x30]
push eax
call fcn.100042f0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1002fdbe
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003d10
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x1002fdfb
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002fdf1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002fe2a
push ecx
push edx
call fcn.1008f79d
add esp, 8
lea ecx, [ebp - 0xfc]
call fcn.10004220
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x58], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008f445
mov esp, ebp
pop ebp
ret 4
call fcn.1009b8bf
int3
Function at 0x10036090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cbf70
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x100fd230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100fde2d], 0
jne 0x100360cb
call fcn.10035e30
call fcn.10034780
mov edi, eax
test edi, edi
jne 0x100361dd
call fcn.10035000
mov edi, eax
test edi, edi
jne 0x100361dd
push ecx
lea ecx, [ebp - 0xf0]
mov byte [0x100fde2d], al
call fcn.100043e0
mov edx, str._TID:
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xe0]
call fcn.10006590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001c750
mov edx, 0x100e5420
mov ecx, eax
call fcn.10006590
movaps xmm0, xmmword [str.C03c07_17c06_Y]
mov esi, eax
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x30302620
mov word [ebp - 0x28], 0x62
mov byte [ebp - 4], 1
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x3b]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 0x14
jb 0x10036150
lea edx, [ebp - 0x26]
mov byte [ebp - 0x12], 0
mov ecx, esi
call fcn.10006590
mov byte [ebp - 4], 0
call fcn.100035c0
mov esi, eax
lea ecx, [ebp - 0xf0]
lea eax, [ebp - 0x2c]
push eax
call fcn.100042f0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x10036195
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 2
call fcn.10003d10
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100361d2
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100361c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100361fa
push ecx
push edx
call fcn.1008f79d
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.10004220
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.1008f445
mov esp, ebp
pop ebp
ret
call fcn.1009b8bf
int3
Function at 0x10036eb0
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 0x100cc0bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c
mov eax, dword [0x100fd230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10106340]
test eax, eax
je 0x10036f07
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10106340], 0
movaps xmm0, xmmword [0x100e8ce0]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x696b0620
mov word [ebp - 0x48], 0x6a6b
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 0x10036f30
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 0x10036f60
sub ecx, edx
lea eax, [ebp - 0x45]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000ab60
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 0x10036fe4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10036fc5
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036fbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037018
push ecx
push edx
call fcn.1008f79d
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.1008f445
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 0x10036fc5
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036fbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10036fbb
call fcn.1009b8bf
int3
Function at 0x10038130
Capabilities:
Encode data using xor
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc308
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x100fd230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1e0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100382c1
push ecx
lea ecx, [ebp - 0x290]
call fcn.100043e0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.10006590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001c750
mov edx, 0x100e5420
mov ecx, eax
call fcn.10006590
movaps xmm0, xmmword [0x100e8fa0]
mov esi, eax
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x40], 0x1b53
mov byte [ebp - 0x3e], 0
mov byte [ebp - 4], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x4f]
xor al, byte [ebp - 0x50]
mov byte [ebp + ecx - 0x3d], al
inc ecx
cmp ecx, 0x11
jb 0x100381d2
lea edx, [ebp - 0x3d]
mov byte [ebp - 0x2c], 0
mov ecx, esi
call fcn.10006590
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1001a4f0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1003820a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10006f60
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1003824f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038245
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100382dd
push ecx
push edx
call fcn.1008f79d
add esp, 8
mov byte [ebp - 4], 0
call fcn.100035c0
mov esi, eax
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
push eax
call fcn.100042f0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x10038275
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003d10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100382b2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100382a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100382e2
push ecx
push edx
call fcn.1008f79d
add esp, 8
lea ecx, [ebp - 0x290]
call fcn.10004220
xor al, al
jmp 0x100382c3
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008f445
mov esp, ebp
pop ebp
ret
call fcn.1009b8bf
call fcn.1009b8bf
int3
Function at 0x1003a6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc80c
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x100fd230]
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 [0x10106340]
test eax, eax
je 0x1003a83b
push 0x64
push eax
call esi
cmp eax, 0x102
je 0x1003a6d2
push ecx
lea ecx, [ebp - 0xe4]
call fcn.100043e0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.10006590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001c750
mov edx, 0x100e5420
mov ecx, eax
call fcn.10006590
movaps xmm0, xmmword [0x100e90f0]
mov esi, eax
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x6a
mov byte [ebp - 4], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x33]
xor al, byte [ebp - 0x34]
mov byte [ebp + ecx - 0x22], al
inc ecx
cmp ecx, 0x10
jb 0x1003a743
lea edx, [ebp - 0x22]
mov byte [ebp - 0x12], 0
mov ecx, esi
call fcn.10006590
mov byte [ebp - 4], 0
call fcn.100035c0
mov esi, eax
lea ecx, [ebp - 0xe4]
lea eax, [ebp - 0x2c]
push eax
call fcn.100042f0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1003a788
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 2
call fcn.10003d10
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1003a7cd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a7c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a855
push ecx
push edx
call fcn.1008f79d
add esp, 8
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0xffffffff
call fcn.10004220
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10105564]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101064d0]
cmp eax, dword [ecx + 4]
jle 0x1003a834
push 0x101064d0
call fcn.1008f927
add esp, 4
cmp dword [0x101064d0], 0xffffffff
jne 0x1003a834
mov dword [ebp - 4], 3
call fcn.1002f140
push 0x100d3e20
call fcn.1008f788
push 0x101064d0
call fcn.1008f8dd
add esp, 8
mov byte [0x10106843], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008f445
mov esp, ebp
pop ebp
ret
call fcn.1009b8bf
int3
Function at 0x10056b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cedec
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100fd230]
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 0x10056c44
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.10058fa0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.10056b40
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10056c88
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 0x1005a7c0
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 0x100cf2dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x100fd230]
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 [0x100e9030]
dec eax
mov dword [ebp - 0x88], eax
xor eax, eax
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x72787d61
mov dword [ebp - 0x70], 0x7e786570
mov dword [ebp - 0x6c], 0x627b3e7f
mov word [ebp - 0x68], 0x7f7e
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 0x1005a8a0
cmp dword [esi + 0x14], 0x10
mov ecx, esi
mov byte [ebp - 0x48], 0
jb 0x1005a8c5
mov ecx, dword [esi]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1005a8cf
mov eax, dword [edi]
lea edx, [ebp - 0x44]
push edx
push 0x1005aab0
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 0x1005a90f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x1005a860
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.100032a0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1005a950
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a946
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005a9b2
push ecx
push edx
call fcn.1008f79d
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 0x1005a992
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005a9b2
push ecx
push edx
call fcn.1008f79d
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.1008f445
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1009b8bf
int3
Function at 0x1005c150
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100fd230]
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 [0x10106344], 0
jne 0x1005c2e8
push 1
push 0
push 0
push 0
push 1
push 2
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1005c2ff
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAIoctl]
lea eax, [ebp - 0x18]
push 0
push 0
push eax
push 4
push 0x10106344
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 0x10106348
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 0x1010634c
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 0x1005c2ff
mov dword [edi + 0xc], eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.1008f445
mov esp, ebp
pop ebp
ret 4
Function at 0x1005c3f0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100fd230]
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 0x1005c454
cmp eax, 0x17
jne 0x1005c4bd
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 0x1005c4bd
push 0x1c
lea eax, [ebp - 0x20]
jmp 0x1005c488
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 0x1005c4bd
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1005c4bd
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.1008f445
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1008f445
mov esp, ebp
pop ebp
ret 8
Function at 0x1005cb20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf6df
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100fd230]
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 0x1005cbd1
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 0x1005cb83
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.1005bd00
mov edi, eax
add esp, 0x2c
test edi, edi
jne 0x1005cc2a
xor bl, bl
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x1005cbbb
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 0x100d971e
push 0x58
call fcn.1008fb1b
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x1005cba1
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 0x1005cc0f
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.1005bc30
mov edi, eax
test edi, edi
je 0x1005cba1
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 0x1005cc9f
cmp eax, 0x3e5
je 0x1005cc9f
cmp byte [edi + 0x48], 0
je 0x1005cc70
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1005cc70
push eax
call fcn.1008f7ce
add esp, 4
mov ecx, dword [edi + 0x44]
lea esi, [edi + 0x20]
test ecx, ecx
je 0x1005cc8f
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.1008f79d
add esp, 8
jmp 0x1005cba1
mov bl, 1
jmp 0x1005cba3
Function at 0x1005ccb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf72f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100fd230]
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
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x1005cd59
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1005cd0d
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
xor edx, edx
mov byte [ebp - 4], 0
push edi
lea ecx, [edx + 3]
call fcn.1005bd00
mov edi, eax
add esp, 0x2c
test edi, edi
jne 0x1005cdb2
xor bl, bl
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1005cd43
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
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 0x30
push 0x100d971e
push 0x58
call fcn.1008fb1b
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x1005cd29
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 + 0x34]
test ecx, ecx
je 0x1005cd97
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 3
call fcn.1005bc30
mov edi, eax
test edi, edi
je 0x1005cd29
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x54]
push 0
push edi
push eax
push 0
push 1
lea eax, [edi + 0x4c]
mov dword [edi + 0x14], ecx
push eax
push dword [ecx + 0xc]
call dword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, 0xffffffff
jne 0x1005ce29
cmp eax, 0x3e5
je 0x1005ce29
cmp byte [edi + 0x48], 0
je 0x1005cdfa
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1005cdfa
push eax
call fcn.1008f7ce
add esp, 4
mov ecx, dword [edi + 0x44]
lea esi, [edi + 0x20]
test ecx, ecx
je 0x1005ce19
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.1008f79d
add esp, 8
jmp 0x1005cd29
mov bl, 1
jmp 0x1005cd2b