Function at 0x1003f630
Capabilities:
Create thread

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 0x1010f391
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xb0
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor al, al
mov byte [ebp - 0xa1], al
mov byte [ebp - 0xa2], al
lea eax, [ebp - 0xa0]
push eax
call fcn.1003ff00
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
jne 0x1003f933
mov byte [ebp - 4], 1
xor ecx, ecx
mov eax, dword [edi + 0x14]
add eax, 0x1c
xchg dword [eax], ecx
mov ecx, edi
call fcn.100403c0
push 0xc
lea esi, [edi + 0xc]
call fcn.100b887b
add esp, 4
mov dword [ebp - 0xb0], eax
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], 0x1003fe60
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x100422c0
push 0
push 0
call fcn.100cba9a
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0xac], ecx
test ecx, ecx
je 0x1003f977
mov byte [ebp - 4], 1
cmp dword [edi + 0xc4], 0
jne 0x1003f962
mov eax, dword [ebp - 0xa8]
mov dword [edi + 0xc4], eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x38]
mov dword [edi + 0xc0], ecx
push eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0x10163ad8
call fcn.10041360
cmp dword [ebp - 0xb4], 0
jne 0x1003f967
push dword [ebp - 0x36]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 0xc8], ax
lea edx, [edi + 0x60]
lea eax, [ebp - 0xa0]
cmp edx, eax
je 0x1003f87f
mov ecx, dword [edx]
lea esi, [edx + 4]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
push edx
add eax, 0x14
add ecx, 0x14
push eax
push esi
call fcn.1003e9b0
mov eax, dword [ebp - 0x80]
movups xmm0, xmmword [ebp - 0x78]
mov dword [esi + 0x1c], eax
mov al, byte [ebp - 0x7c]
mov byte [esi + 0x20], al
mov eax, dword [ebp - 0x60]
movups xmmword [esi + 0x24], xmm0
mov dword [ebp - 0x38], 2
movq xmm0, qword [ebp - 0x68]
movq qword [esi + 0x34], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [ebp - 0x38]
mov dword [esi + 0x3c], eax
lea esi, [edi + 0xa4]
mov dword [ebp - 0x80], 2
movups xmmword [ebp - 0x78], xmm0
mov byte [ebp - 0x7c], 0
movq xmm0, qword [ebp - 0x28]
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 4
cmp dword [esi + 0x10], 0
je 0x1003f82f
mov eax, dword [esi + 0xc]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x4c], 0
je 0x1003f854
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x5c]
push ecx
push esi
call eax
add esp, 8
jmp 0x1003f869
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x18], eax
lea esi, [edi + 0xc]
mov eax, dword [ebp - 0xa0]
mov dword [edi + 0x60], eax
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.10040390
mov dword [ebp - 0xb8], esi
sub esp, 8
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa8]
mov ecx, esp
mov dword [ebp - 0xa8], 0
mov dword [ecx], eax
lea ecx, [ebp - 0xbc]
call fcn.10031170
mov byte [ebp - 4], 0
add esp, 8
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x1003f8d5
mov eax, dword [eax]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 4
mov byte [ebp - 0xa1], 1
jmp 0x1003f933
lea ecx, [ebp - 0xa0]
call fcn.10029d70
mov al, byte [ebp - 0xa1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100cbb2d
mov edx, str.local_endpoint
lea ecx, [ebp - 0xb4]
call fcn.10008cc0
push 6
mov dword [ebp - 0xa8], 0
call fcn.100b6fbf
int3