Function at 0x423f83
Capabilities:
Check http status code

Disassembly:
mov eax, 0x465e11
call fcn.00451324
sub esp, 0x34
push ebx
push esi
push edi
mov esi, str.fs::SendInetRequestWithStatusCheck_1457
push esi
mov ebx, ecx
call fcn.0044f750
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.0043fb8a
mov esi, dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
add esp, 0x14
test byte [0x48ea8c], 1
jne 0x423fec
or dword [0x48ea8c], 1
push 0x48ea70
call esi
push 0x46867c
mov byte [0x48ea88], 1
call fcn.0044ece0
pop ecx
test byte [0x48ea8c], 2
jne 0x424015
or dword [0x48ea8c], 2
push 0x48ea54
call esi
push 0x468671
mov byte [0x48ea6c], 0
call fcn.0044ece0
pop ecx
mov dword [ebp - 0x20], 0x48ea54
mov byte [ebp - 0x1c], 0
push dword [ebp + 0x10]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00424951
test al, al
je 0x42411a
mov esi, 0x48ea70
jmp 0x424040
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 0x424071
cmp eax, 0x197
jne 0x42412c
mov ecx, edi
call fcn.004249da
test al, al
je 0x42411a
lea edi, [ebp - 0x20]
call fcn.00423f5c
movzx eax, byte [ebp - 0x1c]
push eax
push dword [ebx]
xor edi, edi
push str.__auth_error__d:_showUI_d
push edi
call fcn.0043fb8a
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 0x4240f3
cmp byte [0x48ea88], 0
je 0x424121
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 [0x48ea88], al
movzx eax, al
push eax
push str.__decide_to_repeat:__d
push edi
call fcn.0043fb8a
add esp, 0xc
cmp byte [0x48ea88], 0
je 0x424121
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.00424951
test al, al
jne 0x42403d
xor bl, bl
jmp 0x42420e
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 0x42420c
push 0
lea ecx, [ebp - 0x30]
call fcn.00444030
push 0x476c1c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00441bc0
lea eax, [ebp - 0x40]
push eax
push 0x473ae8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004455c0
mov ecx, eax
call fcn.00444ac0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00444140
push dword [ebx]
lea ecx, [ebp - 0x40]
call fcn.00441ba0
lea eax, [ebp - 0x40]
push eax
push str.code
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004455c0
mov ecx, eax
call fcn.00444ac0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00444140
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
call fcn.004428f0
lea eax, [ebp - 0x40]
push eax
push 0x4731c0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.004455c0
mov ecx, eax
call fcn.00444ac0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00444140
push dword [ebx]
lea eax, [ebp - 0x30]
push str.__bad_status:__d
push eax
push 1
call fcn.0043fbc9
add esp, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00444140
jmp 0x42411a
mov bl, 1
lea eax, [ebp - 0x20]
call fcn.00423f3f
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x14]
call fcn.0041b202
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret