Function at 0x469ce0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x1e0
mov eax, dword [0x80100c]
xor eax, esp
mov dword [esp + 0x1dc], eax
mov ecx, dword [esp + 0x1e8]
mov eax, dword [esp + 0x1e4]
push ebp
push esi
mov esi, dword [ebx]
lea edx, [esp + 8]
push edx
mov dword [ebx + ecx*4 + 0x428], 0xffffffff
lea ecx, [esp + 0x28]
push ecx
push eax
push ebx
mov dword [esp + 0x20], 0
call fcn.00469b00
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x46a077
mov ecx, dword [esp + 0x30]
push edi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xbc]
push eax
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00469480
add esp, 0x10
test eax, eax
jne 0x469da1
call fcn.00566f79
mov edi, eax
call fcn.00566f79
mov ecx, dword [edi]
mov ebp, eax
push 0x100
lea eax, [esp + 0xec]
push eax
push ecx
call fcn.00491d10
mov edx, dword [ebp]
push eax
push edx
push 0x74d32c
push esi
call fcn.00463c60
mov eax, dword [esp + 0x28]
push eax
push ebx
call fcn.00469a70
add esp, 0x24
jmp 0x46a074
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0xbc]
push edx
push 0x74d318
push esi
call fcn.00463b80
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
add esp, 0x10
cmp eax, 2
je 0x469dd2
cmp eax, 0x17
jne 0x469eba
mov eax, 1
cmp dword [esp + 0x2c], eax
jne 0x469eba
cmp dword [esi + 0xc08], 0
mov dword [esp + 0xc], eax
je 0x469df9
push ebx
mov ecx, edi
call fcn.00469900
add esp, 4
push edi
call fcn.00469980
add esp, 4
cmp dword [esp + 0xc], 0
je 0x469e17
cmp dword [esi + 0xc28], 0
je 0x469e17
call fcn.00468c80
cmp dword [esi + 0x620], 0
je 0x469e5a
push 1
push esi
call fcn.00461a20
mov eax, dword [esi + 0x624]
mov ecx, dword [esi + 0x620]
push 0
push edi
push eax
call ecx
push 0
push esi
mov dword [esp + 0x2c], eax
call fcn.00461a20
mov eax, dword [esp + 0x2c]
add esp, 0x1c
cmp eax, 2
jne 0x469ec7
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x28]
cmp eax, 2
je 0x469e6c
cmp eax, 0x17
jne 0x469ef2
lea edx, [esp + 0x38]
push edx
call fcn.004940b0
push eax
mov eax, dword [esp + 0x30]
push eax
push edi
push ebx
call fcn.00468e60
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x469ef2
push edi
push ebx
call fcn.00469a70
add esp, 8
cmp ebp, 1
jne 0x46a04c
pop edi
pop esi
lea eax, [ebp + 6]
pop ebp
mov ecx, dword [esp + 0x1dc]
xor ecx, esp
call fcn.005635df
add esp, 0x1e0
ret
mov dword [esp + 0xc], 0
jmp 0x469df9
test eax, eax
je 0x469e5a
push edi
push ebx
call fcn.00469a70
add esp, 8
pop edi
pop esi
mov eax, 0x2a
pop ebp
mov ecx, dword [esp + 0x1dc]
xor ecx, esp
call fcn.005635df
add esp, 0x1e0
ret
push 1
push edi
call fcn.0048fc00
lea ecx, [esp + 0x20]
push ecx
call fcn.0046d340
mov edx, dword [eax]
mov dword [ebx + 0x5c8], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 0x5cc], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 0x5d0], edx
mov eax, dword [eax + 0xc]
add esp, 0xc
cmp dword [ebx + 0x5d8], 1
mov dword [ebx + 0x5d4], eax
jle 0x469f62
mov ecx, dword [ebx + 0x5e4]
mov edx, dword [ebx + 0x5e0]
push 3
push ecx
push edx
push esi
call fcn.00461770
mov eax, dword [ebx + 0x5ec]
mov ecx, dword [ebx + 0x5e8]
push 4
push eax
push ecx
push esi
call fcn.00461770
add esp, 0x20
cmp dword [esp + 0x14], 0
jne 0x46a066
cmp dword [ebx + 0x2f8], 4
je 0x46a066
cmp dword [ebx + 0x5a4], 0
jne 0x469f9d
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x46a03a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0xb
je 0x46a010
cmp ebp, 0x2732
jle 0x469fba
cmp ebp, 0x2734
jle 0x46a010
push 0x100
lea ecx, [esp + 0xec]
push ecx
push ebp
call fcn.00491d10
push eax
lea edx, [esp + 0xc8]
push edx
push 0x74d2f4
push esi
call fcn.00463b80
push edi
push ebx
mov dword [esi + 0xeb4], ebp
call fcn.00469a70
add esp, 0x24
pop edi
mov ebp, 7
pop esi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x1dc]
xor ecx, esp
call fcn.005635df
add esp, 0x1e0
ret
mov eax, dword [esp + 0x1f4]
mov dword [ebx + eax*4 + 0x428], edi
pop edi
xor ebp, ebp
pop esi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x1dc]
xor ecx, esp
call fcn.005635df
add esp, 0x1e0
ret
test ebp, ebp
jne 0x46a04c
mov eax, dword [esp + 0x1f4]
mov dword [ebx + eax*4 + 0x428], edi
pop edi
pop esi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x1dc]
xor ecx, esp
call fcn.005635df
add esp, 0x1e0
ret
mov ecx, dword [esp + 0x1f4]
mov dword [ebx + ecx*4 + 0x428], edi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1e4]
pop esi
pop ebp
xor ecx, esp
call fcn.005635df
add esp, 0x1e0
ret