Function at 0x10026960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a76bc
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10216040]
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 - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
lea edi, [esi + 8]
mov dword [ebp - 0x44], esi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
movups xmmword [esi + 0x2c], xmm0
movq qword [esi + 0x3c], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x20], 2
mov dword [esi + 0x4c], 0
movups xmmword [esi + 0x5c], xmm0
movq qword [esi + 0x6c], xmm0
mov dword [esi + 0x74], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x50], 2
mov dword [esi + 0x7c], 0
mov dword [esi + 0x230], 0
mov dword [esi + 0x234], 0
mov dword [esi + 0x238], 0
mov dword [esi + 0x23c], 0
mov dword [esi + 0x240], 0
mov dword [esi + 0x244], 0
movups xmmword [esi + 0x248], xmm0
mov dword [esi + 0x258], 0
mov dword [esi + 0x25c], 0xf
mov byte [esi + 0x248], 0
push str.ws2_32.dll
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10026af8
push str.WSAStartup
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
jne 0x10026ab4
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10026ac2
lea eax, [esi + 0x90]
push eax
push 0x202
call ecx
test eax, eax
jne 0x10026af8
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10026af1
push str.socket
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10026b26
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], 0xffffffff
mov word [esi + 0x260], 0
mov byte [esi + 0x261], 0
mov eax, esi
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.101786e5
mov esp, ebp
pop ebp
ret
push 6
push 1
push 2
call eax
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x10026af8
mov ecx, esi
mov byte [esi + 0x260], 1
call fcn.100276d0
test al, al
je 0x10026b01
xorps xmm0, xmm0
mov word [esi + 0x261], 1
lea eax, [ebp - 0x5c]
mov byte [esi + 0x263], 0
mov dword [esi + 0x224], 0xa
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
movups xmmword [ebp - 0x5c], xmm0
mov byte [ebp - 0x5c], 0
cmp edi, eax
je 0x10026bd7
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x10026bb5
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10026bab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026eb0
mov eax, edx
push ecx
push eax
call fcn.10178716
add esp, 8
movups xmm0, xmmword [ebp - 0x5c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [edi + 0x10], xmm0
mov edx, dword [edi + 0x10]
mov eax, dword [esi + 0x224]
mov dword [ebp - 0x3c], edx
cmp edx, eax
ja 0x10026c5c
mov ecx, dword [edi + 0x14]
cmp ecx, eax
je 0x10026c5c
jae 0x10026c09
mov byte [ebp - 0x38], 0
sub eax, edx
push dword [ebp - 0x38]
mov ecx, edi
push eax
call fcn.1000d870
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x10], eax
jmp 0x10026c5c
cmp eax, 0xf
ja 0x10026c5c
cmp ecx, 0xf
jbe 0x10026c5c
mov ecx, dword [edi]
lea eax, [edx + 1]
push eax
push ecx
push edi
mov dword [ebp - 0x38], ecx
call fcn.1017c530
mov ecx, dword [edi + 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x38]
inc ecx
cmp ecx, 0x1000
jb 0x10026c4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026eb0
mov eax, edx
push ecx
push eax
call fcn.10178716
add esp, 8
mov dword [edi + 0x14], 0xf
lea ecx, [ebp - 0x34]
mov dword [esi + 0x228], 0
call fcn.100173f0
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.10027120
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x10026cb2
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026ca8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026eb0
push ecx
push edx
call fcn.10178716
add esp, 8
push 8
call fcn.1002aa88
add esp, 4
test eax, eax
je 0x10026ccb
mov dword [eax], esi
mov dword [eax + 4], 0x100267e0
jmp 0x10026ccd
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
push ecx
push 0
push eax
push 0x10028550
push 0
push 0
call fcn.101877ff
add esp, 0x18
mov dword [ebp - 0x40], eax
test eax, eax
je 0x10026ecd
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x10026eb5
push ecx
push eax
call fcn.1017baac
add esp, 8
test eax, eax
jne 0x10026ebc
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x100278a0
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x3c], edi
call fcn.10028430
add esp, 0xc
mov edi, eax
lea ecx, [esi + 0x230]
mov byte [ebp - 4], 8
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x10026d68
mov eax, dword [edi]
mov dword [edi], 0
mov dword [edx], eax
mov byte [edx + 4], 1
add dword [ecx + 4], 8
jmp 0x10026d6f
push edi
push edx
call fcn.1000dbe0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10026d98
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10026d98
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x10026d92
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x10026d96
mov eax, dword [ecx]
push 1
call dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0xb0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0x10027500
call fcn.1002aa88
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 9
test edi, edi
je 0x10026dea
push 0xb0
push 0
push edi
call fcn.1017cab0
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.10028740
mov edi, eax
jmp 0x10026dec
xor edi, edi
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x20], 0
mov byte [ebp - 4], 0xa
test edi, edi
je 0x10026ec3
mov dword [ebp - 0x1c], edi
lea ecx, [edi + 4]
mov byte [ebp - 0x18], 1
lock inc dword [ecx]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x10026e2d
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10026e25
mov eax, dword [ecx]
push edi
jmp 0x10026e2b
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov byte [ebp - 4], 0xb
mov ecx, dword [esi + 0x234]
cmp ecx, dword [esi + 0x238]
je 0x10026e51
mov dword [ecx], edi
mov byte [ecx + 4], 1
add dword [esi + 0x234], 8
jmp 0x10026b08
lea edx, [ebp - 0x1c]
push edx
push ecx
lea ecx, [esi + 0x230]
call fcn.1000dbe0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10026b08
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10026b08
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x10026e8d
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x10026b08
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x10026b08
call fcn.1018001f
push 1
call fcn.1017b718
push 1
call fcn.1017b718
mov ecx, 4
call fcn.10010de0
push 6
mov dword [ebp - 0x3c], 0
call fcn.1017b718
int3