Function at 0x472860
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov edx, 0x2b6
push ebx
push esi
mov dword [ebp - 0x14], eax
mov esi, dword [eax]
movzx eax, word [ebp + 0x10]
push edi
test dword [esi + 0x34], 0x10000
cmove edx, eax
movzx eax, dx
mov edi, eax
test ax, ax
je 0x472b50
cmp byte [esi + 0x66], 0
jne 0x472b50
push 0
push eax
call fcn.004d19a0
mov ecx, eax
call fcn.004e3a40
mov ebx, edi
mov dword [ebp - 8], eax
shl ebx, 8
mov dword [ebp - 0xc], ebx
call fcn.004d16b0
xor esi, esi
mov dword [ebp - 4], esi
mov edi, dword [eax + 4]
add edi, ebx
mov dword [ebp - 0x10], edi
mov bl, byte [edi + 0x3c]
cmp bl, 4
je 0x4728d4
cmp bl, 7
jne 0x472900
call fcn.0045ad00
mov ecx, eax
call fcn.00406d50
push eax
call fcn.00406ec0
add esp, 4
mov esi, eax
call fcn.0046b460
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
mov esi, eax
and esi, 1
mov dword [ebp - 4], esi
cmp byte [edi + 0x3c], 0xc8
jne 0x472922
call fcn.0045acd0
mov eax, dword [eax + 0x830]
and eax, 0x80000001
jns 0x47291d
dec eax
or eax, 0xfffffffe
inc eax
add esi, eax
mov dword [ebp - 4], esi
cmp bl, 0xe
je 0x47296f
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], eax
cmp bl, 0x14
je 0x472946
cmp bl, 0x16
je 0x472946
cmp bl, 0x1b
je 0x472946
cmp bl, 0x26
je 0x472946
cmp bl, 0x27
jne 0x472975
cmp al, 0xff
jne 0x472975
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.004d16b0
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push dword [eax + ecx + 0x15c]
call fcn.00453540
add esp, 0xc
jmp 0x472972
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
push 0
push dword [ebp + 0x1c]
add eax, 0x24
sub esp, 8
mov dword [ebp + 0x14], eax
mov ecx, esp
call fcn.00402810
push ecx
mov dword [esp], 0
push dword [ebp + 0x10]
push 2
sub esp, 8
mov ecx, esp
push dword [ebp + 0x14]
call fcn.00404b90
sub esp, 8
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
lea eax, [ebp + 8]
push eax
call fcn.00404b70
movzx eax, byte [edi + 0x45]
push eax
movzx eax, byte [edi + 0x44]
add eax, esi
push eax
push dword [ebp - 8]
call fcn.004d1450
mov ecx, eax
call fcn.004e4f20
cmp bl, 0x13
jne 0x472a4f
mov edi, dword [edi + 0x90]
call fcn.0045ad00
mov ecx, eax
call fcn.00406d50
push eax
call fcn.00406ec0
mov esi, eax
mov eax, 0x4ec4ec4f
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea ecx, [esi + eax*2]
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
add ecx, edx
shr eax, 0x1f
add eax, ecx
push eax
push edi
call fcn.00454710
add esp, 8
fstp dword [esp]
call fcn.004547a0
fmul dword [0x52ce1c]
mov esi, 0xffffff00
add esp, 4
fstp dword [ebp + 0x18]
cvttss2si eax, dword [ebp + 0x18]
sub esi, eax
and esi, dword [ebp + 0x10]
jmp 0x472af4
cmp bl, 0x14
je 0x472a6c
cmp bl, 0x16
je 0x472a6c
cmp bl, 0x1b
je 0x472a6c
cmp bl, 0x26
je 0x472a6c
cmp bl, 0x27
jne 0x472b50
cmp byte [ebp + 0x10], 0xff
jne 0x472b50
mov edi, dword [edi + 0x90]
call fcn.0045ad00
mov ecx, eax
call fcn.00406d50
push eax
call fcn.00406ec0
mov esi, eax
mov eax, 0x4ec4ec4f
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea ecx, [esi + eax*2]
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
add ecx, edx
shr eax, 0x1f
add eax, ecx
push eax
push edi
call fcn.00454710
add esp, 8
fstp dword [esp]
call fcn.004547a0
mov dword [esp], 0x3f800000
fstp st(0)
push dword [ebp + 0x18]
call fcn.004d16b0
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push dword [eax + ecx + 0x160]
call fcn.00453540
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 0x1c]
push 0
push eax
sub esp, 8
mov ecx, esp
call fcn.00402810
push ecx
mov dword [esp], 0
push esi
push 2
sub esp, 8
mov ecx, esp
push dword [ebp + 0x14]
call fcn.00404b90
sub esp, 8
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
lea eax, [ebp + 8]
push eax
call fcn.00404b70
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x45]
push eax
movzx eax, byte [ecx + 0x44]
mov ecx, dword [ebp - 4]
inc ecx
add eax, ecx
push eax
push dword [ebp - 8]
call fcn.004d1450
mov ecx, eax
call fcn.004e4f20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18