Function at 0x45fa60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104c
call fcn.005080d0
mov eax, dword [0x555760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi], 0
je 0x45fc1e
push dword [esi + 0xc]
call dword [0x51f344]
push dword [esi + 0x10]
call dword [0x51f344]
push dword [esi + 0x14]
call dword [0x51f344]
push 0x3c
lea eax, [ebp - 0x104c]
push 0
push eax
call fcn.004e24c0
add esp, 0xc
mov dword [ebp - 0x104c], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x1038], 1
mov dword [ebp - 0x101c], 1
jb 0x45fadf
mov edi, dword [edi]
lea eax, [ebp - 0x104c]
push eax
push 0
push 0
push edi
call dword [0x51f678]
test eax, eax
je 0x45fc1e
mov edi, dword [ebp - 0x1038]
cmp edi, 0x400
jae 0x45fc1e
cmp dword [ebp - 0x101c], 0x400
jae 0x45fc1e
xor eax, eax
cmp dword [esi], eax
je 0x45fc20
push 0x7fe
push eax
mov word [ebp - 0x1008], ax
lea eax, [ebp - 0x1006]
push eax
call fcn.004e24c0
add esp, 0xc
lea eax, [ebp - 0x1008]
push edi
push dword [ebp - 0x103c]
push 0x400
push eax
call fcn.004dd484
mov eax, dword [ebp - 0x1038]
add esp, 0x10
add eax, eax
cmp eax, 0x800
jae 0x45fd82
xor ecx, ecx
mov word [ebp + eax - 0x1008], cx
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push eax
call fcn.004e24c0
add esp, 0xc
lea eax, [ebp - 0x808]
push dword [ebp - 0x101c]
push dword [ebp - 0x1020]
push 0x400
push eax
call fcn.004dd484
mov eax, dword [ebp - 0x101c]
add esp, 0x10
add eax, eax
cmp eax, 0x800
jae 0x45fd82
mov edi, dword [0x51f368]
xor ecx, ecx
mov word [ebp + eax - 0x808], cx
lea eax, [esi + 8]
push ecx
push eax
call edi
push esi
push 0
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x1008]
push eax
push dword [esi]
call dword [0x51f674]
test eax, eax
jne 0x45fc33
call dword [0x51f390]
cmp eax, 0x3e5
jne 0x45fc17
mov ecx, esi
call fcn.0045fa00
test eax, eax
je 0x45fc3a
mov ecx, esi
call fcn.004602a0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dbf35
mov esp, ebp
pop ebp
ret 8
push eax
lea eax, [esi + 8]
push eax
call edi
push esi
push 0x4000000
push 0
push 0
push 0x538154
lea eax, [ebp - 0x808]
push eax
mov eax, dword [esi + 8]
push 0x536e00
push eax
call dword [0x51f670]
mov edi, eax
test edi, edi
jne 0x45fc7f
call dword [0x51f390]
cmp eax, 0x3e5
jne 0x45fc17
mov ecx, esi
call fcn.0045fa00
test eax, eax
jne 0x45fc17
jmp 0x45fc8a
push edi
lea eax, [esi + 4]
push eax
call dword [0x51f368]
test ebx, ebx
je 0x45fca3
cmp word [ebx], 0
je 0x45fca3
push 0xa0000000
push 0xffffffffffffffff
push ebx
push edi
call dword [0x51f67c]
push dword [esi + 0xc]
call dword [0x51f344]
mov eax, dword [esi + 4]
push 0
push 0
push 0
push 0
push eax
call dword [0x51f690]
test eax, eax
jne 0x45fce2
call dword [0x51f390]
cmp eax, 0x3e5
jne 0x45fc17
mov ecx, esi
call fcn.0045fa00
test eax, eax
jne 0x45fc17
push 0
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1010], 4
push eax
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0
push eax
mov eax, dword [esi + 4]
push 0x20000013
push eax
call dword [0x51f698]
test eax, eax
je 0x45fc17
push dword [ebp - 0x100c]
push 0x538168
push 0xca
push 0x537d6c
call fcn.0041cbc0
mov eax, dword [ebp - 0x100c]
add esp, 0x10
cmp eax, 0xc8
je 0x45fd6a
cmp eax, 0xce
je 0x45fd6a
push 0x5381b0
push 0xca
push 0x537d6c
call fcn.0041cbc0
add esp, 0xc
jmp 0x45fc17
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dbf35
mov esp, ebp
pop ebp
ret 8
call fcn.004dec10
int3