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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x50]
mov edx, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
sub eax, edx
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 8]
mov edx, 0x120
push esi
mov esi, dword [ecx + 0x44]
sub edx, eax
sar edx, 1
cmp eax, esi
push edi
mov edi, dword [ecx + 0x48]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], edx
jg 0x1005dea2
mov esi, eax
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x1005dec0
cmp eax, edi
mov dword [esp + 0x48], esi
jg 0x1005deb6
sub eax, esi
mov edx, eax
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x1005dec0
mov edx, edi
sub edx, esi
mov dword [esp + 0x4c], edx
sub eax, edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x50], eax
jge 0x1005dece
mov dword [esp + 0x48], edi
cmp edx, edi
jge 0x1005ded6
mov dword [esp + 0x4c], edi
cmp eax, edi
jge 0x1005dede
mov dword [esp + 0x50], edi
mov eax, dword [ecx + 0x10]
mov edx, 2
cmp eax, edx
jne 0x1005e657
mov eax, dword [ecx + 0x14]
fld dword [0x10087580]
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x1005df33
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x100d6190]
mov eax, dword [eax + 0x100e1d40]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], edx
jmp 0x1005df5c
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 + 0x100d6194]
mov eax, dword [eax + 0x100e1d44]
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 + 0x100a17b8]
mov dword [esp + 0x30], edx
je 0x1005e37f
mov esi, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
jmp 0x1005dfb0
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x1005e026
mov edx, dword [ebx]
fstp st(0)
mov edi, dword [esp + 0x6c]
add ebx, 4
mov dword [esp + 0x14], edx
mov edx, dword [ebx]
add ebx, 4
lea ebp, [edi + edx*4]
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
add ebx, 4
add ebx, 4
cmp edx, 3
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
jne 0x1005e00a
mov edx, dword [esp + 0x70]
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]
mov dword [esp + 0x1c], 1
jmp 0x1005e026
mov edi, dword [esp + 0x70]
mov edi, dword [edi]
mov edx, dword [esi + edx*4 + 0x58]
shl edi, cl
add dword [esp + 0x70], 4
fld dword [edx + edi*4]
mov dword [esp + 0x1c], 3
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx + 4]
movsx ecx, word [edi]
add edi, 2
test ecx, ecx
mov dword [esp + 0x68], ecx
jge 0x1005e08b
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebp, ecx
sar ebp, 3
add ebp, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebp
mov dword [eax + 0x4868], ecx
je 0x1005e070
mov ecx, dword [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
movsx ecx, word [edi]
mov ebp, dword [esp + 0x7c]
dec ebp
add edi, 2
test ecx, ecx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x68], ecx
jl 0x1005e03b
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov ecx, edx
sar ecx, 4
and edx, 0xf
cmp ecx, 0xf
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], edx
jne 0x1005e177
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + edx*4 + 0x54], ecx
mov edx, dword [esp + 0x30]
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
or ecx, 0xffffffff
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
jne 0x1005e0d3
mov dword [esp + 0x2c], edi
jmp 0x1005e124
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
mov dl, byte [esi + 1]
xor ecx, ecx
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
sar ebp, 3
mov ecx, 0x18
add ebp, esi
and edx, 0xffffff
sub ecx, edi
shr edx, cl
mov dword [eax + 0x486c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov esi, dword [eax + 0x486c]
fld st(0)
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
sar edi, 3
add edi, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], edi
mov dword [eax + 0x4868], ecx
je 0x1005e167
mov edx, dword [esp + 0x2c]
fmul dword [edx*4 + 0x100d9d34]
fchs
fstp dword [ebp]
jmp 0x1005e1f0
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x100d9d34]
fstp dword [ebp]
jmp 0x1005e1f0
test ecx, ecx
je 0x1005e1e9
mov edx, dword [esp + 0x20]
fld st(0)
mov ecx, dword [esp + 0x18]
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
sar edi, 3
add edi, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], edi
mov dword [eax + 0x4868], ecx
je 0x1005e1d0
mov edx, dword [esp + 0x2c]
fmul dword [edx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x1005e1f0
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
fstp dword [ebp]
jmp 0x1005e1f0
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 0x1005e2dd
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x7c]
mov dword [esp + edx*4 + 0x54], ecx
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx]
or edx, 0xffffffff
sub edx, edi
add esi, edx
test edi, edi
mov dword [esp + 0x7c], esi
jne 0x1005e239
mov dword [esp + 0x68], edi
jmp 0x1005e28a
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
mov dl, byte [esi + 1]
xor ecx, ecx
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
sar ebp, 3
mov ecx, 0x18
add ebp, esi
and edx, 0xffffff
sub ecx, edi
shr edx, cl
mov dword [eax + 0x486c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x68], edx
mov esi, dword [eax + 0x486c]
fld st(0)
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
sar edi, 3
add edi, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], edi
mov dword [eax + 0x4868], ecx
je 0x1005e2cd
mov edx, dword [esp + 0x68]
fmul dword [edx*4 + 0x100d9d34]
fchs
fstp dword [ebp]
jmp 0x1005e356
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x100d9d34]
fstp dword [ebp]
jmp 0x1005e356
test ecx, ecx
je 0x1005e34f
mov edx, dword [esp + 0x20]
fld st(0)
mov ecx, dword [esp + 0x18]
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
sar edi, 3
add edi, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], edi
mov dword [eax + 0x4868], ecx
je 0x1005e336
mov edx, dword [esp + 0x68]
fmul dword [edx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x1005e356
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
fstp dword [ebp]
jmp 0x1005e356
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 0x1005dfa8
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, 4
add esi, ecx
add edx, ecx
mov ecx, dword [esp + 0x44]
dec ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ecx
jne 0x1005df7b
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1005e62f
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x1005e578
mov ecx, dword [edi + 0x54]
mov ecx, dword [ecx*8 + 0x100a18bc]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x68], ecx
mov dword [esp + 0x44], esi
jge 0x1005e445
dec dword [esp + 0x7c]
js 0x1005e43b
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
sar edi, 3
add edi, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], edi
mov dword [eax + 0x4868], ecx
je 0x1005e422
movsx edx, word [esp + 0x44]
mov ecx, dword [esp + 0x68]
neg edx
lea ecx, [ecx + edx*2]
jmp 0x1005e426
mov ecx, dword [esp + 0x68]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x68], ecx
mov dword [esp + 0x44], esi
jl 0x1005e3e0
jmp 0x1005e441
inc dword [esp + 0x7c]
xor esi, esi
mov edi, dword [esp + 0x74]
movsx ecx, si
xor edx, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], ecx
test dl, 1
jne 0x1005e4de
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x1005e4da
mov ecx, dword [ebx]
fstp st(0)
mov esi, dword [esp + 0x6c]
add ebx, 4
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
lea ebp, [esi + ecx*4]
mov ecx, dword [ebx + 4]
add ebx, 4
mov esi, dword [ebx + 4]
add ebx, 4
mov dword [esp + 0x18], ecx
add ebx, 4
cmp ecx, 3
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x24]
jne 0x1005e4ba
shl esi, cl
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x1c], 1
fld dword [ecx + esi*4]
mov ecx, dword [esp + 0x70]
add ecx, 4
mov dword [esp + 0x70], ecx
jmp 0x1005e4da
shl esi, cl
mov ecx, dword [esp + 0x18]
mov ecx, dword [edi + ecx*4 + 0x58]
mov dword [esp + 0x1c], 3
fld dword [ecx + esi*4]
mov ecx, dword [esp + 0x70]
add ecx, 4
mov dword [esp + 0x70], ecx
dec dword [esp + 0x14]
mov ecx, edx
mov esi, 8
sar esi, cl
mov ecx, dword [esp + 0x44]
test ecx, esi
je 0x1005e54b
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x54], edx
dec dword [esp + 0x7c]
js 0x1005e56a
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
sar edi, 3
add edi, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], edi
mov dword [eax + 0x4868], ecx
je 0x1005e53e
mov edx, dword [esp + 0x68]
fld st(0)
mov edi, dword [esp + 0x74]
fchs
fstp dword [ebp]
jmp 0x1005e552
mov edx, dword [esp + 0x68]
fst dword [ebp]
mov edi, dword [esp + 0x74]
jmp 0x1005e552
mov dword [ebp], 0
mov ecx, dword [esp + 0x1c]
inc edx
cmp edx, 4
lea ebp, [ebp + ecx*4]
mov dword [esp + 0x68], edx
jl 0x1005e452
jmp 0x1005e56e
inc dword [esp + 0x7c]
dec dword [esp + 0x28]
jne 0x1005e3b7
fstp st(0)
cmp ebx, dword [esp + 0x3c]
jae 0x1005e5d7
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test edx, edx
jne 0x1005e5b5
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 ecx, dword [ebx]
add ebx, 4
cmp ecx, 3
mov esi, 1
je 0x1005e5b2
mov esi, 3
add ebx, 4
lea ecx, [esi*4]
mov dword [ebp], 0
add ebp, ecx
mov dword [ebp], 0
add ebp, ecx
mov ecx, dword [esp + 0x3c]
dec edx
cmp ebx, ecx
jb 0x1005e588
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 0x1005e605
mov ecx, edx
cmp ecx, esi
jg 0x1005e60b
mov ecx, esi
inc ecx
test ecx, ecx
je 0x1005e63a
mov edx, dword [esp + 0x78]
lea esi, [edx*8]
sub esi, edx
lea ecx, [ecx + esi*2]
mov ecx, dword [ecx*4 + 0x100e84a0]
mov dword [edi + 0x40], ecx
jmp 0x1005ebf0
mov edi, dword [esp + 0x74]
fstp st(0)
jmp 0x1005e57a
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
add edx, ebx
mov ecx, dword [edx*4 + 0x100e8164]
mov dword [edi + 0x40], ecx
jmp 0x1005ebf0
cmp dword [ecx + 0x4c], edi
mov dword [esp + 0x14], 0x100a1960
jne 0x1005e66c
mov dword [esp + 0x14], 0x100e25d8
mov eax, dword [esp + 0x78]
fld dword [0x10087580]
lea eax, [eax + eax*2]
mov edx, dword [eax*4 + 0x100d6198]
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], edi
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 + 0x100a17b8]
mov dword [esp + 0x3c], edx
je 0x1005e9ea
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005e720
mov edx, dword [esp + 0x2c]
fstp st(0)
mov ecx, dword [edx]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
mov ebx, dword [edi]
mov dword [esp + 0x1c], ecx
add ebx, dword [esi]
mov ecx, dword [esp + 0x24]
shl ebx, cl
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x64]
add edx, 4
fld dword [ecx + ebx*4]
mov ecx, dword [edx]
add esi, 4
add edi, 4
add 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
test ebx, ebx
mov dword [esp + 0x68], ebx
jge 0x1005e781
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
sar ebx, 3
add ebx, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
je 0x1005e76a
mov ecx, dword [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
movsx ebx, word [edi]
mov esi, dword [esp + 0x7c]
dec esi
add edi, 2
test ebx, ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x68], ebx
jl 0x1005e735
mov edi, ebx
sar edi, 4
and ebx, 0xf
cmp edi, 0xf
mov dword [esp + 0x68], ebx
jne 0x1005e84d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
je 0x1005e806
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
mov dl, byte [esi + 1]
xor ecx, ecx
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
sar ebx, 3
mov ecx, 0x18
sub ecx, edi
and edx, 0xffffff
add ebx, esi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov edi, edx
mov esi, dword [eax + 0x486c]
fld st(0)
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
sar ebx, 3
add ebx, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
fmul dword [edi*4 + 0x100d9d34]
je 0x1005e83d
fchs
mov ebx, dword [esp + 0x68]
fstp dword [ebp]
add ebp, 4
mov dword [esp + 0x10], ebp
jmp 0x1005e8b7
test edi, edi
je 0x1005e8a9
mov edx, dword [esp + 0x20]
fld st(0)
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
sar ebx, 3
add ebx, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
fmul dword [edi*4 + 0x100d9cf8]
je 0x1005e890
fchs
mov ecx, dword [esp + 0x7c]
fstp dword [ebp]
mov ebx, dword [esp + 0x68]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x7c], ecx
jmp 0x1005e8b7
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp
cmp ebx, 0xf
jne 0x1005e96c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
je 0x1005e930
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
mov dl, byte [esi + 1]
xor ecx, ecx
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
sar ebx, 3
mov ecx, 0x18
sub ecx, edi
and edx, 0xffffff
add ebx, esi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov edi, edx
mov esi, dword [eax + 0x486c]
fld st(0)
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
sar ebx, 3
add ebx, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
fmul dword [edi*4 + 0x100d9d34]
je 0x1005e967
fchs
fstp dword [ebp]
jmp 0x1005e9cb
test ebx, ebx
je 0x1005e9c4
mov edx, dword [esp + 0x20]
fld st(0)
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
sar edi, 3
add edi, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], edi
mov dword [eax + 0x4868], ecx
fmul dword [ebx*4 + 0x100d9cf8]
je 0x1005e9af
fchs
mov ecx, dword [esp + 0x7c]
fstp dword [ebp]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x7c], ecx
jmp 0x1005e9d2
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 0x1005e6d2
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ecx, 4
add esi, ecx
add edx, ecx
mov ecx, dword [esp + 0x40]
dec ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ecx
jne 0x1005e6af
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1005eba0
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x1005eba0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x54]
mov edi, dword [edx*8 + 0x100a18bc]
mov cx, word [edi]
add edi, 2
test cx, cx
mov dword [esp + 0x68], ecx
jge 0x1005ea9a
dec dword [esp + 0x7c]
js 0x1005ea94
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
sar ebx, 3
add ebx, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
je 0x1005ea83
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 0x1005ea47
jmp 0x1005ea9a
inc dword [esp + 0x7c]
xor ecx, ecx
mov edi, dword [esp + 0x2c]
movsx ecx, cx
xor edx, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], ecx
test dl, 1
jne 0x1005eaff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005eafb
mov ecx, dword [edi]
fstp st(0)
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 4]
add edi, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx]
add ebx, dword [esi]
mov ecx, dword [esp + 0x24]
shl ebx, cl
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x64]
add esi, 4
fld dword [ecx + ebx*4]
mov ecx, dword [esp + 0x70]
add edi, 4
add ecx, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x70], ecx
dec dword [esp + 0x1c]
mov ecx, edx
mov esi, 8
sar esi, cl
mov ecx, dword [esp + 0x44]
test ecx, esi
je 0x1005eb6b
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x7c], ecx
js 0x1005eb89
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
sar ebx, 3
add ebx, esi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
je 0x1005eb5f
mov edx, dword [esp + 0x68]
fld st(0)
fchs
add ebp, 4
fstp dword [ebp - 4]
jmp 0x1005eb75
mov edx, dword [esp + 0x68]
fst dword [ebp]
add ebp, 4
jmp 0x1005eb75
mov dword [ebp], 0
add ebp, 4
inc edx
cmp edx, 4
mov dword [esp + 0x68], edx
jl 0x1005eaab
mov dword [esp + 0x2c], edi
jmp 0x1005eb96
mov ecx, dword [esp + 0x7c]
inc ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x7c], ecx
dec dword [esp + 0x28]
jne 0x1005ea1e
mov ecx, dword [esp + 0x6c]
fstp st(0)
sub ecx, ebp
add ecx, 0x900
sar ecx, 3
je 0x1005ebca
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
dec ecx
jne 0x1005ebb3
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x78]
lea edi, [ecx + ecx*2]
shl edi, 3
sub edi, ecx
add edi, edx
mov dword [esi + 0x3c], edx
mov edx, dword [edi*4 + 0x100e8160]
mov dword [esi + 0x40], edx
mov esi, dword [esp + 0x7c]
cmp esi, 0x10
jle 0x1005ec30
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
sar edi, 3
add ebx, edi
and ecx, 7
dec edx
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
jne 0x1005ec08
test esi, esi
jle 0x1005ec63
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 0x1005ec59
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret