Function at 0x456ef0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9ab0
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.004633c0
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x457050
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.00482e40
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.00425a60
mov ecx, 0x550f00
mov byte [esp + 0xa0], 3
call fcn.00479790
push 0x550f00
push ecx
mov ecx, 0x54fcf0
call fcn.00464430
add esp, 4
push eax
call fcn.00456d00
mov esi, dword [esp + 0x14]
jmp 0x457198
cmp ebx, 1
jne 0x4570fb
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.00482e40
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.00425a60
mov ecx, 0x550fc0
mov byte [esp + 0xa0], 3
call fcn.00479790
push 0x550fc0
push ecx
mov ecx, 0x54fcf0
call fcn.00464430
add esp, 4
push eax
call fcn.00456d00
mov esi, dword [esp + 0x14]
jmp 0x457198
cmp ebx, 3
jne 0x457143
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.00482e40
sub esp, 8
lea eax, [esp + 0x60]
mov ecx, esp
push eax
call fcn.0044daa0
mov ecx, 0x551140
call fcn.00479790
push 0x551140
jmp 0x457184
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.00482e40
sub esp, 8
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.0044daa0
mov ecx, 0x551080
call fcn.00479790
push 0x551080
push ecx
mov ecx, 0x54fcf0
call fcn.00464430
add esp, 4
push eax
call fcn.00456d00
mov ecx, esi
call fcn.0044ef70
cmp byte [ebp + 0xc], 0
je 0x4571c1
push ebx
mov ecx, 0x54fcf0
mov dword [esi + 0x570], 1
mov byte [esi + 0x65c], 1
call fcn.00464cd0
cmp dword [esp + 0x5c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4571d7
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 0x4571fe
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 0x457225
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 0x45724c
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.004f048a
mov esp, ebp
pop ebp
ret 8