Function at 0x494bec
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x494bf4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x495127
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 1
je 0x49510c
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x494c34
cmp dword [eax + 8], 0
ja 0x494c42
jmp 0x494c36
jg 0x494c42
mov eax, dword [ebp - 4]
mov byte [eax + 5], 0
jmp 0x49510c
xor eax, eax
push ebp
push 0x49507d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x403250]
call fcn.0040702c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x495069
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [ebp - 0xc]
call fcn.00401afc
mov eax, dword [ebp - 0xc]
push eax
mov edx, 0x495140
mov eax, dword [ebp - 8]
call fcn.00407134
pop edx
call fcn.00406cf4
mov cl, 1
mov edx, 0x9ca9
mov eax, dword [ebp - 8]
call fcn.00407374
test al, al
jne 0x494cc3
mov eax, dword [ebp - 4]
mov byte [eax + 6], 1
call fcn.00401238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49510c
mov eax, dword [ebp - 8]
call fcn.004071b0
test eax, eax
jg 0x494ce1
call fcn.00401238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49510c
push 0
push 0
mov edx, 0x495140
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x10]
call fcn.00406f24
mov eax, dword [ebp - 0x10]
call fcn.00401b24
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
push 0
push 0
mov edx, 0x495158
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x14]
call fcn.00406f24
mov eax, dword [ebp - 0x14]
call fcn.00401b24
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, 0x495170
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x18]
call fcn.00406f24
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00401278
mov edx, 0x495180
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x1c]
call fcn.00406f24
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00401278
mov edx, 0x495190
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x20]
call fcn.00406f24
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00401278
mov edx, 0x4951a0
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x24]
call fcn.00406f24
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00401278
mov edx, 0x4951b8
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x28]
call fcn.00406f24
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x7c
call fcn.00401278
mov edx, 0x4951c8
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x2c]
call fcn.00406f24
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x78
call fcn.00401278
mov edx, 0x4951dc
mov eax, dword [ebp - 8]
call fcn.004072bc
call fcn.00406ed0
mov eax, dword [ebp - 4]
fstp qword [eax + 0x80]
wait
mov edx, 0x4951f4
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x30]
call fcn.00406f24
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00401278
mov edx, 0x495208
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x34]
call fcn.00406f24
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00401278
mov edx, 0x49521c
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x38]
call fcn.00406f24
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x74
call fcn.00401278
mov edx, 0x495230
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x3c]
call fcn.00406f24
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
add eax, 0x70
call fcn.00401278
mov edx, 0x495244
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x40]
call fcn.00406f24
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.00401278
mov edx, 0x495258
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x44]
call fcn.00406f24
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00401278
mov edx, 0x495270
mov eax, dword [ebp - 8]
call fcn.004072bc
call fcn.00406f10
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov edx, 0x495280
mov eax, dword [ebp - 8]
call fcn.004072bc
call fcn.00406f10
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov edx, 0x495294
mov eax, dword [ebp - 8]
call fcn.004072bc
call fcn.00406f10
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov edx, 0x4952a8
mov eax, dword [ebp - 8]
call fcn.004072bc
call fcn.00406ed0
mov eax, dword [ebp - 4]
fstp qword [eax + 0x58]
wait
mov edx, 0x4952c4
mov eax, dword [ebp - 8]
call fcn.004072bc
call fcn.00406f10
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov edx, 0x4952dc
mov eax, dword [ebp - 8]
call fcn.004072bc
call fcn.00406ed0
mov eax, dword [ebp - 4]
fstp qword [eax + 0x68]
wait
mov edx, 0x4952f8
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x48]
call fcn.00406f24
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00401278
mov edx, 0x49530c
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x4c]
call fcn.00406f24
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00401278
mov edx, 0x495320
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x50]
call fcn.00406f24
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00401278
mov edx, 0x495334
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x54]
call fcn.00406f24
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00401278
mov edx, 0x495348
mov eax, dword [ebp - 8]
call fcn.004072bc
lea edx, [ebp - 0x58]
call fcn.00406f24
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
add eax, 0x88
call fcn.00401278
mov edx, 0x495364
mov eax, dword [ebp - 8]
call fcn.004072bc
call fcn.00406f10
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495070
mov eax, dword [ebp - 8]
call fcn.00401178
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49512e
lea eax, [ebp - 0x68]
mov edx, 0x18
call fcn.00401270
ret