Function at 0x449030
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4836b2
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [0x4acf20], 0
jne 0x449091
mov eax, dword [edi + 0x110]
push 0x10
add eax, 0x86
push eax
push dword [edi + 0x114]
call sub.WSOCK32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x4492d8
lea ecx, [ebp - 0x8e8]
call fcn.004204c0
push dword [edi + 0x114]
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], 0
push 0x4acf20
push str._s_d.cnr
push eax
call fcn.00453cca
add esp, 0x10
xor ecx, ecx
mov al, byte [ebp + ecx - 0x45c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x845], al
test al, al
jne 0x4490c4
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x894]
call fcn.00425710
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00420650
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004257d0
test esi, esi
je 0x4492c2
lea ecx, [ebp - 0x8e8]
call fcn.00420540
push dword [edi + 0x114]
lea eax, [ebp - 0x45c]
push 0x4acf20
push str._s_d.cng
push eax
call fcn.00453cca
add esp, 0x10
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x45c]
xor esi, esi
push eax
lea ecx, [ebp - 0x894]
call fcn.00425710
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00420840
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
sete bl
call fcn.004257d0
test bl, bl
je 0x4491ef
mov edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x114], 0xffffffff
je 0x4492f4
cmp esi, 0x32
je 0x4492f4
lea eax, [ebp - 0x45c]
inc esi
push eax
lea ecx, [ebp - 0x894]
call fcn.00425710
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00420840
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
sete bl
call fcn.004257d0
test bl, bl
jne 0x449190
push 4
lea esi, [edi + 0x104]
push esi
lea ecx, [ebp - 0x8e8]
call fcn.00420980
lea ecx, [ebp - 0x8e8]
call fcn.00420540
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x894]
call fcn.00425710
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 4
push eax
call fcn.00420670
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
call fcn.004257d0
push dword [esi]
lea eax, [ebp - 0x45c]
push 0x4acf20
push str._s_d.buf
push eax
call fcn.00453cca
add esp, 0x10
lea eax, [ebp - 0x45c]
lea ecx, [ebp - 0x894]
push eax
call fcn.00425710
push 0x10000080
push 3
push 3
push 0xc0000000
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0xb1]
call fcn.00420740
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
sete bl
call fcn.004257d0
test bl, bl
je 0x44932a
push 0x12030
push str.Local_Socket_Error
push str.Unable_to_connect_to_socket_buffer.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor esi, esi
lea ecx, [ebp - 0x8e8]
mov dword [ebp - 4], 0xffffffff
call fcn.004204e0
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 - 0x10]
xor ecx, ebp
call fcn.004530e4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x894]
call fcn.00425710
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 3
push eax
call fcn.00420670
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
call fcn.004257d0
jmp 0x4492c2
push dword [esi]
lea eax, [ebp - 0x74]
push str._d.sok
push eax
call fcn.00453cca
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.00426d80
add esp, 0x14
lea eax, [ebp - 0x45c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x10c], eax
mov esi, 1
jmp 0x4492c4