Function at 0x433cd0
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x38
mov eax, dword [0x47d874]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2c]
xor ebp, ebp
cmp ecx, ebp
push edi
mov edi, dword [esp + 0x4c]
je 0x433d05
mov edx, dword [esp + 0x50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push edx
push edi
call eax
mov ebx, eax
jmp 0x433fe9
mov eax, dword [esi + 0xc]
cmp eax, 2
jne 0x433d96
call dword [0x47d608]
xor eax, eax
mov dword [esp + 0x34], eax
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov word [esp + 0x38], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x38], eax
jne 0x433d63
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebp
je 0x433d58
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x38], eax
jmp 0x433d63
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 4]
push 0x10
lea edx, [esp + 0x38]
push edx
mov word [esp + 0x3e], ax
call fcn.004469d0
push eax
call dword [sym.imp.WS2_32.dll_connect]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
jmp 0x433fe9
cmp eax, 0x17
je 0x433da3
cmp eax, ebp
jne 0x433fe5
cmp dword [0x480000], ebp
jne 0x433dcd
push 0x273b
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0044e472
add esp, 0x38
ret 8
call dword [0x47d608]
mov eax, dword [esi + 0x1c]
push eax
call dword [0x480004]
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0xc]
xor eax, eax
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x46da38
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push 9
push eax
mov dword [esi + 0x20], ebp
mov dword [esi + 0x1c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], ebp
call fcn.00452b01
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
call dword [0x480000]
test eax, eax
jne 0x433db6
mov edi, dword [esp + 0x10]
cmp edi, ebp
mov ebx, dword [esp + 0x10]
je 0x433fa6
nop
cmp dword [esi + 0xc], ebp
jne 0x433e79
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_socket]
jmp 0x433e81
mov ecx, dword [esi + 4]
call fcn.004469d0
cmp eax, 0xffffffff
jne 0x433e8d
xor ebx, ebx
jmp 0x433f97
cmp dword [esi + 0xc], ebp
jne 0x433f55
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
push eax
call fcn.00419550
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push edx
call fcn.00419630
test eax, eax
mov ecx, dword [esi + 4]
jne 0x433ec6
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
xor ebx, ebx
jmp 0x433f97
cmp dword [ecx + 0x38], ebp
je 0x433efe
mov eax, dword [ecx + 8]
push 0x3f
add eax, 0x403
push eax
call fcn.004191d0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
test eax, eax
je 0x433efe
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
xor ebx, ebx
jmp 0x433f97
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x50], ebp
je 0x433f1c
mov eax, dword [ecx + 8]
push ebp
push eax
push 0x402
call fcn.004191d0
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esi + 0xc], ebp
jne 0x433f55
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], eax
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 4]
push edx
push eax
call fcn.004192e0
test eax, eax
jne 0x433f55
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], ebp
mov dword [ecx + 0xc], ebp
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
jmp 0x433f97
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.004469d0
push eax
call dword [sym.imp.WS2_32.dll_connect]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
cmp ebx, ebp
jne 0x433fbe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x433fbe
cmp dword [esp + 0x18], ebp
jne 0x433f97
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
mov dword [esi + 0xc], ebp
call edx
mov edi, dword [edi + 0x1c]
cmp edi, ebp
jne 0x433e60
mov edi, dword [esp + 0x10]
push edi
call dword [0x480004]
mov ecx, dword [esi + 4]
call fcn.004469d0
cmp eax, 0xffffffff
jne 0x433fe9
xor ebx, ebx
jmp 0x433fed
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 4]
mov dword [ecx + 0xc], edx
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x1c]
cmp eax, ebp
mov ebx, 1
je 0x433fa6
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
jmp 0x433fad
mov ebx, dword [esp + 0x10]
cmp ebx, ebp
jne 0x433ffa
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x434003
push 2
mov ecx, esi
call fcn.00433750
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0044e472
add esp, 0x38
ret 8