Function at 0x40cf30
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46251d
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x480054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov byte [ebp - 0x1d8], 0
mov edx, 0x476b58
movq qword [ebp - 0x1d0], xmm0
lea ecx, [ebp - 0x1d8]
call fcn.00427300
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c0]
xorps xmm0, xmm0
mov dword [ebp - 0x1c8], 0
mov byte [ebp - 0x1c0], 0
movq qword [ebp - 0x1b8], xmm0
call fcn.004270f0
mov dword [ebp - 0x1b0], 0
lea eax, [ebp - 0x1a8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1d8]
push eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0041d510
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a8]
xorps xmm0, xmm0
mov byte [ebp - 0x1a8], 0
mov edx, 0x476b5c
movq qword [ebp - 0x1a0], xmm0
call fcn.00427300
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x190]
xorps xmm0, xmm0
mov dword [ebp - 0x198], 0
mov byte [ebp - 0x190], 0
movq qword [ebp - 0x188], xmm0
call fcn.004270f0
mov dword [ebp - 0x180], 0
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0041d510
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x178]
xorps xmm0, xmm0
mov byte [ebp - 0x178], 0
mov edx, 0x476b60
movq qword [ebp - 0x170], xmm0
call fcn.00427300
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
xor edx, edx
mov byte [ebp - 0x160], 0
lea ecx, [ebp - 0x160]
movq qword [ebp - 0x158], xmm0
call fcn.004270f0
mov dword [ebp - 0x150], 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x178]
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.0041d510
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x148]
xorps xmm0, xmm0
mov byte [ebp - 0x148], 0
mov edx, 0x476b64
movq qword [ebp - 0x140], xmm0
call fcn.00427300
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [ebp - 0x138], 0
jne 0x40d100
movsd xmm1, qword [0x4780f0]
jmp 0x40d114
movsd xmm1, qword [0x478100]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
lea eax, [ebp - 0xa8]
movsd qword [ebp - 0xa8], xmm1
push eax
lea eax, [ebp - 0x130]
mov byte [ebp - 0x130], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x128], xmm0
call fcn.00426fd0
mov dword [ebp - 0x120], 0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x148]
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.0041d510
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x118]
xorps xmm0, xmm0
mov byte [ebp - 0x118], 0
mov edx, str.safelock
movq qword [ebp - 0x110], xmm0
call fcn.00427300
xorps xmm0, xmm0
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x100], 0
movq qword [ebp - 0xf8], xmm0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf8]
push dword [ebp - 0x100]
call fcn.004209e0
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 0xa8], 1
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 0x100], 4
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf0], 0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x118]
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0041d510
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
xorps xmm0, xmm0
mov byte [ebp - 0xe8], 0
mov edx, str.cancel
movq qword [ebp - 0xe0], xmm0
call fcn.00427300
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xd0], 0
movq qword [ebp - 0xc8], xmm0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc8]
push dword [ebp - 0xd0]
call fcn.004209e0
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 0xa8], 1
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 0xd0], 4
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xe8]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041d510
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 2
push 1
lea ecx, [ebp - 0xb8]
call fcn.0041e060
mov cl, byte [edi + 0x28]
mov al, byte [ebp - 0xb8]
mov byte [edi + 0x28], al
mov edx, dword [edi + 0x30]
mov esi, dword [edi + 0x34]
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 0xa4], cl
mov byte [ebp - 0xb8], cl
mov ecx, dword [ebp - 0xac]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], esi
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xb0]
push dword [ebp - 0xa4]
call fcn.004209e0
push fcn.004120d0
push 6
push 0x18
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
push eax
call fcn.0042e959
push fcn.004120d0
push 2
push 0x18
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x10
push eax
call fcn.0042e959
push fcn.004120d0
push 2
push 0x18
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0xf
push eax
call fcn.0042e959
push fcn.004120d0
push 2
push 0x18
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xe
push eax
call fcn.0042e959
push fcn.004120d0
push 2
push 0x18
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0xd
push eax
call fcn.0042e959
push fcn.004120d0
push 2
push 0x18
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0
push eax
call fcn.0042e959
push fcn.004120d0
push 2
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1d8]
push 0x18
push eax
call fcn.0042e959
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 0xc