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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push 0x3c
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
fld1
mov edi, dword [esp + 0x4c]
mov esi, eax
xor ecx, ecx
fst dword [esi + 0x30]
lea eax, [esi + 0x18]
fst dword [esi + 0x34]
mov dword [eax], ecx
fstp dword [esi + 0x38]
mov dword [esp + 0x10], eax
mov eax, 0xff
mov dword [esi + 0x24], eax
mov dword [esi], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x28], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x84]
cmp edx, ecx
mov dword [0x100bbf2c], esi
jle 0x1001fe8b
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x1001fe9e
jne 0x1001fe93
mov dword [esp + 0x20], ecx
jmp 0x1001fea2
cmp edx, ecx
jge 0x1001fea2
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov edx, dword [edi + 0x90]
cmp edx, ecx
jle 0x1001febe
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x1001fed1
jne 0x1001fec6
mov dword [esp + 0x2c], ecx
jmp 0x1001fed5
cmp edx, ecx
jge 0x1001fed5
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov edx, dword [edi + 0x9c]
cmp edx, ecx
jle 0x1001fef1
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x1001ff04
jne 0x1001fef9
mov dword [esp + 0x38], ecx
jmp 0x1001ff08
cmp edx, ecx
jge 0x1001ff08
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x88]
cmp eax, ecx
jne 0x1001ff18
mov dword [esp + 0x24], ecx
jmp 0x1001ff2f
lea edx, [eax + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x94]
cmp eax, ecx
jne 0x1001ff3f
mov dword [esp + 0x30], ecx
jmp 0x1001ff56
lea edx, [eax + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xa0]
cmp eax, ecx
jne 0x1001ff66
mov dword [esp + 0x3c], ecx
jmp 0x1001ff7d
lea edx, [eax + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], eax
mov edx, dword [edi + 0x8c]
cmp edx, ecx
jle 0x1001ff9c
lea edx, [edx + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jmp 0x1001ffbd
jne 0x1001ffa2
xor ebx, ebx
jmp 0x1001ffbd
cmp edx, ecx
jge 0x1001ffb9
mov eax, 0x66666667
imul edx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jmp 0x1001ffbd
mov ebx, dword [esp + 0x28]
mov edx, dword [edi + 0x98]
cmp edx, ecx
jle 0x1001ffdc
lea edx, [edx + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 1
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
jmp 0x1001fffd
jne 0x1001ffe2
xor ebp, ebp
jmp 0x1001fffd
cmp edx, ecx
jge 0x1001fff9
mov eax, 0x66666667
imul edx
sar edx, 2
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
jmp 0x1001fffd
mov ebp, dword [esp + 0x34]
mov edx, dword [edi + 0xa4]
cmp edx, ecx
jle 0x1002001c
lea edx, [edx + edx*2]
mov eax, 0x66666667
imul edx
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
jmp 0x1002003d
jne 0x10020022
xor edi, edi
jmp 0x1002003d
cmp edx, ecx
jge 0x10020039
mov eax, 0x66666667
imul edx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
jmp 0x1002003d
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
push esi
push ecx
push eax
call fcn.1001fc80
mov ecx, dword [esp + 0x38]
push esi
push 1
push ecx
call fcn.1001fc80
mov edx, dword [esp + 0x50]
push esi
push 2
push edx
call fcn.1001fc80
mov eax, dword [esp + 0x48]
push esi
push 0
push eax
call fcn.1001fd20
mov ecx, dword [esp + 0x60]
push esi
push 1
push ecx
call fcn.1001fd20
mov edx, dword [esp + 0x78]
push esi
push 2
push edx
call fcn.1001fd20
add esp, 0x48
push esi
push 0
push ebx
call fcn.1001fd70
push esi
push 1
push ebp
call fcn.1001fd70
push esi
push 2
push edi
call fcn.1001fd70
fld1
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
add esp, 0x24
mov dword [esp + 0x10], 3
mov ecx, dword [esi + 0xc]
cmp ecx, 0xff
jne 0x100200e6
cmp dword [esi - 0xc], ecx
jne 0x100200e6
cmp dword [esi], 0
jne 0x100200e6
cmp dword [esi - 0x18], 0
jne 0x100200e6
fcom dword [esi + 0x18]
fnstsw ax
test ah, 0x44
jnp 0x100201bd
mov eax, dword [esi - 0xc]
sub eax, dword [esi - 0x18]
sub ecx, dword [esi]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
xor edi, edi
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fld st(0)
fidiv dword [esp + 0x14]
fstp dword [esp + 0x18]
movzx ecx, byte [edi + ebp]
mov ebx, dword [esi - 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x14]
fisub dword [esi]
fmul dword [esp + 0x18]
fiadd dword [esp + 0x1c]
call fcn.1002a540
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jg 0x10020140
mov byte [edi + ebp], 0
jmp 0x100201ae
cmp ecx, 0xff
jl 0x1002014e
mov byte [edi + ebp], 0xff
jmp 0x100201ae
fld st(1)
fcomp dword [esi + 0x18]
fnstsw ax
test ah, 0x44
jnp 0x10020193
fstp st(1)
fidivr dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esi + 0x18]
call fcn.1002b210
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x4c]
fld st(0)
fmulp st(2)
fxch st(1)
fadd qword [0x10051428]
call fcn.1002a540
fld1
mov ecx, eax
fxch st(1)
cmp ecx, ebx
jge 0x1002019e
mov dl, bl
mov byte [edi + ebp], dl
jmp 0x100201ae
cmp ecx, dword [esi - 0xc]
jle 0x100201ab
mov al, byte [esi - 0xc]
mov byte [edi + ebp], al
jmp 0x100201ae
mov byte [edi + ebp], cl
inc edi
cmp edi, 0x100
jl 0x1002010e
fstp st(0)
add esi, 4
add ebp, 0x100
sub dword [esp + 0x10], 1
jne 0x100200bd
pop edi
fstp st(0)
pop esi
pop ebp
pop ebx
add esp, 0x34
ret