Function at 0x408c9a
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, str.1AFE09C
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x510608]
call fcn.004026db
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408d13
push ebx
call fcn.00418e18
add esp, 4
cmp dword [ebp - 0x30], 0
jg 0x408d1d
mov eax, 0x4bd80c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x510608]
call fcn.004026db
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408d47
push ebx
call fcn.00418e18
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x408d56
jmp 0x409241
mov eax, str.1AFE09C
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x510608]
call fcn.004026db
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408d80
push ebx
call fcn.00418e18
add esp, 4
cmp dword [ebp - 0x30], 0
jle 0x409220
mov eax, 0x4bd80c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x510608]
call fcn.004026db
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408db4
push ebx
call fcn.00418e18
add esp, 4
cmp dword [ebp - 0x30], 0
jle 0x409220
mov eax, str.1AFE09C
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403697
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408de2
push ebx
call fcn.00418e18
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [0x510608]
call fcn.00403b72
mov dword [ebp - 4], eax
mov eax, 0x4bda55
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403697
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408e23
push ebx
call fcn.00418e18
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
fld qword [ebp - 0x48]
call fcn.004011c7
push eax
push dword [0x510608]
call fcn.00403b72
mov dword [ebp - 8], eax
mov eax, 0x4bda58
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403697
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408e7f
push ebx
call fcn.00418e18
add esp, 4
fild dword [ebp - 8]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
fld qword [ebp - 0x48]
call fcn.004011c7
push eax
push dword [0x510608]
call fcn.00403b72
mov dword [ebp - 0xc], eax
mov eax, 0x4bda55
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403697
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408edb
push ebx
call fcn.00418e18
add esp, 4
fild dword [ebp - 8]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
fld qword [ebp - 0x48]
call fcn.004011c7
push eax
push dword [0x510608]
call fcn.00403b72
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fdiv qword [0x4bd74b]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.004011c7
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40921d
fild dword [ebp - 0x18]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x4bd74b]
fstp qword [ebp - 0x38]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
fld qword [ebp - 0x48]
call fcn.004011c7
push eax
push dword [0x510608]
call fcn.00403b72
mov dword [ebp - 0x1c], eax
mov eax, str.1AFE09C
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403697
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408fc1
push ebx
call fcn.00418e18
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [0x510608]
call fcn.00403b72
cmp dword [ebp - 0x1c], eax
jne 0x408fe9
jmp 0x409215
cmp dword [ebp - 0x1c], 0x1000000
jge 0x408ffb
jmp 0x409215
mov eax, 0x4bda5b
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403697
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40901f
push ebx
call fcn.00418e18
add esp, 4
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
fld qword [ebp - 0x48]
call fcn.004011c7
push eax
push dword [0x510608]
call fcn.00403b72
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x211
je 0x409085
cmp dword [ebp - 0x20], 0x111
je 0x409085
cmp dword [ebp - 0x20], 0x221
je 0x409085
mov eax, 1
jmp 0x409087
xor eax, eax
test eax, eax
je 0x409094
jmp 0x409215
mov eax, 0x4bda5e
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403697
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4090b8
push ebx
call fcn.00418e18
add esp, 4
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
fld qword [ebp - 0x48]
call fcn.004011c7
push eax
push dword [0x510608]
call fcn.00403b72
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40910b
cmp dword [ebp - 0x24], 0xc8
je 0x40910b
xor eax, eax
jmp 0x409110
mov eax, 1
test eax, eax
je 0x40911d
jmp 0x409215
mov eax, str.1DA8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403697
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x409141
push ebx
call fcn.00418e18
add esp, 4
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.004011c7
push eax
call fcn.00405501
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfeced301
je 0x4091c0
mov eax, str.1DA8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403697
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x409198
push ebx
call fcn.00418e18
add esp, 4
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
push 0xfeced301
fld qword [ebp - 0x48]
call fcn.004011c7
push eax
call fcn.004059d6
inc dword [ebp - 0x28]
push 0x80000301
push 0
push 0x13
push 0x80000301
push 0
push 9
push 2
mov ebx, 0x4195f0
call fcn.00418e1e
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x419ee0
call fcn.00418e1e
add esp, 0x10
cmp dword [ebp - 0x28], eax
jne 0x409215
jmp 0x40921d
pop eax
pop ebx
pop ecx
jmp 0x408f4b
add esp, 0xc
mov eax, 0x4bda62
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004047e1
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x409241
push ebx
call fcn.00418e18
add esp, 4
mov esp, ebp
pop ebp
ret