Function at 0x10054460
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 0x100544bb
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
jmp 0x100544e4
cmp eax, ebp
mov dword [esp + 0x4c], ecx
jg 0x100544d3
sub eax, ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
jmp 0x100544e2
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 0x10054dbf
mov edi, dword [edx + 0x14]
mov dword [esp + 0x10], eax
fld dword [0x10078420]
cmp edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
je 0x1005453d
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 + 0x10093318]
mov eax, dword [eax + 0x1009eec8]
jmp 0x10054566
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 + 0x1009331c]
mov eax, dword [eax + 0x1009eecc]
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 + 0x1008b758]
mov dword [esp + 0x34], edx
je 0x10054a63
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
jmp 0x100545b6
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x1005464a
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 0x10054624
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 0x1005464e
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 0x1005464e
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 0x100546cf
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 0x100546a2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x100546a6
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 0x10054667
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 0x100547e3
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 0x10054715
mov dword [esp + 0x30], edx
jmp 0x1005476c
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 0x100547c5
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x10096ebc]
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 0x1005488a
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
fmul dword [edx*4 + 0x10096ebc]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x1005488a
test edx, edx
je 0x10054886
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 0x1005485c
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x10096e80]
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 0x1005488a
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
dec ecx
fmul dword [edx*4 + 0x10096e80]
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 0x1005488a
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 0x10054999
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 0x100548d3
mov dword [esp + 0x30], edx
jmp 0x1005492a
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 0x1005497f
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x10096ebc]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x10054a38
mov edx, dword [esp + 0x30]
fmul dword [edx*4 + 0x10096ebc]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x10054a38
test ecx, ecx
je 0x10054a34
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 0x10054a0e
mov ecx, dword [esp + 0x1c]
fmul dword [ecx*4 + 0x10096e80]
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 0x10054a38
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
dec ecx
fmul dword [edx*4 + 0x10096e80]
fld dword [esi]
mov dword [esp + 0x80], ecx
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x10054a38
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 0x100545ae
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 0x10054581
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10054ce1
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x10054ce1
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x1008b85c]
mov bp, word [ecx]
add ecx, 2
test bp, bp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ecx
jge 0x10054b4b
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
js 0x10054b3a
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 0x10054b21
movsx ecx, word [esp + 0x48]
mov edx, dword [esp + 0x3c]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x10054b25
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 0x10054acb
jmp 0x10054b4b
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 0x10054c27
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10054c14
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 0x10054bdb
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 0x10054c2b
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 0x10054c2b
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x10054c2b
mov ebp, dword [esp + 0x14]
mov edx, 8
sar edx, cl
mov ecx, dword [esp + 0x48]
test ecx, edx
je 0x10054ca4
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 0x10054ccb
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 0x10054c96
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
jmp 0x10054ca8
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fld st(0)
fadd dword [esi]
fstp dword [esi]
jmp 0x10054ca8
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 0x10054b58
jmp 0x10054cd2
inc dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x10054a97
cmp edi, dword [esp + 0x40]
fstp st(0)
jae 0x10054d46
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x70]
test edx, edx
jne 0x10054d28
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 0x10054d25
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 0x10054ced
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 0x10054d78
mov edx, esi
cmp edx, edi
jg 0x10054d7e
mov edx, edi
inc edx
test edx, edx
je 0x10054da2
mov esi, dword [esp + 0x7c]
lea edi, [esi*8]
sub edi, esi
lea edx, [edx + edi*2]
mov edx, dword [edx*4 + 0x100a1e60]
mov dword [ecx + 0x40], edx
jmp 0x100554e1
mov edx, dword [esp + 0x7c]
lea esi, [edx + edx*2]
shl esi, 3
sub esi, edx
add esi, ebx
mov edx, dword [esi*4 + 0x100a1b24]
mov dword [ecx + 0x40], edx
jmp 0x100554e1
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x18], 0x1008b920
cmp ecx, eax
jne 0x10054dd6
mov dword [esp + 0x18], 0x1009f760
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], 0xffffffff
fld dword [0x10078420]
lea eax, [eax + eax*2]
mov dword [esp + 0x30], 3
mov ecx, dword [eax*4 + 0x10093320]
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 + 0x1008b758]
mov dword [esp + 0x3c], ebp
je 0x1005528a
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10054e8d
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 0x10054f06
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 0x10054ee1
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x10054ee5
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 0x10054ea6
mov edx, ecx
and ecx, 0xf
sar edx, 4
cmp edx, 0xf
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], ecx
jne 0x10055024
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 0x10054f4c
mov dword [esp + 0x40], ebp
jmp 0x10054f9e
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 0x10054ffc
mov ecx, dword [esp + 0x40]
add ebx, 4
add esi, 4
fmul dword [ecx*4 + 0x10096ebc]
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 0x100550c0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fmul dword [edx*4 + 0x10096ebc]
fld dword [esi - 4]
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x100550c0
test edx, edx
je 0x100550b6
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 0x10055085
mov edx, dword [esp + 0x48]
add ebx, 4
fmul dword [edx*4 + 0x10096e80]
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005509e
mov ecx, dword [esp + 0x48]
add ebx, 4
fmul dword [ecx*4 + 0x10096e80]
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 0x100550c0
mov edx, dword [esi]
mov dword [ebx], edx
add ebx, 4
add esi, 4
cmp ecx, 0xf
jne 0x100551ba
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 0x100550f6
mov dword [esp + 0x6c], ebp
jmp 0x10055148
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 0x1005519c
mov ecx, dword [esp + 0x6c]
add ebx, 4
fmul dword [ecx*4 + 0x10096ebc]
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x10055267
mov edx, dword [esp + 0x6c]
add ebx, 4
fmul dword [edx*4 + 0x10096ebc]
fld dword [esi]
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi]
fstp dword [esi]
jmp 0x10055267
test ecx, ecx
je 0x10055260
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 0x10055230
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
add ebx, 4
add esi, 4
fmul dword [edx*4 + 0x10096e80]
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 0x1005526a
mov ecx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fmul dword [ecx*4 + 0x10096e80]
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 0x1005526a
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 0x10054e3d
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 0x10054e19
test edi, edi
je 0x10055493
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x10055493
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x1008b85c]
mov di, word [ecx]
add ecx, 2
test di, di
mov dword [esp + 0x48], edi
mov dword [esp + 0x6c], ecx
jge 0x10055365
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
js 0x10055354
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 0x1005533b
movsx ecx, word [esp + 0x48]
mov edx, dword [esp + 0x6c]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x1005533f
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 0x100552ea
jmp 0x10055365
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 0x100553c9
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x100553c5
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 0x10055463
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 0x1005547d
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 0x10055448
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 0x1005546d
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 0x1005546d
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 0x10055372
jmp 0x10055484
inc dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x100552ba
mov ecx, dword [esp + 0x70]
sub ecx, ebx
add ecx, 0x1200
sar ecx, 3
fstp st(0)
je 0x100554bd
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 0x100554a6
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 + 0x100a1b20]
mov dword [edx + 0x40], ecx
mov esi, dword [esp + 0x80]
cmp esi, 0x10
jle 0x10055524
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 0x100554fc
test esi, esi
jle 0x10055557
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 0x1005554d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret