Function at 0x424d3d
Capabilities:
Check http status code

Disassembly:
mov eax, 0x467778
call fcn.00452ab4
sub esp, 0x34
push ebx
push esi
push edi
mov esi, str.fs::SendInetRequestWithStatusCheck_1486
push esi
mov ebx, ecx
call fcn.00450e4d
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.004418d2
mov esi, dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
add esp, 0x14
test byte [0x490b30], 1
jne 0x424da6
or dword [0x490b30], 1
push 0x490b14
call esi
push 0x46a1a7
mov byte [0x490b2c], 1
call fcn.00450470
pop ecx
test byte [0x490b30], 2
jne 0x424dcf
or dword [0x490b30], 2
push 0x490af8
call esi
push 0x46a19c
mov byte [0x490b10], 0
call fcn.00450470
pop ecx
mov dword [ebp - 0x20], 0x490af8
mov byte [ebp - 0x1c], 0
push dword [ebp + 0x10]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00425711
test al, al
je 0x424ed4
mov esi, 0x490b14
jmp 0x424dfa
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 0x424e2b
cmp eax, 0x197
jne 0x424ee6
mov ecx, edi
call fcn.0042579a
test al, al
je 0x424ed4
lea edi, [ebp - 0x20]
call fcn.00424d16
movzx eax, byte [ebp - 0x1c]
push eax
push dword [ebx]
xor edi, edi
push str.__auth_error__d:_showUI_d
push edi
call fcn.004418d2
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 0x424ead
cmp byte [0x490b2c], 0
je 0x424edb
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 [0x490b2c], al
movzx eax, al
push eax
push str.__decide_to_repeat:__d
push edi
call fcn.004418d2
add esp, 0xc
cmp byte [0x490b2c], 0
je 0x424edb
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.00425711
test al, al
jne 0x424df7
xor bl, bl
jmp 0x424fc8
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 0x424fc6
push 0
lea ecx, [ebp - 0x30]
call fcn.00445d80
push 0x478db0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00443910
lea eax, [ebp - 0x40]
push eax
push 0x475bdc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00447310
mov ecx, eax
call fcn.00446810
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00445e90
push dword [ebx]
lea ecx, [ebp - 0x40]
call fcn.004438f0
lea eax, [ebp - 0x40]
push eax
push str.code
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00447310
mov ecx, eax
call fcn.00446810
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00445e90
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
call fcn.00444640
lea eax, [ebp - 0x40]
push eax
push 0x475288
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00447310
mov ecx, eax
call fcn.00446810
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00445e90
push dword [ebx]
lea eax, [ebp - 0x30]
push str.__bad_status:__d
push eax
push 1
call fcn.00441911
add esp, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00445e90
jmp 0x424ed4
mov bl, 1
lea eax, [ebp - 0x20]
call fcn.00424cf9
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x14]
call fcn.0041bdf9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret