Function at 0x4d4020
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a26f
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x4c], edi
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ebx, [edi + 0x18]
mov dword [ebp - 4], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
xor ecx, ecx
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], cx
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], ecx
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], ecx
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], ecx
lea esi, [edi + 0x78]
mov byte [ebp - 4], 5
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov ecx, esi
mov dword [ebp - 0x44], esi
call fcn.004d7dd0
mov dword [esi], eax
lea esi, [edi + 0x80]
mov byte [ebp - 4], 6
mov ecx, esi
mov dword [ebp - 0x44], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d7dd0
mov dword [esi], eax
lea esi, [edi + 0x88]
mov byte [ebp - 4], 7
mov ecx, esi
mov dword [ebp - 0x44], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d7dd0
mov dword [esi], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
call fcn.004cc840
add esp, 4
mov esi, eax
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0x44], ecx
test edx, edx
je 0x4d4305
cmp dword [esi + 0x14], 8
jb 0x4d413d
mov eax, dword [esi]
movzx eax, word [eax + edx*2 - 2]
cmp eax, 0x2f
je 0x4d41a0
cmp eax, 0x5c
je 0x4d41a0
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov eax, dword [ecx]
lea ecx, [ebp - 0x28]
inc eax
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - 0x48], 2
call fcn.00452ac0
cmp dword [esi + 0x14], 8
jb 0x4d417f
mov esi, dword [esi]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push dword [eax]
push esi
call fcn.0044f170
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.0046f9b0
mov dword [ebp - 4], 9
jmp 0x4d41a9
push esi
lea ecx, [ebp - 0x28]
call fcn.0044d8b0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x4d41e7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d41dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d4320
push edx
push ecx
call fcn.0048af59
add esp, 8
push 0xc
xor eax, eax
mov dword [ebp - 0x30], 0
push str.GroupPolicy_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0044f170
cmp edi, eax
je 0x4d4223
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4d4218
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.0044eb60
lea esi, [edi + 0x30]
cmp esi, edi
je 0x4d423f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4d4234
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, esi
push eax
call fcn.0044eb60
cmp ebx, esi
je 0x4d4258
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4d424d
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, ebx
push eax
call fcn.0044eb60
lea ecx, [edi + 0x48]
cmp ecx, ebx
je 0x4d4275
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4d4269
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.0044eb60
lea ecx, [edi + 0x48]
push 7
push str.gpt.ini
call fcn.0044f170
push 0x10
push str.MachineScripts_
mov ecx, ebx
call fcn.0044f170
push 0xd
push str.UserScripts_
mov ecx, esi
call fcn.0044f170
mov al, byte [ebp + 8]
mov edx, dword [ebp - 0x14]
mov word [edi + 0x90], 0
mov byte [edi + 0x92], al
cmp edx, 8
jb 0x4d42e5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d42db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d4325
push edx
push ecx
call fcn.0048af59
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b49a
mov esp, ebp
pop ebp
ret 4
push str.Cannot_normalize_empty_directory_name_:_invalid_param
lea ecx, [ebp - 0x58]
call fcn.0044c070
push 0x73d15c
lea eax, [ebp - 0x58]
push eax
call fcn.004a18e8
call fcn.004aae7a
call fcn.004aae7a
int3