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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4c1280]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
push 0x4a46ac
lea ecx, [esp + 0x2c]
call fcn.004363fb
push str._tconfiguring_request_n
call fcn.0042d346
mov eax, dword [edi + 0xc4]
lea esi, [edi + 0xe0]
and dword [esp + 0x5c], 0
pop ecx
mov ecx, esi
mov dword [esp + 0x54], 0x4b196c
mov dword [esp + 0x18], eax
call fcn.0043af83
cmp eax, 0x3e8
jne 0x43011e
mov ecx, esi
call fcn.0043fdec
mov dword [esp + 0x40], eax
jmp 0x430123
and dword [esp + 0x40], 0
call sub.KERNEL32.DLL_GetTickCount
mov esi, dword [esp + 0x18]
mov dword [edi + 0x1b4], eax
mov ecx, edi
xor bl, bl
call fcn.0043065c
lea eax, [edi + 8]
mov dword [esp + 0x20], eax
mov ecx, eax
mov dword [esp + 0x24], 0
call fcn.0043c120
inc dword [esp + 0x24]
cmp byte [edi + 0xf4], bl
jne 0x4305e3
push edi
push esi
lea eax, [esp + 0x5c]
push eax
push 0
push 0
lea ecx, [edi + 0x12c]
call fcn.0043fdec
push eax
push dword [esp + 0x58]
push dword [edi + 0xbc]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0xc0], eax
test eax, eax
je 0x430579
push 0
push 0
push 0x4d
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4301ba
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.error_setting_IGNORE_OFFLINE_option:__u_n
call fcn.0042d346
pop ecx
pop ecx
lea ecx, [esp + 0x20]
call fcn.004097d8
push str._tsending_request_n
call fcn.0042d346
pop ecx
lea eax, [esp + 0xac]
mov ecx, edi
push eax
call fcn.0042f6ae
push eax
lea ecx, [esp + 0x2c]
call fcn.00436492
lea ecx, [esp + 0xac]
call fcn.0043645f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
cmp dword [esp + 0x34], 0x7d0
je 0x430429
mov eax, dword [edi + 0xa0]
cmp eax, 0x2ee0
jbe 0x430286
cmp eax, 0x2f8f
ja 0x430286
lea ecx, [esp + 0xfc]
call fcn.00438b2f
mov edx, dword [edi + 0xa0]
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x74]
call fcn.0042ff9c
pop ecx
mov ecx, eax
call fcn.0043ff50
cmp eax, 0x7d0
lea ecx, [esp + 0x70]
sete bl
call fcn.0043645f
test bl, bl
je 0x430276
lea ecx, [esp + 0xfc]
call fcn.0043fdec
push eax
push dword [edi + 0x1c4]
call fcn.004322f1
pop ecx
pop ecx
lea ecx, [esp + 0xfc]
call fcn.00438dea
xor ebx, ebx
jmp 0x4302b4
xor ebx, ebx
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
call fcn.0042d54e
push eax
push dword [edi + 0x1c4]
call fcn.004322f1
pop ecx
pop ecx
cmp dword [esp + 0x1c], ebx
je 0x4302b4
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
mov eax, dword [edi + 0xa0]
sub eax, 0x2f05
je 0x4302e5
dec eax
jne 0x4304d7
push str.server_certificate_CN__host_name__invalid_n
call fcn.0042d346
mov eax, dword [edi + 0x1c0]
mov dword [esp + 0x40], 0x1000
mov esi, dword [eax + 8]
jmp 0x430300
push str.server_certificate_invalid_at_this_date_n
call fcn.0042d346
mov eax, dword [edi + 0x1c0]
mov dword [esp + 0x40], 0x2000
mov esi, dword [eax + 0xc]
pop ecx
push str.server_certificate_invalid_n
call fcn.0042d346
cmp byte [edi + 0x101], 0
pop ecx
jne 0x430419
cmp byte [edi + 0x102], 0
lea ecx, [edi + 0x118]
jne 0x430557
call fcn.0043fdec
push eax
lea eax, [esp + 0xec]
push esi
push eax
call fcn.0043a5c2
add esp, 0xc
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [edi + 0x1a4]
mov esi, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
call fcn.0043c120
inc dword [esp + 0x48]
lea eax, [esp + 0xe8]
push eax
push edi
lea ecx, [esp + 0x118]
call fcn.0042e84c
lea eax, [esp + 0x50]
push ebx
push eax
lea edx, [esp + 0x118]
lea ecx, [esp + 0x8c]
call fcn.0042e352
pop ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0043641b
lea ecx, [esp + 0x84]
call fcn.0043645f
call sub.KERNEL32.DLL_GetTickCount
mov ecx, eax
cmp ecx, esi
jae 0x4303b6
sub ecx, esi
dec ecx
jmp 0x4303b8
sub ecx, esi
mov eax, dword [edi + 0x1ac]
add dword [eax + 0xc], ecx
mov eax, dword [edi + 0x1ac]
mov byte [eax + 9], 1
cmp dword [esp + 0x68], 0x7d0
jne 0x4304eb
cmp dword [esp + 0x50], 1
jne 0x4304eb
lea ecx, [esp + 0x5c]
call fcn.0043645f
lea ecx, [esp + 0x128]
call fcn.00438dea
lea ecx, [esp + 0x44]
mov dword [esp + 0x110], 0x4b11f8
call fcn.004097d8
lea ecx, [esp + 0xe8]
call fcn.00438dea
mov eax, dword [esp + 0x18]
mov bl, 1
or eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov esi, eax
test bl, bl
jne 0x430132
lea eax, [esp + 0x14]
mov ecx, edi
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00430761
push eax
lea ecx, [esp + 0x2c]
call fcn.00436492
lea ecx, [esp + 0x98]
call fcn.0043645f
cmp dword [esp + 0x34], 0x7d0
jne 0x4304d3
cmp dword [esp + 0x14], 0xc8
jb 0x430479
cmp dword [esp + 0x14], 0x12c
jb 0x4304d3
mov eax, dword [edi + 0x1c0]
push dword [esp + 0x14]
push dword [eax + 0x24]
push dword [edi + 0x1c4]
call fcn.0043230e
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [ecx + 0x32c8]
push ecx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push str.HTTP_status__u
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.00436355
add esp, 0x10
lea ecx, [esp + 0x28]
push eax
call fcn.00436492
lea ecx, [esp + 0xc0]
call fcn.0043645f
push 0
jmp 0x4304d8
push ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0043641b
jmp 0x4305fa
lea ecx, [edi + 0x118]
call fcn.0043fdec
push eax
mov eax, dword [edi + 0x1c0]
push dword [eax + 0x14]
push dword [edi + 0x1c4]
call fcn.0043230e
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
add esp, 0xc
push ebx
push eax
call fcn.0043641b
lea ecx, [esp + 0x5c]
call fcn.0043645f
lea ecx, [esp + 0x128]
call fcn.00438dea
lea ecx, [esp + 0x44]
mov dword [esp + 0x110], 0x4b11f8
call fcn.004097d8
lea ecx, [esp + 0xe8]
call fcn.00438dea
jmp 0x4305fa
call fcn.0043fdec
push eax
mov eax, dword [edi + 0x1c0]
push dword [eax + 0x14]
push dword [edi + 0x1c4]
call fcn.0043230e
add esp, 0xc
jmp 0x4304d7
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
call ebx
push eax
lea ecx, [edi + 0x118]
call fcn.0043fdec
push eax
lea ecx, [edi + 0x12c]
call fcn.0043fdec
push eax
mov eax, dword [edi + 0x1c0]
push dword [eax + 0x34]
push dword [edi + 0x1c4]
call fcn.0043230e
add esp, 0x14
call ebx
push 0
push eax
lea eax, [esp + 0xdc]
push str.HttpOpenRequest
push eax
call fcn.00436b55
mov ecx, dword [esp + 0x20]
add esp, 0xc
push eax
call fcn.0043641b
lea ecx, [esp + 0xd4]
call fcn.0043645f
jmp 0x4305f1
mov ecx, dword [esp + 0x10]
push 0x4a7dd8
call fcn.004363fb
lea ecx, [esp + 0x20]
call fcn.004097d8
lea ecx, [esp + 0x28]
call fcn.0043645f
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret 4