Function at 0x447d30
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4832b2
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 [0x4ace90], 0
jne 0x447d91
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 0x447fd8
lea ecx, [ebp - 0x8e8]
call fcn.0041f2b0
push dword [edi + 0x114]
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], 0
push 0x4ace90
push str._s_d.cnr
push eax
call fcn.00453b2a
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 0x447dc4
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x894]
call fcn.004248f0
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x8e8]
call fcn.0041f410
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x447fc2
lea ecx, [ebp - 0x8e8]
call fcn.0041f330
push dword [edi + 0x114]
lea eax, [ebp - 0x45c]
push 0x4ace90
push str._s_d.cng
push eax
call fcn.00453b2a
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.004248f0
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8e8]
call fcn.0041f620
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
sete bl
call fcn.004249b0
test bl, bl
je 0x447eef
mov edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x114], 0xffffffff
je 0x447ff4
cmp esi, 0x32
je 0x447ff4
lea eax, [ebp - 0x45c]
inc esi
push eax
lea ecx, [ebp - 0x894]
call fcn.004248f0
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8e8]
call fcn.0041f620
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
sete bl
call fcn.004249b0
test bl, bl
jne 0x447e90
push 4
lea esi, [edi + 0x104]
push esi
lea ecx, [ebp - 0x8e8]
call fcn.0041f760
lea ecx, [ebp - 0x8e8]
call fcn.0041f330
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x894]
call fcn.004248f0
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 4
push eax
call fcn.0041f430
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
call fcn.004249b0
push dword [esi]
lea eax, [ebp - 0x45c]
push 0x4ace90
push str._s_d.buf
push eax
call fcn.00453b2a
add esp, 0x10
lea eax, [ebp - 0x45c]
lea ecx, [ebp - 0x894]
push eax
call fcn.004248f0
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.0041f500
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
sete bl
call fcn.004249b0
test bl, bl
je 0x44802a
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.0041f2d0
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.00452f44
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x894]
call fcn.004248f0
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 3
push eax
call fcn.0041f430
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
call fcn.004249b0
jmp 0x447fc2
push dword [esi]
lea eax, [ebp - 0x74]
push str._d.sok
push eax
call fcn.00453b2a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.00425ee0
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 0x447fc4