Function at 0x456dc0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9890
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.00463280
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x456f20
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.00482d00
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.00425940
mov ecx, 0x550e80
mov byte [esp + 0xa0], 3
call fcn.00479650
push 0x550e80
push ecx
mov ecx, 0x54fcf0
call fcn.004642f0
add esp, 4
push eax
call fcn.00456bc0
mov esi, dword [esp + 0x14]
jmp 0x457068
cmp ebx, 1
jne 0x456fcb
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.00482d00
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.00425940
mov ecx, 0x550f40
mov byte [esp + 0xa0], 3
call fcn.00479650
push 0x550f40
push ecx
mov ecx, 0x54fcf0
call fcn.004642f0
add esp, 4
push eax
call fcn.00456bc0
mov esi, dword [esp + 0x14]
jmp 0x457068
cmp ebx, 3
jne 0x457013
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.00482d00
sub esp, 8
lea eax, [esp + 0x60]
mov ecx, esp
push eax
call fcn.0044d950
mov ecx, 0x5510c0
call fcn.00479650
push 0x5510c0
jmp 0x457054
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.00482d00
sub esp, 8
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.0044d950
mov ecx, 0x551000
call fcn.00479650
push 0x551000
push ecx
mov ecx, 0x54fcf0
call fcn.004642f0
add esp, 4
push eax
call fcn.00456bc0
mov ecx, esi
call fcn.0044ee30
cmp byte [ebp + 0xc], 0
je 0x457091
push ebx
mov ecx, 0x54fcf0
mov dword [esi + 0x570], 1
mov byte [esi + 0x65c], 1
call fcn.00464b90
cmp dword [esp + 0x5c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4570a7
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 0x4570ce
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 0x4570f5
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 0x45711c
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.004f025a
mov esp, ebp
pop ebp
ret 8