Function at 0x454390
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5f30
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x53e320]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x53e320]
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, 0x549e00
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004607f0
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x4544f0
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.004800e0
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.004248c0
mov ecx, 0x54ae90
mov byte [esp + 0xa0], 3
call fcn.00476aa0
push 0x54ae90
push ecx
mov ecx, 0x549e00
call fcn.00461860
add esp, 4
push eax
call fcn.004541a0
mov esi, dword [esp + 0x14]
jmp 0x454638
cmp ebx, 1
jne 0x45459b
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.004800e0
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.004248c0
mov ecx, 0x54af50
mov byte [esp + 0xa0], 3
call fcn.00476aa0
push 0x54af50
push ecx
mov ecx, 0x549e00
call fcn.00461860
add esp, 4
push eax
call fcn.004541a0
mov esi, dword [esp + 0x14]
jmp 0x454638
cmp ebx, 3
jne 0x4545e3
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.004800e0
sub esp, 8
lea eax, [esp + 0x60]
mov ecx, esp
push eax
call fcn.0044af00
mov ecx, 0x54b0d0
call fcn.00476aa0
push 0x54b0d0
jmp 0x454624
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.004800e0
sub esp, 8
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.0044af00
mov ecx, 0x54b010
call fcn.00476aa0
push 0x54b010
push ecx
mov ecx, 0x549e00
call fcn.00461860
add esp, 4
push eax
call fcn.004541a0
mov ecx, esi
call fcn.0044c420
cmp byte [ebp + 0xc], 0
je 0x454661
push ebx
mov ecx, 0x549e00
mov dword [esi + 0x570], 1
mov byte [esi + 0x65c], 1
call fcn.00462100
cmp dword [esp + 0x5c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x454677
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 0x45469e
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 0x4546c5
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 0x4546ec
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.004ecbfa
mov esp, ebp
pop ebp
ret 8