Function at 0x419550
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4408b0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x45a264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 0
push 0x450334
lea ecx, [ebp - 0x58]
call fcn.00403700
xor ecx, ecx
mov word [ebp - 0x68], cx
mov dword [ebp - 0x6c], 0xffffffff
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x5d], 0
mov dword [ebp - 0x40], pe_nt_image_headers32
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x34], 6
mov dword [ebp - 0x38], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0041a3a0
add esp, 8
push eax
lea ecx, [ebp - 0x58]
call fcn.004043c0
lea ecx, [ebp - 0x9c]
call fcn.00403ff0
lea edx, [ebp + 8]
push edx
call fcn.0041ad80
add esp, 4
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
push ecx
push 0
lea ecx, [ebp - 0x58]
call fcn.00405c70
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x2afa
je 0x41962c
cmp dword [ebp - 0x70], 0
je 0x419680
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x7c], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00403ff0
lea ecx, [ebp + 8]
call fcn.00403ff0
mov eax, dword [ebp - 0x7c]
jmp 0x419792
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
jmp 0x419691
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
je 0x41970f
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffff
jne 0x4196bd
jmp 0x419688
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
movzx ecx, word [ebp - 0x68]
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x10
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.WSOCK32.dll_connect]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x419704
jmp 0x419688
mov byte [ebp - 0x5d], 1
jmp 0x41970f
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
movzx edx, byte [ebp - 0x5d]
test edx, edx
jne 0x41973d
mov dword [ebp - 0x80], 0xfffffffe
lea ecx, [ebp - 0x58]
call fcn.00403ff0
lea ecx, [ebp + 8]
call fcn.00403ff0
mov eax, dword [ebp - 0x80]
jmp 0x419792
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x74]
add edx, 8
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
mov dword [edx + 0xc], ecx
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0x18
call fcn.00404400
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x58]
call fcn.00403ff0
lea ecx, [ebp + 8]
call fcn.00403ff0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043de0e
mov esp, ebp
pop ebp
ret 0x18