Function at 0x42b830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4eb0e4]
xor eax, esp
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x88]
xor ecx, ecx
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
xor edi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edx
mov ebp, dword [esi]
mov byte [edx], cl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
cmp byte [eax + esi + 0x285], cl
je 0x42b890
mov byte [edx], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00455dc1
add esp, 0x7c
ret
lea eax, [esp + 0x48]
push eax
call fcn.0041fb80
mov edx, dword [ebp + 0x208]
mov ebx, eax
mov ecx, dword [ebp + 0x20c]
xor eax, eax
add esp, 4
mov dword [esp + 0x14], 0x493e0
test edx, edx
mov dword [esp + 0x10], edi
movups xmm0, xmmword [ebx]
setg al
movups xmmword [esp + 0x38], xmm0
test ecx, ecx
jle 0x42b8cd
or eax, 2
sub eax, 1
je 0x42b8e5
sub eax, 1
je 0x42b8e1
sub eax, 1
jne 0x42b8f0
cmp edx, ecx
cmovl ecx, edx
mov eax, ecx
jmp 0x42b8e7
mov eax, edx
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
movups xmm0, xmmword [ebp + 0x738]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
call fcn.0041fbc0
mov ecx, dword [esp + 0x34]
add esp, 0x20
mov ebx, dword [esp + 0x10]
sub ecx, eax
mov eax, ecx
mov dword [esp + 0x14], ecx
sbb ebx, edx
or eax, ebx
mov dword [esp + 0x10], ebx
je 0x42bc98
test ebx, ebx
jl 0x42bc98
jg 0x42b942
test ecx, ecx
jb 0x42bc98
xor ebx, ebx
mov eax, ebx
xor eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esi + ebx*4 + 0x1b0]
cmp eax, 0xffffffff
je 0x42bb32
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0042eec0
add esp, 0x14
test eax, eax
jne 0x42ba38
mov eax, dword [esi + 0x2b8]
sub esp, 0x10
movups xmm0, xmmword [esi + 0x2a0]
mov dword [esp + 0x34], eax
xor edi, edi
mov eax, dword [esi + 0x2bc]
mov dword [esp + 0x3c], eax
mov eax, esp
sub esp, 0x10
mov dword [esp + 0x3c], edi
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x58]
movups xmmword [eax], xmm0
call fcn.0041fbc0
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [esp + 0x30], eax
cmp edx, ecx
jl 0x42b9e5
mov eax, dword [esp + 0x24]
jg 0x42b9cc
cmp dword [esp + 0x30], eax
jb 0x42b9e5
push ecx
push eax
push str.After__ldms_connect_time__move_on__n
push ebp
call fcn.0042e280
mov edi, 0x274c
add esp, 0x10
mov dword [esp + 0x1c], edi
test ebx, ebx
jne 0x42ba8b
cmp dword [esi + 0x5c], ebx
jne 0x42ba8b
movups xmm0, xmmword [esi + 0x2a0]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x58]
movups xmmword [eax], xmm0
call fcn.0041fbc0
add esp, 0x20
test edx, edx
jl 0x42ba8b
jg 0x42ba27
cmp eax, 0xc8
jb 0x42ba8b
push 1
push dword [esp + 0x24]
push esi
call fcn.0042cbc0
add esp, 0xc
jmp 0x42ba8b
cmp eax, 2
je 0x42ba5d
cmp byte [esi + 0x296], 0
jne 0x42ba5d
test al, 4
je 0x42ba8b
lea eax, [esp + 0x1c]
push eax
push dword [esi + ebx*4 + 0x1b0]
call fcn.0042ccf0
jmp 0x42ba84
lea eax, [esp + 0x1c]
push eax
push dword [esi + ebx*4 + 0x1b0]
call fcn.0042ccf0
add esp, 8
test al, al
jne 0x42bb83
push str.Connection_failed_n
push ebp
call fcn.0042e280
mov edi, dword [esp + 0x24]
add esp, 8
test edi, edi
je 0x42bb32
push edi
mov dword [ebp + 0x48b4], edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esi + ebx*4 + 0x58]
test eax, eax
je 0x42bb32
push 0x2e
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.004210b0
push edi
push esi
call fcn.00418f70
push eax
push dword [esi + 0xfc]
lea eax, [esp + 0x74]
push eax
push str.connect_to__s_port__ld_failed:__s_n
push ebp
call fcn.0042e280
mov eax, dword [esi + ebx*4 + 0x58]
add esp, 0x28
cmp dword [eax + 0x1c], 0
jne 0x42baee
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x42baff
push 0
push 2
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00456820
push ebx
push dword [esp + 0x24]
mov dword [esi + 0x2b8], eax
push esi
mov dword [esi + 0x2bc], edx
call fcn.0042cbc0
add esp, 0xc
cmp eax, 7
jne 0x42bb2c
mov ecx, dword [esp + 0x28]
cmp dword [esi + ecx*4 + 0x1b0], 0xffffffff
jne 0x42bb32
mov dword [esp + 0x18], eax
jmp 0x42bb36
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, 2
jl 0x42b944
test eax, eax
je 0x42bcab
cmp dword [esi + 0x5c], 0
jne 0x42bb6b
push 1
push dword [esp + 0x24]
push esi
call fcn.0042cbc0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x42b87b
cmp byte [esi + 0x27f], 0
je 0x42bc3c
mov ebx, dword [esi + 0xc4]
jmp 0x42bc64
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + ebx*4 + 0x1b0]
mov dword [esi + ecx*4 + 0x1a8], eax
mov eax, dword [esi + ebx*4 + 0x58]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x54], eax
lea edi, [esi + ecx*4]
mov dword [esi + ebx*4 + 0x1b0], 0xffffffff
mov eax, dword [esi + 0x54]
cmp dword [eax + 4], 0x17
sete al
mov byte [esi + 0x283], al
mov eax, dword [edi + 0x1b0]
cmp eax, 0xffffffff
je 0x42bbdd
push eax
push esi
call fcn.0042b4b0
add esp, 8
mov dword [edi + 0x1b0], 0xffffffff
mov ebx, dword [esp + 0x20]
push ebx
push esi
call fcn.00426ea0
add esp, 8
test eax, eax
jne 0x42bcab
mov eax, dword [esp + 0x34]
mov byte [ebx + esi + 0x285], 1
mov byte [eax], 1
test ebx, ebx
jne 0x42bc11
push 4
push ebp
call fcn.0042d130
add esp, 8
push dword [esi + ebx*4 + 0x1a8]
push esi
call fcn.0042c0c0
push esi
call fcn.00427bd0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00455dc1
add esp, 0x7c
ret
cmp byte [esi + 0x27e], 0
je 0x42bc4d
mov ebx, dword [esi + 0xe4]
jmp 0x42bc64
cmp byte [esi + 0x27b], 0
je 0x42bc5e
mov ebx, dword [esi + 0xb4]
jmp 0x42bc64
mov ebx, dword [esi + 0xa0]
push edi
push esi
call fcn.00418f70
push eax
push dword [esi + 0xfc]
push ebx
push str.Failed_to_connect_to__s_port__ld:__s
push ebp
call fcn.0042e150
mov eax, dword [esp + 0x34]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00455dc1
add esp, 0x7c
ret
push str.Connection_time_out
push ebp
call fcn.0042e150
add esp, 8
mov eax, 0x1c
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00455dc1
add esp, 0x7c
ret