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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100daa86
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x1011a068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 7
lea ecx, [ebp - 0x194]
call fcn.100401b0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc0]
call fcn.1002db10
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1d0], esp
mov edx, dword [ebp - 0x19c]
push edx
call fcn.10040470
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 2
push str.channel_id
lea ecx, [ebp - 0x194]
call fcn.10041370
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10040780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.100082b0
mov edx, dword [ebp + 8]
add edx, 0x18
lea ecx, [ebp - 0xa8]
call fcn.1002db10
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c8], esp
mov edx, dword [ebp - 0x1a4]
push edx
call fcn.10040470
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 4], 4
push str.old_channel_id
lea ecx, [ebp - 0x194]
call fcn.10041370
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.10040780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.100082b0
mov edx, dword [ebp + 8]
add edx, 0x30
lea ecx, [ebp - 0x150]
call fcn.1002db10
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c0], esp
mov edx, dword [ebp - 0x1a8]
push edx
call fcn.10040470
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 6
push str.version
lea ecx, [ebp - 0x194]
call fcn.10041370
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.10040780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x150]
call fcn.100082b0
mov edx, dword [ebp + 8]
add edx, 0x48
lea ecx, [ebp - 0xd8]
call fcn.1002db10
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1d4], esp
mov edx, dword [ebp - 0x158]
push edx
call fcn.10040470
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 8
push str.process_info
lea ecx, [ebp - 0x194]
call fcn.10041370
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.10040780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.100082b0
mov edx, dword [ebp + 8]
add edx, 0x60
lea ecx, [ebp - 0xf0]
call fcn.1002db10
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1d8], esp
mov edx, dword [ebp - 0x160]
push edx
call fcn.10040470
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0xa
push str.uuid
lea ecx, [ebp - 0x194]
call fcn.10041370
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.10040780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf0]
call fcn.100082b0
mov edx, dword [ebp + 8]
add edx, 0x78
lea ecx, [ebp - 0x108]
call fcn.1002db10
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e0], esp
mov edx, dword [ebp - 0x168]
push edx
call fcn.10040470
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 0xc
push str.recommend_pcsafe_union_custom_type
lea ecx, [ebp - 0x194]
call fcn.10041370
mov byte [ebp - 4], 0xb
mov ecx, eax
call fcn.10040780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x108]
call fcn.100082b0
mov edx, dword [ebp + 8]
add edx, 0x90
lea ecx, [ebp - 0x120]
call fcn.1002db10
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0xd
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e8], esp
mov edx, dword [ebp - 0x170]
push edx
call fcn.10040470
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 0xe
push str.old_dll_version
lea ecx, [ebp - 0x194]
call fcn.10041370
mov byte [ebp - 4], 0xd
mov ecx, eax
call fcn.10040780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.100082b0
mov edx, dword [ebp + 8]
add edx, 0xa8
lea ecx, [ebp - 0x138]
call fcn.1002db10
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0xf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b0], esp
mov edx, dword [ebp - 0x178]
push edx
call fcn.10040470
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0x10
push str.old_exe_version
lea ecx, [ebp - 0x194]
call fcn.10041370
mov byte [ebp - 4], 0xf
mov ecx, eax
call fcn.10040780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.100082b0
lea ecx, [ebp - 0x78]
call fcn.1003b350
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x78]
call fcn.1003b3c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x90]
call fcn.10008380
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x58]
push edx
call fcn.10008ec0
add esp, 4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
call fcn.1004af40
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004af90
mov ecx, dword [ebp + 0xc]
push ecx
push 1
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.1004afc0
movzx eax, al
test eax, eax
jne 0x100094c5
mov byte [ebp - 0x151], 0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
call fcn.100082b0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
call fcn.100082b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x90]
call fcn.100082b0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.100082b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10008df0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.100406a0
mov al, byte [ebp - 0x151]
jmp 0x10009523
mov byte [ebp - 0x152], 1
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
call fcn.100082b0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
call fcn.100082b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x90]
call fcn.100082b0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.100082b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10008df0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.100406a0
mov al, byte [ebp - 0x152]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b4291
mov esp, ebp
pop ebp
ret