Function at 0x4d4e30
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5a0b84
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
call fcn.004988c0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5a8554
call fcn.00496da0
mov eax, dword [0x603718]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
xor ebp, ebp
push eax
mov dword [esp + 0x38], ebp
call fcn.00496da0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x38], 0xffffffff
call fcn.00499f00
add esp, 8
mov ecx, esp
mov dword [esp + 0x24], esp
mov ebx, 1
push eax
mov dword [esp + 0x34], ebx
call fcn.004971d0
mov ecx, esi
call fcn.004deac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.00497320
lea edi, [esi + 4]
mov ecx, edi
call fcn.004cfee0
mov dword [edi + 4], eax
mov byte [eax + 0x21], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
mov bl, 4
mov byte [esp + 0x2c], bl
call fcn.004988c0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5a8554
call fcn.00496da0
mov edx, dword [0x603718]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x38], 5
call fcn.00496da0
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x38], bl
call fcn.00499f00
add esp, 0xc
lea edi, [esi + 0x14]
push eax
mov ecx, edi
mov byte [esp + 0x30], 6
call fcn.004971d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 8
call fcn.00497320
lea ebx, [esi + 0x18]
mov ecx, ebx
call fcn.00496d90
lea ebp, [esi + 0x1c]
mov ecx, ebp
mov byte [esp + 0x2c], 9
call fcn.00496d90
mov cl, byte [esp + 0x34]
xor eax, eax
mov byte [esp + 0x2c], 0xa
mov byte [esi + 0x20], cl
mov dword [esi + 0x24], eax
mov dword [esi + 0x10], eax
call fcn.004988c0
mov ecx, eax
call fcn.004987c0
push 0x5a8554
lea ecx, [esp + 0x18]
mov dword [esi + 0x24], eax
call fcn.00496da0
lea edx, [esp + 0x14]
push edx
mov ecx, edi
mov byte [esp + 0x30], 0xb
call fcn.004972e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], al
mov byte [esp + 0x2c], 0xa
call fcn.00497320
cmp byte [esp + 0x34], 0
je 0x4d4fd2
push str.ERROR:_No_encryption_key_set_before_TPrefs_construction_
call fcn.004dfae0
add esp, 4
push str.user:prefs.dat
mov ecx, ebx
call fcn.00497d30
call fcn.004988c0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5a8554
call fcn.00496da0
mov eax, dword [0x603704]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x38], 0xc
call fcn.00496da0
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x38], 0xa
call fcn.00499f00
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x30], 0xd
call fcn.00497360
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0xa
call fcn.00497320
push 0x5a8554
lea ecx, [esp + 0x38]
call fcn.00496da0
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
mov byte [esp + 0x30], 0xe
call fcn.004972e0
lea ecx, [esp + 0x34]
mov bl, al
mov byte [esp + 0x2c], 0xa
call fcn.00497320
test bl, bl
je 0x4d5077
push str.unknown
mov ecx, ebp
call fcn.00497d30
mov ecx, esi
call fcn.004d46b0
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4