Function at 0x403230
Capabilities:
Check for peb ntglobalflag flag
Copy file
Get common file path
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41f758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
xor eax, eax
push ebp
push esi
push edi
mov esi, ecx
mov byte [esp + 0x68], 0
mov ecx, 0x40
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
push 0x20
lea ecx, [esp + 0x28]
mov word [esp + 0x45], ax
push ecx
mov byte [esp + 0x2c], 0
mov byte [esp + 0x4b], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ebp, [esi + 0x70]
push 1
mov ecx, ebp
call fcn.00404710
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call ebx
push 2
mov ecx, ebp
call fcn.00404710
push 0xa
call ebx
lea edx, [esp + 0x24]
push edx
push str._s365PlusSetup.exe
lea eax, [esp + 0x70]
push 0x104
push eax
call fcn.00408ddd
mov eax, dword [esi + 0x110]
add esp, 0x10
push 1
lea ecx, [esp + 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 3
mov ecx, ebp
call fcn.00404710
push 0xa
call ebx
lea edx, [esp + 0x24]
push edx
push str._s365PlusSetup.exe__Uninstall_
lea eax, [esp + 0x70]
push 0x104
push eax
call fcn.00408ddd
add esp, 0x10
lea ecx, [esp + 0x68]
push ecx
push 0x80000002
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallD6122D11_28F1_40D6_9849_0F70DDB8AFD5_is1
mov ecx, esi
call fcn.00401a00
push 0x4206d8
push 0x80000002
push str.QuietUninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallD6122D11_28F1_40D6_9849_0F70DDB8AFD5_is1
mov ecx, esi
call fcn.00401a00
mov edx, dword [esi + 0x114]
push edx
push str._s365PlusTray.exe
lea eax, [esp + 0x70]
push 0x104
push eax
call fcn.00408ddd
mov byte [esp + 0x180], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x181]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x114]
push ecx
push str._s365Plus.ico
stosw word es:[edi], ax
lea edx, [esp + 0x188]
push 0x104
push edx
stosb byte es:[edi], al
call fcn.00408ddd
add esp, 0x20
push 0
push 0
push ecx
lea eax, [esp + 0x17c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00402dc0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x420afc
mov dword [esp + 0x298], 0
call fcn.00402dc0
push 0x19
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x420afc
mov byte [esp + 0x2a0], 1
call fcn.00402dc0
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x2a4], 2
call fcn.00402dc0
or edi, 0xffffffff
mov dword [esp + 0x2a0], edi
mov ecx, dword [esi + 0x130]
call fcn.00405910
push 1
push 0
push ecx
lea eax, [esp + 0x17c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00402dc0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Plus
mov dword [esp + 0x298], 3
call fcn.00402dc0
push 0x1a
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x420af0
mov byte [esp + 0x2a0], 4
call fcn.00402dc0
mov byte [esp + 0x29c], 5
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00402dc0
mov dword [esp + 0x2a0], edi
mov ecx, dword [esi + 0x130]
call fcn.00405910
mov eax, dword [esi + 0x114]
push eax
push str._sProcManager.ocx
lea ecx, [esp + 0x70]
push 0x104
push ecx
call fcn.00408ddd
add esp, 0x10
push 0
push 0
lea edx, [esp + 0x70]
push edx
mov ecx, esi
call fcn.00401e60
push 4
mov ecx, ebp
call fcn.00404710
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x20006
push 0
push 0x4206d8
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains_tizkorea.co.kr
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40351b
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x80000001
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x420a20
call fcn.00402dc0
lea ecx, [esp + 0x58]
call fcn.00404fa0
push 2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x288], 6
call fcn.00404d10
lea ecx, [esp + 0x48]
call fcn.00404cb0
push 0x64
call ebx
mov eax, dword [esi + 0x12c]
add eax, 4
push eax
mov ecx, ebp
call fcn.00404710
push 0x4209fc
push 0x3e9
mov ecx, esi
call fcn.00417f5e
call fcn.004192a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x114]
push eax
lea ecx, [esp + 0x14]
push str._s365PlusTray.exe__SETUP_
push ecx
mov byte [esp + 0x290], 7
call fcn.00402580
mov ebx, dword [esp + 0x1c]
add esp, 8
add ebx, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebp, esp
push ebx
call fcn.00401370
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.00402c90
add esp, 4
push 0
mov ecx, esi
call fcn.004195e9
mov byte [esp + 0x284], 6
lea edx, [ebx + 0xc]
mov eax, edi
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x403602
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
lea ecx, [esp + 0x48]
mov dword [esp + 0x284], edi
call fcn.00404d60
mov ecx, dword [esp + 0x27c]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret