Function at 0x437c04
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437efb
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x437f14
mov dl, 8
mov eax, dword [ebp - 4]
call sym.RouletteGroup.exe__Psock_TPowersock_StatusMessage_qqruc17System_AnsiString
mov eax, dword [ebp - 4]
mov byte [eax + 0x10088], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10290], 0
je 0x437c5e
mov ecx, 0x437f28
mov dl, 1
mov eax, dword [sym.RouletteGroup.exe__Psock_ESockError_]
call fcn.004b35b8
call fcn.004b82b8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x437c83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sym.RouletteGroup.exe__Psock_TPowersock_ResolveRemoteHost_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x437cbe
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10260], 0
jne 0x437d42
cmp dword [ebp - 8], 0
jle 0x437ce8
mov ecx, 0x437f84
mov dl, 1
mov eax, dword [sym.RouletteGroup.exe__Psock_ESockError_]
call fcn.004b35b8
call fcn.004b82b8
jmp 0x437d42
mov eax, dword [ebp - 4]
cmp word [eax + 0x1005a], 0
jne 0x437d0d
mov ecx, 0x437f84
mov dl, 1
mov eax, dword [sym.RouletteGroup.exe__Psock_ESockError_]
call fcn.004b35b8
call fcn.004b82b8
jmp 0x437d42
mov byte [ebp - 9], 0
lea edx, [ebp - 9]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1005c]
call dword [ebx + 0x10058]
cmp byte [ebp - 9], 0
jne 0x437d3f
mov ecx, 0x437f84
mov dl, 1
mov eax, dword [sym.RouletteGroup.exe__Psock_ESockError_]
call fcn.004b35b8
call fcn.004b82b8
inc dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10260], 0
je 0x437c63
mov eax, dword [ebp - 4]
mov word [eax + 0x1025c], 2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1009c], 0
jne 0x437d86
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x100ac]
push eax
call sub.WSOCK32.DLL_htons
mov edx, dword [ebp - 4]
mov word [edx + 0x1025e], ax
jmp 0x437da0
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x100a0]
push eax
call sub.WSOCK32.DLL_htons
mov edx, dword [ebp - 4]
mov word [edx + 0x1025e], ax
mov eax, dword [ebp - 4]
mov byte [eax + 0x100c8], 0
mov eax, 0x10
mov edx, dword [ebp - 4]
mov byte [edx + 0x100a8], 1
push eax
mov eax, dword [ebp - 4]
add eax, 0x1025c
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10288]
push eax
call sub.WSOCK32.DLL_connect
inc eax
jne 0x437de5
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call sym.RouletteGroup.exe__Psock_TPowersock_ErrorManager_qqrus
mov eax, dword [ebp - 4]
call sym.RouletteGroup.exe__Psock_TPowersock_TimerOn_qqrv
push 2
call sub.KERNEL32.DLL_Sleep
mov eax, dword [0x4f0650]
mov eax, dword [eax]
call fcn.0047bbb0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10290], 0
jne 0x437e30
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100a9], 0
jne 0x437e30
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
jne 0x437e30
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100a8], 0
jne 0x437ded
mov eax, dword [ebp - 4]
call sym.RouletteGroup.exe__Psock_TPowersock_TimerOff_qqrv
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100a9], 0
jne 0x437e60
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
jne 0x437e60
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100a8], 0
jne 0x437ee5
mov eax, dword [ebp - 4]
cmp word [eax + 0x1007a], 0
je 0x437e7f
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1007c]
call dword [ebx + 0x10078]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100a9], 0
je 0x437ea1
mov ecx, 0x437fa0
mov dl, 1
mov eax, dword [sym.RouletteGroup.exe__Psock_ESockError_]
call fcn.004b35b8
call fcn.004b82b8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x437ec3
mov ecx, 0x437fc0
mov dl, 1
mov eax, dword [sym.RouletteGroup.exe__Psock_ESockError_]
call fcn.004b35b8
call fcn.004b82b8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100a8], 0
jne 0x437ee5
mov ecx, 0x437fdc
mov dl, 1
mov eax, dword [sym.RouletteGroup.exe__Psock_ESockError_]
call fcn.004b35b8
call fcn.004b82b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437f02
lea eax, [ebp - 0x10]
call fcn.004b87bc
ret