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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
push ebx
push ebp
mov eax, dword [ecx + 0x50]
mov ebp, dword [esp + 0x64]
inc eax
push esi
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 4]
mov esi, dword [ecx + 0x44]
sub eax, edx
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 8]
mov edx, 0x120
push edi
mov edi, dword [ecx + 0x48]
sub edx, eax
sar edx, 1
cmp eax, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], edx
jg 0x49a6e2
mov esi, eax
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x49a700
cmp eax, edi
mov dword [esp + 0x48], esi
jg 0x49a6f6
sub eax, esi
mov edx, eax
xor eax, eax
mov dword [esp + 0x4c], edx
jmp 0x49a700
mov edx, edi
sub edx, esi
sub eax, edi
mov dword [esp + 0x4c], edx
xor edi, edi
mov dword [esp + 0x50], eax
cmp esi, edi
jge 0x49a70e
mov dword [esp + 0x48], edi
cmp edx, edi
jge 0x49a716
mov dword [esp + 0x4c], edi
cmp eax, edi
jge 0x49a71e
mov dword [esp + 0x50], edi
mov eax, dword [ecx + 0x10]
mov edx, 2
cmp eax, edx
jne 0x49ae8e
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x1c], edi
fld dword [0x4f2cc4]
cmp eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x49a773
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
lea eax, [eax + eax*2]
mov dword [esp + 0x54], edx
shl eax, 2
mov ebx, dword [eax + 0x54e90c]
mov eax, dword [eax + 0x55a4bc]
jmp 0x49a79c
or eax, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x54e910]
mov eax, dword [eax + 0x55a4c0]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [edx]
mov ecx, dword [ecx]
test ecx, ecx
lea edx, [edx*8 + 0x517070]
mov dword [esp + 0x30], edx
je 0x49abb5
mov esi, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
jmp 0x49a7f0
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x49a866
mov edx, dword [ebx]
mov edi, dword [esp + 0x6c]
add ebx, 4
mov dword [esp + 0x14], edx
fstp st(0)
mov edx, dword [ebx]
add ebx, 4
add ebx, 4
lea ebp, [edi + edx*4]
mov edx, dword [ebx - 4]
mov edi, dword [ebx]
add ebx, 4
cmp edx, 3
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
jne 0x49a84a
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], 1
mov edi, dword [edx]
shl edi, cl
mov ecx, dword [esi + 0x64]
add edx, 4
mov dword [esp + 0x70], edx
fld dword [ecx + edi*4]
jmp 0x49a866
mov edi, dword [esp + 0x70]
mov edx, dword [esi + edx*4 + 0x58]
mov dword [esp + 0x1c], 3
mov edi, dword [edi]
shl edi, cl
add dword [esp + 0x70], 4
fld dword [edx + edi*4]
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx + 4]
movsx ecx, word [edi]
add edi, 2
mov dword [esp + 0x68], ecx
test ecx, ecx
jge 0x49a8cb
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
je 0x49a8b0
mov ecx, dword [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
movsx ecx, word [edi]
mov ebp, dword [esp + 0x7c]
add edi, 2
dec ebp
mov dword [esp + 0x68], ecx
test ecx, ecx
mov dword [esp + 0x7c], ebp
jl 0x49a87b
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov ecx, edx
and edx, 0xf
sar ecx, 4
cmp ecx, 0xf
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], edx
jne 0x49a9b7
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + edx*4 + 0x54], ecx
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
jne 0x49a913
mov dword [esp + 0x2c], edi
jmp 0x49a964
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebp, 3
and edx, 0xffffff
sub ecx, edi
add ebp, esi
shr edx, cl
mov dword [eax + 0x486c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
je 0x49a9a7
mov edx, dword [esp + 0x2c]
fmul dword [edx*4 + 0x5524b0]
fchs
fstp dword [ebp]
jmp 0x49aa2b
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x5524b0]
fstp dword [ebp]
jmp 0x49aa2b
test ecx, ecx
je 0x49aa24
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov dword [esp + ecx*4 + 0x54], edx
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
fld st(0)
je 0x49aa10
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x552474]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x49aa2b
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x552474]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x49aa2b
mov dword [ebp], 0
mov edx, dword [esp + 0x1c]
lea ecx, [edx*4]
add ebp, ecx
mov ecx, dword [esp + 0x68]
cmp ecx, 0xf
mov dword [esp + 0x10], ebp
jne 0x49ab18
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x7c]
mov dword [esp + edx*4 + 0x54], ecx
mov ecx, dword [esp + 0x30]
or edx, 0xffffffff
mov edi, dword [ecx]
sub edx, edi
add esi, edx
test edi, edi
mov dword [esp + 0x7c], esi
jne 0x49aa74
mov dword [esp + 0x68], edi
jmp 0x49aac5
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebp, 3
and edx, 0xffffff
sub ecx, edi
add ebp, esi
shr edx, cl
mov dword [eax + 0x486c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x68], edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
je 0x49ab08
mov edx, dword [esp + 0x68]
fmul dword [edx*4 + 0x5524b0]
fchs
fstp dword [ebp]
jmp 0x49ab8c
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x5524b0]
fstp dword [ebp]
jmp 0x49ab8c
test ecx, ecx
je 0x49ab85
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov dword [esp + ecx*4 + 0x54], edx
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
fld st(0)
je 0x49ab71
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x552474]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x49ab8c
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x552474]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x49ab8c
mov dword [ebp], 0
mov edx, dword [esp + 0x1c]
lea ecx, [edx*4]
mov edx, dword [esp + 0x14]
add ebp, ecx
mov ecx, dword [esp + 0x40]
dec edx
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], ecx
jne 0x49a7e8
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, 4
add esi, ecx
add edx, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], esi
dec ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ecx
jne 0x49a7bb
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x49ae66
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x49adb1
mov ecx, dword [edi + 0x54]
mov ecx, dword [ecx*8 + 0x517174]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x44], esi
mov dword [esp + 0x68], ecx
jge 0x49ac85
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x49ac76
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
je 0x49ac5d
movsx edx, word [esp + 0x44]
mov ecx, dword [esp + 0x68]
neg edx
lea ecx, [ecx + edx*2]
jmp 0x49ac61
mov ecx, dword [esp + 0x68]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x44], esi
mov dword [esp + 0x68], ecx
jl 0x49ac16
jmp 0x49ac81
mov ecx, dword [esp + 0x7c]
inc ecx
xor esi, esi
mov dword [esp + 0x7c], ecx
mov edi, dword [esp + 0x74]
movsx ecx, si
xor edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], edx
test dl, 1
jne 0x49ad0d
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x49ad09
mov ecx, dword [ebx]
mov esi, dword [esp + 0x6c]
add ebx, 4
mov dword [esp + 0x14], ecx
fstp st(0)
mov ecx, dword [ebx]
add ebx, 4
add ebx, 4
lea ebp, [esi + ecx*4]
mov ecx, dword [ebx - 4]
mov esi, dword [ebx]
add ebx, 4
mov dword [esp + 0x18], ecx
cmp ecx, 3
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x24]
jne 0x49acef
shl esi, cl
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x1c], 1
fld dword [ecx + esi*4]
add dword [esp + 0x70], 4
jmp 0x49ad09
shl esi, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], 3
mov ecx, dword [edi + ecx*4 + 0x58]
fld dword [ecx + esi*4]
add dword [esp + 0x70], 4
dec dword [esp + 0x14]
mov esi, 8
mov ecx, edx
sar esi, cl
mov ecx, dword [esp + 0x44]
test ecx, esi
je 0x49ad7f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x54], edx
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x49ad9e
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
je 0x49ad72
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
fld st(0)
fchs
fstp dword [ebp]
jmp 0x49ad86
fst dword [ebp]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
jmp 0x49ad86
mov dword [ebp], 0
mov ecx, dword [esp + 0x1c]
inc edx
cmp edx, 4
mov dword [esp + 0x68], edx
lea ebp, [ebp + ecx*4]
jl 0x49ac92
jmp 0x49ada2
inc dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
jne 0x49abed
fstp st(0)
cmp ebx, dword [esp + 0x3c]
jae 0x49ae0e
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test edx, edx
jne 0x49adee
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x6c]
add ebx, 4
add ebx, 4
lea ebp, [esi + ecx*4]
mov esi, 1
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 3
je 0x49adeb
mov esi, 3
add ebx, 4
lea ecx, [esi*4]
mov dword [ebp], 0
add ebp, ecx
dec edx
mov dword [ebp], 0
add ebp, ecx
cmp ebx, dword [esp + 0x3c]
jb 0x49adc1
mov ecx, dword [esp + 0x54]
lea edx, [ecx + 1]
mov dword [edi + 0x30], edx
mov edx, dword [esp + 0x58]
cmp ecx, edx
lea esi, [edx + 1]
mov dword [edi + 0x34], esi
mov esi, dword [esp + 0x5c]
lea ebx, [esi + 1]
mov dword [edi + 0x38], ebx
mov ebx, dword [esp + 0x60]
lea ebp, [ebx + 1]
mov dword [edi + 0x3c], ebp
jg 0x49ae3c
mov ecx, edx
cmp ecx, esi
jg 0x49ae42
mov ecx, esi
inc ecx
test ecx, ecx
je 0x49ae71
mov edx, dword [esp + 0x78]
lea esi, [edx*8]
sub esi, edx
lea ecx, [ecx + esi*2]
mov ecx, dword [ecx*4 + 0x5647e0]
mov dword [edi + 0x40], ecx
jmp 0x49b437
mov edi, dword [esp + 0x74]
fstp st(0)
jmp 0x49adb3
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
add edx, ebx
mov ecx, dword [edx*4 + 0x5644a4]
mov dword [edi + 0x40], ecx
jmp 0x49b437
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x14], 0x517218
cmp eax, edi
jne 0x49aea5
mov dword [esp + 0x14], 0x55ad54
mov eax, dword [esp + 0x78]
add ecx, 0x18
fld dword [0x4f2cc4]
lea eax, [eax + eax*2]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov edx, dword [eax*4 + 0x54e914]
lea eax, [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], 3
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [edx]
mov ecx, dword [ecx]
test ecx, ecx
lea edx, [edx*8 + 0x517070]
mov dword [esp + 0x3c], edx
je 0x49b226
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x49af5c
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
mov ecx, dword [edx]
mov ebx, dword [edi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
add ebx, ecx
mov ecx, dword [esp + 0x24]
shl ebx, cl
mov ecx, dword [esp + 0x74]
add edx, 4
fstp st(0)
mov ecx, dword [ecx + 0x64]
add esi, 4
add edi, 4
add edx, 4
fld dword [ecx + ebx*4]
mov ecx, dword [edx - 4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x3c]
mov edi, dword [edx + 4]
movsx ebx, word [edi]
add edi, 2
mov dword [esp + 0x68], ebx
test ebx, ebx
jge 0x49afbd
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebx
je 0x49afa6
mov ecx, dword [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
movsx ebx, word [edi]
mov esi, dword [esp + 0x7c]
add edi, 2
dec esi
mov dword [esp + 0x68], ebx
test ebx, ebx
mov dword [esp + 0x7c], esi
jl 0x49af71
mov edi, ebx
and ebx, 0xf
sar edi, 4
cmp edi, 0xf
mov dword [esp + 0x68], ebx
jne 0x49b089
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
je 0x49b042
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, dword [esp + 0x10]
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebx, 3
and edx, 0xffffff
sub ecx, edi
add ebx, esi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov edi, edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
mov dword [eax + 0x486c], ebx
fmul dword [edi*4 + 0x5524b0]
test dl, 0x80
je 0x49b079
fchs
fstp dword [ebp]
mov ebx, dword [esp + 0x68]
add ebp, 4
mov dword [esp + 0x10], ebp
jmp 0x49b0f3
test edi, edi
je 0x49b0e5
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dword [esp + 0x18], edx
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
fld st(0)
mov dword [eax + 0x486c], ebx
fmul dword [edi*4 + 0x552474]
test dl, 0x80
je 0x49b0cc
fchs
fstp dword [ebp]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x7c], ecx
jmp 0x49b0f3
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp
cmp ebx, 0xf
jne 0x49b1a8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
je 0x49b16c
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, dword [esp + 0x10]
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebx, 3
and edx, 0xffffff
sub ecx, edi
add ebx, esi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov edi, edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
mov dword [eax + 0x486c], ebx
fmul dword [edi*4 + 0x5524b0]
test dl, 0x80
je 0x49b1a3
fchs
fstp dword [ebp]
jmp 0x49b207
test ebx, ebx
je 0x49b200
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dword [esp + 0x18], edx
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
fld st(0)
mov dword [eax + 0x486c], edi
fmul dword [ebx*4 + 0x552474]
test dl, 0x80
je 0x49b1eb
fchs
fstp dword [ebp]
mov ecx, dword [esp + 0x7c]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x7c], ecx
jmp 0x49b20e
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
dec edx
dec ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ecx
jne 0x49af0b
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ecx, 4
add esi, ecx
add edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], esi
dec ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ecx
jne 0x49aee8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x49b3e7
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x49b3e7
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x54]
mov edi, dword [edx*8 + 0x517174]
mov cx, word [edi]
add edi, 2
test cx, cx
mov dword [esp + 0x68], ecx
jge 0x49b2e0
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x49b2d5
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebx
je 0x49b2c4
movsx ecx, word [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
mov cx, word [edi]
add edi, 2
test cx, cx
mov dword [esp + 0x68], ecx
jl 0x49b283
jmp 0x49b2e0
mov ecx, dword [esp + 0x7c]
inc ecx
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov edi, dword [esp + 0x2c]
xor edx, edx
movsx ecx, cx
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], ecx
test dl, 1
jne 0x49b341
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x49b33d
mov ecx, dword [edi]
mov esi, dword [esp + 0x14]
add edi, 4
mov dword [esp + 0x1c], ecx
fstp st(0)
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
add esi, 4
mov ebx, dword [ecx]
mov ecx, dword [esi - 4]
add ebx, ecx
mov ecx, dword [esp + 0x24]
shl ebx, cl
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], esi
mov ecx, dword [ecx + 0x64]
fld dword [ecx + ebx*4]
add dword [esp + 0x70], 4
dec dword [esp + 0x1c]
mov esi, 8
mov ecx, edx
sar esi, cl
mov ecx, dword [esp + 0x44]
test ecx, esi
je 0x49b3ad
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x7c], ecx
js 0x49b3cb
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebx
je 0x49b3a1
mov edx, dword [esp + 0x68]
add ebp, 4
fld st(0)
fchs
fstp dword [ebp - 4]
jmp 0x49b3b7
fst dword [ebp]
mov edx, dword [esp + 0x68]
add ebp, 4
jmp 0x49b3b7
mov dword [ebp], 0
add ebp, 4
inc edx
cmp edx, 4
mov dword [esp + 0x68], edx
jl 0x49b2f1
mov dword [esp + 0x2c], edi
jmp 0x49b3d8
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x2c], edi
inc ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
jne 0x49b25a
mov ecx, dword [esp + 0x6c]
sub ecx, ebp
add ecx, 0x900
sar ecx, 3
fstp st(0)
je 0x49b411
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
dec ecx
jne 0x49b3fa
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x3c], edx
lea edi, [ecx + ecx*2]
shl edi, 3
sub edi, ecx
add edi, edx
mov edx, dword [edi*4 + 0x5644a0]
mov dword [esi + 0x40], edx
mov esi, dword [esp + 0x7c]
cmp esi, 0x10
jle 0x49b477
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 0x49b44f
test esi, esi
jle 0x49b4aa
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, 0x54
ret
jge 0x49b4a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret