Function at 0x412910
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5a1b07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x18]
push eax
call fcn.00464a40
lea ebp, [esi + 8]
push 4
lea ecx, [esp + 0x20]
push ebp
push ecx
mov dword [esp + 0x148], 0
call fcn.004768f0
lea ebx, [esi + 0xc]
push 4
lea edx, [esp + 0x38]
push ebx
push edx
mov byte [esp + 0x154], 1
call fcn.004768f0
add esi, 0x10
push 4
lea eax, [esp + 0x40]
push esi
push eax
mov byte [esp + 0x160], 2
call fcn.004768f0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
push ecx
push edx
push str.OUTOFLICENSE2
push str.AgentConfig
mov byte [esp + 0x170], 3
call fcn.0049b040
mov ecx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], edi
push eax
push ecx
push str.OUTOFLICENSE3
push str.AgentConfig
call fcn.0049b040
mov edx, dword [esp + 0x54]
add esp, 0x44
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
push edx
push eax
push str.OUTOFLICENSE4
push str.AgentConfig
call fcn.0049b040
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x30], eax
push eax
push ecx
push edi
push str.SaveOutOfLicenseInfo_save_result_2__lu__3__lu__4__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
lea ecx, [esp + 0x14]
call fcn.00474030
push 0x2001f
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 4
call fcn.00474150
test eax, eax
jne 0x412a59
push 0x2001f
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call fcn.004741c0
test eax, eax
je 0x412a96
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push edx
push str.OUTOFLICENSE4
call fcn.00475290
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push eax
push str.OUTOFLICENSE3
call fcn.00475290
mov ecx, dword [ebp]
push ecx
push str.OUTOFLICENSE2
lea ecx, [esp + 0x1c]
call fcn.00475290
lea ecx, [esp + 0x14]
call fcn.004741a0
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x36]
mov edx, dword [esi]
mov word [esp + 0x34], 0
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x38]
push 0x5fd294
push eax
call fcn.0044cbf9
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push str.OUTOFLICENSE4
push str.ED30_8AC4_11D5_8930_A730
call esi
mov edx, dword [ebx]
lea eax, [esp + 0x34]
push edx
push 0x5fd294
push eax
call fcn.0044cbf9
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push str.OUTOFLICENSE3
push str.ED30_8AC4_11D5_8930_A730
call esi
mov edx, dword [ebp]
lea eax, [esp + 0x34]
push edx
push 0x5fd294
push eax
call fcn.0044cbf9
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push str.OUTOFLICENSE2
push str.ED30_8AC4_11D5_8930_A730
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x412b44
mov eax, dword [esp + 0x20]
test eax, eax
je 0x412b44
mov eax, dword [esp + 0x30]
test eax, eax
je 0x412b44
mov esi, 1
jmp 0x412b46
xor esi, esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 3
call fcn.004740d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 2
call fcn.004654c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x13c], 1
call fcn.004654c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 0
call fcn.004654c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x13c], 0xffffffff
call fcn.004654c0
mov ecx, dword [esp + 0x134]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret