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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x69c
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], esi
lea eax, [ecx + edi - 2]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
lea eax, [edi - 2]
mov dword [esp + 0x28], eax
cdq
sub eax, edx
lea edx, [ecx + ecx*2]
sar eax, 1
mov ebx, dword [esi + edx*8 - 0x14]
mov dword [esp + 0x14], eax
lea eax, [esi + edx*8]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x54], eax
mov edx, dword [eax - 0x18]
mov ebx, dword [eax - 0xc]
mov dword [esp + 0x64], edx
mov edx, dword [eax - 0x10]
mov dword [esp + 0x6c], edx
mov edx, dword [eax - 8]
mov eax, dword [eax - 4]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov eax, edi
cdq
xor eax, edx
mov dword [esp + 0x70], ebx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
cmp eax, 1
jne 0x10025f1b
mov dword [esp + 0x2c], eax
jmp 0x10026815
cmp ecx, 3
jge 0x10025f2d
mov dword [esp + 0x2c], 2
jmp 0x10026815
mov eax, dword [esp + 0x54]
mov ecx, dword [esi]
mov ebx, dword [esp + 0x28]
mov dword [eax - 0x18], ecx
mov edx, dword [esi + 4]
mov dword [eax - 0x14], edx
mov ecx, dword [esi + 8]
mov dword [eax - 0x10], ecx
mov edx, dword [esi + 0xc]
mov dword [eax - 0xc], edx
mov ecx, dword [esi + 0x10]
mov dword [eax - 8], ecx
mov edx, dword [esi + 0x14]
mov dword [eax - 4], edx
mov eax, dword [ebp + 8]
lea edi, [eax + eax - 1]
mov eax, dword [esp + 0xc]
imul edi, eax
imul ebx, eax
shl edi, 3
lea ecx, [eax*8]
lea edx, [edi + eax*4]
mov dword [esp + 0x1c], ecx
shl ebx, 3
add edx, ecx
add edx, ebx
push edx
call fcn.10003ce0
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
je 0x10026815
mov edx, dword [esp + 0x1c]
mov ecx, eax
add ebx, ecx
mov dword [esp + 0x34], ebx
lea eax, [edx + ebx]
add edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
test edi, edi
jle 0x10025fc8
lea eax, [esp + 0x8c]
mov dword [eax], ecx
add eax, 4
add ecx, edx
dec edi
jne 0x10025fbe
mov eax, dword [ebp + 0x14]
cmp eax, 4
je 0x10026012
mov edi, dword [esp + 0x34]
mov ecx, dword [ebp + 0xc]
push edi
push esi
push 1
push 0
push ecx
push 3
push eax
call fcn.100460f0
add esp, 0x1c
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x10026815
mov ebx, dword [ebp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push edi
push edx
push eax
push ecx
call fcn.10045d80
add esp, 0x14
jmp 0x1002602c
mov ebx, dword [ebp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push edx
push eax
push ecx
call fcn.10045a60
add esp, 0x10
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x1002603e
mov edi, dword [esp + 0x30]
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, 1
cmp edi, eax
jl 0x1002605c
lea ecx, [edx + 4]
mov dword [ecx], eax
inc eax
add ecx, 4
cmp eax, edi
jle 0x10026052
mov eax, 1
cmp edi, eax
jl 0x1002607c
mov ecx, dword [esp + 0xc]
lea ecx, [ecx*4 - 4]
mov dword [ecx + edx - 4], eax
inc eax
sub ecx, 4
cmp eax, edi
jle 0x10026070
lea esi, [edi + 1]
test esi, esi
mov dword [esp + 0x3c], esi
jle 0x100260ab
mov eax, dword [esp + 0x34]
mov ecx, esi
mov edx, dword [ebp + 8]
add eax, 8
dec ecx
mov edx, dword [ebx + edx*8 - 8]
mov dword [eax - 8], edx
mov edx, dword [ebp + 8]
mov edx, dword [ebx + edx*8 - 4]
mov dword [eax - 4], edx
jne 0x1002608d
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
sub eax, edi
lea ecx, [eax - 1]
cmp esi, ecx
mov dword [esp + 0x24], ecx
jge 0x10026104
mov edx, ecx
lea eax, [esi*8]
sub edx, esi
jmp 0x100260cd
mov edi, dword [esp + 0x14]
mov ecx, eax
lea esi, [edi*8]
sub ecx, esi
mov esi, dword [ebp + 8]
add eax, 8
dec edx
lea ecx, [ecx + esi*8]
mov esi, dword [esp + 0x34]
mov edi, dword [ecx + ebx - 8]
mov dword [eax + esi - 8], edi
mov ecx, dword [ecx + ebx - 4]
mov dword [eax + esi - 4], ecx
jne 0x100260c9
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
cmp ecx, esi
jge 0x10026135
mov edx, dword [esp + 0x34]
lea eax, [edx + ecx*8]
mov edx, esi
sub edx, ecx
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + ebx]
mov dword [eax], esi
mov esi, dword [ecx + ebx + 4]
mov dword [eax + 4], esi
add eax, 8
dec edx
jne 0x1002611b
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [ebp + 8]
push eax
push edx
push ebx
push esi
push ecx
call fcn.10026860
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
add esp, 0x1c
lea eax, [esp + 0x5c]
push edx
push eax
push esi
push ecx
call fcn.10026e30
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x10026815
test edi, edi
jle 0x100261ca
mov esi, 8
lea edx, [esp + 0x8c]
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x100261a6
mov edi, dword [edx]
mov ecx, eax
and ecx, 0x1fffffff
shl ecx, 1
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
mov ecx, dword [edx]
mov eax, esi
add eax, ecx
add esi, 8
add edx, 4
mov dword [eax], 0
mov dword [eax + 4], 0x3ff00000
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x1002618a
mov eax, dword [esp + 0x28]
cmp edi, eax
jge 0x10026220
mov esi, dword [esp + 0x1c]
sub eax, edi
lea edx, [esp + edi*4 + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x100261fb
mov edi, dword [edx]
mov ecx, eax
and ecx, 0x1fffffff
shl ecx, 1
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [edx]
lea eax, [esi - 0x10]
add eax, ecx
sub esi, 8
add edx, 4
mov dword [eax], 0
mov dword [eax + 4], 0x3ff00000
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x100261e3
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x10026259
lea edi, [esp + 0x8c]
mov esi, eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x60]
push edx
mov edx, dword [ebp + 8]
push eax
push 1
push 0
push ecx
push edx
call fcn.1002a3e0
add esp, 0x1c
add edi, 4
dec esi
jne 0x10026231
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
fld qword [ebx + eax*8 - 8]
mov eax, dword [esp + 0x14]
fstp qword [esp + 0x44]
fld qword [ecx + ebx]
test eax, eax
fstp qword [esp + 0x4c]
jle 0x10026421
mov edx, eax
lea ecx, [esp + 0x338]
mov dword [esp + 0x10], ecx
lea eax, [edx*8]
mov dword [esp + 0x38], eax
lea edi, [esp + eax + 0x1c0]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x20], eax
lea edx, [esp + eax*4 + 0x8c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x1b8]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push edx
push 0
mov dword [esp + 0x94], eax
push eax
mov eax, dword [esp + 0x28]
push ebx
push 0xffffffffffffffff
push eax
push ecx
call fcn.1004e640
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x5c]
add esp, 0x2c
mov dword [esi], edx
mov dword [esi + 4], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x1b8]
mov dword [esp + 0x58], eax
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
push 0
push eax
mov eax, dword [ebp + 8]
push ebx
push 0xffffffffffffffff
push edx
push eax
call fcn.1004e640
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
fld qword [edi]
add esp, 0x2c
lea ecx, [esp + 0x1b8]
fadd qword [esi]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x18]
fstp qword [esi]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp + 8]
push 0
push edx
push ebx
push 0xffffffffffffffff
push eax
push ecx
call fcn.1004e640
fld qword [esi]
fsub qword [edi]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
add esp, 0x2c
lea edx, [esp + 0x1b8]
fstp qword [esi]
push edx
push eax
push ecx
push 0xffffffffffffffff
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 8]
push 0
push eax
push ebx
push 0xffffffffffffffff
push ecx
push edx
call fcn.1004e640
fld qword [esi]
fsub qword [edi]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, 4
add esp, 0x2c
add ecx, eax
add edx, eax
fstp qword [esi]
mov eax, dword [esp + 0x20]
add esi, 8
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
jne 0x100262d2
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x14]
inc eax
add edi, 8
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edx
jl 0x100262a2
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edx, dword [eax]
cmp esi, 1
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [eax + 0x10]
mov dword [edi + 0x10], edx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0x14], ecx
jle 0x10026473
dec esi
lea ecx, [edi + 0x28]
xor edx, edx
mov dword [ecx - 0x10], edx
mov dword [ecx - 0xc], edx
mov dword [ecx - 8], edx
mov dword [ecx - 4], edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
add ecx, 0x18
dec esi
jne 0x10026458
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
cmp esi, edx
jge 0x100264f1
mov ecx, dword [esp + 0x14]
lea esi, [esi + esi*2]
shl esi, 3
lea ecx, [ecx + ecx*2]
shl ecx, 3
mov dword [esp + 0x10], ecx
lea ecx, [esi + edi + 0x10]
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x10]
mov edx, esi
sub edx, edi
add ecx, 0x18
mov edi, dword [edx + eax]
mov dword [ecx - 0x28], edi
mov edx, dword [edx + eax + 4]
mov edi, dword [esp + 0x10]
mov dword [ecx - 0x24], edx
mov edx, esi
sub edx, edi
mov edi, dword [edx + eax + 8]
mov dword [ecx - 0x20], edi
mov edx, dword [edx + eax + 0xc]
mov edi, dword [esp + 0x10]
mov dword [ecx - 0x1c], edx
mov edx, esi
add esi, 0x18
sub edx, edi
mov edi, dword [edx + eax + 0x10]
mov dword [ecx - 0x18], edi
mov edx, dword [edx + eax + 0x14]
mov dword [ecx - 0x14], edx
mov edx, dword [esp + 0x20]
dec edx
mov dword [esp + 0x20], edx
jne 0x1002649b
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
xor esi, esi
lea ecx, [edi - 1]
cmp edx, ecx
mov dword [esp + 0x38], ecx
jge 0x1002652f
mov edi, dword [ebp + 0x1c]
lea ecx, [edx + edx*2]
lea ecx, [edi + ecx*8 + 0x10]
mov edi, dword [esp + 0x38]
sub edi, edx
mov edx, edi
mov dword [ecx - 0x10], esi
mov dword [ecx - 0xc], esi
mov dword [ecx - 8], esi
mov dword [ecx - 4], esi
mov dword [ecx], esi
mov dword [ecx + 4], esi
add ecx, 0x18
dec edx
jne 0x10026514
mov edi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x1c]
lea edx, [edi + edi*2]
lea ecx, [ecx + edx*8]
mov edx, dword [eax]
mov dword [ecx - 0x18], edx
mov edx, dword [eax + 4]
mov dword [ecx - 0x14], edx
mov edx, dword [eax + 8]
mov dword [ecx - 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [ecx - 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx - 8], edx
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx - 4], eax
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x5c]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push 1
push esi
push edi
push ecx
call fcn.10025b20
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
add esp, 0x1c
cmp eax, esi
jle 0x1002666c
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xe0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edx
lea ecx, [eax + eax*2]
lea edx, [esp + ecx*8 + 0x290]
or ecx, 0xffffffff
sub ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x278]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
mov eax, dword [ebp + 8]
push 0
push ecx
push ebx
push 0xffffffffffffffff
push edx
push eax
call fcn.1004e440
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ecx, 6
add esp, 0x2c
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x278]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp + 8]
push 0
push edx
push ebx
push 0xffffffffffffffff
push eax
push ecx
call fcn.1004e440
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
add esp, 0x2c
mov edx, 3
fld qword [eax]
fsub qword [ecx]
add ecx, 8
add eax, 8
dec edx
fstp qword [eax - 8]
jne 0x10026639
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
inc edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x18], edx
cmp eax, ecx
jl 0x100265b7
mov esi, dword [esp + 0x14]
cmp esi, 1
jne 0x1002669f
fld qword [0x10059740]
fdiv qword [esp + 0x338]
lea eax, [esp + 0xe0]
mov ecx, 3
fld qword [eax]
fmul st(1)
add eax, 8
dec ecx
fstp qword [eax - 8]
jne 0x1002668e
fstp st(0)
jmp 0x100266db
lea ecx, [esp + 0x80]
lea edx, [esp + 0xe0]
push ecx
lea eax, [esp + 0xe4]
push edx
push eax
push 3
lea ecx, [esp + 0x348]
push 3
push ecx
push esi
push esi
push 2
call fcn.1004d0a0
add esp, 0x24
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x10026815
mov ecx, dword [esp + 0xc]
test ecx, ecx
jle 0x100267e4
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jmp 0x100266fe
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x10026747
lea ecx, [esp + 0xe0]
lea edi, [esp + 0x8c]
mov dword [esp + 0x20], esi
mov eax, dword [edi]
mov edx, 3
lea esi, [ebx + eax]
mov eax, dword [esp + 0x18]
fld qword [ecx]
fmul qword [esi]
add ecx, 8
add eax, 8
dec edx
fadd qword [eax - 8]
fstp qword [eax - 8]
jne 0x10026722
mov eax, dword [esp + 0x20]
add edi, 4
dec eax
mov dword [esp + 0x20], eax
jne 0x10026714
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x28]
jge 0x100267bf
mov eax, dword [esp + 0x14]
lea ecx, [esp + eax*4 + 0x8c]
lea ebx, [eax + eax*2]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
shl ebx, 3
sub ecx, eax
mov edi, ebx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx]
mov edx, 3
lea esi, [eax + ecx]
mov ecx, dword [esp + 0x18]
mov eax, edi
sub eax, ebx
lea eax, [esp + eax + 0xe0]
fld qword [eax]
fmul qword [esi]
add eax, 8
add ecx, 8
dec edx
fadd qword [ecx - 8]
fstp qword [ecx - 8]
jne 0x1002678f
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edi, 0x18
add ecx, 4
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
jne 0x1002676e
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ebx, 8
add ecx, 0x18
dec eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x100266fa
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
inc edx
test edx, edx
jle 0x10026815
mov eax, dword [ebp + 0x1c]
sub ecx, edx
mov esi, edx
lea ecx, [ecx + ecx*2]
lea ecx, [eax + ecx*8]
mov edx, 3
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 0x100267ff
dec esi
jne 0x100267fa
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [eax - 0x18], edx
mov edx, dword [esp + 0x6c]
mov dword [eax - 0x14], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax - 0x10], edx
mov edx, dword [esp + 0x74]
mov dword [eax - 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax - 8], edx
mov edx, dword [esp + 0x40]
push edx
mov dword [eax - 4], ecx
call fcn.10003d40
mov eax, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret