Function at 0x4057f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fb29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x978
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], ebx
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 4], 2
call fcn.0040fc80
lea ecx, [ebp - 0xb4]
push ecx
call fcn.004043c0
mov esi, eax
add esp, 0x10
mov ecx, 0xf
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x4269c6
lea ecx, [ebp - 0x28]
call fcn.0040fc40
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0040fee0
push eax
call dword [0xb3e3e0]
mov edx, dword [0xb2d6b8]
mov esi, eax
mov eax, dword [ebp - 0x74]
push edx
push eax
mov dword [ebp - 0x14], esi
xor edi, edi
call dword [0xb3e4bc]
test eax, eax
jne 0x40588d
lea edi, [ebx + 1]
cmp esi, ebx
je 0x4059f0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x68]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push edx
push esi
call dword [0xb3e4e0]
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
je 0x4059e9
mov edx, dword [ebp - 0x4c]
mov eax, edi
neg eax
sbb eax, eax
push ebx
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [0xb2d508]
push ebx
push ebx
push eax
push edx
push 0x426afc
push ecx
call dword [0xb3e514]
mov esi, eax
cmp esi, ebx
je 0x4059dc
cmp edi, ebx
je 0x405905
or dword [ebp - 0x1c], 0x10300
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x1f
push esi
call dword [0xb3e2e8]
push ebx
push ebx
push ebx
push ebx
push esi
call dword [0xb3e4a8]
push ebx
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1b4]
push edx
push 0x13
push esi
mov edi, eax
mov dword [ebp - 0x30], 0x100
call dword [0xb3e52c]
test eax, eax
jne 0x405946
mov esi, dword [ebp + 8]
push 0x426b00
mov ecx, esi
call fcn.0040fc40
jmp 0x4059fe
lea eax, [ebp - 0x1b4]
push eax
call fcn.00411180
add esp, 4
cmp eax, 0xc8
jne 0x405a3b
cmp edi, ebx
je 0x4059d5
lea ecx, [ebp - 0x18]
push ecx
push 0x7cf
lea edx, [ebp - 0x984]
push edx
push esi
call dword [0xb3e408]
cmp eax, ebx
je 0x4059d5
nop
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4059d5
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040fe00
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040fd20
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040fcc0
lea edx, [ebp - 0x18]
push edx
push 0x7cf
lea eax, [ebp - 0x984]
push eax
push esi
call dword [0xb3e408]
cmp eax, ebx
jne 0x405980
push esi
call dword [0xb3e3dc]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [0xb3e3dc]
mov esi, dword [ebp - 0x14]
push esi
call dword [0xb3e3dc]
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
mov ecx, esi
call fcn.0040fc80
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call fcn.0040fcc0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040fcc0
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0040fcc0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push 0x426b08
mov ecx, esi
call fcn.0040fc40
jmp 0x4059fe