Function at 0x45fd90
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51989b
mov eax, dword fs:[0]
push eax
mov eax, 0x1128
call fcn.005080d0
mov eax, dword [0x555760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10f0]
push 0xc
xor eax, eax
mov dword [ebp - 0x10dc], 7
push 0x5366d0
mov dword [ebp - 0x10e0], 0
mov word [ebp - 0x10f0], ax
call fcn.0040a7b0
push 0xb
push 0x5366ec
lea ecx, [ebp - 0x10f0]
mov dword [ebp - 4], 0
call fcn.00405ca0
push 0x3a
push 0x536708
lea ecx, [ebp - 0x10f0]
call fcn.00405ca0
push 2
push 0x536780
lea ecx, [ebp - 0x10f0]
call fcn.00405ca0
push 0x17
push 0x536788
lea ecx, [ebp - 0x10f0]
call fcn.00405ca0
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xd8], ax
lea eax, [ebp - 0xd6]
push eax
call fcn.004e24c0
push dword [ebp + 0x10]
lea eax, [ebp - 0xd8]
push dword [ebp + 0xc]
push 0x5367b8
push 0xffffffffffffffff
push eax
call fcn.00458fa0
add esp, 0x20
cmp word [ebp - 0xd8], 0
jne 0x45fe8a
xor ecx, ecx
jmp 0x45fea2
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fe93
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.00405ca0
push 2
push 0x536780
lea ecx, [ebp - 0x10f0]
call fcn.00405ca0
push 2
push 0x536780
lea ecx, [ebp - 0x10f0]
call fcn.00405ca0
push 0x800
call fcn.004c1448
mov ebx, eax
lea ecx, [ebp - 0x10f0]
xor eax, eax
mov word [ebx], ax
cmp dword [ebp - 0x10dc], 8
push dword [ebp - 0x10e0]
cmovae ecx, dword [ebp - 0x10f0]
push ecx
push 0x400
push ebx
call fcn.004dd484
add esp, 0x14
cmp dword [edi], 0
je 0x46025a
cmp word [ebx], 0
je 0x46025a
push dword [edi + 0xc]
call dword [0x51f344]
push dword [edi + 0x10]
call dword [0x51f344]
push dword [edi + 0x14]
call dword [0x51f344]
push 0x3c
lea eax, [ebp - 0x1134]
push 0
push eax
call fcn.004e24c0
add esp, 0xc
mov dword [ebp - 0x1134], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x1120], 1
mov dword [ebp - 0x1104], 1
jb 0x45ff7a
mov esi, dword [esi]
lea eax, [ebp - 0x1134]
push eax
push 0
push 0
push esi
call dword [0x51f678]
test eax, eax
je 0x46025a
mov esi, dword [ebp - 0x1120]
cmp esi, 0x400
jae 0x46025a
cmp dword [ebp - 0x1104], 0x400
jae 0x46025a
cmp dword [edi], 0
je 0x4600b4
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x10d8], ax
lea eax, [ebp - 0x10d6]
push eax
call fcn.004e24c0
push esi
push dword [ebp - 0x1124]
lea eax, [ebp - 0x10d8]
push 0x400
push eax
call fcn.004dd484
mov eax, dword [ebp - 0x1120]
add esp, 0x1c
add eax, eax
cmp eax, 0x800
jae 0x460255
xor ecx, ecx
mov word [ebp + eax - 0x10d8], cx
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x8d8], ax
lea eax, [ebp - 0x8d6]
push eax
call fcn.004e24c0
push dword [ebp - 0x1104]
lea eax, [ebp - 0x8d8]
push dword [ebp - 0x1108]
push 0x400
push eax
call fcn.004dd484
mov eax, dword [ebp - 0x1104]
add esp, 0x1c
add eax, eax
cmp eax, 0x800
jae 0x460255
mov esi, dword [0x51f368]
xor ecx, ecx
mov word [ebp + eax - 0x8d8], cx
lea eax, [edi + 8]
push ecx
push eax
call esi
push edi
push 0
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x10d8]
push eax
push dword [edi]
call dword [0x51f674]
test eax, eax
jne 0x4600c4
call dword [0x51f390]
cmp eax, 0x3e5
jne 0x4600ad
mov ecx, edi
call fcn.0045fa00
test eax, eax
je 0x4600cb
mov ecx, edi
call fcn.004602a0
lea ecx, [ebp - 0x10f0]
call fcn.0040bf40
jmp 0x460271
push eax
lea eax, [edi + 8]
push eax
call esi
push edi
push 0x4000000
push 0
push 0
push 0x538154
lea eax, [ebp - 0x8d8]
push eax
mov eax, dword [edi + 8]
push 0x536e00
push eax
call dword [0x51f670]
mov esi, eax
test esi, esi
jne 0x460110
call dword [0x51f390]
cmp eax, 0x3e5
jne 0x4600ad
mov ecx, edi
call fcn.0045fa00
test eax, eax
jne 0x4600ad
jmp 0x46011b
push esi
lea eax, [edi + 4]
push eax
call dword [0x51f368]
cmp word [ebx], 0
je 0x460130
push 0xa0000000
push 0xffffffffffffffff
push ebx
push esi
call dword [0x51f67c]
push 0x5381d8
push 0xca
push 0x537d6c
call fcn.0041cbc0
add esp, 0xc
push dword [edi + 0xc]
call dword [0x51f344]
mov eax, dword [edi + 4]
push 0
push 0
push 0
push 0
push eax
call dword [0x51f690]
test eax, eax
jne 0x4601a1
call dword [0x51f390]
mov esi, eax
push esi
push 0x538228
push 0xca
push 0x537d6c
call fcn.0041cbc0
add esp, 0x10
cmp esi, 0x3e5
jne 0x4600ad
mov ecx, edi
call fcn.0045fa00
test eax, eax
jne 0x4600ad
push 0x538298
push 0xca
push 0x537d6c
call fcn.0041cbc0
add esp, 0xc
mov dword [ebp - 0x10f8], 4
lea eax, [ebp - 0x10f8]
mov dword [ebp - 0x10f4], 0
push 0
push eax
lea eax, [ebp - 0x10f4]
push eax
mov eax, dword [edi + 4]
push 0x20000013
push eax
call dword [0x51f698]
test eax, eax
je 0x4600ad
push dword [ebp - 0x10f4]
push 0x5382e0
push 0xca
push 0x537d6c
call fcn.0041cbc0
mov eax, dword [ebp - 0x10f4]
add esp, 0x10
cmp eax, 0xc8
je 0x4600ad
cmp eax, 0xce
je 0x4600ad
push 0x538338
push 0xca
push 0x537d6c
call fcn.0041cbc0
add esp, 0xc
lea ecx, [ebp - 0x10f0]
call fcn.0040bf40
mov eax, 1
jmp 0x460273
call fcn.004dec10
cmp dword [ebp - 0x10dc], 8
jb 0x460271
push dword [ebp - 0x10f0]
call fcn.004dbf30
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dbf35
mov esp, ebp
pop ebp
ret 0xc