Function at 0x424986
Capabilities:
Check http status code

Disassembly:
mov eax, 0x467208
call fcn.00452544
sub esp, 0x34
push ebx
push esi
push edi
mov esi, str.fs::SendInetRequestWithStatusCheck_1486
push esi
mov ebx, ecx
call fcn.004508dd
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
push dword [edi + 8]
push esi
push str.___s__hReq0x_p_
push 0
call fcn.00441366
mov esi, dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
add esp, 0x14
test byte [0x48fb30], 1
jne 0x4249ef
or dword [0x48fb30], 1
push 0x48fb14
call esi
push 0x469b67
mov byte [0x48fb2c], 1
call fcn.0044ff00
pop ecx
test byte [0x48fb30], 2
jne 0x424a18
or dword [0x48fb30], 2
push 0x48faf8
call esi
push 0x469b5c
mov byte [0x48fb10], 0
call fcn.0044ff00
pop ecx
mov dword [ebp - 0x20], 0x48faf8
mov byte [ebp - 0x1c], 0
push dword [ebp + 0x10]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042535a
test al, al
je 0x424b1d
mov esi, 0x48fb14
jmp 0x424a43
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
push 0
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0x20000013
push eax
mov dword [ebp - 0x10], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [ebx]
cmp eax, 0x191
je 0x424a74
cmp eax, 0x197
jne 0x424b2f
mov ecx, edi
call fcn.004253e3
test al, al
je 0x424b1d
lea edi, [ebp - 0x20]
call fcn.0042495f
movzx eax, byte [ebp - 0x1c]
push eax
push dword [ebx]
xor edi, edi
push str.__auth_error__d:_showUI_d
push edi
call fcn.00441366
add esp, 0x10
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov byte [ebp - 4], 2
cmp byte [ebp - 0x1c], 0
je 0x424af6
cmp byte [0x48fb2c], 0
je 0x424b24
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push edi
push 7
push edi
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
sete al
mov byte [0x48fb2c], al
movzx eax, al
push eax
push str.__decide_to_repeat:__d
push edi
call fcn.00441366
add esp, 0xc
cmp byte [0x48fb2c], 0
je 0x424b24
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
call fcn.0042535a
test al, al
jne 0x424a40
xor bl, bl
jmp 0x424c11
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [ebx]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp eax, 2
je 0x424c0f
push 0
lea ecx, [ebp - 0x30]
call fcn.00445810
push 0x477d1c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004433a0
lea eax, [ebp - 0x40]
push eax
push 0x474b60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00446da0
mov ecx, eax
call fcn.004462a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00445920
push dword [ebx]
lea ecx, [ebp - 0x40]
call fcn.00443380
lea eax, [ebp - 0x40]
push eax
push str.code
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00446da0
mov ecx, eax
call fcn.004462a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00445920
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
call fcn.004440d0
lea eax, [ebp - 0x40]
push eax
push 0x47420c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00446da0
mov ecx, eax
call fcn.004462a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00445920
push dword [ebx]
lea eax, [ebp - 0x30]
push str.__bad_status:__d
push eax
push 1
call fcn.004413a5
add esp, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00445920
jmp 0x424b1d
mov bl, 1
lea eax, [ebp - 0x20]
call fcn.00424942
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x14]
call fcn.0041ba42
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret