Function at 0x100014d1
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
test eax, eax
jne 0x10001532
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
and eax, 0x70
test eax, eax
jne 0x10001532
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0xc], 2
jne 0x10001532
cmp dword [eax + 0x10], 0
jne 0x10001532
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10001785
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [0x115ed2df]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001568
push 0x268
push 0x4010103
push 6
call fcn.10002f1a
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0x100
push 0
push dword [ebp - 0x1c]
xor eax, eax
call dword [0x115ed2e3]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100015a1
push 0x268
push 0x4010103
push 6
call fcn.10002f1a
add esp, 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ebx, eax
mov ecx, 0
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x100
jg 0x100016fc
fild dword [ebp - 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x2c]
call fcn.100013fe
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.10003370
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10001618
push ebx
call fcn.10002f14
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, 0x115a460b
xor ecx, ecx
test eax, eax
je 0x1000162a
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x1000163b
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10001652
dec eax
test ecx, ecx
je 0x10001652
call fcn.10001425
add esp, 0xc
test eax, eax
jne 0x10001665
inc dword [ebp - 0x14]
jmp 0x100016f2
mov eax, 0x115a4617
xor ecx, ecx
test eax, eax
je 0x10001673
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x10001684
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1000169b
dec eax
test ecx, ecx
je 0x1000169b
call fcn.10001425
add esp, 0xc
test eax, eax
jne 0x100016ae
inc dword [ebp - 0x14]
jmp 0x100016f2
mov eax, 0x115a4623
xor ecx, ecx
test eax, eax
je 0x100016bc
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x100016cd
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x100016e4
dec eax
test ecx, ecx
je 0x100016e4
call fcn.10001425
add esp, 0xc
test eax, eax
jne 0x100016f2
inc dword [ebp - 0x14]
pop ebx
pop ecx
add ecx, 4
jmp 0x100015ae
add esp, 8
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [0x115ed2df]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001728
push 0x51e
push 0x4010103
push 6
call fcn.10002f1a
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
push 0
push dword [ebp - 0x1c]
xor eax, eax
call dword [0x115ed2e7]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1000175f
push 0x51e
push 0x4010103
push 6
call fcn.10002f1a
add esp, 0xc
cmp dword [ebp - 0x14], 0xa
mov eax, 0
setg al
test eax, eax
je 0x1000177d
mov eax, 1
jmp 0x10001782
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1000178d
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000179e
push ebx
call fcn.10002f14
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret