Function at 0x4259f0
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x456426
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp]
mov esi, dword [esp + 0xf4]
mov edx, dword [eax + 0x3c]
push esi
call edx
mov ecx, dword [esp + 0xf8]
test ecx, ecx
mov edi, dword [0x45ff50]
je 0x425a47
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0xfc]
test ecx, ecx
je 0x425a59
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x90]
push ecx
mov ecx, ebp
call edx
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0xf0], 0
call fcn.00406180
mov eax, dword [esp + 0xa0]
push eax
mov byte [esp + 0xf0], 2
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x9c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.00427460
add esp, 0x10
cmp dword [ebp + 0xc8], 0
jne 0x425af6
lea ecx, [esp + 0xa8]
push ecx
call fcn.00427540
mov ebx, eax
mov eax, dword [ebp + 0xc8]
add esp, 4
test eax, eax
je 0x425af0
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp + 0xc8], 0
mov dword [ebp + 0xc8], ebx
push esi
lea ecx, [esp + 0x64]
call fcn.00406180
lea ecx, [esp + 0x60]
mov byte [esp + 0xec], 3
call fcn.0044b230
mov ecx, dword [ebp + 0xc8]
lea edx, [esp + 0xa8]
push edx
push eax
push ecx
call fcn.00427690
lea ebx, [ebp + 0xc4]
mov esi, eax
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
je 0x425b44
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx], 0
test esi, esi
mov dword [ebx], esi
jne 0x425b85
mov eax, dword [esp + 0x70]
mov esi, dword [0x45ff68]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x6c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x90]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x8c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, esi
jmp 0x425e92
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov cx, ax
add eax, 1
cmp cx, 5
mov dword [esp + 0x18], eax
jae 0x425e12
mov edx, dword [0x45ff50]
mov ecx, dword [esp + 0xf8]
mov eax, dword [ebp]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x44]
push ecx
mov ecx, ebp
call edx
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
mov ecx, ebp
mov dword [esp + 0x14], esi
call edx
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.00425830
cmp dword [ebp + 0xcc], 0
mov byte [esp + 0xec], 4
je 0x425c42
lea esi, [ebp + 0xd0]
mov ecx, esi
call fcn.0044b230
mov edi, dword [esi + 4]
mov ecx, esi
call fcn.0044b230
mov ecx, dword [ebp + 0xc8]
push edi
push eax
push 0x1c
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
lea esi, [ebp + 0xe8]
mov ecx, esi
call fcn.0044b230
mov edi, dword [esi + 4]
mov ecx, esi
call fcn.0044b230
mov ecx, dword [ebp + 0xc8]
push edi
push eax
push 0x1d
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov esi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], 0x28
mov dword [esp + 0x3c], esi
call fcn.0044b270
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], eax
call fcn.0044b270
mov eax, dword [ebx]
mov ecx, dword [esp + 0x4c]
push 0
push 8
push 0
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
je 0x425ded
test esi, esi
jbe 0x425cd6
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp]
mov eax, dword [eax + 0x48]
push ecx
push edx
push ebx
mov ecx, ebp
call eax
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
je 0x425d52
mov eax, dword [ebx]
push eax
push 0x13
call fcn.004271d0
mov esi, eax
add esp, 8
test esi, esi
jg 0x425d04
mov esi, dword [0x45ff68]
jmp 0x425d25
cmp esi, dword [0x45ff68]
je 0x425d25
mov edx, dword [ebp]
mov eax, dword [edx + 0x5c]
mov ecx, ebp
call eax
mov eax, dword [ebx]
push eax
push 0x13
call fcn.004271d0
add esp, 8
mov esi, eax
mov edi, dword [esp + 0xfc]
test edi, edi
je 0x425d3a
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
push esi
mov ecx, edi
call eax
movzx ecx, byte [ebp + 0x128]
push ecx
mov ecx, esi
mov esi, ebx
call fcn.00425700
add esp, 4
mov edi, eax
jmp 0x425d9f
mov edi, dword [0x45ff68]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f00
jne 0x425d7c
push ebx
mov dword [esp + 0x18], 1
call fcn.004272b0
add esp, 4
test eax, eax
je 0x425d9f
jmp 0x425d95
mov eax, dword [ebx]
push eax
push 0x13
call fcn.004271d0
mov edi, eax
add esp, 8
test edi, edi
jg 0x425d95
mov edi, dword [0x45ff68]
mov edx, dword [ebp]
mov eax, dword [edx + 0x5c]
mov ecx, ebp
call eax
cmp edi, 0x191
jne 0x425dbc
cmp dword [esp + 0x14], 0
jne 0x425dbc
mov edx, dword [ebp]
mov eax, dword [edx + 0x4c]
mov ecx, ebp
call eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x58]
push ecx
mov byte [esp + 0xf0], 3
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add dword [esp + 0x20], 1
add esp, 8
cmp dword [esp + 0x14], 0
jne 0x425b8d
jmp 0x425e12
mov eax, dword [esp + 0x58]
mov edi, dword [0x45ff68]
push eax
mov byte [esp + 0xf0], 3
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x54]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
cmp word [esp + 0x18], 5
jne 0x425e20
mov edi, dword [0x45ff68]
lea edx, [edi - 0xc8]
cmp edx, 0x63
ja 0x425e4f
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x425e3d
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0xfc]
test ecx, ecx
je 0x425e4f
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebx]
test eax, eax
je 0x425e62
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx], 0
mov eax, dword [esp + 0x70]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x6c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x90]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x8c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, edi
add esp, 0x10
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 0xc