Function at 0x466d70
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 0x466dc2
mov esi, eax
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x466de0
cmp eax, edi
mov dword [esp + 0x48], esi
jg 0x466dd6
sub eax, esi
mov edx, eax
xor eax, eax
mov dword [esp + 0x4c], edx
jmp 0x466de0
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 0x466dee
mov dword [esp + 0x48], edi
cmp edx, edi
jge 0x466df6
mov dword [esp + 0x4c], edi
cmp eax, edi
jge 0x466dfe
mov dword [esp + 0x50], edi
mov eax, dword [ecx + 0x10]
mov edx, 2
cmp eax, edx
jne 0x46756e
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x1c], edi
fld dword [0x4ea540]
cmp eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x466e53
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 + 0x54b08c]
mov eax, dword [eax + 0x556c3c]
jmp 0x466e7c
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 + 0x54b090]
mov eax, dword [eax + 0x556c40]
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 + 0x51c9a0]
mov dword [esp + 0x30], edx
je 0x467295
mov esi, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
jmp 0x466ed0
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x466f46
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 0x466f2a
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 0x466f46
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 0x466fab
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 0x466f90
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 0x466f5b
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 0x467097
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 0x466ff3
mov dword [esp + 0x2c], edi
jmp 0x467044
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 0x467087
mov edx, dword [esp + 0x2c]
fmul dword [edx*4 + 0x54ec30]
fchs
fstp dword [ebp]
jmp 0x46710b
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x54ec30]
fstp dword [ebp]
jmp 0x46710b
test ecx, ecx
je 0x467104
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 0x4670f0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x54ebf4]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x46710b
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x54ebf4]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x46710b
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 0x4671f8
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 0x467154
mov dword [esp + 0x68], edi
jmp 0x4671a5
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 0x4671e8
mov edx, dword [esp + 0x68]
fmul dword [edx*4 + 0x54ec30]
fchs
fstp dword [ebp]
jmp 0x46726c
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x54ec30]
fstp dword [ebp]
jmp 0x46726c
test ecx, ecx
je 0x467265
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 0x467251
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x54ebf4]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x46726c
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x54ebf4]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x46726c
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 0x466ec8
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 0x466e9b
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x467546
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x467491
mov ecx, dword [edi + 0x54]
mov ecx, dword [ecx*8 + 0x51caa4]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x44], esi
mov dword [esp + 0x68], ecx
jge 0x467365
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x467356
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 0x46733d
movsx edx, word [esp + 0x44]
mov ecx, dword [esp + 0x68]
neg edx
lea ecx, [ecx + edx*2]
jmp 0x467341
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 0x4672f6
jmp 0x467361
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 0x4673ed
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4673e9
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 0x4673cf
shl esi, cl
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x1c], 1
fld dword [ecx + esi*4]
add dword [esp + 0x70], 4
jmp 0x4673e9
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 0x46745f
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 0x46747e
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 0x467452
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
fld st(0)
fchs
fstp dword [ebp]
jmp 0x467466
fst dword [ebp]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
jmp 0x467466
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 0x467372
jmp 0x467482
inc dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
jne 0x4672cd
fstp st(0)
cmp ebx, dword [esp + 0x3c]
jae 0x4674ee
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test edx, edx
jne 0x4674ce
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 0x4674cb
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 0x4674a1
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 0x46751c
mov ecx, edx
cmp ecx, esi
jg 0x467522
mov ecx, esi
inc ecx
test ecx, ecx
je 0x467551
mov edx, dword [esp + 0x78]
lea esi, [edx*8]
sub esi, edx
lea ecx, [ecx + esi*2]
mov ecx, dword [ecx*4 + 0x56c300]
mov dword [edi + 0x40], ecx
jmp 0x467b17
mov edi, dword [esp + 0x74]
fstp st(0)
jmp 0x467493
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
add edx, ebx
mov ecx, dword [edx*4 + 0x56bfc4]
mov dword [edi + 0x40], ecx
jmp 0x467b17
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x14], 0x51cb48
cmp eax, edi
jne 0x467585
mov dword [esp + 0x14], 0x5574d4
mov eax, dword [esp + 0x78]
add ecx, 0x18
fld dword [0x4ea540]
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 + 0x54b094]
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 + 0x51c9a0]
mov dword [esp + 0x3c], edx
je 0x467906
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x46763c
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 0x46769d
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 0x467686
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 0x467651
mov edi, ebx
and ebx, 0xf
sar edi, 4
cmp edi, 0xf
mov dword [esp + 0x68], ebx
jne 0x467769
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 0x467722
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 + 0x54ec30]
test dl, 0x80
je 0x467759
fchs
fstp dword [ebp]
mov ebx, dword [esp + 0x68]
add ebp, 4
mov dword [esp + 0x10], ebp
jmp 0x4677d3
test edi, edi
je 0x4677c5
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 + 0x54ebf4]
test dl, 0x80
je 0x4677ac
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 0x4677d3
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp
cmp ebx, 0xf
jne 0x467888
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 0x46784c
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 + 0x54ec30]
test dl, 0x80
je 0x467883
fchs
fstp dword [ebp]
jmp 0x4678e7
test ebx, ebx
je 0x4678e0
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 + 0x54ebf4]
test dl, 0x80
je 0x4678cb
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 0x4678ee
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 0x4675eb
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 0x4675c8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x467ac7
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x467ac7
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x54]
mov edi, dword [edx*8 + 0x51caa4]
mov cx, word [edi]
add edi, 2
test cx, cx
mov dword [esp + 0x68], ecx
jge 0x4679c0
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x4679b5
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 0x4679a4
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 0x467963
jmp 0x4679c0
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 0x467a21
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x467a1d
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 0x467a8d
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x7c], ecx
js 0x467aab
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 0x467a81
mov edx, dword [esp + 0x68]
add ebp, 4
fld st(0)
fchs
fstp dword [ebp - 4]
jmp 0x467a97
fst dword [ebp]
mov edx, dword [esp + 0x68]
add ebp, 4
jmp 0x467a97
mov dword [ebp], 0
add ebp, 4
inc edx
cmp edx, 4
mov dword [esp + 0x68], edx
jl 0x4679d1
mov dword [esp + 0x2c], edi
jmp 0x467ab8
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 0x46793a
mov ecx, dword [esp + 0x6c]
sub ecx, ebp
add ecx, 0x900
sar ecx, 3
fstp st(0)
je 0x467af1
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
dec ecx
jne 0x467ada
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 + 0x56bfc0]
mov dword [esi + 0x40], edx
mov esi, dword [esp + 0x7c]
cmp esi, 0x10
jle 0x467b57
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 0x467b2f
test esi, esi
jle 0x467b8a
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 0x467b80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret