Function at 0x45c180
Capabilities:
Check mutex on windows
Check os version
Hide graphical window
Set current directory

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4be944]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
mov ebp, dword [esp + 0x124]
push esi
push edi
push str.GlobalPJADVSYS
mov edi, 1
push edi
push 0
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45c1eb
push 0
push str.PJADV
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x45c1e4
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x45c7e3
test esi, esi
jne 0x45c22a
push esi
push str.PJADV
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x45c20f
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x45c7e3
push 0
push str.PJADV
push 0x49fa20
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x45c7e3
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x94], 6
jb 0x45c26b
cmp dword [esp + 0x98], edi
mov dword [0x5912fc], edi
jae 0x45c275
mov dword [0x5912fc], 0
push ebx
push 0x104
mov dword [0x591404], ebp
call fcn.00484c16
push 0x104
mov esi, eax
call fcn.00484c16
push 0x104
mov edi, eax
call fcn.00484c16
push 0x104
push 0
push 0x591300
mov ebx, eax
call fcn.00485180
add esp, 0x18
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
push 0
push 0x104
push ebx
push 0x104
push edi
push esi
call fcn.00486452
push ebx
push edi
push 0x49e3f8
push 0x591300
call dword [sym.imp.USER32.dll_wsprintfA]
push esi
call fcn.00484c99
push edi
call fcn.00484c99
push ebx
call fcn.00484c99
add esp, 0x40
push 0x591300
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.00434430
call fcn.00434300
push str.graph
call fcn.00433fd0
push 0x49ec10
call fcn.00433fd0
push str.voice
call fcn.00433fd0
push 0x49ec0c
call fcn.00433fd0
call fcn.00424b10
push 0x591408
call fcn.0046e7d0
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x45c36c
push esi
push 0x49fa14
push 0x49f9ec
push esi
call edi
push esi
call fcn.0045b380
add esp, 4
test eax, eax
jne 0x45c399
push esi
push 0x591408
push 0x49f998
push esi
call edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x45c7e2
call fcn.00467910
call fcn.0046e8f0
call fcn.004024c0
test eax, eax
jne 0x45c3cc
push esi
push 0x49fa14
push 0x49f968
push esi
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x45c7e2
push 0x6d241c
push esi
push 0xffff0102
call fcn.00402430
add esp, 0xc
test eax, eax
jne 0x45c3f9
call fcn.004023f0
neg eax
sbb eax, eax
and eax, 0xfffffff6
add eax, 0x3e8
mov dword [0x6d241c], eax
push 0x66
push ebp
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], 0x45b5f0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebp
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x40
push esi
push esi
push 1
push 0x66
push ebp
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_LoadImageA]
push 0x7f00
push esi
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], str.PJADV
call dword [sym.imp.USER32.dll_RegisterClassExA]
push esi
push esi
push 0x90cf0000
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x500
mov dword [esp + 0x30], 0x2d0
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub edx, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
lea ecx, [esp + 0x84]
sub edx, 0x500
sub eax, 0x2d0
push ecx
mov dword [0x591d0c], edx
mov dword [0x591d14], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [0x6d8ad0]
test edi, edi
movzx ebx, word [0x6d8ad2]
jns 0x45c4ec
or ebx, 0xffff0000
test edi, 0x8000
je 0x45c4fc
or edi, 0xffff0000
jmp 0x45c502
and edi, 0xffff
mov bp, word [0x6d89ae]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
cmp ebx, esi
mov esi, dword [0x6d89ac]
jl 0x45c52d
test edi, edi
jl 0x45c52d
cmp ebx, eax
jge 0x45c52d
cmp edi, edx
jl 0x45c580
test esi, esi
movzx ecx, bp
jns 0x45c53a
or ecx, 0xffff0000
sub eax, ecx
shr eax, 1
test esi, 0x8000
mov ebx, eax
je 0x45c551
mov eax, esi
or eax, 0xffff0000
jmp 0x45c554
movzx eax, si
sub edx, eax
add edx, edx
mov eax, 0xcccccccd
mul edx
mov edi, edx
shr edi, 2
test ebx, ebx
jge 0x45c56a
xor ebx, ebx
test edi, edi
jge 0x45c570
xor edi, edi
mov edx, ebx
movzx eax, di
shl edx, 0x10
or edx, eax
mov dword [0x6d8ad0], edx
xor eax, eax
test esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
jns 0x45c59d
movzx ecx, bp
or ecx, 0xffff0000
mov dword [esp + 0x30], ecx
jmp 0x45c5a4
movzx edx, bp
mov dword [esp + 0x30], edx
test esi, 0x8000
je 0x45c5b4
or esi, 0xffff0000
jmp 0x45c5ba
and esi, 0xffff
push eax
push eax
push 0x90cf0000
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x44], esi
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0
push ecx
push 0
push 0
push edx
push eax
push edi
push ebx
push 0x90cf0000
push 0x591408
push str.PJADV
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
push 0
jne 0x45c638
push str.PJADV
push 0x49f950
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x45c7e2
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push edx
push eax
push edi
push ebx
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x13c]
push ecx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x78]
push edx
call ebx
test eax, eax
je 0x45c6de
push 0
push 0
push 0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x45c7a6
cmp eax, 0xffffffff
je 0x45c7a6
lea ecx, [esp + 0x68]
push ecx
call ebp
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x78]
push eax
call ebx
test eax, eax
jne 0x45c697
push esi
call fcn.00405ab0
add esp, 4
test eax, eax
jne 0x45c799
call fcn.00404d00
call fcn.00404e80
call fcn.004050b0
call fcn.00479110
push eax
call fcn.00479090
push eax
call fcn.0041b650
add esp, 8
cmp eax, 0xfffffffe
ja 0x45c775
je 0x45c760
sub eax, 1
je 0x45c73e
sub eax, 1
jne 0x45c77d
push esi
call fcn.004356c0
call fcn.004790b0
push eax
call fcn.004054b0
add esp, 8
call fcn.00479120
jmp 0x45c77d
call fcn.004790b0
push eax
call fcn.004054b0
add esp, 4
test eax, eax
je 0x45c759
push esi
call fcn.004356c0
add esp, 4
call fcn.00479120
jmp 0x45c77d
push 0
push 0x49fa14
push 0x49f898
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x45c77a
cmp eax, 0xffffffff
jne 0x45c77d
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.0041c080
test al, al
je 0x45c684
push esi
call edi
jmp 0x45c684
push 0x11
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45c684
push 0x591408
call fcn.0046e8e0
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
push str.PJADV
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00431bb0
mov eax, dword [esp + 0x70]
pop ebx
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00484c9e
add esp, 0x11c
ret 0x10