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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b926
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x38], esi
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [edi + 0x10], 0
jb 0x437636
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x10], ecx
je 0x4379ed
xorps xmm0, xmm0
push 1
movlpd qword [ebp - 0x18], xmm0
call fcn.0043dbc3
add esp, 4
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push dword [ebp - 0x30]
push eax
call fcn.004389e0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0x18
movlpd qword [ebp - 0x20], xmm0
call fcn.0043dbc3
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [eax + 0x10], 0
push dword [ebp - 0x30]
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x20]
push eax
call fcn.00438a70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], 0x437b80
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4376e9
lock inc dword [ecx + 4]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
test ebx, ebx
je 0x43770b
lock inc dword [ebx + 4]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004016b0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.00439330
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x70], eax
call fcn.00437a80
mov byte [ebp - 4], 5
call fcn.00438180
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 6
cmp dword [eax], 0
jne 0x437791
push str.WorkThread::DoWork__Hwnd_is_NULL
push str.PACProxyHelper
call fcn.004366c0
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x43796d
mov edx, dword [ecx]
lea eax, [ebp - 0x94]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x43796d
push 0x38
call fcn.0043dbc3
add esp, 4
mov dword [ebp - 0x28], eax
lea esi, [eax + 8]
mov dword [eax], 1
push 0
push 0
push 1
push 0
mov dword [esi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x30], eax
lea eax, [ebp - 0x94]
push eax
mov ecx, esi
call fcn.004385f0
mov esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x2c]
add esi, 0xc
push esi
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x24]
push dword [ebp - 0x40]
push eax
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ecx + 0x24]
call fcn.00438b00
push esi
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
push esi
push eax
push 0xbd5
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
jne 0x437868
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WorkThread::DoWork__PostMessage_fail__err_d
push str.PACProxyHelper
call fcn.004366c0
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
push esi
call fcn.00438500
mov ecx, esi
call fcn.004380f0
mov ecx, esi
call fcn.004380f0
mov byte [ebp - 4], 9
jmp 0x43794f
push 0x3e8
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x28]
mov esi, eax
call fcn.004380f0
test esi, esi
jne 0x43794b
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x4378a7
mov edx, dword [ecx]
lea eax, [ebp - 0x94]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x34]
mov ecx, esi
mov edx, ecx
mov dword [ebp - 0x24], edx
cmp dword [esi + 0x14], 8
jb 0x4378bd
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x28], edx
lea eax, [ecx + eax*2]
jb 0x4378cd
mov ecx, dword [esi]
mov dword [ebp - 0x28], ecx
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x4378d7
mov edx, dword [edi]
mov ecx, dword [edi + 0x10]
lea edx, [edx + ecx*2]
mov ecx, edi
jb 0x4378e3
mov ecx, dword [edi]
mov esi, dword [ebp - 0x34]
sub edx, ecx
sar edx, 1
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x2c], edi
jb 0x4378fb
mov esi, dword [edi]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x34]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sar eax, 1
push eax
push dword [ebp - 0x28]
sar ecx, 1
push edx
push ecx
mov ecx, edi
call fcn.004391a0
cmp dword [esi + 0x14], 8
jb 0x43791c
mov ecx, dword [esi]
jmp 0x43791f
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x14], 8
jb 0x43792a
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
sub eax, dword [ebp - 0x3c]
push eax
push str.GetProxyByURL__success__used_time_u__URL_s__proxy_s
push str.PACProxyHelper
call fcn.004366c0
add esp, 0x14
jmp 0x437997
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x43796a
mov edx, dword [ecx]
lea eax, [ebp - 0x94]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x437979
mov esi, dword [esi]
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call eax
sub eax, dword [ebp - 0x3c]
push eax
push str.GetProxyByURL__timeout__used_time_u__URL_s
push str.PACProxyHelper
call fcn.004366c0
add esp, 0x10
or esi, 0xffffffff
mov byte [ebp - 4], 0xe
test ebx, ebx
je 0x4379c1
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x4379c1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x4379c1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [ebp - 4], 0xf
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4379ed
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x4379ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x4379ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret