Function at 0x10043100
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x1006de68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1fc], 1
lea eax, [ebp - 0x1e4]
push eax
call fcn.1002e7d0
add esp, 4
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x1f8], edx
cmp dword [ebp - 0x1f8], 0x100
jae 0x10043148
jmp 0x1004314d
call fcn.10059a86
mov eax, dword [ebp - 0x1f8]
mov byte [ebp + eax - 0x104], 0
mov dword [ebp - 0x1f0], 0xffffffff
mov dword [ebp - 0x1ec], 0xffffffff
mov dword [ebp - 0x1f4], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x200], edx
push 0x10
push 0
lea eax, [ebp - 0x194]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x100431ac
or eax, 0xffffffff
jmp 0x100434e9
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002e7d0
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x100431cf
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR120.dll_strlen
add esp, 4
cmp eax, 0x20
jb 0x10043233
mov eax, dword [ebp + 0x10]
push eax
push 0x7e4
push 2
call fcn.1002ed90
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x100431ff
push 0x1006bd20
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 8
jmp 0x1004321a
push 0x20
mov edx, dword [ebp + 0xc]
push edx
push str.Service_name__40.40s...__nexceeds_max_length_of__d
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
mov dword [ebp - 0x1ec], 0x3f0
mov dword [ebp - 0x1e8], 0xffffffff
jmp 0x1004349d
cmp dword [ebp + 8], 0
je 0x1004324a
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR120.dll_strlen
add esp, 4
cmp eax, 0x20
jb 0x100432ae
mov edx, dword [ebp + 0x10]
push edx
push 0x7e5
push 2
call fcn.1002ed90
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x1004327a
push str.Empty_node_name_supplied
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 8
jmp 0x10043295
push 0x20
mov ecx, dword [ebp + 8]
push ecx
push str.Node_name__40.40s...__nexceeds_max_length_of__d
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
mov dword [ebp - 0x1ec], 0x3f0
mov dword [ebp - 0x1e8], 0xffffffff
jmp 0x1004349d
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x194]
push ecx
lea edx, [ebp - 0x1e8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10045dc0
add esp, 0x14
test eax, eax
je 0x10043307
mov edx, dword [ebp + 0x10]
push edx
push 0x7e6
push 2
call fcn.1002ed90
add esp, 0xc
push 0
mov eax, dword [ebp - 0x1e8]
push eax
call fcn.10044b40
add esp, 8
mov dword [ebp - 0x1e8], 0xffffffff
jmp 0x1004349d
call dword [sym.imp.MSVCR120.dll__errno]
mov dword [eax], 0
push 0x10
lea ecx, [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x1e8]
push edx
call sub.WSOCK32.dll_connect
test eax, eax
jge 0x100433ed
push 0x105a3eb0
call dword [sym.imp.MSVCR120.dll__errno]
push eax
call fcn.10046a60
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [0x105a3eb0]
push ecx
push 1
call fcn.1002ed90
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push 0x7eb
push 2
call fcn.1002ed90
add esp, 0xc
call dword [sym.imp.MSVCR120.dll__errno]
mov eax, dword [eax]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.failed_to_connect_to__s_error__d_n
lea edx, [ebp - 0x184]
push edx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1ec], 0x3f0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.Failed_to_connect_to_service__s_on_node__s
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
push 0
mov edx, dword [ebp - 0x1e8]
push edx
call fcn.10044b40
add esp, 8
mov dword [ebp - 0x1e8], 0xffffffff
jmp 0x1004349d
lea eax, [ebp - 0x1fc]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0x1e8]
push ecx
call fcn.10044c20
add esp, 0xc
test eax, eax
jge 0x1004349d
push 0x105a3eb0
call dword [sym.imp.MSVCR120.dll__errno]
push eax
call fcn.10046a60
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [0x105a3eb0]
push eax
push 1
call fcn.1002ed90
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
push 0x7ec
push 2
call fcn.1002ed90
add esp, 0xc
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f0], edx
lea eax, [ebp - 0x194]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1ec], 0x3f0
push str.Failed_setting_up_non_blocking_IO
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 8
push 0
mov edx, dword [ebp - 0x1e8]
push edx
call fcn.10044b40
add esp, 8
mov dword [ebp - 0x1e8], 0xffffffff
cmp dword [ebp - 0x1ec], 0
jle 0x100434e3
lea eax, [ebp - 0x1e4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x204]
push ecx
mov edx, dword [ebp - 0x1f4]
push edx
mov eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 0x1ec]
push ecx
call fcn.1001d030
add esp, 0x20
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10059cde
mov esp, ebp
pop ebp
ret