Function at 0x43b8e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov esi, dword [edi]
mov byte [ecx], al
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ebx
cmp byte [edi + 0x25a], al
je 0x43b933
mov byte [ecx], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [esp + 0x10], 0x493e0
mov eax, 0x10624dd3
mul ecx
mov eax, edx
mov edx, dword [esi + 0x208]
shr eax, 6
mov dword [esp + 0x20], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov ecx, 1
mov dword [esp + 0x1c], eax
xor eax, eax
test edx, edx
cmovg eax, ecx
mov ecx, dword [esi + 0x20c]
test ecx, ecx
jle 0x43b984
or eax, 2
dec eax
je 0x43b9a0
dec eax
je 0x43b99a
dec eax
jne 0x43b9a4
cmp edx, ecx
mov eax, ecx
cmovl eax, edx
mov dword [esp + 0x10], eax
jmp 0x43b9a4
mov dword [esp + 0x10], ecx
jmp 0x43b9a4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esi + 0x508]
sub esi, dword [esp + 0x20]
sub ecx, dword [eax + 0x50c]
mov eax, 0x10624dd3
imul ecx
imul eax, esi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
je 0x43bcff
test ecx, ecx
js 0x43bcff
xor esi, esi
nop
mov eax, esi
xor eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [edi + esi*4 + 0x15c]
cmp eax, 0xffffffff
je 0x43bbad
push 0
push eax
or ecx, 0xffffffff
call fcn.0043d620
add esp, 8
test eax, eax
jne 0x43bac5
mov ecx, dword [esp + 0x1c]
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x270]
imul ecx
mov eax, dword [esp + 0x20]
sub eax, dword [edi + 0x26c]
sar edx, 6
imul eax, eax, 0x3e8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
mov eax, dword [edi + 0x278]
cmp ecx, eax
jl 0x43ba71
push eax
push str.After__ldms_connect_time__move_on__n
push dword [esp + 0x14]
call fcn.0043d920
mov ebx, 0x274c
add esp, 0xc
mov dword [esp + 0x18], ebx
test esi, esi
jne 0x43bb0d
cmp dword [edi + 0x54], esi
jne 0x43bb0d
mov ecx, dword [esp + 0x1c]
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x270]
imul ecx
mov eax, dword [esp + 0x20]
sub eax, dword [edi + 0x26c]
sar edx, 6
imul eax, eax, 0x3e8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
cmp ecx, 0xc8
jl 0x43bb0d
push 1
mov ecx, edi
call fcn.0043b4e0
add esp, 4
jmp 0x43bb0d
cmp eax, 2
jne 0x43baf5
mov ecx, dword [edi + esi*4 + 0x15c]
lea edx, [esp + 0x18]
call fcn.0043b470
test al, al
jne 0x43bbf9
push str.Connection_failed_n
push dword [esp + 0x10]
call fcn.0043d920
add esp, 8
jmp 0x43bb09
test al, 4
je 0x43bb0d
mov ecx, dword [edi + esi*4 + 0x15c]
lea edx, [esp + 0x18]
call fcn.0043b470
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x43bbad
mov eax, dword [esp + 0xc]
push ebx
mov dword [eax + 0x85d4], ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [edi + esi*4 + 0x50]
test ecx, ecx
je 0x43bbad
mov eax, dword [ecx + 4]
sub eax, 2
jne 0x43bb4a
mov ecx, dword [ecx + 0x18]
lea edx, [esp + 0x2c]
add ecx, 4
push 0x2e
call fcn.0044dfc0
add esp, 4
mov edx, ebx
mov ecx, edi
call fcn.0044e730
push eax
push dword [edi + 0xb0]
lea eax, [esp + 0x34]
push eax
push str.connect_to__s_port__ld_failed:__s_n
push dword [esp + 0x1c]
call fcn.0043d920
mov eax, dword [edi + esi*4 + 0x50]
add esp, 0x14
cmp dword [eax + 0x1c], 0
mov eax, dword [esp + 0x10]
je 0x43bb83
cdq
sub eax, edx
sar eax, 1
push esi
mov ecx, edi
mov dword [edi + 0x278], eax
call fcn.0043b4e0
add esp, 4
cmp eax, 7
jne 0x43bba7
mov ecx, dword [esp + 0x24]
cmp dword [edi + ecx*4 + 0x15c], 0xffffffff
jne 0x43bbad
mov dword [esp + 0x14], eax
jmp 0x43bbb1
mov eax, dword [esp + 0x14]
inc esi
cmp esi, 2
jl 0x43b9f0
test eax, eax
je 0x43bd15
cmp dword [edi + 0x54], 0
jne 0x43bbe1
push 1
mov ecx, edi
call fcn.0043b4e0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x43b91f
cmp byte [edi + 0x253], 0
je 0x43bcc1
mov esi, dword [edi + 0xa8]
jmp 0x43bcc7
mov eax, dword [edi + esi*4 + 0x15c]
mov ebx, dword [esp + 0x24]
mov dword [edi + 0x154], eax
mov eax, dword [edi + esi*4 + 0x50]
mov dword [edi + 0x4c], eax
mov dword [edi + esi*4 + 0x15c], 0xffffffff
mov edx, dword [edi + ebx*4 + 0x15c]
cmp edx, 0xffffffff
je 0x43bc3a
mov ecx, edi
call fcn.0043c460
mov dword [edi + ebx*4 + 0x15c], 0xffffffff
mov ecx, edi
call fcn.00437dc0
test eax, eax
jne 0x43bd15
mov ecx, dword [esp + 0x28]
mov byte [edi + 0x25a], 1
mov byte [ecx], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0xc]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
push dword [ebx + 0x50c]
shr edx, 6
push dword [ebx + 0x508]
imul eax, edx, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
push eax
push edx
call fcn.0043e2c0
add esp, 0x10
movsd qword [ebx + 0x4d8], xmm0
mov edx, dword [edi + 0x154]
mov ecx, edi
call fcn.0043b6f0
mov ecx, edi
call fcn.00437e60
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x98]
mov edx, ebx
mov ecx, edi
call fcn.0044e730
push eax
push dword [edi + 0xb0]
push esi
push str.Failed_to_connect_to__s_port__ld:__s
push dword [esp + 0x1c]
call fcn.0043d9e0
mov eax, dword [esp + 0x28]
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
push str.Connection_time_out
push dword [esp + 0x10]
call fcn.0043d9e0
add esp, 8
mov eax, 0x1c
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret