Function at 0x41d350
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44636f
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x45d0bc]
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.00421080
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.00421080
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.00421080
mov dword [esi], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
call fcn.0041a190
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 0x41d635
cmp dword [esi + 0x14], 8
jb 0x41d46d
mov eax, dword [esi]
movzx eax, word [eax + edx*2 - 2]
cmp eax, 0x2f
je 0x41d4d0
cmp eax, 0x5c
je 0x41d4d0
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.00405cb0
cmp dword [esi + 0x14], 8
jb 0x41d4af
mov esi, dword [esi]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push dword [eax]
push esi
call fcn.00407e50
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.0040bae0
mov dword [ebp - 4], 9
jmp 0x41d4d9
push esi
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x41d517
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d50d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d650
push edx
push ecx
call fcn.004241cb
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.00407e50
cmp edi, eax
je 0x41d553
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41d548
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00407d10
lea esi, [edi + 0x30]
cmp esi, edi
je 0x41d56f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41d564
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, esi
push eax
call fcn.00407d10
cmp ebx, esi
je 0x41d588
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41d57d
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, ebx
push eax
call fcn.00407d10
lea ecx, [edi + 0x48]
cmp ecx, ebx
je 0x41d5a5
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x41d599
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.00407d10
lea ecx, [edi + 0x48]
push 7
push str.gpt.ini
call fcn.00407e50
push 0x10
push str.MachineScripts_
mov ecx, ebx
call fcn.00407e50
push 0xd
push str.UserScripts_
mov ecx, esi
call fcn.00407e50
mov al, byte [ebp + 8]
mov edx, dword [ebp - 0x14]
mov word [edi + 0x90], 0
mov byte [edi + 0x92], al
cmp edx, 8
jb 0x41d615
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d60b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d655
push edx
push ecx
call fcn.004241cb
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.00424185
mov esp, ebp
pop ebp
ret 4
push str.Cannot_normalize_empty_directory_name_:_invalid_param
lea ecx, [ebp - 0x58]
call fcn.00401490
push 0x45b95c
lea eax, [ebp - 0x58]
push eax
call fcn.00425c43
call fcn.0042b37c
call fcn.0042b37c
int3