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

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
push ebx
push ebp
mov ecx, dword [eax + 0x50]
mov ebp, dword [esp + 0x64]
inc ecx
push esi
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax + 0x44]
sub ecx, edx
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 8]
mov edx, 0x120
push edi
mov edi, dword [eax + 0x48]
sub edx, ecx
sar edx, 1
cmp ecx, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], edx
jg 0x46362e
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x4c], ecx
jmp 0x463650
cmp ecx, edi
mov dword [esp + 0x48], esi
jg 0x463646
sub ecx, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], ecx
jmp 0x463654
mov edx, edi
sub edx, esi
sub ecx, edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x10]
mov edx, 2
xor esi, esi
cmp ecx, edx
jne 0x463dc6
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x1c], esi
fld dword [0x49ff04]
cmp ecx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
je 0x4636ab
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x54], edx
shl ecx, 2
mov ebx, dword [ecx + 0x4c1bb0]
mov ecx, dword [ecx + 0x4cd760]
jmp 0x4636d4
or ecx, 0xffffffff
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x78]
lea ecx, [ecx + ecx*2]
shl ecx, 2
mov ebx, dword [ecx + 0x4c1bb4]
mov ecx, dword [ecx + 0x4cd764]
mov dword [esp + 0x3c], ecx
add eax, 0x18
lea ecx, [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov edx, dword [esp + 0x38]
test ecx, ecx
mov edx, dword [edx]
lea edx, [edx*8 + 0x4b9930]
mov dword [esp + 0x30], edx
je 0x463aed
mov esi, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
jmp 0x463728
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x46379e
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 0x463782
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 0x46379e
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 0x463803
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 0x4637e8
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 0x4637b3
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 0x4638ef
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 0x46384b
mov dword [esp + 0x2c], edi
jmp 0x46389c
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 2]
mov dl, byte [esi + 1]
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 0x4638df
mov edx, dword [esp + 0x2c]
fmul dword [edx*4 + 0x4c5754]
fchs
fstp dword [ebp]
jmp 0x463963
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x4c5754]
fstp dword [ebp]
jmp 0x463963
test ecx, ecx
je 0x46395c
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 0x463948
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x4c5718]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x463963
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x4c5718]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x463963
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 0x463a50
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 0x4639ac
mov dword [esp + 0x68], edi
jmp 0x4639fd
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 2]
mov dl, byte [esi + 1]
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 0x463a40
mov edx, dword [esp + 0x68]
fmul dword [edx*4 + 0x4c5754]
fchs
fstp dword [ebp]
jmp 0x463ac4
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x4c5754]
fstp dword [ebp]
jmp 0x463ac4
test ecx, ecx
je 0x463abd
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 0x463aa9
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x4c5718]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x463ac4
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x4c5718]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x463ac4
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 0x463720
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 0x4636f3
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x463d9e
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x463ce9
mov ecx, dword [edi + 0x54]
mov ecx, dword [ecx*8 + 0x4b9a34]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x44], esi
mov dword [esp + 0x68], ecx
jge 0x463bbd
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x463bae
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 0x463b95
movsx edx, word [esp + 0x44]
mov ecx, dword [esp + 0x68]
neg edx
lea ecx, [ecx + edx*2]
jmp 0x463b99
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 0x463b4e
jmp 0x463bb9
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 0x463c45
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x463c41
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 0x463c27
shl esi, cl
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x1c], 1
fld dword [ecx + esi*4]
add dword [esp + 0x70], 4
jmp 0x463c41
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 0x463cb7
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 0x463cd6
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 0x463caa
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
fld st(0)
fchs
fstp dword [ebp]
jmp 0x463cbe
fst dword [ebp]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
jmp 0x463cbe
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 0x463bca
jmp 0x463cda
inc dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
jne 0x463b25
fstp st(0)
cmp ebx, dword [esp + 0x3c]
jae 0x463d46
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test edx, edx
jne 0x463d26
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 0x463d23
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 0x463cf9
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 0x463d74
mov ecx, edx
cmp ecx, esi
jg 0x463d7a
mov ecx, esi
inc ecx
test ecx, ecx
je 0x463da9
mov edx, dword [esp + 0x78]
lea esi, [edx*8]
sub esi, edx
lea ecx, [ecx + esi*2]
mov ecx, dword [ecx*4 + 0x4cf1c0]
mov dword [edi + 0x40], ecx
jmp 0x46436f
mov edi, dword [esp + 0x74]
fstp st(0)
jmp 0x463ceb
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
add edx, ebx
mov ecx, dword [edx*4 + 0x4cee84]
mov dword [edi + 0x40], ecx
jmp 0x46436f
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x14], 0x4b9af8
cmp ecx, esi
jne 0x463ddd
mov dword [esp + 0x14], 0x4cdff8
mov ecx, dword [esp + 0x78]
add eax, 0x18
fld dword [0x49ff04]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0xffffffff
mov edx, dword [ecx*4 + 0x4c1bb8]
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], 3
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
mov edx, dword [esp + 0x34]
test ecx, ecx
mov edx, dword [edx]
lea edx, [edx*8 + 0x4b9930]
mov dword [esp + 0x3c], edx
je 0x46415e
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x463e94
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 0x463ef5
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 0x463ede
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 0x463ea9
mov edi, ebx
and ebx, 0xf
sar edi, 4
cmp edi, 0xf
mov dword [esp + 0x68], ebx
jne 0x463fc1
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 0x463f7a
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 2]
mov dl, byte [esi + 1]
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 + 0x4c5754]
test dl, 0x80
je 0x463fb1
fchs
fstp dword [ebp]
mov ebx, dword [esp + 0x68]
add ebp, 4
mov dword [esp + 0x10], ebp
jmp 0x46402b
test edi, edi
je 0x46401d
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 + 0x4c5718]
test dl, 0x80
je 0x464004
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 0x46402b
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp
cmp ebx, 0xf
jne 0x4640e0
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 0x4640a4
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 2]
mov dl, byte [esi + 1]
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 + 0x4c5754]
test dl, 0x80
je 0x4640db
fchs
fstp dword [ebp]
jmp 0x46413f
test ebx, ebx
je 0x464138
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 + 0x4c5718]
test dl, 0x80
je 0x464123
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 0x464146
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 0x463e43
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 0x463e20
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x46431f
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x46431f
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x54]
mov edi, dword [edx*8 + 0x4b9a34]
mov cx, word [edi]
add edi, 2
test cx, cx
mov dword [esp + 0x68], ecx
jge 0x464218
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x46420d
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 0x4641fc
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 0x4641bb
jmp 0x464218
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 0x464279
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x464275
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 0x4642e5
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x7c], ecx
js 0x464303
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 0x4642d9
mov edx, dword [esp + 0x68]
add ebp, 4
fld st(0)
fchs
fstp dword [ebp - 4]
jmp 0x4642ef
fst dword [ebp]
mov edx, dword [esp + 0x68]
add ebp, 4
jmp 0x4642ef
mov dword [ebp], 0
add ebp, 4
inc edx
cmp edx, 4
mov dword [esp + 0x68], edx
jl 0x464229
mov dword [esp + 0x2c], edi
jmp 0x464310
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 0x464192
mov ecx, dword [esp + 0x6c]
sub ecx, ebp
add ecx, 0x900
sar ecx, 3
fstp st(0)
je 0x464349
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
dec ecx
jne 0x464332
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 + 0x4cee80]
mov dword [esi + 0x40], edx
mov esi, dword [esp + 0x7c]
cmp esi, 0x10
jle 0x4643af
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 0x464387
test esi, esi
jle 0x4643e2
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 0x4643d8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret