Function at 0x416300
Capabilities:
Check http status code

Disassembly:
push 0x18
mov eax, 0x449d04
call fcn.0042f400
mov edi, ecx
xor esi, esi
push esi
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
mov dword [ebp - 4], esi
call fcn.004012f0
mov ecx, edi
call fcn.004161ef
cmp eax, esi
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
je 0x416356
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004160e2
test eax, eax
je 0x416356
push esi
push esi
push esi
push esi
push dword [edi + 0x247c]
call ebx
test eax, eax
jne 0x4163eb
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.00415fb3
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00415fb3
add esp, 0x10
cmp dword [ebp - 0x18], esi
jne 0x416383
cmp dword [ebp - 0x14], esi
jne 0x416391
jmp 0x4165a8
push esi
push esi
call fcn.00416050
cmp dword [ebp - 0x14], esi
pop ecx
pop ecx
je 0x41639b
push esi
push 1
call fcn.00416050
pop ecx
pop ecx
push 1
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.004012f0
mov ecx, edi
call fcn.004161ef
cmp eax, esi
je 0x416589
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004160e2
test eax, eax
je 0x416589
push esi
push esi
push esi
push esi
push dword [edi + 0x247c]
call ebx
test eax, eax
je 0x416589
mov dword [0x46b2cc], 1
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
mov ecx, edi
call fcn.00414e46
test eax, eax
jne 0x416411
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
mov eax, esi
jmp 0x4165b5
cmp dword [ebp - 0x1c], 0xc8
jne 0x41641f
xor esi, esi
inc esi
jmp 0x4163ff
cmp dword [ebp - 0x1c], 0x12e
jne 0x4165a8
call fcn.00420017
push eax
lea ecx, [ebp - 0x10]
call fcn.00402160
lea eax, [ebp - 0x10]
push eax
push 0x21
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00415a3c
test eax, eax
je 0x41657c
mov ecx, edi
call fcn.00414e92
push esi
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.004012f0
mov ecx, edi
call fcn.004161ef
cmp eax, esi
je 0x416497
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004160e2
test eax, eax
je 0x416497
push esi
push esi
push esi
push esi
push dword [edi + 0x247c]
call ebx
test eax, eax
jne 0x416520
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.00415fb3
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00415fb3
add esp, 0x10
cmp dword [ebp - 0x18], esi
jne 0x4164c4
cmp dword [ebp - 0x14], esi
jne 0x4164d2
jmp 0x41656c
push esi
push esi
call fcn.00416050
cmp dword [ebp - 0x14], esi
pop ecx
pop ecx
je 0x4164dc
push esi
push 1
call fcn.00416050
pop ecx
pop ecx
push 1
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.004012f0
mov ecx, edi
call fcn.004161ef
cmp eax, esi
je 0x41654d
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004160e2
test eax, eax
je 0x41654d
push esi
push esi
push esi
push esi
push dword [edi + 0x247c]
call ebx
test eax, eax
je 0x41654d
mov dword [0x46b2cc], 1
lea eax, [ebp - 0x20]
push eax
push 0x20000013
mov ecx, edi
call fcn.00414e46
test eax, eax
je 0x41656c
cmp dword [ebp - 0x20], 0xc8
jne 0x41657c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
jmp 0x41641a
cmp dword [ebp - 0x18], esi
je 0x41655c
push 1
push esi
call fcn.00416050
pop ecx
pop ecx
cmp dword [ebp - 0x14], esi
je 0x41656c
push 1
push 1
call fcn.00416050
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
jmp 0x4163ff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
jmp 0x4165a8
cmp dword [ebp - 0x18], esi
je 0x416598
push 1
push esi
call fcn.00416050
pop ecx
pop ecx
cmp dword [ebp - 0x14], esi
je 0x4165a8
push 1
push 1
call fcn.00416050
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
xor eax, eax
call fcn.0042f49f
ret 8