Function at 0x472dc0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6e29e0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
push dword [0x82e964]
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0x180]
mov dword [esp + 0x18], ebx
mov dword [edi + 0x150], 0
call fcn.00429330
push 3
xor eax, eax
mov dword [esp + 0x30], 7
push 0x7ce1f4
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00419290
mov dword [esp + 0x30], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x88], 0
push eax
mov ecx, ebx
call fcn.0061d500
mov dword [esp + 0x88], 0xffffffff
push dword [esp + 0x30]
mov byte [esp + 0x17], al
call dword [sym.imp.MSVCR120.dll_free]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x472e96
push dword [esp + 0x18]
call esi
add esp, 4
xor eax, eax
cmp byte [esp + 0x13], al
je 0x473026
push eax
push 0x7ce308
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], eax
mov word [esp + 0x40], ax
call fcn.00419290
mov dword [esp + 0x50], 0
mov dword [esp + 0x88], 1
lea ecx, [esp + 0x18]
push 4
xor eax, eax
mov dword [esp + 0x30], 7
push str.lang
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00419290
mov dword [esp + 0x30], 0
lea eax, [esp + 0x38]
mov byte [esp + 0x88], 2
push eax
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0061d520
mov byte [esp + 0x88], 1
push dword [esp + 0x30]
mov ecx, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x17], al
call ecx
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x472f48
push dword [esp + 0x18]
call esi
add esp, 4
cmp byte [esp + 0x13], 0
je 0x472f8c
sub esp, 0x20
lea edx, [esp + 0x58]
mov eax, esp
push edx
push str.Got_locale_from_CWS:
push eax
call fcn.005c7f90
add esp, 0xc
mov ecx, 3
call fcn.00465af0
lea ecx, [edi + 0x160]
add esp, 0x20
lea eax, [esp + 0x38]
cmp ecx, eax
je 0x472f8c
push 0xffffffffffffffff
push 0
push eax
call fcn.00419170
push 0xb
xor eax, eax
mov dword [esp + 0x30], 7
push str.silentcheck
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00419290
mov dword [esp + 0x30], 0
lea eax, [esp + 0x18]
mov byte [esp + 0x88], 3
push eax
mov ecx, ebx
call fcn.0061d500
push dword [esp + 0x30]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x17], al
call ebx
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x472ff2
push dword [esp + 0x18]
call esi
add esp, 4
push dword [esp + 0x50]
xor eax, eax
cmp byte [esp + 0x17], al
setne al
add eax, 2
mov dword [edi + 0x150], eax
call ebx
add esp, 4
cmp dword [esp + 0x4c], 8
jb 0x473195
push dword [esp + 0x38]
call esi
add esp, 4
jmp 0x473195
push 7
push str.startup
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00419290
mov dword [esp + 0x30], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x88], 4
push eax
mov ecx, ebx
call fcn.0061d500
mov dword [esp + 0x88], 0xffffffff
push dword [esp + 0x30]
mov ecx, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x17], al
call ecx
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x473098
push dword [esp + 0x18]
call esi
add esp, 4
cmp byte [esp + 0x13], 0
je 0x4730ae
mov dword [edi + 0x150], 1
jmp 0x473195
push str.showonupdate
lea ecx, [esp + 0x1c]
call fcn.00418140
lea eax, [esp + 0x18]
mov dword [esp + 0x88], 5
push eax
mov ecx, ebx
call fcn.0061d500
mov dword [esp + 0x88], 0xffffffff
push dword [esp + 0x30]
mov byte [esp + 0x17], al
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x4730ff
push dword [esp + 0x18]
call esi
add esp, 4
cmp byte [esp + 0x13], 0
je 0x473115
mov dword [edi + 0x150], 5
jmp 0x473195
push str.selfupdate
lea ecx, [esp + 0x1c]
call fcn.00418140
lea eax, [esp + 0x18]
mov dword [esp + 0x88], 6
push eax
mov ecx, ebx
call fcn.0061d500
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
mov bl, al
call fcn.00418210
test bl, bl
je 0x473195
push str.oldfpdu
lea ecx, [esp + 0x5c]
mov dword [edi + 0x150], 4
call fcn.00418140
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0x180]
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x8c], 7
push eax
call fcn.0061d520
lea ecx, [esp + 0x58]
call fcn.00418210
mov al, 1
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.006d1ba7
mov esp, ebp
pop ebp
ret 4