Function at 0x448f10
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482612
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x4a7ea0]
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 [0x4ab080], 0
jne 0x448f71
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 0x4491b8
lea ecx, [ebp - 0x8e8]
call fcn.004203d0
push dword [edi + 0x114]
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], 0
push 0x4ab080
push str._s_d.cnr
push eax
call fcn.00452c8a
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 0x448fa4
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x894]
call fcn.00425970
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00420560
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00425a30
test esi, esi
je 0x4491a2
lea ecx, [ebp - 0x8e8]
call fcn.00420450
push dword [edi + 0x114]
lea eax, [ebp - 0x45c]
push 0x4ab080
push str._s_d.cng
push eax
call fcn.00452c8a
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.00425970
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00420750
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
sete bl
call fcn.00425a30
test bl, bl
je 0x4490cf
mov edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x114], 0xffffffff
je 0x4491d4
cmp esi, 0x32
je 0x4491d4
lea eax, [ebp - 0x45c]
inc esi
push eax
lea ecx, [ebp - 0x894]
call fcn.00425970
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00420750
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
sete bl
call fcn.00425a30
test bl, bl
jne 0x449070
push 4
lea esi, [edi + 0x104]
push esi
lea ecx, [ebp - 0x8e8]
call fcn.00420890
lea ecx, [ebp - 0x8e8]
call fcn.00420450
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x894]
call fcn.00425970
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 4
push eax
call fcn.00420580
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
call fcn.00425a30
push dword [esi]
lea eax, [ebp - 0x45c]
push 0x4ab080
push str._s_d.buf
push eax
call fcn.00452c8a
add esp, 0x10
lea eax, [ebp - 0x45c]
lea ecx, [ebp - 0x894]
push eax
call fcn.00425970
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.00420650
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
sete bl
call fcn.00425a30
test bl, bl
je 0x44920a
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.004203f0
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.004520a4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x894]
call fcn.00425970
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 3
push eax
call fcn.00420580
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
call fcn.00425a30
jmp 0x4491a2
push dword [esi]
lea eax, [ebp - 0x74]
push str._d.sok
push eax
call fcn.00452c8a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.00426fe0
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 0x4491a4