Function at 0x4162c3
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.004161b2
cmp eax, esi
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
je 0x416319
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004160a5
test eax, eax
je 0x416319
push esi
push esi
push esi
push esi
push dword [edi + 0x247c]
call ebx
test eax, eax
jne 0x4163ae
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.00415f76
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00415f76
add esp, 0x10
cmp dword [ebp - 0x18], esi
jne 0x416346
cmp dword [ebp - 0x14], esi
jne 0x416354
jmp 0x41656b
push esi
push esi
call fcn.00416013
cmp dword [ebp - 0x14], esi
pop ecx
pop ecx
je 0x41635e
push esi
push 1
call fcn.00416013
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.004161b2
cmp eax, esi
je 0x41654c
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004160a5
test eax, eax
je 0x41654c
push esi
push esi
push esi
push esi
push dword [edi + 0x247c]
call ebx
test eax, eax
je 0x41654c
mov dword [0x46b2ec], 1
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
mov ecx, edi
call fcn.00414e09
test eax, eax
jne 0x4163d4
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
mov eax, esi
jmp 0x416578
cmp dword [ebp - 0x1c], 0xc8
jne 0x4163e2
xor esi, esi
inc esi
jmp 0x4163c2
cmp dword [ebp - 0x1c], 0x12e
jne 0x41656b
call fcn.0041fff9
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.004159ff
test eax, eax
je 0x41653f
mov ecx, edi
call fcn.00414e55
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.004161b2
cmp eax, esi
je 0x41645a
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004160a5
test eax, eax
je 0x41645a
push esi
push esi
push esi
push esi
push dword [edi + 0x247c]
call ebx
test eax, eax
jne 0x4164e3
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.00415f76
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00415f76
add esp, 0x10
cmp dword [ebp - 0x18], esi
jne 0x416487
cmp dword [ebp - 0x14], esi
jne 0x416495
jmp 0x41652f
push esi
push esi
call fcn.00416013
cmp dword [ebp - 0x14], esi
pop ecx
pop ecx
je 0x41649f
push esi
push 1
call fcn.00416013
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.004161b2
cmp eax, esi
je 0x416510
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004160a5
test eax, eax
je 0x416510
push esi
push esi
push esi
push esi
push dword [edi + 0x247c]
call ebx
test eax, eax
je 0x416510
mov dword [0x46b2ec], 1
lea eax, [ebp - 0x20]
push eax
push 0x20000013
mov ecx, edi
call fcn.00414e09
test eax, eax
je 0x41652f
cmp dword [ebp - 0x20], 0xc8
jne 0x41653f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
jmp 0x4163dd
cmp dword [ebp - 0x18], esi
je 0x41651f
push 1
push esi
call fcn.00416013
pop ecx
pop ecx
cmp dword [ebp - 0x14], esi
je 0x41652f
push 1
push 1
call fcn.00416013
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
jmp 0x4163c2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
jmp 0x41656b
cmp dword [ebp - 0x18], esi
je 0x41655b
push 1
push esi
call fcn.00416013
pop ecx
pop ecx
cmp dword [ebp - 0x14], esi
je 0x41656b
push 1
push 1
call fcn.00416013
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
xor eax, eax
call fcn.0042f49f
ret 8