Function at 0x10021930
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f6257
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10126008]
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 dword [ebp - 0x44], ecx
mov ebx, dword [ebp + 8]
push 0x38
mov dword [ecx], vtable.RC::RCRTPFileSysLogDbItemFactory.0
call fcn.100f11d4
mov edi, eax
mov dword [ebp - 0x48], edi
push 0x38
push 0
push edi
mov dword [ebp - 4], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, edi
push ebx
call fcn.10006830
lea esi, [edi + 0x18]
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10006c80
mov dword [esi], eax
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
push 7
mov word [edi + 0x20], ax
push str.info_id
mov dword [esi + 4], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 1
push ecx
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
push eax
push 0
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 8
xor eax, eax
mov dword [ebp - 0x30], 0
push str.log_type
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 3
mov ecx, dword [esi + 4]
push eax
push 0
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 8
xor eax, eax
mov dword [ebp - 0x30], 0
push str.log_time
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
mov ecx, dword [esi + 4]
push eax
push 1
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 0xc
xor eax, eax
mov dword [ebp - 0x30], 0
push str.program_name
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 5
mov ecx, dword [esi + 4]
push eax
push 2
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 9
xor eax, eax
mov dword [ebp - 0x30], 0
push str.file_name
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 6
mov ecx, dword [esi + 4]
push eax
push 2
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 9
xor eax, eax
mov dword [ebp - 0x30], 0
push str.file_size
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 7
mov ecx, dword [esi + 4]
push eax
push 1
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x11
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push str.monitor_oper_type
lea ecx, [ebp - 0x40]
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 8
mov ecx, dword [esi + 4]
push eax
push 0
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 0xe
xor eax, eax
mov dword [ebp - 0x30], 0
push str.security_level
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 9
mov ecx, dword [esi + 4]
push eax
push 0
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 9
xor eax, eax
mov dword [ebp - 0x30], 0
push str.oper_type
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0xa
mov ecx, dword [esi + 4]
push eax
push 0
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 8
xor eax, eax
mov dword [ebp - 0x30], 0
push str.reserve0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0xb
mov ecx, dword [esi + 4]
push eax
push 0
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
push 8
push str.reserve1
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0xc
mov ecx, dword [esi + 4]
push eax
push 1
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 8
xor eax, eax
mov dword [ebp - 0x30], 0
push str.reserve2
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0xd
mov ecx, dword [esi + 4]
push eax
push 2
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
push 9
xor eax, eax
mov dword [ebp - 0x30], 0
push str.risk_desc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10006a10
push 0
push ecx
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0xe
mov ecx, dword [esi + 4]
push eax
push 2
call fcn.10033170
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10006980
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.100206e0
mov dword [ebp - 4], 0xf
lea eax, [ebp - 0x28]
mov ecx, dword [esi + 4]
add ecx, 0x20
cmp ecx, eax
je 0x10021dd5
cmp dword [ebp - 0x14], 8
mov edx, eax
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
push edx
call fcn.10006a10
lea ecx, [ebp - 0x28]
call fcn.10006980
mov eax, esi
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.100f11c3
mov esp, ebp
pop ebp
ret 4