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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42254d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x472934]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x24]
mov ecx, dword [edi + 0x30]
mov esi, dword [0x4258d4]
push eax
mov ecx, dword [ecx + 0x14]
call esi
mov eax, dword [eax]
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], 0
je 0x410fca
mov ecx, dword [edi + 0x30]
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ecx + 0x1c]
call esi
mov ebx, 3
mov byte [ebp - 0xd], 0
mov eax, dword [eax]
cmp dword [eax + 4], 0
jne 0x410fce
mov byte [ebp - 0xd], 1
test bl, 2
je 0x410fdf
lea ecx, [ebp - 0x20]
and ebx, 0xfffffffd
call dword [0x425354]
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x410ff4
lea ecx, [ebp - 0x24]
call dword [0x425354]
cmp byte [ebp - 0xd], 0
je 0x411074
mov esi, dword [0x4252fc]
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
push 0
push 0x428608
push eax
mov ecx, 0x47266c
call esi
push 0xffffffffffffffff
push 0
push 0x427b1c
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x47266c
call esi
push 0
push ecx
mov eax, esp
mov byte [ebp - 4], 2
mov dword [eax], 0x400
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [0x42549c]
add esp, 0x14
lea ecx, [ebp - 0x14]
call dword [0x425354]
lea ecx, [ebp - 0x18]
call dword [0x425354]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x30]
lea eax, [ebp - 0x24]
mov esi, dword [0x425440]
push eax
mov ecx, dword [ecx + 0x38]
call esi
lea ecx, [edi + 0x1c]
push eax
call dword [0x4252e4]
lea ecx, [ebp - 0x24]
call dword [0x425354]
mov ecx, dword [edi + 0x30]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ecx + 0x14]
call dword [0x4258d4]
add edi, 0x18
push eax
mov ecx, edi
call dword [0x4252e4]
lea ecx, [ebp - 0x24]
call dword [0x425354]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebx + 0x30]
mov ecx, dword [ecx + 0x1c]
call dword [0x4258d4]
add ebx, 0x20
push eax
mov ecx, ebx
call dword [0x4252e4]
lea ecx, [ebp - 0x24]
call dword [0x425354]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x30]
mov ecx, dword [ecx + 0x2c]
call esi
mov esi, dword [ebp - 0x14]
push eax
lea ecx, [esi + 0x28]
call dword [0x4252e4]
lea ecx, [ebp - 0x24]
call dword [0x425354]
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx + 0x24]
call dword [0x42593c]
mov esi, dword [0x425350]
xor ecx, ecx
test al, al
push 0xe
sete cl
push str.ModManager.ini
mov dword [ebp - 0x24], ecx
call esi
add esp, 8
mov dword [ebp - 0x18], eax
push 0
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4251a4]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call dword [0x425354]
push str.UTF_8
lea ecx, [ebp - 0x2c]
call dword [0x42518c]
push edi
lea ecx, [ebp - 0x3c]
call dword [0x425240]
mov byte [ebp - 4], 6
push 0xf
push str._Global_BakPath
call esi
add esp, 8
mov dword [ebp - 0x1c], eax
mov edi, dword [0x425194]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x1c]
call dword [0x425354]
mov esi, dword [0x425254]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call esi
push ebx
mov ebx, dword [0x425240]
lea ecx, [ebp - 0x3c]
call ebx
push 0xf
push str._Global_ModPath
mov byte [ebp - 4], 8
call dword [0x425350]
add esp, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x1c]
call dword [0x425354]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call esi
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
add eax, 0x1c
push eax
call ebx
push 0xe
push str._Global_Select
mov byte [ebp - 4], 0xa
call dword [0x425350]
add esp, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x1c]
call dword [0x425354]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call esi
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call dword [0x425250]
push 0x14
push str._Global_CheckInstall
mov byte [ebp - 4], 0xc
call dword [0x425350]
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x1c]
call dword [0x425354]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call esi
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
add eax, 0x28
push eax
call ebx
push 0x10
push str._Global_language
mov byte [ebp - 4], 0xe
call dword [0x425350]
add esp, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x1c]
call dword [0x425354]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0xc0]
lea ecx, [ebp - 0x2c]
call dword [0x4251a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret