Function at 0x412b58
Capabilities:
Check http status code

Disassembly:
push 0xc0
mov eax, 0x4357ac
call fcn.00425f04
mov eax, dword [ebp + 8]
mov edi, dword [0x4384b8]
xor ebx, ebx
push ebx
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xc0]
push eax
mov esi, ecx
push 0x20000013
push dword [esi + 8]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc8], 4
call edi
test eax, eax
je 0x412bb9
cmp dword [ebp - 0xc0], 0xc8
je 0x412bc0
xor al, al
jmp 0x412dc6
push ebx
lea eax, [ebp - 0xbc]
push eax
push ebx
push 0x16
push dword [esi + 8]
call edi
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
jbe 0x412bb9
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004259de
mov ebx, eax
mov eax, dword [ebp - 0xbc]
pop ecx
lea eax, [eax + eax + 2]
push eax
push 0
push ebx
call dword [0x438324]
add esp, 0xc
push 0
lea eax, [ebp - 0xbc]
push eax
push ebx
push 0x16
push dword [esi + 8]
call edi
test eax, eax
je 0x412bb9
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004101cd
and dword [ebp - 4], 0
push ebx
call dword [fcn.0043832c]
mov ebx, dword [fcn.00438350]
pop ecx
mov edi, 0x43dca0
jmp 0x412da1
push edi
call ebx
pop ecx
push eax
push edi
lea eax, [ebp - 0x2c]
call fcn.00412dff
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x48]
call fcn.00410302
mov esi, 0x43dca8
push esi
mov byte [ebp - 4], 1
call ebx
pop ecx
push eax
push esi
lea eax, [ebp - 0x48]
call fcn.00412dff
cmp eax, 0xffffffff
je 0x412d55
push esi
call ebx
pop ecx
push eax
push esi
lea eax, [ebp - 0x48]
call fcn.00412dff
push eax
push 0
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0x9c]
call fcn.00410302
mov edi, esi
mov byte [ebp - 4], 2
call fcn.0041bb8c
mov esi, 0x43dca8
push esi
call ebx
pop ecx
push eax
push esi
lea eax, [ebp - 0x48]
call fcn.00412dff
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0x64]
call fcn.00410302
mov edi, esi
mov byte [ebp - 4], 3
call fcn.0041bb8c
mov eax, esi
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040eca0
mov edi, eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 4
call fcn.0040eca0
add esp, 0x10
mov esi, dword [ebp - 0xc4]
push eax
mov byte [ebp - 4], 5
call fcn.0040adcd
push edi
mov ecx, eax
call fcn.0040bbb1
xor esi, esi
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0xb8]
call fcn.0040be38
push esi
push edi
lea ecx, [ebp - 0x80]
call fcn.0040be38
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.0040f097
push esi
push edi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.0040f097
mov edi, 0x43dca0
push edi
call ebx
pop ecx
push eax
push edi
lea eax, [ebp - 0x2c]
call fcn.00412dff
push 0xffffffffffffffff
add eax, 2
push eax
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x80]
call fcn.00410302
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.0040eef7
push 0
push 1
mov ecx, esi
call fcn.0040f097
push edi
call ebx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0040f097
push edi
call ebx
pop ecx
push eax
push edi
lea eax, [ebp - 0x2c]
call fcn.00412dff
cmp eax, 0xffffffff
jne 0x412c43
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040f097
mov al, 1
call fcn.00425f87
ret 4