Function at 0x456cb0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f96c0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x544320]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x544320]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov dword [esp + 0x88], eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], eax
mov word [esp + 0x60], ax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
lea eax, [esp + 0x48]
mov byte [esp + 0x88], 3
push eax
lea eax, [esp + 0x64]
mov ecx, 0x54fcf0
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00463170
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x456e10
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
push str.32_path__s
push 0x7e0
push str.LDMultiMainFrame::_reUpdateInstalled
call fcn.00482c20
sub esp, 8
xor eax, eax
mov edi, esp
mov dword [esp + 0x28], edi
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
mov byte [esp + 0xa0], 4
lea esi, [esp + 0x48]
cmp dword [esp + 0x5c], 8
lea edx, [esp + 0x48]
mov eax, dword [esp + 0x58]
mov ecx, edi
cmovae esi, dword [esp + 0x48]
cmovae edx, dword [esp + 0x48]
lea eax, [esi + eax*2]
push eax
push edx
call fcn.00425840
mov ecx, 0x550e00
mov byte [esp + 0xa0], 3
call fcn.00479570
push 0x550e00
push ecx
mov ecx, 0x54fcf0
call fcn.004641e0
add esp, 4
push eax
call fcn.00456ac0
mov esi, dword [esp + 0x14]
jmp 0x456f58
cmp ebx, 1
jne 0x456ebb
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
push str.64_path__s
push 0x7e5
push str.LDMultiMainFrame::_reUpdateInstalled
call fcn.00482c20
sub esp, 8
xor eax, eax
mov edi, esp
mov dword [esp + 0x28], edi
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov byte [esp + 0xa0], 5
lea esi, [esp + 0x30]
cmp dword [esp + 0x44], 8
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ecx, edi
cmovae esi, dword [esp + 0x30]
cmovae edx, dword [esp + 0x30]
lea eax, [esi + eax*2]
push eax
push edx
call fcn.00425840
mov ecx, 0x550ec0
mov byte [esp + 0xa0], 3
call fcn.00479570
push 0x550ec0
push ecx
mov ecx, 0x54fcf0
call fcn.004641e0
add esp, 4
push eax
call fcn.00456ac0
mov esi, dword [esp + 0x14]
jmp 0x456f58
cmp ebx, 3
jne 0x456f03
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
push str.3_path__s
push 0x7ea
push str.LDMultiMainFrame::_reUpdateInstalled
call fcn.00482c20
sub esp, 8
lea eax, [esp + 0x60]
mov ecx, esp
push eax
call fcn.0044d860
mov ecx, 0x551040
call fcn.00479570
push 0x551040
jmp 0x456f44
cmp dword [esp + 0x74], 8
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push eax
push str.9_path__s
push 0x7ef
push str.LDMultiMainFrame::_reUpdateInstalled
call fcn.00482c20
sub esp, 8
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.0044d860
mov ecx, 0x550f80
call fcn.00479570
push 0x550f80
push ecx
mov ecx, 0x54fcf0
call fcn.004641e0
add esp, 4
push eax
call fcn.00456ac0
mov ecx, esi
call fcn.0044ed30
cmp byte [ebp + 0xc], 0
je 0x456f81
push ebx
mov ecx, 0x54fcf0
mov dword [esi + 0x570], 1
mov byte [esi + 0x65c], 1
call fcn.00464a80
cmp dword [esp + 0x5c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x456f97
push dword [esp + 0x48]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
cmp dword [esp + 0x74], 8
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
jb 0x456fbe
push dword [esp + 0x60]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
jb 0x456fe5
push dword [esp + 0x18]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
jb 0x45700c
push dword [esp + 0x30]
call esi
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004f009a
mov esp, ebp
pop ebp
ret 8