Function at 0x42ff98
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 0x4a4694
lea ecx, [esp + 0x2c]
call fcn.004362eb
push str._tconfiguring_request_n
call fcn.0042d23a
mov eax, dword [edi + 0xc4]
lea esi, [edi + 0xe0]
and dword [esp + 0x5c], 0
pop ecx
mov ecx, esi
mov dword [esp + 0x54], 0x4b192c
mov dword [esp + 0x18], eax
call fcn.0043ae73
cmp eax, 0x3e8
jne 0x43000f
mov ecx, esi
call fcn.0043fcdc
mov dword [esp + 0x40], eax
jmp 0x430014
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.0043054d
lea eax, [edi + 8]
mov dword [esp + 0x20], eax
mov ecx, eax
mov dword [esp + 0x24], 0
call fcn.0043c010
inc dword [esp + 0x24]
cmp byte [edi + 0xf4], bl
jne 0x4304d4
push edi
push esi
lea eax, [esp + 0x5c]
push eax
push 0
push 0
lea ecx, [edi + 0x12c]
call fcn.0043fcdc
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 0x43046a
push 0
push 0
push 0x4d
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4300ab
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.error_setting_IGNORE_OFFLINE_option:__u_n
call fcn.0042d23a
pop ecx
pop ecx
lea ecx, [esp + 0x20]
call fcn.004096c9
push str._tsending_request_n
call fcn.0042d23a
pop ecx
lea eax, [esp + 0xac]
mov ecx, edi
push eax
call fcn.0042f5a2
push eax
lea ecx, [esp + 0x2c]
call fcn.00436382
lea ecx, [esp + 0xac]
call fcn.0043634f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
cmp dword [esp + 0x34], 0x7d0
je 0x43031a
mov eax, dword [edi + 0xa0]
cmp eax, 0x2ee0
jbe 0x430177
cmp eax, 0x2f8f
ja 0x430177
lea ecx, [esp + 0xfc]
call fcn.00438a1f
mov edx, dword [edi + 0xa0]
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x74]
call fcn.0042fe8d
pop ecx
mov ecx, eax
call fcn.0043fe40
cmp eax, 0x7d0
lea ecx, [esp + 0x70]
sete bl
call fcn.0043634f
test bl, bl
je 0x430167
lea ecx, [esp + 0xfc]
call fcn.0043fcdc
push eax
push dword [edi + 0x1c4]
call fcn.004321e2
pop ecx
pop ecx
lea ecx, [esp + 0xfc]
call fcn.00438cda
xor ebx, ebx
jmp 0x4301a5
xor ebx, ebx
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
call fcn.0042d442
push eax
push dword [edi + 0x1c4]
call fcn.004321e2
pop ecx
pop ecx
cmp dword [esp + 0x1c], ebx
je 0x4301a5
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
mov eax, dword [edi + 0xa0]
sub eax, 0x2f05
je 0x4301d6
dec eax
jne 0x4303c8
push str.server_certificate_CN__host_name__invalid_n
call fcn.0042d23a
mov eax, dword [edi + 0x1c0]
mov dword [esp + 0x40], 0x1000
mov esi, dword [eax + 8]
jmp 0x4301f1
push str.server_certificate_invalid_at_this_date_n
call fcn.0042d23a
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.0042d23a
cmp byte [edi + 0x101], 0
pop ecx
jne 0x43030a
cmp byte [edi + 0x102], 0
lea ecx, [edi + 0x118]
jne 0x430448
call fcn.0043fcdc
push eax
lea eax, [esp + 0xec]
push esi
push eax
call fcn.0043a4b2
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.0043c010
inc dword [esp + 0x48]
lea eax, [esp + 0xe8]
push eax
push edi
lea ecx, [esp + 0x118]
call fcn.0042e740
lea eax, [esp + 0x50]
push ebx
push eax
lea edx, [esp + 0x118]
lea ecx, [esp + 0x8c]
call fcn.0042e246
pop ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0043630b
lea ecx, [esp + 0x84]
call fcn.0043634f
call sub.KERNEL32.DLL_GetTickCount
mov ecx, eax
cmp ecx, esi
jae 0x4302a7
sub ecx, esi
dec ecx
jmp 0x4302a9
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 0x4303dc
cmp dword [esp + 0x50], 1
jne 0x4303dc
lea ecx, [esp + 0x5c]
call fcn.0043634f
lea ecx, [esp + 0x128]
call fcn.00438cda
lea ecx, [esp + 0x44]
mov dword [esp + 0x110], 0x4b11b8
call fcn.004096c9
lea ecx, [esp + 0xe8]
call fcn.00438cda
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 0x430023
lea eax, [esp + 0x14]
mov ecx, edi
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00430652
push eax
lea ecx, [esp + 0x2c]
call fcn.00436382
lea ecx, [esp + 0x98]
call fcn.0043634f
cmp dword [esp + 0x34], 0x7d0
jne 0x4303c4
cmp dword [esp + 0x14], 0xc8
jb 0x43036a
cmp dword [esp + 0x14], 0x12c
jb 0x4303c4
mov eax, dword [edi + 0x1c0]
push dword [esp + 0x14]
push dword [eax + 0x24]
push dword [edi + 0x1c4]
call fcn.004321ff
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.00436245
add esp, 0x10
lea ecx, [esp + 0x28]
push eax
call fcn.00436382
lea ecx, [esp + 0xc0]
call fcn.0043634f
push 0
jmp 0x4303c9
push ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0043630b
jmp 0x4304eb
lea ecx, [edi + 0x118]
call fcn.0043fcdc
push eax
mov eax, dword [edi + 0x1c0]
push dword [eax + 0x14]
push dword [edi + 0x1c4]
call fcn.004321ff
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
add esp, 0xc
push ebx
push eax
call fcn.0043630b
lea ecx, [esp + 0x5c]
call fcn.0043634f
lea ecx, [esp + 0x128]
call fcn.00438cda
lea ecx, [esp + 0x44]
mov dword [esp + 0x110], 0x4b11b8
call fcn.004096c9
lea ecx, [esp + 0xe8]
call fcn.00438cda
jmp 0x4304eb
call fcn.0043fcdc
push eax
mov eax, dword [edi + 0x1c0]
push dword [eax + 0x14]
push dword [edi + 0x1c4]
call fcn.004321ff
add esp, 0xc
jmp 0x4303c8
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
call ebx
push eax
lea ecx, [edi + 0x118]
call fcn.0043fcdc
push eax
lea ecx, [edi + 0x12c]
call fcn.0043fcdc
push eax
mov eax, dword [edi + 0x1c0]
push dword [eax + 0x34]
push dword [edi + 0x1c4]
call fcn.004321ff
add esp, 0x14
call ebx
push 0
push eax
lea eax, [esp + 0xdc]
push str.HttpOpenRequest
push eax
call fcn.00436a45
mov ecx, dword [esp + 0x20]
add esp, 0xc
push eax
call fcn.0043630b
lea ecx, [esp + 0xd4]
call fcn.0043634f
jmp 0x4304e2
mov ecx, dword [esp + 0x10]
push 0x4a7dd0
call fcn.004362eb
lea ecx, [esp + 0x20]
call fcn.004096c9
lea ecx, [esp + 0x28]
call fcn.0043634f
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret 4