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

Disassembly:
sub esp, 0xa4
push ebp
push esi
mov ebp, ecx
xor esi, esi
cmp dword [ebp + 0x58], esi
jne 0x10005121
pop esi
mov eax, 0x80004005
pop ebp
add esp, 0xa4
ret 0x14
mov eax, dword [ebp + 0x674]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push ebx
push eax
call edx
mov eax, dword [ebp + 0x678]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x164]
push 0x144
push eax
call edx
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1ac]
push esi
push eax
call edx
mov edx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
push 0x1c
push esi
push edx
push esi
push eax
mov eax, dword [ecx + 0x190]
call eax
mov bl, byte [esp + 0xc4]
test bl, 4
je 0x100051a8
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x114]
push 2
push 6
push esi
push eax
call edx
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x114]
push 2
push 5
push esi
push eax
call edx
test bl, 8
je 0x100051ce
mov ecx, dword [esp + 0xc0]
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, ebp
call fcn.100027f0
fld dword [esp + 0xb4]
fisub dword [esp + 0x48]
jmp 0x100051fa
test bl, 1
je 0x10005201
mov eax, dword [esp + 0xc0]
lea edx, [esp + 0x48]
push edx
push eax
mov ecx, ebp
call fcn.100027f0
fld dword [esp + 0xb4]
fild dword [esp + 0x48]
fmul qword [0x10007698]
fsubp st(1)
fstp dword [esp + 0xb4]
mov ecx, dword [ebp + 0x670]
fld dword [esp + 0xb4]
fild dword [ebp + 0x670]
test ecx, ecx
jge 0x1000521e
fadd dword [0x1000743c]
mov eax, dword [ebp + 0x60]
fsubp st(1)
push 0x2000
lea ecx, [esp + 0x10]
push ecx
fstp dword [esp + 0xbc]
fld dword [esp + 0xbc]
push esi
mov dword [esp + 0x18], esi
fstp dword [esp + 0x54]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
push esi
push eax
mov dword [esp + 0x4c], esi
call edx
mov eax, dword [esp + 0xc0]
mov cl, byte [eax]
test cl, cl
je 0x100056ec
fld dword [str.fff_]
mov ebx, dword [esp + 0xbc]
fld1
push edi
fld qword [0x10007698]
inc dword [esp + 0xc4]
cmp cl, 0xa
jne 0x100052b5
fld dword [esp + 0x4c]
mov edx, dword [ebp + 0x68]
fstp dword [esp + 0xb8]
fld dword [ebp + 0x7c]
fsub dword [ebp + 0x74]
fild dword [ebp + 0x68]
test edx, edx
jge 0x100052a5
fadd dword [0x1000743c]
fmulp st(1)
fadd dword [esp + 0xbc]
fstp dword [esp + 0xbc]
movsx eax, cl
lea edx, [eax - 0x20]
test edx, edx
jl 0x100056d0
cmp edx, 0x60
jge 0x100056d0
lea edx, [eax - 0x19]
shl edx, 4
fld dword [edx + ebp]
shl eax, 4
fstp dword [esp + 0x18]
add eax, ebp
fld dword [eax - 0x18c]
fstp dword [esp + 0x40]
fld dword [eax - 0x188]
fstp dword [esp + 0x14]
fld dword [eax - 0x184]
mov eax, dword [ebp + 0x64]
fstp dword [esp + 0x38]
fld dword [esp + 0x14]
fld st(0)
fld dword [esp + 0x18]
fld st(0)
fsubp st(2)
fild dword [ebp + 0x64]
test eax, eax
jge 0x1000531a
fadd dword [0x1000743c]
fmulp st(2)
mov edx, dword [ebp + 0x68]
fld dword [ebp + 0x6c]
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x38]
fld st(0)
fsub dword [esp + 0x40]
fild dword [ebp + 0x68]
test edx, edx
jge 0x10005341
fadd dword [0x1000743c]
fmulp st(1)
fdiv dword [ebp + 0x6c]
fstp dword [esp + 0x18]
cmp cl, 0x20
je 0x1000572b
fld dword [esp + 0xb8]
mov edi, dword [esp + 0x10]
fadd qword [0x10007688]
mov dword [esp + 0x2c], ebx
lea esi, [esp + 0x1c]
fsub st(4)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp + 0xa4]
mov eax, dword [esp + 0xa4]
fld dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fadd dword [esp + 0xbc]
fsub st(4)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0xa8]
mov ecx, dword [esp + 0xa8]
fxch st(5)
mov dword [esp + 0x20], ecx
fst dword [esp + 0xac]
mov edx, dword [esp + 0xac]
fxch st(4)
mov dword [esp + 0x24], edx
fst dword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
fxch st(1)
mov dword [esp + 0x28], eax
fst dword [esp + 0x30]
mov ecx, 7
fxch st(5)
fst dword [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x44]
fstp dword [esp + 0x94]
fld dword [esp + 0xbc]
fadd qword [0x10007688]
fsub st(4)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
mov ecx, dword [esp + 0x94]
fstp dword [esp + 0x98]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x98]
fxch st(4)
fst dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
fxch st(1)
mov dword [esp + 0x1c], ecx
fst dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
fxch st(5)
add edi, 0x1c
fst dword [esp + 0x30]
mov dword [esp + 0x10], edi
fld dword [esp + 0x40]
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x34]
mov dword [esp + 0x20], edx
fld dword [esp + 0x14]
mov ecx, 7
fadd dword [esp + 0xb8]
lea esi, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
fsub st(4)
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp dword [esp + 0x74]
fld dword [esp + 0x18]
fst dword [esp + 0x78]
fxch st(2)
fst dword [esp + 0x7c]
fxch st(6)
fst dword [esp + 0x80]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
add edi, 0x1c
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x7c]
fxch st(3)
fst dword [esp + 0x30]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
fxch st(5)
fst dword [esp + 0x34]
mov dword [esp + 0x24], ecx
fld dword [esp + 0x48]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
fld dword [esp + 0x38]
mov dword [esp + 0x28], edx
fstp dword [esp + 0x58]
mov dword [esp + 0x2c], ebx
fxch st(6)
mov ecx, 7
fst dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
fxch st(3)
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
fst dword [esp + 0x60]
fxch st(5)
fst dword [esp + 0x30]
fld dword [esp + 0x40]
fstp dword [esp + 0x34]
fld dword [esp + 0x48]
fstp dword [esp + 0x64]
fxch st(2)
fstp dword [esp + 0x68]
fxch st(2)
fst dword [esp + 0x6c]
mov edi, dword [esp + 0x10]
fxch st(4)
mov ecx, dword [esp + 0x58]
fst dword [esp + 0x70]
add edi, 0x1c
fxch st(1)
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], ebx
mov ecx, 7
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x30]
fxch st(4)
fstp dword [esp + 0x34]
fld dword [esp + 0x44]
fstp dword [esp + 0x84]
fld dword [esp + 0x38]
fstp dword [esp + 0x88]
fxch st(2)
fst dword [esp + 0x8c]
fxch st(3)
fst dword [esp + 0x90]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x70]
add edi, 0x1c
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x84]
mov ecx, 7
lea esi, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
add edi, 0x1c
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x8c]
fxch st(2)
mov eax, dword [esp + 0x88]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x90]
fld dword [esp + 0x40]
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov ecx, 7
lea esi, [esp + 0x1c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x3c]
add dword [esp + 0x10], 0x1c
add esi, 2
lea eax, [esi + esi*2]
mov dword [esp + 0x3c], esi
cmp eax, 0x126
jbe 0x100056a2
mov eax, dword [ebp + 0x60]
fstp st(2)
mov ecx, dword [eax]
fstp st(0)
mov edx, dword [ecx + 0x30]
fstp st(0)
push eax
call edx
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x144]
push esi
xor esi, esi
push esi
push 4
push eax
call edx
mov eax, dword [ebp + 0x60]
push 0x2000
lea edx, [esp + 0x14]
push edx
push esi
mov dword [esp + 0x1c], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x2c]
call eax
fld qword [0x10007698]
fld dword [str.fff_]
mov dword [esp + 0x3c], esi
fld1
fxch st(1)
fxch st(2)
mov ecx, dword [ebp + 0x670]
fld dword [esp + 0x14]
add ecx, ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
test ecx, ecx
jge 0x100056c0
fadd dword [0x1000743c]
fsubp st(1)
fadd dword [esp + 0xb8]
fstp dword [esp + 0xb8]
mov edx, dword [esp + 0xc4]
mov cl, byte [edx]
test cl, cl
jne 0x10005278
mov esi, dword [esp + 0x3c]
fstp st(2)
fstp st(0)
pop edi
fstp st(0)
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push eax
call edx
pop ebx
test esi, esi
jbe 0x1000570f
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x144]
push esi
push 0
push 4
push eax
call edx
mov ebp, dword [ebp + 0x674]
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
push ebp
call ecx
pop esi
xor eax, eax
pop ebp
add esp, 0xa4
ret 0x14
fstp st(2)
fstp st(0)
fstp st(0)
jmp 0x100056a2