Function at 0x4192e0
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a3dfc
mov eax, dword fs:[0]
push eax
sub esp, 0xdc0
mov eax, dword [0x601018]
xor eax, esp
mov dword [esp + 0xdb8], eax
push ebx
push esi
push edi
mov eax, dword [0x601018]
xor eax, esp
push eax
lea eax, [esp + 0xdd0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
lea ebx, [esi + 0xd938]
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x2c]
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 1
cmp dword [esp + 0x1c], ebx
jge 0x4193be
push str.connection_component_is_not_running__check_configuration
mov eax, 0x112ba
lea ecx, [esp + 0x88]
call fcn.005064b0
xor ecx, ecx
mov dword [esp + 0xdd8], ecx
mov ebx, dword [esp + 0x10]
mov dword [eax + 0x110], ecx
push edi
lea edx, [esi + 0x43c]
mov ecx, eax
call fcn.0042c010
lea esi, [esp + 0x84]
mov edi, eax
mov dword [esp + 0xdd8], 0xffffffff
call fcn.00506520
mov eax, edi
jmp 0x4199ee
push 0
push 0
lea eax, [esi + 0x38e4]
push 0
push 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x4193f5
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push 0x60ed8a
mov ecx, edi
mov dword [esp + 0xddc], ebx
call fcn.004fc850
test eax, eax
jns 0x419410
xor eax, eax
jmp 0x419419
push eax
push edi
mov edx, ebx
call fcn.004fcb20
mov ebx, dword [esi + 0x438]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x105c]
test eax, eax
je 0x419434
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [ebx + 0x1060]
jns 0x419446
mov dword [ebx + 0x1060], 0
mov edx, dword [ebx + 0x1060]
mov ebx, dword [ebx + 0x105c]
mov dword [esp + 0x1c], edx
test ebx, ebx
je 0x419461
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x186c]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
push 1
mov dword [esp + 0x5c], ecx
push edi
mov ecx, str.request.connect
mov dword [esp + 0x5c], 1
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x68], 0
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call fcn.004fd0e0
push 0x5bc564
lea ecx, [esp + 0x9c8]
push ecx
push 0x60e4da
mov ecx, 0x400
mov edx, edi
mov dword [esp + 0x70], eax
call fcn.004fd530
mov edi, str.notice.
lea ebx, [esp + 0x9c4]
call fcn.00401670
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
xor edi, edi
cmp eax, edi
je 0x41951f
cmp eax, 1
je 0x41951f
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push eax
push str.request_has_an_invalid_number_of_request_blocks___d_
push 0x112aa
add ecx, 0x43c
push esi
call fcn.0042c130
add esp, 0x10
jmp 0x4199df
mov esi, dword [esp + 0x14]
push 0x60e4fc
mov ecx, esi
call fcn.004fc850
cmp eax, edi
jge 0x4195b0
mov esi, dword [sym.imp.icuuc51.dll_u_strlen_51]
push 0x60e380
call esi
add esp, 4
xor ecx, ecx
mov word [esp + 0x1c4], cx
lea ecx, [esp + 0x1c4]
mov edx, 0x60e380
lea eax, [eax*2 + 0x60e380]
cmp edx, eax
jae 0x419598
mov bx, word [edx]
mov word [ecx], bx
add ecx, 2
lea ebx, [esp + 0x9c0]
add edx, 2
cmp ecx, ebx
jb 0x419560
cmp edx, eax
jae 0x419598
movzx eax, word [edx]
mov edx, eax
and edx, 0xfffffc00
cmp edx, 0xd800
je 0x419598
mov word [ecx], ax
add ecx, 2
xor eax, eax
mov word [ecx], ax
lea ecx, [esp + 0x1c4]
push ecx
call esi
mov esi, dword [esp + 0x18]
add esp, 4
jmp 0x4195c5
push 0x400
lea edx, [esp + 0x1c8]
push edx
push 1
push esi
call fcn.004fae30
mov eax, dword [esp + 0x50]
push eax
mov eax, 0x60e4fc
call fcn.004fd080
mov eax, dword [esp + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push eax
mov dword [esp + 0x30], eax
call ebx
mov esi, dword [esp + 0x30]
push esi
mov byte [esp + 0xddc], 2
call ebx
mov ebx, dword [esi + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, edi
je 0x419629
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x6c]
push str.connection_is_shutting_down
push 0x112ab
add ecx, 0x43c
push edx
call fcn.0042c130
add esp, 0xc
jmp 0x4196a8
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x18]
lea eax, [esi + 0xd9d8]
lea edx, [esp + 0x50]
mov byte [esp + 0xdd8], 3
mov dword [esp + 0x30], eax
call fcn.00538310
lea ecx, [esp + 0x3c]
mov dword [eax], ecx
cmp dword [esi + 0xd9f8], edi
jne 0x4196e5
cmp dword [esp + 0x64], edi
jne 0x4196e5
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
push str.not_connected
push 0x112f6
lea ecx, [esi + 0x43c]
push edx
call fcn.0042c130
add esp, 0xc
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x50]
call fcn.0041a240
lea eax, [esp + 0x28]
call fcn.004332f0
mov byte [esp + 0xdd8], 1
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp word [esp + 0x1c4], 0
je 0x41999e
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c4]
push eax
mov ebx, 0x60e4fc
call fcn.004fcf10
jmp 0x4199bb
mov eax, dword [esp + 0x54]
cmp eax, 2
jne 0x419806
mov eax, dword [esp + 0x40]
mov ebx, dword [esi + 0x1884]
push eax
imul ebx, ebx, 0x3e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, edi
jle 0x419715
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
jmp 0x41971c
mov edx, dword [esp + 0x3c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
cmp ebx, 0x102
sete al
cmp dword [esp + 0x54], 2
jne 0x4196e5
cmp eax, edi
je 0x4196e5
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x7c]
push ecx
call ebx
test eax, eax
jne 0x419761
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
lea edx, [esp + 0x34]
push edx
call ebx
test eax, eax
jne 0x419778
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
jmp 0x419780
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x44]
mov edx, dword [0x61023c]
sbb eax, dword [esp + 0x48]
push edx
mov edx, dword [0x610238]
push edx
push eax
push ecx
call fcn.00596bf0
mov ebx, eax
cmp ebx, dword [esi + 0x1878]
jle 0x4196e5
add esi, 0xd9fc
push 0x112ac
push str.ERROR__d:
mov dword [esi + 0x114], 1
mov dword [esi + 0x118], 0x112ac
call fcn.00506600
add esp, 8
push str.timeout_waiting_for_response_from_the_server
mov eax, esi
mov byte [esi + 0x11c], 0
call fcn.00506660
push ebx
push str.sec_elapsed
push str._s___d_
call fcn.00506600
mov esi, dword [esp + 0x24]
add esp, 0xc
jmp 0x4196e5
cmp eax, 1
jne 0x419692
mov eax, dword [esi + 0xdb10]
lea ebx, [esi + 0xd9fc]
cmp eax, edi
je 0x41982b
cmp dword [ebx + 0x118], edi
jne 0x419991
cmp dword [esi + 0xd9f8], edi
jne 0x419861
cmp eax, edi
je 0x41983f
cmp dword [ebx + 0x118], edi
jne 0x419855
push esi
call fcn.00419a30
mov ecx, esi
call fcn.00419e30
mov edi, esi
call fcn.00419f60
xor edi, edi
cmp dword [esi + 0xd9f8], edi
je 0x419984
cmp dword [ebx + 0x114], edi
je 0x419875
cmp dword [ebx + 0x118], edi
jne 0x419984
cmp dword [esp + 0x58], edi
jle 0x419984
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x419896
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp dword [esp + 0x4c], 1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xd9e8], ecx
mov dword [esi + 0xd9ec], edx
mov dword [esp + 0x10], edi
jne 0x4198ff
mov eax, dword [esp + 0x70]
cmp eax, edi
je 0x4198d8
push eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x74]
lea ecx, [esi + 0xd968]
push ecx
call fcn.00433a50
add esp, 0xc
jmp 0x419917
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x41991b
mov edx, dword [esp + 0x6c]
add esi, 0xd968
push esi
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.00433b70
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x419917
lea edx, [esp + 0x10]
push edx
lea eax, [esi + 0xd968]
push eax
mov eax, dword [esp + 0x74]
call fcn.00433a10
add esp, 8
cmp eax, edi
je 0x41995c
push 0x112ad
push str.ERROR__d:
mov esi, ebx
mov dword [ebx + 0x114], 1
mov dword [ebx + 0x118], 0x112ad
call fcn.00506600
add esp, 8
push str.unable_to_send_request
mov eax, ebx
mov byte [ebx + 0x11c], 0
call fcn.00506660
mov esi, dword [esp + 0x18]
jmp 0x419984
cmp dword [esp + 0x5c], edi
jne 0x419692
add dword [esi + 0x28a0], 1
mov eax, dword [esp + 0x10]
cdq
adc dword [esi + 0x28a4], edi
add dword [esi + 0x28b0], eax
adc dword [esi + 0x28b4], edx
mov ecx, dword [esi + 0x38fc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esp + 0x54], 2
jmp 0x4196e5
mov ecx, dword [esp + 0x14]
push 0x60e4fc
call fcn.004fc850
test eax, eax
js 0x4199bb
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004fb0a0
mov esi, dword [esp + 0x14]
push 0x60ee80
mov ecx, esi
call fcn.004fc850
test eax, eax
jns 0x4199d3
xor esi, esi
jmp 0x4199e1
push eax
push esi
mov edx, 1
call fcn.004fcb20
mov esi, eax
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0xdd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xdb8]
xor ecx, esp
call fcn.00596083
mov esp, ebp
pop ebp
ret 0xc