Function at 0x1018ffa7
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1025fbcc
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x58], ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0x8c], 0
mov dword [ebx + 0x30], ecx
jne 0x10190009
mov eax, ecx
jmp 0x101903da
call fcn.1008b6ce
cmp dword [eax + 0x1ac], 8
jg 0x1019001f
xor eax, eax
inc eax
jmp 0x101903da
xor eax, eax
mov dword [esp + 0x38], 0x10040f2c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push eax
mov dword [esp + 0x12c], eax
call dword [0x102ab054]
push eax
lea ecx, [esp + 0x3c]
call fcn.10273aed
lea eax, [esp + 0x7c]
push eax
push 0x18
push dword [ebx + 0x8c]
call dword [0x102ab04c]
test eax, eax
je 0x101903c5
mov eax, dword [esp + 0x80]
mov edi, dword [0x102ab05c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x1019009d
push eax
push dword [esp + 0x40]
call edi
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x101900a3
xor esi, esi
mov dword [esp + 0x18], esi
test esi, esi
je 0x101903c5
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
and dword [esp + 0x54], 0
mov dword [esp + 0x48], 0x10040f2c
mov byte [esp + 0x128], 1
push dword [esp + 0x3c]
call dword [0x102ab054]
push eax
lea ecx, [esp + 0x4c]
call fcn.10273aed
mov edx, dword [esp + 0x10]
xor eax, eax
mov ecx, dword [esp + 0x2c]
inc eax
and dword [esp + 0xfc], 0
push 0x20
mov word [esp + 0xfc], ax
pop eax
mov word [esp + 0xfa], ax
mov eax, edx
imul eax, ecx
mov dword [esp + 0xf0], ecx
xor ecx, ecx
push ecx
push ecx
mov dword [esp + 0xf4], 0x28
mov dword [esp + 0x108], eax
lea eax, [esp + 0x68]
push eax
push ecx
lea eax, [esp + 0xfc]
mov dword [esp + 0x104], edx
push eax
push dword [esp + 0x60]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x78], ecx
call dword [0x102ab0b0]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1019017b
push esi
push dword [esp + 0x40]
call edi
xor ebx, ebx
jmp 0x101903b2
push eax
push dword [esp + 0x50]
call edi
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x1019019d
push esi
push dword [esp + 0x40]
call edi
push dword [esp + 0x14]
call dword [0x102ab058]
jmp 0x10190174
push 0xcc0020
xor eax, eax
push eax
push eax
push dword [esp + 0x48]
push dword [esp + 0x20]
push dword [esp + 0x40]
push eax
push eax
push dword [esp + 0x6c]
call dword [0x102ab0a0]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
test eax, eax
jg 0x101901d2
mov eax, 0x82
mov dword [esp + 0x1c], eax
cmp dword [ebx + 8], 0x20
mov dword [esp + 0x24], eax
jne 0x10190319
lea eax, [esp + 0x94]
push eax
push 0x54
push dword [esp + 0x1c]
call dword [0x102ab04c]
test eax, eax
je 0x10190174
push 0x20
pop eax
cmp word [esp + 0xa6], ax
jne 0x10190174
cmp dword [esp + 0xa8], 0
je 0x10190174
mov eax, dword [esp + 0x9c]
imul eax, dword [esp + 0x98]
and dword [esp + 0x10], 0
test eax, eax
jle 0x10190388
fild dword [esp + 0x24]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x10041fa8]
mov edi, dword [esp + 0xa8]
inc edi
fstp qword [esp + 0x1c]
movzx ecx, byte [edi - 1]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x68]
shl ecx, 8
push eax
lea eax, [esp + 0x7c]
push eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
push ecx
call fcn.100c767c
fld qword [esp + 0x1c]
sub esp, 0x30
fst qword [esp + 0x28]
fst qword [esp + 0x20]
fstp qword [esp + 0x18]
fldz
fstp qword [esp + 0x10]
fld qword [esp + 0x5c]
fstp qword [esp + 8]
fld qword [esp + 0xa4]
fstp qword [esp]
call fcn.100c744d
push eax
call fcn.100c71e4
movzx esi, byte [edi + 2]
mov ebx, eax
movzx eax, bl
mov ecx, 0xff
imul eax, esi
cdq
idiv ecx
mov ecx, ebx
shr ebx, 0x10
mov byte [edi + 1], al
shr ecx, 8
movzx eax, cl
mov ecx, 0xff
imul eax, esi
cdq
idiv ecx
mov byte [edi], al
lea edi, [edi + 4]
movzx eax, bl
imul eax, esi
cdq
idiv ecx
mov ecx, dword [esp + 0x10]
mov byte [edi - 5], al
inc ecx
mov eax, dword [esp + 0x9c]
imul eax, dword [esp + 0x98]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x10190255
mov ebx, dword [esp + 0x58]
jmp 0x1019037e
lea eax, [esp + 0x48]
mov dword [esp + 0x24], 0x1000bf6c
mov dword [esp + 0x28], eax
mov byte [esp + 0x128], 2
mov ecx, dword [ebx + 0xa8]
cmp ecx, 0xffffffff
jne 0x10190344
call fcn.1008b6ce
mov ecx, dword [eax + 0x1c]
and dword [esp + 0x64], 0
lea esi, [esp + 0x64]
and dword [esp + 0x68], 0
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x1c]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x8c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100c32e8
mov esi, dword [esp + 0x18]
mov edi, dword [0x102ab05c]
push dword [esp + 0x5c]
push dword [esp + 0x50]
call edi
push esi
push dword [esp + 0x40]
call edi
push dword [ebx + 0x8c]
call dword [0x102ab058]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x8c], eax
xor ebx, ebx
inc ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x128], 0
call fcn.10273b6c
jmp 0x101903c7
xor ebx, ebx
or dword [esp + 0x128], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.10273b6c
mov eax, ebx
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1028105c
mov esp, ebp
pop ebp
ret 4