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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x100bf964
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10119a70]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x1002533e
lea eax, [esi + 8]
jmp 0x10025340
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call dword [0x100ccd0c]
lea eax, [esi + 0x70]
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
mov dword [esp + 0xc8], 0
call dword [0x100cd6c0]
push eax
lea ecx, [esp + 0x20]
call dword [0x100ccd08]
lea edi, [esi + 0x60]
mov ecx, edi
call dword [0x100ccb50]
mov ebp, dword [0x100ccdd4]
test al, al
jne 0x10025430
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x1c]
sub edx, dword [eax + 0x14]
inc ecx
inc edx
mov dword [esp + 0x28], ecx
mov ecx, edi
mov dword [esp + 0x40], esp
mov dword [esp + 0x2c], edx
call ebp
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
mov ecx, edi
fstp qword [esp + 0x40]
call dword [0x100ccdd8]
push 0xffffffffffffffff
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
push 0xffffffffffffffff
push 0
fstp qword [esp + 0x2c]
push 0
fild dword [esp + 0x3c]
push edi
mov ecx, edi
fstp qword [esp + 0x44]
call dword [0x100ccb4c]
fdivr qword [esp + 0x54]
fsubr qword [esp + 0x44]
fmul qword [0x100d0258]
call fcn.100bb8c0
fild dword [esp + 0x3c]
push eax
mov ecx, edi
fstp qword [esp + 0x58]
call dword [0x100ccb4c]
fdivr qword [esp + 0x38]
fsubr qword [esp + 0x58]
fmul qword [0x100d0258]
call fcn.100bb8c0
push eax
lea ecx, [esp + 0x38]
call dword [0x100ccb48]
cmp dword [esi + 0xc0], 0
lea ecx, [esp + 0x18]
je 0x100257f4
call dword [0x100cccf8]
cmp byte [esi + 0x30], 0
je 0x100257e6
cmp dword [esi + 0xc0], 3
jne 0x100254e0
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.10024b70
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
mov dword [eax], 0
mov eax, dword [esi + 0x14]
mov edi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
sub edi, dword [eax + 0x14]
sub ebx, dword [eax + 0x10]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3c]
push 0
push eax
mov ecx, eax
mov byte [esp + 0xd8], 1
inc edi
inc ebx
call ebp
sub edi, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x48]
call dword [0x100ccdd8]
sub ebx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x38]
call dword [0x100ccb48]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc0], 0
call dword [0x100ccddc]
jmp 0x100257b3
lea ecx, [esp + 0x24]
call dword [0x100cccf4]
xor eax, eax
cmp dword [esi + 0x50], eax
mov byte [esp + 0xc0], 2
mov dword [esp + 0x1c], eax
jle 0x10025712
mov ecx, dword [esi + 0x4c]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x80]
mov ebp, dword [esi + 0x88]
mov edx, dword [esi + 0xc0]
add ebp, ecx
imul ebp, eax
cmp edx, 2
jne 0x1002559d
test eax, eax
jne 0x1002555b
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x24]
imul edx, ebx
sub eax, edx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x64]
fild dword [esp + 0x3c]
push eax
fldz
lea ecx, [esp + 0x28]
fstp qword [esp + 0x68]
fstp qword [esp + 0x70]
call dword [0x100cccf0]
jmp 0x100256ad
mov edx, dword [esi + 0x24]
imul ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x84]
fild dword [esp + 0x3c]
imul ecx, ebx
sub edx, ecx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x74]
fild dword [esp + 0x3c]
push edx
fxch st(1)
lea ecx, [esp + 0x28]
fstp qword [esp + 0x78]
fstp qword [esp + 0x80]
call dword [0x100cccec]
jmp 0x100256ad
cmp edx, 1
jne 0x100256b1
xor edi, edi
test ebx, ebx
jle 0x100256b1
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0x24]
add edx, ecx
imul edx, edi
sub eax, edx
mov edx, dword [esi + 0x80]
sub eax, ecx
mov dword [esp + 0x48], eax
lea eax, [eax + ecx - 1]
lea edx, [edx + ebp - 1]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call dword [0x100ccce8]
push 1
lea eax, [esi + 0xa0]
push eax
lea ecx, [esp + 0x30]
call dword [0x100ccce4]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 3
call dword [0x100ccce0]
lea ecx, [esp + 0x28]
mov byte [esp + 0xc0], 2
call dword [0x100cccdc]
fld qword [esi + 0x98]
sub esp, 0x28
lea edx, [esp + 0x6c]
fstp qword [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
call dword [0x100cca64]
lea eax, [esp + 0x54]
push eax
call fcn.10068900
add esp, 0x2c
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 4
call dword [0x100cccf8]
push 1
push 1
lea ecx, [esp + 0x20]
call dword [0x100cccd8]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call dword [0x100cccd4]
lea ecx, [esp + 0x18]
call dword [0x100cccd0]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc0], 2
call dword [0x100ccccc]
inc edi
cmp edi, ebx
jl 0x100255b0
mov eax, dword [esp + 0x1c]
cmp byte [esi + 0x90], 0
je 0x10025704
mov edx, dword [esi + 0x34]
test edx, edx
je 0x10025704
cmp dword [edx + eax*4], 0
jle 0x10025704
mov ecx, dword [esi + 0x24]
sub ecx, dword [edx + eax*4]
mov dword [esp + 0x54], ebp
lea eax, [ecx - 1]
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x58], eax
lea edx, [ecx + ebp - 1]
mov dword [esp + 0x60], eax
lea eax, [esi + 0xb0]
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], edx
call dword [0x100ccd08]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esi + 0x50]
mov dword [esp + 0x1c], eax
jl 0x10025501
cmp dword [esi + 0xc0], 2
jne 0x100257a1
push 1
lea edx, [esi + 0xa0]
push edx
lea ecx, [esp + 0x34]
call dword [0x100ccce4]
fild dword [esi + 0x80]
push 0x40
push 0x10
push 1
sub esp, 8
lea eax, [esp + 0x40]
fstp qword [esp]
mov bl, 5
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], bl
call dword [0x100cccc8]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 6
call dword [0x100cccc4]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc0], bl
call dword [0x100cccc0]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc0], 2
call dword [0x100cccdc]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call dword [0x100cccd4]
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 0
call dword [0x100ccccc]
mov ecx, dword [esi + 0x44]
mov byte [esi + 0x30], 0
test ecx, ecx
je 0x100257e6
cmp dword [ecx + 8], 0
jge 0x100257d3
mov eax, dword [esi + 0x3c]
cdq
sub eax, edx
sar eax, 1
push eax
call dword [0x100cca68]
lea edx, [esp + 0x3c]
push edx
call dword [0x100cca6c]
mov eax, dword [eax]
add esp, 4
mov dword [esi + 0x40], eax
lea ecx, [esp + 0x18]
call dword [0x100cccd0]
lea ecx, [esp + 0x18]
mov dword [esp + 0xc0], 0xffffffff
call dword [0x100cccbc]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4