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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8b4
mov ecx, dword [ebp + 0x28]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
xor eax, eax
cmp ebx, 2
push edi
mov dword [esp + 0x9c], eax
mov dword [esp + 0x80], esi
mov dword [ecx], esi
je 0x100548e3
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
cmp eax, esi
jne 0x10053956
fld qword [ecx + ebx*8 - 8]
fstp qword [esp + 0x84]
fld qword [ecx + edi*8]
fstp qword [esp + 0x8c]
jmp 0x1005397d
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, esi
mov dword [esp + 0x68], 0xa2879f2e
mov dword [esp + 0x6c], 0xd47d42ae
jne 0x10053f61
lea eax, [ebx + ebx]
lea esi, [ebx - 2]
lea ecx, [esi + esi]
lea edx, [eax + ebx*2]
mov dword [esp + 0x54], ecx
lea ecx, [ecx + edx*2]
lea eax, [eax + ecx - 0xb]
cmp eax, 0x100
ja 0x100548f9
lea eax, [esp + 0xc0]
mov ecx, ebx
mov dword [esp + 0x20], eax
shl ecx, 4
add eax, ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x44], eax
add eax, ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x5c], eax
lea eax, [eax + ebx*8 - 8]
lea ecx, [esi*8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], 0
lea eax, [eax + ebx*8]
mov dword [esp + 0x98], eax
add eax, 0xfffffff8
mov dword [esp + 0x74], eax
add eax, ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x7c], eax
add eax, ecx
shl esi, 4
mov dword [esp + 0x2c], eax
add esi, eax
lea eax, [ebx - 1]
mov dword [esp + 0x78], esi
cmp eax, edi
mov dword [esp + 0x24], eax
jge 0x100548cc
mov edx, dword [ebp + 0x18]
lea ecx, [eax + 1]
shl eax, 4
mov dword [esp + 0x40], eax
lea eax, [edx + ecx*8]
mov dword [esp + 0x14], eax
mov eax, 0xfffffff8
sub eax, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
fld qword [eax - 8]
fcomp qword [eax]
fnstsw ax
test ah, 0x40
jne 0x10053f29
mov ecx, dword [esp + 0x14]
fld qword [ecx]
fcomp qword [esp + 0x84]
fnstsw ax
test ah, 1
jne 0x10053f29
mov edx, ecx
fld qword [edx - 8]
fcomp qword [esp + 0x8c]
fnstsw ax
test ah, 0x41
je 0x10053f29
fld qword [ecx - 8]
fcomp qword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x10053abb
fld qword [ecx - 8]
fstp qword [esp + 0x48]
jmp 0x10053ad1
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
fld qword [ecx]
fcomp qword [esp + 0x8c]
fnstsw ax
test ah, 1
je 0x10053ae9
fld qword [ecx]
fstp qword [esp + 0x30]
jmp 0x10053aff
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
push edx
lea ecx, [esp + 0x14]
push eax
mov eax, dword [ebp + 0x24]
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push ebx
push eax
call fcn.10054920
add esp, 0x34
cmp ebx, 4
jl 0x10053f29
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x94]
sub ecx, ebx
sub eax, esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x28]
cmp esi, ecx
jge 0x10053b90
mov edx, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x44]
lea eax, [eax + edx + 0x10]
mov edx, dword [esp + 0x28]
sub edx, esi
mov edi, dword [eax]
add eax, 0x10
mov dword [ecx], edi
mov edi, dword [eax - 0xc]
mov dword [ecx + 4], edi
mov edi, dword [eax - 8]
mov dword [ecx + 8], edi
mov edi, dword [eax - 4]
mov dword [ecx + 0xc], edi
add ecx, 0x10
dec edx
jne 0x10053b71
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
lea ecx, [ebx*8]
sub eax, ecx
add eax, edx
cmp esi, edi
jge 0x10053bcd
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [eax + edx + 8]
mov edx, edi
sub edx, esi
mov esi, dword [eax]
add eax, 8
mov dword [ecx], esi
mov esi, dword [eax - 4]
mov dword [ecx + 4], esi
add ecx, 8
dec edx
jne 0x10053bba
mov ecx, dword [esp + 0x24]
lea eax, [ecx + ebx + 1]
cmp edi, eax
jge 0x10053c00
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
sub edi, ecx
mov edx, ebx
add edi, ebx
lea ecx, [esi + edi*8 - 8]
mov edi, dword [eax]
add eax, 8
mov dword [ecx], edi
mov edi, dword [eax - 4]
mov dword [ecx + 4], edi
add ecx, 8
dec edx
jne 0x10053beb
jmp 0x10053c04
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0
push edi
push esi
push ebx
push ecx
push edx
push 0xffffffffffffffff
call fcn.10051f30
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
add esp, 0x1c
push 0
push edi
push esi
push ebx
push eax
push ecx
push 1
call fcn.10051f30
lea esi, [ebx - 1]
add esp, 0x1c
test esi, esi
jle 0x10053c6c
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
lea eax, [edi + 0x18]
mov edi, ecx
sub edx, edi
fld qword [eax - 8]
fsub qword [eax - 0x18]
add eax, 0x10
add ecx, 8
dec esi
fstp qword [edx + ecx - 8]
fld qword [eax - 0x10]
fsub qword [eax - 0x20]
fstp qword [ecx - 8]
jne 0x10053c50
lea eax, [ebx - 2]
test eax, eax
jle 0x10053cc6
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x3c]
lea eax, [edx + 8]
mov edx, esi
sub esi, ecx
sub edx, edi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x7c]
lea edi, [ebx - 2]
sub esi, ecx
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x1c]
add ecx, 8
fld qword [eax + edx]
fsub qword [edi + ecx - 8]
mov edi, dword [esp + 0x58]
add eax, 8
dec edi
mov dword [esp + 0x58], edi
fstp qword [ecx - 8]
fld qword [eax - 8]
fsub qword [eax - 0x10]
fstp qword [esi + ecx - 8]
jne 0x10053c9d
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
push edi
push eax
lea eax, [ebx - 2]
push ecx
push eax
mov eax, dword [esp + 0x6c]
push edx
push eax
lea eax, [ebx - 1]
push eax
call fcn.10057a10
mov ecx, dword [esp + 0x70]
add esp, 0x1c
mov edx, ecx
lea esi, [ecx - 1]
push edi
push edi
push esi
push edx
call fcn.10057510
fld qword [edi]
fcom qword [0x1005a058]
add esp, 0x10
xor edx, edx
mov dword [esp + 0x1c], edx
fnstsw ax
test ah, 0x40
je 0x10053d1e
mov edx, 1
cmp esi, 1
jle 0x10053d5e
mov eax, dword [esp + 0x2c]
lea edi, [esi - 1]
lea ecx, [eax + 8]
fld qword [ecx]
fmul st(1)
fcomp qword [0x1005a058]
fnstsw ax
test ah, 1
je 0x10053d42
inc dword [esp + 0x1c]
fld qword [ecx]
fcomp qword [0x1005a058]
fnstsw ax
test ah, 0x40
je 0x10053d54
inc edx
jmp 0x10053d58
fstp st(0)
fld qword [ecx]
add ecx, 8
dec edi
jne 0x10053d2d
cmp edx, esi
fstp st(0)
jne 0x10053db8
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x24]
cmp eax, ecx
jge 0x10053d87
fld qword [esp + 0x48]
mov ecx, dword [ebp + 0x2c]
fstp qword [ecx + eax*8]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x10053d87
mov edx, dword [esp + 0x10]
mov dword [eax + edx*4], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x2c]
fld qword [esp + 0x30]
inc eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
fstp qword [ecx + eax*8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], edx
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
jmp 0x10053f29
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x10053dc8
test edx, edx
je 0x10053f29
cmp eax, 1
jg 0x10053e29
test edx, edx
jg 0x10053e29
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xac]
push edi
push ecx
push edx
push esi
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x3ff00000
call fcn.10056690
add esp, 0x10
mov dword [esp + 0x80], eax
mov dword [esp + 0x64], 1
jmp 0x10053e4f
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x64]
push eax
push ecx
push edx
push esi
call fcn.10056990
mov edi, dword [esp + 0x88]
add esp, 0x10
mov dword [esp + 0x80], eax
fld qword [edi]
fld qword [0x1005a048]
fsub st(1)
fxch st(1)
fmul qword [esp + 0x30]
fxch st(1)
fmul qword [esp + 0x48]
fxch st(1)
faddp st(1)
fcom qword [esp + 0x68]
fnstsw ax
test ah, 0x41
jne 0x10053eba
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x24]
cmp eax, ecx
jge 0x10053ea8
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x30]
fld st(0)
test edx, edx
fstp qword [ecx + eax*8]
je 0x10053eab
mov eax, dword [esp + 0x10]
mov dword [edx + eax*4], 0
mov eax, dword [esp + 0x10]
fstp qword [esp + 0x68]
inc eax
mov dword [esp + 0x10], eax
jmp 0x10053ebf
mov edx, dword [ebp + 0x30]
mov eax, dword [esp + 0x10]
fstp qword [esp + 0x68]
inc eax
mov dword [esp + 0x10], eax
jmp 0x10053ebf
mov edx, dword [ebp + 0x30]
fstp st(0)
mov ecx, dword [esp + 0x64]
cmp ecx, 1
jle 0x10053f29
mov eax, 1
cmp ecx, eax
jle 0x10053f29
mov esi, dword [esp + 0x10]
lea ecx, [edi + 8]
fld qword [ecx]
fld qword [0x1005a048]
mov edi, dword [ebp + 0x24]
fsub st(1)
fxch st(1)
fmul qword [esp + 0x30]
fxch st(1)
fmul qword [esp + 0x48]
fxch st(1)
faddp st(1)
cmp esi, edi
jge 0x10053f10
mov edi, dword [ebp + 0x2c]
fld st(0)
test edx, edx
fstp qword [edi + esi*8]
je 0x10053f10
mov esi, dword [esp + 0x10]
mov dword [edx + esi*4], 0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x64]
fstp qword [esp + 0x68]
inc esi
inc eax
add ecx, 8
cmp eax, edi
mov dword [esp + 0x10], esi
jl 0x10053ed8
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
inc eax
add edi, 0x10
add esi, 8
inc edx
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edx
jl 0x10053a5e
jmp 0x100548cc
lea esi, [ebx - 2]
lea ecx, [ebx + ebx]
lea eax, [esi + esi*2]
mov dword [esp + 0x14], eax
lea edx, [eax + ebx*2]
mov eax, ebx
add eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + ecx*2 - 0xb]
cmp eax, 0x100
ja 0x10053f8c
lea eax, [esp + 0xc0]
jmp 0x10053fb1
lea ecx, [eax*8]
push ecx
call fcn.10003ce0
add esp, 4
mov dword [esp + 0x9c], eax
test eax, eax
jne 0x10053fb1
mov esi, 1
jmp 0x100548e3
mov edx, ebx
mov dword [esp + 0x20], eax
shl edx, 4
add eax, edx
lea ecx, [ebx*8]
mov dword [esp + 0x60], eax
add eax, ecx
mov dword [esp + 0x58], eax
add eax, ecx
mov dword [esp + 0x54], eax
add eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], 0
lea eax, [eax + ecx - 8]
mov dword [esp + 0x3c], eax
lea eax, [eax + ecx - 8]
mov dword [esp + 0x40], eax
lea eax, [eax + ecx - 8]
lea ecx, [esi*8]
mov dword [esp + 0x74], eax
add eax, ecx
mov dword [esp + 0x7c], eax
add eax, ecx
mov dword [esp + 0x94], eax
add eax, ecx
mov dword [esp + 0x98], eax
lea edx, [eax + edx - 0x10]
lea eax, [esi + esi*2]
shl eax, 3
mov dword [esp + 0x44], edx
add edx, eax
add eax, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x78], eax
lea eax, [ebx - 1]
cmp eax, edi
mov dword [esp + 0x24], eax
jge 0x100548cc
mov esi, eax
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 1]
mov dword [esp + 0x28], eax
fld qword [ecx + esi*8]
fcomp qword [ecx + eax*8]
fnstsw ax
test ah, 0x40
jne 0x100548b9
mov eax, dword [esp + 0x28]
mov edx, ecx
fld qword [edx + eax*8]
fcomp qword [esp + 0x84]
fnstsw ax
test ah, 1
jne 0x100548b9
fld qword [ecx + esi*8]
fcomp qword [esp + 0x8c]
fnstsw ax
test ah, 0x41
je 0x100548b9
fld qword [ecx + esi*8]
fcomp qword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x100540a8
fld qword [ecx + esi*8]
fstp qword [esp + 0x48]
jmp 0x100540be
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x28]
fld qword [ecx + edx*8]
fcomp qword [esp + 0x8c]
fnstsw ax
test ah, 1
je 0x100540dc
fld qword [ecx + edx*8]
fstp qword [esp + 0x30]
jmp 0x100540f2
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
push edx
lea edx, [esp + 0x14]
push eax
push edx
mov edx, dword [ebp + 0x24]
lea eax, [esp + 0x74]
push eax
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push edx
push ebx
push esi
call fcn.10054920
add esp, 0x34
cmp ebx, 4
jl 0x100548b9
mov eax, dword [esp + 0x28]
sub esi, ebx
inc esi
cmp esi, eax
jge 0x100541a3
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x28]
lea ecx, [eax + esi*8]
mov eax, esi
shl eax, 4
add eax, edi
mov edi, dword [esp + 0x60]
sub edi, edx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x54]
sub edi, edx
sub ebx, esi
mov dword [esp + 0x18], ebx
fld qword [eax]
fmul qword [ecx]
mov ebx, dword [esp + 0x1c]
add eax, 0x10
add ecx, 8
add edx, 8
fstp qword [ebx + edx - 8]
fld qword [eax - 8]
fmul qword [ecx - 8]
fstp qword [edx - 8]
mov ebx, dword [ecx - 8]
mov dword [edi + edx - 8], ebx
mov ebx, dword [ecx - 4]
mov dword [edi + edx - 4], ebx
mov ebx, dword [esp + 0x18]
dec ebx
mov dword [esp + 0x18], ebx
jne 0x10054169
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x28]
cmp esi, edi
jge 0x100541d8
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [edx + esi*8]
mov edx, edi
sub edx, esi
mov dword [esp + 0x18], edx
mov edx, dword [eax]
add eax, 8
mov dword [ecx], edx
mov edx, dword [eax - 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x18]
add ecx, 8
dec edx
mov dword [esp + 0x18], edx
jne 0x100541bd
mov ecx, dword [esp + 0x24]
lea eax, [ecx + ebx + 1]
cmp edi, eax
mov dword [esp + 0x1c], eax
jge 0x10054225
mov edx, edi
mov eax, dword [ebp + 0x18]
sub edx, ecx
mov ecx, dword [esp + 0x20]
add edx, ebx
lea eax, [eax + edi*8]
lea ecx, [ecx + edx*8 - 8]
mov edx, dword [esp + 0x24]
sub edx, edi
lea edx, [edx + ebx + 1]
mov dword [esp + 0x18], edx
mov edx, dword [eax]
add eax, 8
mov dword [ecx], edx
mov edx, dword [eax - 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x18]
add ecx, 8
dec edx
mov dword [esp + 0x18], edx
jne 0x1005420a
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
push 0
push eax
mov eax, dword [esp + 0x50]
push ecx
push ebx
push edx
push eax
push 0xffffffffffffffff
call fcn.10057ca0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
add esp, 0x1c
push 0
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ebx
push eax
push ecx
push 1
call fcn.10057ca0
add esp, 0x1c
cmp esi, edi
jge 0x10054298
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [edx + esi*8]
mov edx, edi
sub edx, esi
mov dword [esp + 0x18], edx
mov edx, dword [eax]
add eax, 8
mov dword [ecx], edx
mov edx, dword [eax - 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x18]
add ecx, 8
dec edx
mov dword [esp + 0x18], edx
jne 0x1005427d
cmp edi, dword [esp + 0x1c]
jge 0x100542df
mov edx, dword [esp + 0x24]
mov ecx, edi
sub ecx, edx
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x18]
add ecx, ebx
lea ecx, [edx + ecx*8 - 8]
mov edx, dword [esp + 0x24]
sub edx, edi
lea eax, [eax + edi*8]
lea edx, [edx + ebx + 1]
mov dword [esp + 0x18], edx
mov edx, dword [eax]
add eax, 8
mov dword [ecx], edx
mov edx, dword [eax - 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x18]
add ecx, 8
dec edx
mov dword [esp + 0x18], edx
jne 0x100542c4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
push 0
push eax
mov eax, dword [esp + 0x50]
push ecx
push ebx
push edx
push eax
push 0xffffffffffffffff
call fcn.10057ca0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
add esp, 0x1c
push 0
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ebx
push eax
push ecx
push 1
call fcn.10057ca0
add esp, 0x1c
cmp esi, edi
jge 0x10054346
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [edx + esi*8]
mov edx, edi
sub edx, esi
mov esi, dword [eax]
add eax, 8
mov dword [ecx], esi
mov esi, dword [eax - 4]
mov dword [ecx + 4], esi
add ecx, 8
dec edx
jne 0x10054333
cmp edi, dword [esp + 0x1c]
jge 0x1005437d
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, edi
lea ecx, [eax + edi*8]
mov eax, dword [esp + 0x24]
sub edx, eax
add edx, ebx
sub eax, edi
lea edx, [esi + edx*8 - 8]
lea eax, [eax + ebx + 1]
mov esi, dword [ecx]
add ecx, 8
mov dword [edx], esi
mov esi, dword [ecx - 4]
mov dword [edx + 4], esi
add edx, 8
dec eax
jne 0x1005436a
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push 0
push esi
push edi
push ebx
push eax
push ecx
push 0xffffffffffffffff
call fcn.10057ca0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
add esp, 0x1c
push 0
push esi
push edi
push ebx
push edx
push eax
push 1
call fcn.10057ca0
mov edx, dword [esp + 0x78]
lea eax, [ebx - 1]
add esp, 0x1c
test eax, eax
jle 0x10054478
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
sub edi, esi
mov eax, edx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x54]
lea ecx, [esi + 8]
sub edi, esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0xa4], edi
sub esi, edx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x3c]
mov edi, esi
sub edi, edx
mov dword [esp + 0xbc], edi
mov edi, dword [esp + 0x54]
sub edi, edx
mov dword [esp + 0xa8], edi
mov edi, dword [esp + 0x40]
sub edi, edx
mov dword [esp + 0xa0], edi
lea edi, [ebx - 1]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
add ecx, 8
add eax, 8
fld qword [ecx + edi - 8]
mov edi, dword [esp + 0x24]
fsub qword [edi + eax - 8]
mov edi, dword [esp + 0xbc]
fstp qword [eax - 8]
fld qword [ecx - 8]
fsub qword [ecx - 0x10]
fstp qword [edi + eax - 8]
mov edi, dword [esp + 0xa4]
fld qword [ecx + edi - 8]
mov edi, dword [esp + 0xa8]
fsub qword [edi + eax - 8]
mov edi, dword [esp + 0xa0]
fstp qword [edi + eax - 8]
mov edi, dword [esp + 0x18]
dec edi
mov dword [esp + 0x18], edi
jne 0x10054420
jmp 0x1005447c
mov esi, dword [esp + 0x3c]
lea eax, [ebx - 2]
test eax, eax
jle 0x10054517
mov eax, dword [esp + 0x74]
mov edi, edx
sub edi, esi
lea ecx, [esi + 8]
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0x40]
sub edi, esi
mov esi, eax
sub edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x7c]
sub edx, esi
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x40]
sub edx, esi
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x94]
sub edx, esi
lea esi, [ebx - 2]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0xa0]
add ecx, 8
add eax, 8
fld qword [ecx + esi - 8]
mov esi, dword [esp + 0x1c]
fsub qword [eax + esi - 8]
mov esi, dword [esp + 0xa8]
fstp qword [eax - 8]
fld qword [ecx - 8]
fsub qword [ecx - 0x10]
fstp qword [eax + esi - 8]
mov esi, dword [esp + 0xa4]
fld qword [edi + ecx - 8]
fsub qword [esi + eax - 8]
dec dword [esp + 0x18]
fstp qword [edx + eax - 8]
jne 0x100544d1
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x10054531
mov edi, dword [esp + 0x2c]
mov ecx, eax
and ecx, 0x1fffffff
shl ecx, 1
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push edi
push ecx
mov ecx, dword [esp + 0x60]
lea eax, [ebx - 1]
push edx
push eax
mov eax, dword [esp + 0x64]
push eax
push ecx
push ebx
call fcn.10057a10
add esp, 0x1c
lea esi, [ebx + ebx - 3]
lea eax, [ebx + ebx - 2]
push edi
push edi
push esi
push eax
call fcn.10057510
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x84]
add esp, 0x10
push edx
push eax
lea eax, [ebx - 2]
push eax
push edi
push esi
call fcn.10057820
mov eax, dword [esp + 0x28]
add esp, 0x14
test eax, eax
jle 0x100545ad
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
sub ecx, eax
fld qword [ecx + eax]
fadd qword [eax]
add eax, 8
dec edx
fstp qword [eax - 8]
jne 0x1005459f
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
push edi
push ecx
mov ecx, dword [esp + 0x5c]
lea eax, [ebx - 1]
push edx
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
push ebx
call fcn.10057a10
add esp, 0x1c
lea eax, [ebx + ebx - 2]
push edi
push edi
push esi
push eax
call fcn.10057510
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x8c]
add esp, 0x10
push edx
push eax
lea eax, [ebx - 2]
push eax
push edi
push esi
call fcn.10057820
mov eax, dword [esp + 0x28]
add esp, 0x14
test eax, eax
jle 0x1005461e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
sub ecx, eax
fld qword [eax + ecx]
fadd qword [eax]
add eax, 8
dec edx
fstp qword [eax - 8]
jne 0x10054610
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
push edi
push ecx
mov ecx, dword [esp + 0x68]
lea eax, [ebx - 1]
push edx
push eax
mov eax, dword [esp + 0x68]
push eax
push ecx
push ebx
call fcn.10057a10
add esp, 0x1c
lea eax, [ebx + ebx - 2]
push edi
push edi
push esi
push eax
call fcn.10057510
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0xa4]
add esp, 0x10
push edx
push eax
lea eax, [ebx - 2]
push eax
push edi
push esi
call fcn.10057820
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
add esp, 0x14
test eax, eax
jle 0x10054691
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov eax, esi
sub ecx, esi
fld qword [eax + ecx]
fadd qword [eax]
add eax, 8
dec edx
fstp qword [eax - 8]
jne 0x10054683
fld qword [esi]
fcom qword [0x1005a058]
xor edi, edi
mov dword [esp + 0x1c], edi
fnstsw ax
test ah, 0x40
je 0x100546ab
mov edi, 1
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x100546eb
mov edx, eax
lea ecx, [esi + 8]
dec edx
fld qword [ecx]
fmul st(1)
fcomp qword [0x1005a058]
fnstsw ax
test ah, 1
je 0x100546cf
inc dword [esp + 0x1c]
fld qword [ecx]
fcomp qword [0x1005a058]
fnstsw ax
test ah, 0x40
je 0x100546e1
inc edi
jmp 0x100546e5
fstp st(0)
fld qword [ecx]
add ecx, 8
dec edx
jne 0x100546ba
cmp edi, dword [esp + 0x14]
fstp st(0)
jne 0x1005474f
mov ecx, dword [ebp + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x1005471a
fld qword [esp + 0x48]
mov edx, dword [ebp + 0x2c]
fstp qword [edx + eax*8]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x1005471a
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [eax + edx*4], esi
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x10054731
fld qword [esp + 0x30]
mov ecx, dword [ebp + 0x2c]
fstp qword [ecx + eax*8]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
jmp 0x100548b9
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1005475f
test edi, edi
je 0x100548b9
cmp eax, 1
jg 0x100547c0
test edi, edi
jg 0x100547c0
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xac]
push edi
push ecx
push esi
push edx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x3ff00000
call fcn.10056690
add esp, 0x10
mov dword [esp + 0x80], eax
mov dword [esp + 0x64], 1
jmp 0x100547df
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x64]
push eax
push edi
push esi
push ecx
call fcn.10056990
add esp, 0x10
mov dword [esp + 0x80], eax
fld qword [edi]
fld qword [0x1005a048]
fsub st(1)
fxch st(1)
fmul qword [esp + 0x30]
fxch st(1)
fmul qword [esp + 0x48]
fxch st(1)
faddp st(1)
fcom qword [esp + 0x68]
fnstsw ax
test ah, 0x41
jne 0x1005484a
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x24]
cmp eax, ecx
jge 0x10054838
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x30]
fld st(0)
test ecx, ecx
fstp qword [edx + eax*8]
je 0x1005483b
mov eax, dword [esp + 0x10]
mov dword [ecx + eax*4], 0
mov eax, dword [esp + 0x10]
fstp qword [esp + 0x68]
inc eax
mov dword [esp + 0x10], eax
jmp 0x1005484f
mov ecx, dword [ebp + 0x30]
mov eax, dword [esp + 0x10]
fstp qword [esp + 0x68]
inc eax
mov dword [esp + 0x10], eax
jmp 0x1005484f
mov ecx, dword [ebp + 0x30]
fstp st(0)
mov edx, dword [esp + 0x64]
cmp edx, 1
jle 0x100548b9
mov eax, 1
cmp edx, eax
jle 0x100548b9
mov esi, dword [esp + 0x10]
lea edx, [edi + 8]
fld qword [edx]
fld qword [0x1005a048]
mov edi, dword [ebp + 0x24]
fsub st(1)
fxch st(1)
fmul qword [esp + 0x30]
fxch st(1)
fmul qword [esp + 0x48]
fxch st(1)
faddp st(1)
cmp esi, edi
jge 0x100548a0
mov edi, dword [ebp + 0x2c]
fld st(0)
test ecx, ecx
fstp qword [edi + esi*8]
je 0x100548a0
mov esi, dword [esp + 0x10]
mov dword [ecx + esi*4], 0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x64]
fstp qword [esp + 0x68]
inc esi
inc eax
add edx, 8
cmp eax, edi
mov dword [esp + 0x10], esi
jl 0x10054868
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0xc]
cmp esi, eax
mov dword [esp + 0x24], esi
jl 0x10054043
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x9c]
mov dword [ecx], edx
test eax, eax
je 0x100548f0
push eax
call fcn.10003d40
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [eax*8]
push edx
call fcn.10003ce0
add esp, 4
mov dword [esp + 0x9c], eax
test eax, eax
jne 0x100539c5
mov esi, 1
jmp 0x100548e3