Function at 0x49598b
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
push ebp
mov ebp, ecx
sub esp, 0x10
cmp byte [ebp + 0x149], 0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jne 0x4965b1
cmp dword [ebp + 0xf8], 0x15
jne 0x4959bd
mov eax, dword [ebp + 0x678]
mov dword [ebp + 0x674], eax
cmp dword [ebp + 0xf8], 0x1e
jne 0x4959f7
cmp byte [ebp + 0x5b], 0
jne 0x4959d8
mov dword [ebp + 0x674], 0x1b
jmp 0x4959e2
mov dword [ebp + 0x674], 0x20
mov eax, dword [ebp + 0x674]
cmp dword [ebp + 0x680], eax
jle 0x4959f7
dec eax
mov dword [ebp + 0x680], eax
push 0
call fcn.004ab060
cmp word [0x7d17e4], 0
pop ecx
je 0x495a13
cmp word [0x7dddc4], 0
je 0x495a27
cmp word [0x7d1802], 0
je 0x495a2b
cmp word [0x7ddde2], 0
jne 0x495a2b
mov al, 1
jmp 0x495a2d
xor al, al
test al, al
jne 0x495a56
push 0
call fcn.004ab060
xor dl, dl
cmp word [eax + 0x20], 0
pop ecx
je 0x495a52
xor ecx, ecx
cmp word [eax + 0x4a], 0
jne 0x495a4c
inc ecx
test cl, cl
je 0x495a52
mov dl, 1
test dl, dl
je 0x495a61
xor al, al
mov byte [ebp + 0x140], al
mov byte [ebx], 1
push 0
call fcn.004ab060
cmp word [0x7d17fc], 0
pop ecx
je 0x495a81
cmp word [0x7ddddc], 0
jne 0x495a81
mov al, 1
jmp 0x495a83
xor al, al
test al, al
je 0x495ac9
cmp dword [ebp + 0xf8], 0x1e
jne 0x495ac9
cmp byte [ebp + 0x159], 0
jne 0x495ac9
cmp byte [ebp + 0x15a], 0x13
jne 0x495ad1
mov dword [ebp + 0x13c], 0x24
mov byte [ebp + 0x149], 1
mov byte [ebp + 0x148], 1
mov byte [ebp + 0x14a], 1
lea eax, [ebp + 0x14]
mov dword [ebp + 0x78], eax
jmp 0x495ad1
xor al, al
mov byte [ebp + 0x159], al
cmp byte [0x7039b8], 0
jne 0x495ae8
xor eax, eax
mov byte [0x7039b8], 1
mov dword [0x7039b4], eax
mov eax, dword [0x691014]
sub eax, dword [0x7039b4]
cmp eax, 0xc8
jbe 0x495b1b
xor bl, bl
jmp 0x495b0c
movsx edx, bl
xor al, al
inc bl
mov byte [ebp + edx + 0x124], al
cmp bl, 5
jl 0x495afe
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
push 0
call fcn.004ab060
pop ecx
xor cl, cl
cmp word [0x7d17fe], 0
je 0x495b42
xor eax, eax
cmp word [0x7dddde], 0
jne 0x495b3c
inc eax
test al, al
je 0x495b42
mov cl, 1
test cl, cl
je 0x495bd0
xor al, al
mov byte [ebp + 0x140], al
movzx eax, byte [ebp + 0x15a]
sub eax, 9
je 0x495b7e
sub eax, 0xa
je 0x495b6c
sub eax, 2
je 0x495b75
jmp 0x495b7e
mov byte [ebp + 0x15a], 0x15
jmp 0x495b85
mov byte [ebp + 0x15a], 9
jmp 0x495b85
mov byte [ebp + 0x15a], 0x13
cmp dword [ebp + 0xf8], 0x15
jne 0x495bb7
cmp byte [ebp + 0x15a], 0x15
jne 0x495bb7
lea eax, [ebp + 0x25b]
lea ecx, [ebp + 0x15b]
push ecx
push eax
call fcn.00642620
test eax, eax
pop ecx
pop ecx
jne 0x495bb7
mov byte [ebp + 0x15a], 9
cmp dword [ebp + 0xf8], 0x1e
jne 0x495bd0
cmp byte [ebp + 0x15a], 0x15
jne 0x495bd0
mov byte [ebp + 0x15a], 9
push 0
call fcn.004ab060
cmp word [0x7d17ce], 0
pop ecx
jne 0x495c1a
push 0
call fcn.004ab060
pop ecx
mov ecx, eax
call fcn.004aa2b0
test al, al
jne 0x495c1a
push 0
call fcn.004ab060
pop ecx
xor cl, cl
cmp word [eax + 0x10], 0
je 0x495c16
xor edx, edx
cmp word [eax + 0x3a], 0
jne 0x495c10
inc edx
test dl, dl
je 0x495c16
mov cl, 1
test cl, cl
je 0x495c26
xor al, al
mov bl, 1
mov byte [ebp + 0x140], al
jmp 0x495c5c
push 0
call fcn.004ab060
xor eax, eax
xor bl, bl
cmp byte [0x94d78b], 0
pop ecx
jne 0x495c3c
inc eax
test al, al
je 0x495c4b
cmp byte [0x93690b], 0
je 0x495c4b
mov bl, 1
test bl, bl
je 0x495c5a
mov byte [ebp + 0x140], 1
mov bl, 1
jmp 0x495c5c
xor bl, bl
test bl, bl
je 0x495cc1
mov byte [ebp + 0x15a], 0x13
cmp byte [ebp + 0x126], 0
jne 0x495cc9
mov byte [ebp + 0x126], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jne 0x495cb9
test eax, eax
jle 0x495cc9
dec dword [ebp + 0x680]
dec dword [ebp + 0x66c]
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fsubr dword [ebp + 0x670]
fstp dword [ebp + 0x670]
jmp 0x495cc9
dec dword [ebp + 0x680]
jmp 0x495cc9
xor al, al
mov byte [ebp + 0x126], al
push 0
call fcn.004ab060
cmp word [0x7d17d0], 0
pop ecx
jne 0x495d13
push 0
call fcn.004ab060
pop ecx
mov ecx, eax
call fcn.004aa260
test al, al
jne 0x495d13
push 0
call fcn.004ab060
xor dl, dl
cmp word [eax + 0x12], 0
pop ecx
je 0x495d0f
xor ecx, ecx
cmp word [eax + 0x3c], 0
jne 0x495d09
inc ecx
test cl, cl
je 0x495d0f
mov dl, 1
test dl, dl
je 0x495d1f
xor al, al
mov bl, 1
mov byte [ebp + 0x140], al
jmp 0x495d55
push 0
call fcn.004ab060
xor bl, bl
cmp byte [0x94d78c], 0
pop ecx
je 0x495d44
xor eax, eax
cmp byte [0x93690c], 0
jne 0x495d3e
inc eax
test al, al
je 0x495d44
mov bl, 1
test bl, bl
je 0x495d53
mov byte [ebp + 0x140], 1
mov bl, 1
jmp 0x495d55
xor bl, bl
test bl, bl
je 0x495dd3
mov byte [ebp + 0x15a], 0x13
cmp byte [ebp + 0x127], 0
jne 0x495ddb
mov byte [ebp + 0x127], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
mov ecx, dword [ebp + 0x66c]
mov edx, dword [ebp + 0x680]
lea eax, [ecx + 0x1d]
cmp edx, eax
jne 0x495dc0
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp ecx, eax
jge 0x495ddb
inc dword [ebp + 0x680]
inc dword [ebp + 0x66c]
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fadd dword [ebp + 0x670]
fstp dword [ebp + 0x670]
jmp 0x495ddb
mov eax, dword [ebp + 0x674]
dec eax
cmp edx, eax
jge 0x495ddb
inc dword [ebp + 0x680]
jmp 0x495ddb
xor al, al
mov byte [ebp + 0x127], al
cmp dword [ebp + 0xf8], 0x1e
je 0x496046
push 0
call fcn.004ab060
cmp word [0x7d17ca], 0
pop ecx
je 0x495eb4
mov byte [ebp + 0x15a], 0x13
cmp byte [ebp + 0x124], 0
jne 0x495ebc
mov byte [ebp + 0x124], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
xor al, al
mov byte [ebp + 0x140], al
cmp dword [ebp + 0x674], 0x1e
jle 0x495ebc
cmp dword [ebp + 0x66c], 0
jle 0x495e8a
sub dword [ebp + 0x66c], 0x1e
cmp dword [ebp + 0x66c], 0
jge 0x495e59
xor eax, eax
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
add eax, 0x1d
cmp dword [ebp + 0x680], eax
jle 0x495ebc
mov dword [ebp + 0x680], eax
jmp 0x495ebc
xor eax, eax
mov dword [ebp + 0x66c], eax
xor eax, eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
jmp 0x495ebc
xor al, al
mov byte [ebp + 0x124], al
push 0
call fcn.004ab060
cmp word [0x7d17cc], 0
pop ecx
je 0x495f92
mov byte [ebp + 0x15a], 0x13
cmp byte [ebp + 0x125], 0
jne 0x495f9a
mov byte [ebp + 0x125], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
xor al, al
mov byte [ebp + 0x140], al
mov eax, dword [ebp + 0x674]
cmp eax, 0x1e
jle 0x495f9a
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jge 0x495f65
add dword [ebp + 0x66c], 0x1e
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jle 0x495f37
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jge 0x495f9a
mov dword [ebp + 0x680], eax
jmp 0x495f9a
mov dword [ebp + 0x66c], eax
mov eax, dword [ebp + 0x674]
dec eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
jmp 0x495f9a
xor al, al
mov byte [ebp + 0x125], al
push 0
call fcn.004ab060
cmp word [0x7d17c6], 0
pop ecx
je 0x495fec
xor al, al
mov byte [ebp + 0x15a], 0x13
mov byte [ebp + 0x140], al
cmp dword [ebp + 0x674], 0x1e
jle 0x495fcc
xor eax, eax
mov dword [ebp + 0x66c], eax
xor eax, eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
push 0
call fcn.004ab060
cmp word [0x7d17c8], 0
pop ecx
je 0x496046
xor al, al
mov byte [ebp + 0x15a], 0x13
mov byte [ebp + 0x140], al
mov eax, dword [ebp + 0x674]
cmp eax, 0x1e
jle 0x496021
add eax, 0xffffffe2
mov dword [ebp + 0x66c], eax
mov eax, dword [ebp + 0x674]
dec eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
push 0
call fcn.004ab060
cmp word [0x7d17c0], 0
pop ecx
je 0x496066
cmp word [0x7ddda0], 0
jne 0x496066
mov al, 1
jmp 0x496068
xor al, al
test al, al
jne 0x496091
push 0
call fcn.004ab060
xor bl, bl
cmp word [eax + 0x1e], 0
pop ecx
je 0x49608d
xor edx, edx
cmp word [eax + 0x48], 0
jne 0x496087
inc edx
test dl, dl
je 0x49608d
mov bl, 1
test bl, bl
je 0x49609c
xor al, al
mov byte [ebp + 0x140], al
mov byte [esi], 1
push 0
call fcn.004ab060
xor dl, dl
cmp byte [0x94d788], 0
pop ecx
je 0x4960c1
xor eax, eax
cmp byte [0x936908], 0
jne 0x4960bb
inc eax
test al, al
je 0x4960c1
mov dl, 1
test dl, dl
je 0x496248
mov eax, dword [ebp + 0x13c]
mov ecx, dword [ebp + 0x13c]
sub eax, 9
je 0x4960fb
sub eax, 8
je 0x49614e
sub eax, 1
je 0x4961b7
sub eax, 3
je 0x496103
sub eax, 0xf
je 0x496248
jmp 0x496248
mov byte [esi], 1
jmp 0x496248
cmp dword [ebp + 0x678], 0
jle 0x496248
mov eax, dword [ebp + 0x664]
mov dword [ebp + 0x668], eax
lea ebx, [ebp + 0x25b]
lea eax, [ebp + 0x15b]
push ebx
push eax
call fcn.00642560
lea eax, [ebp + 0x15b]
pop ecx
pop ecx
push eax
mov ecx, 0x94ad28
call fcn.004bbb70
mov ecx, ebp
call fcn.00490230
jmp 0x496248
cmp dword [ebp + 0x674], 0x1e
jle 0x496248
cmp dword [ebp + 0x66c], 0
jle 0x4961ab
sub dword [ebp + 0x66c], 0x1e
cmp dword [ebp + 0x66c], 0
jge 0x49617c
xor eax, eax
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
add eax, 0x1d
cmp dword [ebp + 0x680], eax
jle 0x496248
jmp 0x496215
xor eax, eax
mov dword [ebp + 0x66c], eax
xor eax, eax
jmp 0x49622a
mov eax, dword [ebp + 0x674]
cmp eax, 0x1e
jle 0x496248
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jge 0x49621d
add dword [ebp + 0x66c], 0x1e
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jle 0x4961ef
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jge 0x496248
mov dword [ebp + 0x680], eax
jmp 0x496248
mov dword [ebp + 0x66c], eax
mov eax, dword [ebp + 0x674]
dec eax
mov dword [ebp + 0x680], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
push 0
call fcn.004ab060
pop ecx
xor cl, cl
cmp byte [0x94d788], 0
je 0x49626d
xor eax, eax
cmp byte [0x936908], 0
jne 0x496267
inc eax
test al, al
je 0x49626d
mov cl, 1
test cl, cl
je 0x4962b0
mov eax, dword [ebp + 0x13c]
mov edx, dword [ebp + 0x13c]
sub eax, 0xc
je 0x496298
sub eax, 1
je 0x4962a4
sub eax, 6
jne 0x4962f3
mov dword [ebp + 0x13c], 0x14
jmp 0x4962f3
mov dword [ebp + 0x13c], 0xe
jmp 0x4962f3
mov dword [ebp + 0x13c], 0xf
jmp 0x4962f3
push 0
call fcn.004ab060
xor eax, eax
xor bl, bl
cmp byte [0x94d788], 0
pop ecx
jne 0x4962c6
inc eax
test al, al
je 0x4962d5
cmp byte [0x936908], 0
je 0x4962d5
mov bl, 1
test bl, bl
je 0x4962f3
mov eax, dword [ebp + 0x13c]
cmp eax, 0xe
je 0x4962e9
cmp eax, 0xf
jne 0x4962f3
mov dword [ebp + 0x13c], 0x24
push 0
call fcn.004ab060
cmp byte [0x94d788], 0
pop ecx
fldz
fldz
je 0x4965a8
mov eax, dword [ebp + 0x13c]
cmp eax, 0x10
je 0x496324
cmp byte [0x7039b9], 0
je 0x4964b1
mov byte [0x7039b9], 1
mov ecx, dword [ebp + 0x674]
cmp ecx, 0x1e
jle 0x4965af
mov edx, dword [ebp + 0x66c]
lea eax, [ecx - 0x1e]
cmp edx, eax
jl 0x49634f
test edx, edx
jle 0x4965af
mov dword [esp + 8], ecx
mov edx, dword [0x9b48e8]
fild dword [esp + 8]
cmp edx, 0x1c0
fdivr dword [0x68d388]
fstp st(1)
fld dword [0x68d38c]
fadd dword [ebp + 0x670]
fstp st(2)
fld st(1)
fadd st(1)
fld dword [0x68d264]
fmul st(2)
fadd st(3)
fsub st(2)
fsubrp st(1)
fmul dword [0x68d078]
fstp st(2)
jne 0x496399
fld st(1)
jmp 0x4963a9
fld st(1)
fmul dword [0x68d080]
mov dword [esp + 8], edx
fimul dword [esp + 8]
fstp st(2)
fld st(1)
fnstcw word [esp + 4]
mov eax, dword [esp + 4]
or byte [esp + 5], 0xc
fldcw word [esp + 4]
mov dword [esp + 4], eax
cmp edx, 0x1c0
fistp dword [esp + 8]
fldcw word [esp + 4]
mov ebx, dword [esp + 8]
jne 0x4963de
fld dword [0x68d24c]
jmp 0x4963ec
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul dword [0x68d250]
fstp st(2)
cmp edx, 0x1c0
je 0x496404
fmul dword [0x68d080]
mov dword [esp + 8], edx
fimul dword [esp + 8]
fild dword [ebp + 0x130]
mov dword [esp + 8], ebx
fsub st(2)
fisub dword [esp + 8]
fdiv st(1)
fnstcw word [esp + 4]
mov eax, dword [esp + 4]
or byte [esp + 5], 0xc
fldcw word [esp + 4]
mov dword [esp + 4], eax
fistp dword [esp + 8]
fldcw word [esp + 4]
mov eax, dword [esp + 8]
mov dword [ebp + 0x66c], eax
cmp dword [ebp + 0x66c], 0
jge 0x49644e
xor eax, eax
mov dword [ebp + 0x66c], eax
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp dword [ebp + 0x66c], eax
jle 0x496465
mov dword [ebp + 0x66c], eax
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fimul dword [ebp + 0x66c]
fstp dword [ebp + 0x670]
mov eax, dword [ebp + 0x66c]
add eax, 0x1d
cmp dword [ebp + 0x680], eax
jle 0x496494
mov dword [ebp + 0x680], eax
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jge 0x4965af
mov dword [ebp + 0x680], eax
jmp 0x4965af
mov ecx, eax
sub eax, 0xc
je 0x4964cc
sub eax, 1
je 0x49652b
sub eax, 1
je 0x4964cc
sub eax, 1
je 0x49652b
jmp 0x49659e
cmp byte [ebp + 0x128], 0
jne 0x4965af
mov byte [ebp + 0x128], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
mov eax, dword [ebp + 0x66c]
cmp dword [ebp + 0x680], eax
jne 0x496520
test eax, eax
jle 0x4965af
dec dword [ebp + 0x680]
dec dword [ebp + 0x66c]
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fsubr dword [ebp + 0x670]
jmp 0x496583
dec dword [ebp + 0x680]
jmp 0x4965af
cmp byte [ebp + 0x128], 0
jne 0x4965af
mov byte [ebp + 0x128], 1
mov eax, dword [0x691014]
mov dword [0x7039b4], eax
mov edx, dword [ebp + 0x66c]
mov ebx, dword [ebp + 0x680]
lea eax, [edx + 0x1d]
cmp ebx, eax
jne 0x49658b
mov eax, dword [ebp + 0x674]
add eax, 0xffffffe2
cmp edx, eax
jge 0x4965af
inc dword [ebp + 0x680]
inc dword [ebp + 0x66c]
fild dword [ebp + 0x674]
fdivr dword [0x68d388]
fadd dword [ebp + 0x670]
fstp dword [ebp + 0x670]
jmp 0x4965af
mov eax, dword [ebp + 0x674]
dec eax
cmp ebx, eax
jge 0x4965af
inc dword [ebp + 0x680]
jmp 0x4965af
xor al, al
mov byte [ebp + 0x128], al
jmp 0x4965af
xor al, al
mov byte [0x7039b9], al
fcompp
add esp, 0x10
pop ebp
pop esi
pop ebx
ret 8