Function at 0x101050b0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1035ed10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x1c]
and eax, 1
mov edx, ecx
and eax, 0xfffffffe
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
push str.EMMC
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.10105550
push str.NAND
lea ecx, [esp + 0x1c]
mov dword [eax], 1
call fcn.10105550
push 0x1043527c
lea ecx, [esp + 0x1c]
mov dword [eax], 0x10
call fcn.10105550
push 0x10435270
lea ecx, [esp + 0x1c]
mov dword [eax], 0x20
call fcn.10105550
push str.HW_STORAGE_EMMC
lea ecx, [esp + 0x1c]
mov dword [eax], 0x30
call fcn.10105550
push str.HW_STORAGE_NAND
lea ecx, [esp + 0x1c]
mov dword [eax], 1
call fcn.10105550
push str.HW_STORAGE_NOR
lea ecx, [esp + 0x1c]
mov dword [eax], 0x10
call fcn.10105550
push str.HW_STORAGE_UFS
lea ecx, [esp + 0x1c]
mov dword [eax], 0x20
call fcn.10105550
push str.EMMC_BOOT_1
lea ecx, [esp + 0x1c]
mov dword [eax], 0x30
call fcn.10105550
push str.EMMC_BOOT_2
lea ecx, [esp + 0x1c]
mov dword [eax], 1
call fcn.10105550
lea ecx, [esp + 0x18]
mov dword [eax], 2
call fcn.10105610
push str.EMMC_USER
lea ecx, [esp + 0x1c]
mov dword [eax], 0xa
call fcn.10105550
push str.EMMC_RPMP
lea ecx, [esp + 0x1c]
mov dword [eax], 8
call fcn.10105550
push str.EMMC_GP_1
lea ecx, [esp + 0x1c]
mov dword [eax], 3
call fcn.10105550
push str.EMMC_GP_2
lea ecx, [esp + 0x1c]
mov dword [eax], 4
call fcn.10105550
push str.EMMC_GP_3
lea ecx, [esp + 0x1c]
mov dword [eax], 5
call fcn.10105550
mov dword [eax], 6
push str.EMMC_GP_4
lea ecx, [esp + 0x1c]
call fcn.10105550
push str.UFS_LU0
lea ecx, [esp + 0x1c]
mov dword [eax], 7
call fcn.10105550
push str.UFS_LU1
lea ecx, [esp + 0x1c]
mov dword [eax], 1
call fcn.10105550
push str.UFS_LU2
lea ecx, [esp + 0x1c]
mov dword [eax], 2
call fcn.10105550
push str.UFS_LU0_LU1
lea ecx, [esp + 0x1c]
mov dword [eax], 3
call fcn.10105550
push str.NAND_BOOT1
lea ecx, [esp + 0x1c]
mov dword [eax], 5
call fcn.10105550
push str.NAND_GP1
lea ecx, [esp + 0x1c]
mov dword [eax], 1
call fcn.10105550
push str.NAND_GP2
lea ecx, [esp + 0x1c]
mov dword [eax], 2
call fcn.10105550
push str.NAND_GP3
lea ecx, [esp + 0x1c]
mov dword [eax], 3
call fcn.10105550
push str.NAND_NCT
lea ecx, [esp + 0x1c]
mov dword [eax], 4
call fcn.10105550
push str.BOOTLOADERS
lea ecx, [esp + 0x1c]
mov dword [eax], 5
call fcn.10105550
push str.INVISIBLE
lea ecx, [esp + 0x1c]
mov dword [eax], ebx
call fcn.10105550
lea ecx, [esp + 0x18]
mov dword [eax], 2
call fcn.101056d0
push str.PROTECTED
lea ecx, [esp + 0x1c]
mov dword [eax], 1
call fcn.10105550
push str.BINREGION
lea ecx, [esp + 0x1c]
mov dword [eax], 3
call fcn.10105550
push str.RESERVED
lea ecx, [esp + 0x1c]
mov dword [eax], 5
call fcn.10105550
push str.LOW_PAGE
lea ecx, [esp + 0x1c]
mov dword [eax], 4
call fcn.10105550
push str.FULL_PAGE
lea ecx, [esp + 0x1c]
mov dword [eax], ebx
call fcn.10105550
push str.EXT4_IMG
lea ecx, [esp + 0x1c]
mov dword [eax], 1
call fcn.10105550
push str.NORMAL_ROM
lea ecx, [esp + 0x1c]
mov dword [eax], 0x11
call fcn.10105550
push str.SV5_BL_BIN
lea ecx, [esp + 0x1c]
mov dword [eax], 1
call fcn.10105550
mov dword [eax], 7
push str.UBI_IMG
lea ecx, [esp + 0x1c]
call fcn.10105550
push str.YAFFS_IMG
lea ecx, [esp + 0x1c]
mov dword [eax], 0x10
call fcn.10105550
push str.FTL20_IMG
lea ecx, [esp + 0x1c]
mov dword [eax], 8
call fcn.10105550
mov dword [eax], 0x20
push ecx
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov edx, ecx
and eax, 0xfffffffe
push edx
lea edi, [esp + 0x40]
call fcn.10077250
lea ecx, [esp + 0x24]
add esp, 8
cmp eax, ecx
je 0x101054db
cmp dword [eax + 0x28], 0x10
mov ecx, dword [eax + 0x24]
jb 0x1010544e
mov eax, dword [eax + 0x14]
jmp 0x10105451
add eax, 0x14
mov edx, dword [esp + 0x50]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x48]
call fcn.10004380
test eax, eax
jl 0x101054db
push ecx
mov ecx, esp
mov dword [ecx], ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
lea eax, [esp + 0x40]
push edx
call fcn.101057e0
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x2c]
lea ecx, [esp + 0x18]
push ecx
mov edi, ecx
call fcn.10105790
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x54], 0x10
jb 0x101054ad
mov edx, dword [esp + 0x40]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.100012e0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
lea eax, [esp + 0x18]
push eax
mov edi, eax
call fcn.10105790
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x54], 0x10
jb 0x10105503
mov ecx, dword [esp + 0x40]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.100012e0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret