Function at 0x49b4c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x68]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x44]
inc eax
push esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
push edi
sub eax, ebp
mov ebp, dword [edx + 0x48]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 8]
mov edi, 0x120
lea ebx, [esi + 0x900]
sub edi, eax
mov dword [esp + 0x10], ebx
sar edi, 1
cmp eax, ecx
mov dword [esp + 0x2c], edi
jg 0x49b519
xor edi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
xor eax, eax
jmp 0x49b53d
cmp eax, ebp
mov dword [esp + 0x4c], ecx
jg 0x49b533
sub eax, ecx
xor ecx, ecx
mov edi, eax
xor eax, eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
jmp 0x49b543
mov edi, ebp
sub edi, ecx
sub eax, ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
xor ecx, ecx
cmp dword [esp + 0x4c], ecx
jge 0x49b54d
mov dword [esp + 0x4c], ecx
cmp edi, ecx
jge 0x49b555
mov dword [esp + 0x50], ecx
cmp eax, ecx
jge 0x49b55d
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 0x10]
mov ebp, 2
cmp eax, ebp
jne 0x49be3c
mov eax, dword [edx + 0x14]
mov dword [esp + 0x14], ecx
fld dword [0x4f2cc4]
cmp eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
je 0x49b5ba
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
lea eax, [eax + eax*2]
mov dword [esp + 0x58], ebp
shl eax, 2
mov edi, dword [eax + 0x54e90c]
mov eax, dword [eax + 0x55a4bc]
mov dword [esp + 0x40], eax
jmp 0x49b5e7
or eax, 0xffffffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x7c]
lea eax, [eax + eax*2]
shl eax, 2
mov ecx, dword [eax + 0x55a4c0]
mov edi, dword [eax + 0x54e910]
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x4c]
add edx, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [edx]
mov ecx, dword [ecx]
test ecx, ecx
lea edx, [edx*8 + 0x517070]
mov dword [esp + 0x34], edx
je 0x49bae0
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x44], ecx
jmp 0x49b633
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x49b6c7
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi]
add edi, 4
add edi, 4
lea ebx, [ebp + ecx*4 + 0x900]
lea esi, [ebp + ecx*4]
mov ebp, dword [edi - 4]
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x74]
add edi, 4
cmp ebp, 3
mov ecx, dword [ecx]
mov dword [esp + 0x10], ebx
fstp st(0)
mov dword [esp + 0x18], ebp
jne 0x49b6a1
mov dword [esp + 0x6c], ecx
mov ecx, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], 1
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x64]
fld dword [ecx + edx*4]
add dword [esp + 0x74], 4
jmp 0x49b6cb
mov dword [esp + 0x6c], ecx
mov ecx, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], 3
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + ebp*4 + 0x58]
fld dword [ecx + edx*4]
add dword [esp + 0x74], 4
jmp 0x49b6cb
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 4]
movsx ecx, word [edx]
add edx, 2
mov dword [esp + 0x20], ecx
test ecx, ecx
mov dword [esp + 0x6c], edx
jge 0x49b74c
mov ebx, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebx]
shl dl, cl
inc ecx
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, ebx
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
je 0x49b71f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x49b723
mov edx, dword [esp + 0x6c]
movsx ecx, word [edx]
mov ebp, dword [esp + 0x80]
add edx, 2
dec ebp
mov dword [esp + 0x20], ecx
test ecx, ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x6c], edx
jl 0x49b6e4
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov edx, ecx
and ecx, 0xf
sar edx, 4
cmp edx, 0xf
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], ecx
jne 0x49b860
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov dword [esp + ebp*4 + 0x58], ecx
mov ebp, dword [esp + 0x80]
mov edx, dword [edx]
or ecx, 0xffffffff
sub ecx, edx
add ebp, ecx
test edx, edx
mov dword [esp + 0x80], ebp
jne 0x49b792
mov dword [esp + 0x30], edx
jmp 0x49b7e9
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [ebp + 1]
mov cl, byte [ebp + 2]
mov bh, byte [ebp]
shl ebx, 8
or ebx, ecx
mov ecx, dword [eax + 0x4868]
shl ebx, cl
add ecx, edx
and ebx, 0xffffff
mov dword [esp + 0x6c], ebx
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebx, 3
sub ecx, edx
mov edx, dword [esp + 0x6c]
add ebx, ebp
shr edx, cl
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [ebp]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x49b842
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x5524b0]
mov ecx, dword [esp + 0x20]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x49b907
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
fmul dword [edx*4 + 0x5524b0]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x49b907
test edx, edx
je 0x49b903
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov ebp, dword [eax + 0x486c]
mov dword [esp + edx*4 + 0x58], ecx
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebp]
shl dl, cl
inc ecx
fld st(0)
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x49b8d9
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x552474]
mov ecx, dword [esp + 0x80]
dec ecx
fld st(0)
fadd dword [esi]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x20]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x49b907
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
dec ecx
fmul dword [edx*4 + 0x552474]
fld dword [esi]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x20]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x49b907
mov edx, dword [esi]
mov dword [ebx], edx
mov edx, dword [esp + 0x14]
shl edx, 2
add ebx, edx
add esi, edx
cmp ecx, 0xf
mov dword [esp + 0x10], ebx
jne 0x49ba16
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x80]
mov dword [esp + edx*4 + 0x58], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
or ecx, 0xffffffff
sub ecx, edx
add ebp, ecx
test edx, edx
mov dword [esp + 0x80], ebp
jne 0x49b950
mov dword [esp + 0x30], edx
jmp 0x49b9a7
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [ebp + 1]
mov cl, byte [ebp + 2]
mov bh, byte [ebp]
shl ebx, 8
or ebx, ecx
mov ecx, dword [eax + 0x4868]
shl ebx, cl
add ecx, edx
and ebx, 0xffffff
mov dword [esp + 0x6c], ebx
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebx, 3
sub ecx, edx
mov edx, dword [esp + 0x6c]
add ebx, ebp
shr edx, cl
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [ebp]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x49b9fc
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x5524b0]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x49bab5
mov edx, dword [esp + 0x30]
fmul dword [edx*4 + 0x5524b0]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x49bab5
test ecx, ecx
je 0x49bab1
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov ebp, dword [eax + 0x486c]
mov dword [esp + edx*4 + 0x58], ecx
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebp]
shl dl, cl
inc ecx
fld st(0)
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x49ba8b
mov ecx, dword [esp + 0x20]
fmul dword [ecx*4 + 0x552474]
mov ecx, dword [esp + 0x80]
dec ecx
fld st(0)
fadd dword [esi]
mov dword [esp + 0x80], ecx
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x49bab5
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
dec ecx
fmul dword [edx*4 + 0x552474]
fld dword [esi]
mov dword [esp + 0x80], ecx
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x49bab5
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esp + 0x14]
lea ecx, [edx*4]
mov edx, dword [esp + 0x1c]
add ebx, ecx
add esi, ecx
mov ecx, dword [esp + 0x44]
dec edx
dec ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ecx
jne 0x49b62b
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, 4
add ebp, ecx
add edx, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], ebp
dec ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], ecx
jne 0x49b5fe
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x49bd5e
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x49bd5e
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x517174]
mov bp, word [ecx]
add ecx, 2
test bp, bp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ecx
jge 0x49bbc8
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
js 0x49bbb7
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebp]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x49bb9e
movsx ecx, word [esp + 0x48]
mov edx, dword [esp + 0x3c]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x49bba2
mov ecx, dword [esp + 0x3c]
mov bp, word [ecx]
add ecx, 2
test bp, bp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ecx
jl 0x49bb48
jmp 0x49bbc8
mov ecx, dword [esp + 0x80]
inc ecx
xor ebp, ebp
mov dword [esp + 0x80], ecx
movsx edx, bp
xor ecx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ecx
test cl, 1
jne 0x49bca4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x49bc91
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x70]
mov ecx, dword [edi]
mov ebp, dword [edi + 4]
add edi, 4
mov dword [esp + 0x18], ebp
add edi, 4
lea ebx, [esi + ecx*4 + 0x900]
fstp st(0)
mov edx, dword [edi]
add edi, 4
cmp ebp, 3
lea esi, [esi + ecx*4]
mov dword [esp + 0x24], edx
jne 0x49bc58
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], 1
mov edx, dword [ecx]
mov ecx, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x64]
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x74]
add ecx, 4
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x49bca8
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], 3
mov edx, dword [edx]
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + ebp*4 + 0x58]
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x74]
add ecx, 4
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x49bca8
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x49bca8
mov ebp, dword [esp + 0x18]
mov edx, 8
sar edx, cl
mov ecx, dword [esp + 0x48]
test ecx, edx
je 0x49bd21
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x24]
dec ecx
mov dword [esp + ebp*4 + 0x58], edx
mov dword [esp + 0x80], ecx
js 0x49bd48
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebp]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x49bd13
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
jmp 0x49bd25
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fld st(0)
fadd dword [esi]
fstp dword [esi]
jmp 0x49bd25
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esp + 0x14]
lea ecx, [edx*4]
add ebx, ecx
add esi, ecx
mov ecx, dword [esp + 0x3c]
inc ecx
cmp ecx, 4
mov dword [esp + 0x3c], ecx
jl 0x49bbd5
jmp 0x49bd4f
inc dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x49bb14
cmp edi, dword [esp + 0x40]
fstp st(0)
jae 0x49bdc3
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x70]
test edx, edx
jne 0x49bda5
mov edx, dword [edi]
mov ecx, dword [edi + 4]
add edi, 4
mov dword [esp + 0x14], 1
add edi, 4
lea ebx, [ebp + ecx*4 + 0x900]
lea esi, [ebp + ecx*4]
mov ecx, dword [edi]
add edi, 4
cmp ecx, 3
je 0x49bda2
mov dword [esp + 0x14], 3
add edi, 4
mov ecx, dword [esi]
dec edx
mov dword [ebx], ecx
mov ecx, dword [esp + 0x14]
shl ecx, 2
add esi, ecx
add ebx, ecx
mov ebp, dword [esi]
add esi, ecx
mov dword [ebx], ebp
add ebx, ecx
cmp edi, dword [esp + 0x40]
jb 0x49bd6a
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x78]
lea esi, [edx + 1]
mov dword [ecx + 0x30], esi
mov esi, dword [esp + 0x5c]
cmp edx, esi
lea edi, [esi + 1]
mov dword [ecx + 0x34], edi
mov edi, dword [esp + 0x60]
lea ebx, [edi + 1]
mov dword [ecx + 0x38], ebx
mov ebx, dword [esp + 0x64]
lea ebp, [ebx + 1]
mov dword [ecx + 0x3c], ebp
jg 0x49bdf5
mov edx, esi
cmp edx, edi
jg 0x49bdfb
mov edx, edi
inc edx
test edx, edx
je 0x49be1f
mov esi, dword [esp + 0x7c]
lea edi, [esi*8]
sub edi, esi
lea edx, [edx + edi*2]
mov edx, dword [edx*4 + 0x5647e0]
mov dword [ecx + 0x40], edx
jmp 0x49c56c
mov edx, dword [esp + 0x7c]
lea esi, [edx + edx*2]
shl esi, 3
sub esi, edx
add esi, ebx
mov edx, dword [esi*4 + 0x5644a4]
mov dword [ecx + 0x40], edx
jmp 0x49c56c
mov eax, dword [edx + 0x4c]
mov dword [esp + 0x1c], 0x517218
cmp eax, ecx
jne 0x49be53
mov dword [esp + 0x1c], 0x55ad54
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], ecx
fld dword [0x4f2cc4]
lea eax, [eax + eax*2]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], 0xffffffff
mov edi, dword [eax*4 + 0x54e914]
lea eax, [edx + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], 3
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebp, dword [ebp]
mov ecx, dword [ecx]
test ecx, ecx
lea ebp, [ebp*8 + 0x517070]
mov dword [esp + 0x3c], ebp
je 0x49c311
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x49bf04
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x20], ecx
mov edx, dword [edx + 0x64]
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [edi]
add ebp, dword [ecx]
mov ecx, dword [esp + 0x28]
fstp st(0)
shl ebp, cl
fld dword [edx + ebp*4]
mov edx, dword [esp + 0x1c]
add edx, 4
add edi, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x74], edi
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
movsx ecx, word [edx]
add edx, 2
mov dword [esp + 0x6c], ecx
test ecx, ecx
mov dword [esp + 0x40], edx
jge 0x49bf7d
mov edi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [edi]
shl dl, cl
inc ecx
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
je 0x49bf58
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x49bf5c
mov edx, dword [esp + 0x40]
movsx ecx, word [edx]
mov ebp, dword [esp + 0x80]
add edx, 2
dec ebp
mov dword [esp + 0x6c], ecx
test ecx, ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x40], edx
jl 0x49bf1d
mov edx, ecx
and ecx, 0xf
sar edx, 4
cmp edx, 0xf
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], ecx
jne 0x49c0a3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov ebp, dword [edx]
mov edx, dword [esp + 0x80]
sub ecx, ebp
add edx, ecx
test ebp, ebp
mov dword [esp + 0x80], edx
jne 0x49bfc3
mov dword [esp + 0x40], ebp
jmp 0x49c015
mov edi, dword [eax + 0x486c]
xor edx, edx
xor ecx, ecx
mov dl, byte [edi + 1]
mov cl, byte [edi + 2]
mov dh, byte [edi]
shl edx, 8
or edx, ecx
mov ecx, dword [eax + 0x4868]
shl edx, cl
add ecx, ebp
and edx, 0xffffff
mov dword [esp + 0x48], edx
mov edx, ecx
sar edx, 3
and ecx, 7
add edx, edi
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
mov dword [eax + 0x486c], edx
mov edx, dword [esp + 0x48]
sub ecx, ebp
shr edx, cl
mov dword [esp + 0x40], edx
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov dl, byte [edi]
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
fld st(0)
je 0x49c077
mov ecx, dword [esp + 0x40]
add ebx, 4
mov dword [esp + 0x10], ebx
add esi, 4
fmul dword [ecx*4 + 0x5524b0]
mov ecx, dword [esp + 0x6c]
fld st(0)
fadd dword [esi - 4]
fstp dword [ebx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
fstp st(0)
jmp 0x49c14b
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fmul dword [edx*4 + 0x5524b0]
fld dword [esi - 4]
mov dword [esp + 0x10], ebx
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x49c14b
test edx, edx
je 0x49c13d
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov dword [esp + 0x18], ecx
mov dl, byte [edi]
mov ecx, ebp
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
fld st(0)
je 0x49c108
mov edx, dword [esp + 0x48]
add ebx, 4
mov dword [esp + 0x10], ebx
fmul dword [edx*4 + 0x552474]
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x49c125
mov ecx, dword [esp + 0x48]
add ebx, 4
mov dword [esp + 0x10], ebx
fmul dword [ecx*4 + 0x552474]
fld dword [esi]
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi]
fstp dword [esi]
mov ecx, dword [esp + 0x80]
add esi, 4
dec ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x6c]
jmp 0x49c14b
mov edx, dword [esi]
mov dword [ebx], edx
add ebx, 4
mov dword [esp + 0x10], ebx
add esi, 4
cmp ecx, 0xf
jne 0x49c241
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov ebp, dword [edx]
mov edx, dword [esp + 0x80]
sub ecx, ebp
add edx, ecx
test ebp, ebp
mov dword [esp + 0x80], edx
jne 0x49c181
mov dword [esp + 0x6c], ebp
jmp 0x49c1cf
mov edi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
xor edx, edx
xor ebx, ebx
mov dl, byte [edi + 1]
mov bl, byte [edi + 2]
mov dh, byte [edi]
shl edx, 8
or edx, ebx
shl edx, cl
add ecx, ebp
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebx, 3
and edx, 0xffffff
sub ecx, ebp
add ebx, edi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x6c], edx
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov dl, byte [edi]
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
fld st(0)
je 0x49c223
mov edx, dword [esp + 0x6c]
add ebx, 4
fmul dword [edx*4 + 0x5524b0]
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x49c2ee
mov ecx, dword [esp + 0x6c]
add ebx, 4
fmul dword [ecx*4 + 0x5524b0]
fld dword [esi]
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi]
fstp dword [esi]
jmp 0x49c2ee
test ecx, ecx
je 0x49c2e7
mov edx, dword [esp + 0x24]
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov dword [esp + 0x18], edx
mov dl, byte [edi]
mov ecx, ebp
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
fld st(0)
je 0x49c2b7
mov ecx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fmul dword [ecx*4 + 0x552474]
mov ecx, dword [esp + 0x80]
dec ecx
fld st(0)
fadd dword [esi - 4]
mov dword [esp + 0x80], ecx
fstp dword [ebx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
fstp st(0)
jmp 0x49c2f1
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
add ebx, 4
add esi, 4
fmul dword [edx*4 + 0x552474]
fld dword [esi - 4]
dec ecx
fsub st(1)
mov dword [esp + 0x80], ecx
fstp dword [ebx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x49c2f1
mov ecx, dword [esi]
mov dword [ebx], ecx
add ebx, 4
add esi, 4
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
dec edx
dec ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], ecx
jne 0x49beba
mov ebp, dword [esp + 0x38]
mov ecx, 4
add ebp, ecx
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x34]
add ebp, ecx
mov ecx, dword [esp + 0x30]
dec ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ecx
jne 0x49be96
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x49c51e
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x49c51e
mov edx, dword [esp + 0x78]
mov ecx, dword [edx + 0x54]
mov ecx, dword [ecx*8 + 0x517174]
mov di, word [ecx]
add ecx, 2
test di, di
mov dword [esp + 0x48], edi
mov dword [esp + 0x6c], ecx
jge 0x49c3f0
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
js 0x49c3df
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov dl, byte [edi]
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
je 0x49c3c6
movsx edx, word [esp + 0x48]
mov ecx, dword [esp + 0x6c]
neg edx
lea ecx, [ecx + edx*2]
jmp 0x49c3ca
mov ecx, dword [esp + 0x6c]
mov di, word [ecx]
add ecx, 2
test di, di
mov dword [esp + 0x48], edi
mov dword [esp + 0x6c], ecx
jl 0x49c375
jmp 0x49c3f0
mov ecx, dword [esp + 0x80]
inc ecx
xor edi, edi
mov dword [esp + 0x80], ecx
movsx ecx, di
xor edx, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x6c], edx
test dl, 1
jne 0x49c454
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x49c450
mov ecx, dword [esp + 0x14]
fstp st(0)
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x20], edi
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x1c]
mov ebp, dword [ecx]
mov ecx, dword [edi]
add edi, 4
add ebp, ecx
mov ecx, dword [esp + 0x28]
shl ebp, cl
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], edi
mov ecx, dword [ecx + 0x64]
fld dword [ecx + ebp*4]
add dword [esp + 0x74], 4
dec dword [esp + 0x20]
mov edi, 8
mov ecx, edx
sar edi, cl
mov ecx, dword [esp + 0x48]
test ecx, edi
je 0x49c4ee
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x18], edx
test ecx, ecx
mov dword [esp + 0x80], ecx
jle 0x49c508
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov dl, byte [edi]
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
je 0x49c4d3
fld st(0)
fadd dword [esi]
mov edx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fstp dword [ebx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
jmp 0x49c4f8
fld dword [esi]
fsub st(1)
mov edx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fstp dword [ebx - 4]
fld st(0)
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x49c4f8
mov ecx, dword [esi]
mov dword [ebx], ecx
add ebx, 4
add esi, 4
inc edx
cmp edx, 4
mov dword [esp + 0x6c], edx
jl 0x49c3fd
jmp 0x49c50f
inc dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x49c345
mov ecx, dword [esp + 0x70]
sub ecx, ebx
add ecx, 0x1200
sar ecx, 3
fstp st(0)
je 0x49c548
mov edx, dword [esi]
add esi, 4
mov dword [ebx], edx
add ebx, 4
mov edx, dword [esi]
add esi, 4
mov dword [ebx], edx
add ebx, 4
dec ecx
jne 0x49c531
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
inc ecx
lea edi, [esi + esi*2]
shl edi, 3
sub edi, esi
mov dword [edx + 0x3c], ecx
add edi, ecx
mov ecx, dword [edi*4 + 0x5644a0]
mov dword [edx + 0x40], ecx
mov esi, dword [esp + 0x80]
cmp esi, 0x10
jle 0x49c5af
lea edx, [esi - 1]
shr edx, 4
mov ecx, edx
neg ecx
shl ecx, 4
add esi, ecx
mov ecx, dword [eax + 0x4868]
mov ebx, dword [eax + 0x486c]
add ecx, 0x10
mov edi, ecx
and ecx, 7
sar edi, 3
add ebx, edi
dec edx
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
jne 0x49c587
test esi, esi
jle 0x49c5e2
mov edx, dword [eax + 0x4868]
lea ecx, [edx + esi]
mov esi, dword [eax + 0x486c]
mov edx, ecx
sar edx, 3
add esi, edx
and ecx, 7
mov dword [eax + 0x486c], esi
mov dword [eax + 0x4868], ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret
jge 0x49c5d8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret