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

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
push ebx
push ebp
mov eax, dword [edx + 0x50]
push esi
inc eax
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [edx + 0x44]
mov ebp, dword [edx + 0x48]
push edi
mov dword [esp + 0x80], eax
mov eax, dword [edx + 8]
mov edi, 0x120
lea ebx, [esi + 0x900]
sub edi, eax
mov dword [esp + 0x24], ebx
sar edi, 1
cmp eax, ecx
mov dword [esp + 0x2c], edi
jg 0x49f4fb
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
jmp 0x49f524
cmp eax, ebp
mov dword [esp + 0x4c], ecx
jg 0x49f513
sub eax, ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
jmp 0x49f522
sub ebp, ecx
mov ecx, dword [edx + 0x48]
sub eax, ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], eax
xor eax, eax
mov ebp, dword [edx + 0x10]
mov ecx, 2
cmp ebp, ecx
jne 0x49fdff
mov edi, dword [edx + 0x14]
mov dword [esp + 0x10], eax
fld dword [0x4ea920]
cmp edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
je 0x49f57d
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
lea eax, [eax + eax*2]
mov dword [esp + 0x58], ecx
shl eax, 2
mov edi, dword [eax + 0x54f1fc]
mov eax, dword [eax + 0x55adac]
jmp 0x49f5a6
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 edi, dword [eax + 0x54f200]
mov eax, dword [eax + 0x55adb0]
mov dword [esp + 0x40], eax
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], ecx
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 + 0x520980]
mov dword [esp + 0x34], edx
je 0x49faa3
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
jmp 0x49f5f6
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x49f68a
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x18], 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 + 0x20], ecx
mov ecx, dword [esp + 0x74]
add edi, 4
cmp ebp, 3
mov ecx, dword [ecx]
mov dword [esp + 0x24], ebx
fstp st(0)
mov dword [esp + 0x14], ebp
jne 0x49f664
mov dword [esp + 0x6c], ecx
mov ecx, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], 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 0x49f68e
mov dword [esp + 0x6c], ecx
mov ecx, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], 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 0x49f68e
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 4]
movsx ecx, word [edx]
add edx, 2
mov dword [esp + 0x1c], ecx
test ecx, ecx
mov dword [esp + 0x6c], edx
jge 0x49f70f
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 0x49f6e2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x49f6e6
mov edx, dword [esp + 0x6c]
movsx ecx, word [edx]
mov ebp, dword [esp + 0x80]
add edx, 2
dec ebp
mov dword [esp + 0x1c], ecx
test ecx, ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x6c], edx
jl 0x49f6a7
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov edx, ecx
and ecx, 0xf
sar edx, 4
cmp edx, 0xf
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], ecx
jne 0x49f823
mov ecx, dword [esp + 0x20]
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 0x49f755
mov dword [esp + 0x30], edx
jmp 0x49f7ac
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bh, byte [ebp]
mov cl, byte [ebp + 2]
mov bl, byte [ebp + 1]
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 + 0x24]
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 0x49f805
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x552da0]
mov ecx, dword [esp + 0x1c]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x49f8ca
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
fmul dword [edx*4 + 0x552da0]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x49f8ca
test edx, edx
je 0x49f8c6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
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 0x49f89c
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x552d64]
mov ecx, dword [esp + 0x80]
dec ecx
fld st(0)
fadd dword [esi]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x1c]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x49f8ca
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
dec ecx
fmul dword [edx*4 + 0x552d64]
fld dword [esi]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x1c]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x49f8ca
mov edx, dword [esi]
mov dword [ebx], edx
mov edx, dword [esp + 0x10]
shl edx, 2
add ebx, edx
add esi, edx
cmp ecx, 0xf
mov dword [esp + 0x24], ebx
jne 0x49f9d9
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x80]
mov dword [esp + ecx*4 + 0x58], edx
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 0x49f913
mov dword [esp + 0x30], edx
jmp 0x49f96a
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bh, byte [ebp]
mov cl, byte [ebp + 2]
mov bl, byte [ebp + 1]
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 + 0x24]
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 0x49f9bf
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x552da0]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x49fa78
mov edx, dword [esp + 0x30]
fmul dword [edx*4 + 0x552da0]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x49fa78
test ecx, ecx
je 0x49fa74
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
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 0x49fa4e
mov ecx, dword [esp + 0x1c]
fmul dword [ecx*4 + 0x552d64]
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 0x49fa78
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
dec ecx
fmul dword [edx*4 + 0x552d64]
fld dword [esi]
mov dword [esp + 0x80], ecx
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x49fa78
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esp + 0x10]
lea ecx, [edx*4]
mov edx, dword [esp + 0x18]
add ebx, ecx
add esi, ecx
mov ecx, dword [esp + 0x44]
dec edx
dec ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], ecx
jne 0x49f5ee
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 0x49f5c1
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x49fd21
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x49fd21
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x520a84]
mov bp, word [ecx]
add ecx, 2
test bp, bp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ecx
jge 0x49fb8b
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
js 0x49fb7a
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 0x49fb61
movsx ecx, word [esp + 0x48]
mov edx, dword [esp + 0x3c]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x49fb65
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 0x49fb0b
jmp 0x49fb8b
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 0x49fc67
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x49fc54
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x70]
mov ecx, dword [edi]
mov ebp, dword [edi + 4]
add edi, 4
mov dword [esp + 0x14], 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 + 0x20], edx
jne 0x49fc1b
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], 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 + 0x18]
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x49fc6b
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], 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 + 0x18]
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x49fc6b
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x49fc6b
mov ebp, dword [esp + 0x14]
mov edx, 8
sar edx, cl
mov ecx, dword [esp + 0x48]
test ecx, edx
je 0x49fce4
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + ebp*4 + 0x58], edx
mov dword [esp + 0x80], ecx
js 0x49fd0b
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 0x49fcd6
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
jmp 0x49fce8
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fld st(0)
fadd dword [esi]
fstp dword [esi]
jmp 0x49fce8
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esp + 0x10]
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 0x49fb98
jmp 0x49fd12
inc dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x49fad7
cmp edi, dword [esp + 0x40]
fstp st(0)
jae 0x49fd86
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x70]
test edx, edx
jne 0x49fd68
mov edx, dword [edi]
mov ecx, dword [edi + 4]
add edi, 4
mov dword [esp + 0x10], 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 0x49fd65
mov dword [esp + 0x10], 3
add edi, 4
mov ecx, dword [esi]
dec edx
mov dword [ebx], ecx
mov ecx, dword [esp + 0x10]
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 0x49fd2d
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 0x49fdb8
mov edx, esi
cmp edx, edi
jg 0x49fdbe
mov edx, edi
inc edx
test edx, edx
je 0x49fde2
mov esi, dword [esp + 0x7c]
lea edi, [esi*8]
sub edi, esi
lea edx, [edx + edi*2]
mov edx, dword [edx*4 + 0x564dc0]
mov dword [ecx + 0x40], edx
jmp 0x4a0521
mov edx, dword [esp + 0x7c]
lea esi, [edx + edx*2]
shl esi, 3
sub esi, edx
add esi, ebx
mov edx, dword [esi*4 + 0x564a84]
mov dword [ecx + 0x40], edx
jmp 0x4a0521
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x18], 0x520b48
cmp ecx, eax
jne 0x49fe16
mov dword [esp + 0x18], 0x55b644
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], 0xffffffff
fld dword [0x4ea920]
lea eax, [eax + eax*2]
mov dword [esp + 0x30], 3
mov ecx, dword [eax*4 + 0x54f204]
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], ecx
lea ecx, [edx + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], ecx
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 + 0x520980]
mov dword [esp + 0x3c], ebp
je 0x4a02ca
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x49fecd
mov ecx, dword [esp + 0x14]
mov edx, dword [edx + 0x64]
fstp st(0)
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x1c], edi
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
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 + 0x74]
mov dword [esp + 0x18], edi
add ecx, 4
mov dword [esp + 0x74], ecx
fld dword [edx + ebp*4]
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 0x49ff46
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 0x49ff21
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x49ff25
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 0x49fee6
mov edx, ecx
and ecx, 0xf
sar edx, 4
cmp edx, 0xf
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], ecx
jne 0x4a0064
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], 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 0x49ff8c
mov dword [esp + 0x40], ebp
jmp 0x49ffde
mov edi, dword [eax + 0x486c]
xor edx, edx
xor ecx, ecx
mov dh, byte [edi]
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
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 0x4a003c
mov ecx, dword [esp + 0x40]
add ebx, 4
add esi, 4
fmul dword [ecx*4 + 0x552da0]
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 0x4a0100
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fmul dword [edx*4 + 0x552da0]
fld dword [esi - 4]
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x4a0100
test edx, edx
je 0x4a00f6
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov dword [esp + 0x24], 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 0x4a00c5
mov edx, dword [esp + 0x48]
add ebx, 4
fmul dword [edx*4 + 0x552d64]
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x4a00de
mov ecx, dword [esp + 0x48]
add ebx, 4
fmul dword [ecx*4 + 0x552d64]
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 0x4a0100
mov edx, dword [esi]
mov dword [ebx], edx
add ebx, 4
add esi, 4
cmp ecx, 0xf
jne 0x4a01fa
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], 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 0x4a0136
mov dword [esp + 0x6c], ebp
jmp 0x4a0188
mov edi, dword [eax + 0x486c]
xor edx, edx
xor ecx, ecx
mov dh, byte [edi]
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, dword [eax + 0x4868]
shl edx, cl
add ecx, ebp
and edx, 0xffffff
mov dword [esp + 0x6c], 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 + 0x6c]
sub ecx, ebp
shr edx, cl
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 0x4a01dc
mov ecx, dword [esp + 0x6c]
add ebx, 4
fmul dword [ecx*4 + 0x552da0]
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x4a02a7
mov edx, dword [esp + 0x6c]
add ebx, 4
fmul dword [edx*4 + 0x552da0]
fld dword [esi]
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi]
fstp dword [esi]
jmp 0x4a02a7
test ecx, ecx
je 0x4a02a0
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov dword [esp + 0x24], 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 0x4a0270
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
add ebx, 4
add esi, 4
fmul dword [edx*4 + 0x552d64]
dec ecx
mov dword [esp + 0x80], ecx
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 0x4a02aa
mov ecx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fmul dword [ecx*4 + 0x552d64]
fld dword [esi - 4]
mov ecx, dword [esp + 0x80]
fsub st(1)
dec ecx
mov dword [esp + 0x80], ecx
fstp dword [ebx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x4a02aa
mov edx, dword [esi]
mov dword [ebx], edx
add ebx, 4
add esi, 4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
dec edx
dec ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], ecx
jne 0x49fe7d
mov edi, dword [esp + 0x2c]
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 0x49fe59
test edi, edi
je 0x4a04d3
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x4a04d3
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x520a84]
mov di, word [ecx]
add ecx, 2
test di, di
mov dword [esp + 0x48], edi
mov dword [esp + 0x6c], ecx
jge 0x4a03a5
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
js 0x4a0394
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 0x4a037b
movsx ecx, word [esp + 0x48]
mov edx, dword [esp + 0x6c]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x4a037f
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 0x4a032a
jmp 0x4a03a5
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 0x4a0409
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4a0405
mov ecx, dword [esp + 0x14]
fstp st(0)
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x1c], edi
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
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 + 0x18], edi
mov ecx, dword [ecx + 0x64]
fld dword [ecx + ebp*4]
add dword [esp + 0x74], 4
dec dword [esp + 0x1c]
mov edi, 8
mov ecx, edx
sar edi, cl
mov ecx, dword [esp + 0x48]
test ecx, edi
je 0x4a04a3
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x24], edx
test ecx, ecx
mov dword [esp + 0x80], ecx
jle 0x4a04bd
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 0x4a0488
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 0x4a04ad
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 0x4a04ad
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 0x4a03b2
jmp 0x4a04c4
inc dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x4a02fa
mov ecx, dword [esp + 0x70]
sub ecx, ebx
add ecx, 0x1200
sar ecx, 3
fstp st(0)
je 0x4a04fd
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 0x4a04e6
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x24]
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 + 0x564a80]
mov dword [edx + 0x40], ecx
mov esi, dword [esp + 0x80]
cmp esi, 0x10
jle 0x4a0564
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 0x4a053c
test esi, esi
jle 0x4a0597
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 0x4a058d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret