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

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4c06dc]
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 0x45d27b
push 0
push str.PJADV
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x45d274
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x45d861
test esi, esi
jne 0x45d2ba
push esi
push str.PJADV
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x45d29f
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x45d861
push 0
push str.PJADV
push 0x4a1a80
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x45d861
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 0x45d2fb
cmp dword [esp + 0x98], edi
mov dword [0x5a6064], edi
jae 0x45d305
mov dword [0x5a6064], 0
push ebx
push 0x104
mov dword [0x5a616c], ebp
call fcn.004871ea
push 0x104
mov esi, eax
call fcn.004871ea
push 0x104
mov edi, eax
call fcn.004871ea
push 0x104
push 0
push 0x5a6068
mov ebx, eax
call fcn.00487750
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.00488a22
push ebx
push edi
push 0x4a0be0
push 0x5a6068
call dword [sym.imp.USER32.dll_wsprintfA]
push esi
call fcn.0048726d
push edi
call fcn.0048726d
push ebx
call fcn.0048726d
add esp, 0x40
push 0x5a6068
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.00435950
call fcn.00435820
push str.graph
call fcn.004354f0
push 0x4a0c70
call fcn.004354f0
push str.voice
call fcn.004354f0
push 0x4a0c6c
call fcn.004354f0
call fcn.00425eb0
push 0x5a6170
call fcn.0046fa00
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x45d3fc
push esi
push 0x4a1a74
push 0x4a1a4c
push esi
call edi
push esi
call fcn.0045c410
add esp, 4
test eax, eax
jne 0x45d429
push esi
push 0x5a6170
push 0x4a19f8
push esi
call edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x45d860
call fcn.004689e0
call fcn.0046fb20
call fcn.00402340
test eax, eax
push esi
jne 0x45d45c
push 0x4a1a74
push 0x4a19c8
push esi
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x45d860
call fcn.004723d0
add esp, 4
cmp eax, esi
mov dword [0x6eab74], eax
jne 0x45d477
mov dword [0x6eab74], 0x3de
push 0x66
push ebp
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], 0x45c680
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 [0x5aa474], edx
mov dword [0x5aa47c], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [0x6f1478]
test edi, edi
movzx ebx, word [0x6f147a]
jns 0x45d56a
or ebx, 0xffff0000
test edi, 0x8000
je 0x45d57a
or edi, 0xffff0000
jmp 0x45d580
and edi, 0xffff
mov bp, word [0x6f1272]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
cmp ebx, esi
mov esi, dword [0x6f1270]
jl 0x45d5ab
test edi, edi
jl 0x45d5ab
cmp ebx, eax
jge 0x45d5ab
cmp edi, edx
jl 0x45d5fe
test esi, esi
movzx ecx, bp
jns 0x45d5b8
or ecx, 0xffff0000
sub eax, ecx
shr eax, 1
test esi, 0x8000
mov ebx, eax
je 0x45d5cf
mov eax, esi
or eax, 0xffff0000
jmp 0x45d5d2
movzx eax, si
sub edx, eax
add edx, edx
mov eax, 0xcccccccd
mul edx
mov edi, edx
shr edi, 2
test ebx, ebx
jge 0x45d5e8
xor ebx, ebx
test edi, edi
jge 0x45d5ee
xor edi, edi
mov edx, ebx
movzx eax, di
shl edx, 0x10
or edx, eax
mov dword [0x6f1478], edx
xor eax, eax
test esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
jns 0x45d61b
movzx ecx, bp
or ecx, 0xffff0000
mov dword [esp + 0x30], ecx
jmp 0x45d622
movzx edx, bp
mov dword [esp + 0x30], edx
test esi, 0x8000
je 0x45d632
or esi, 0xffff0000
jmp 0x45d638
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 0x5a6170
push str.PJADV
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
push 0
jne 0x45d6b6
push str.PJADV
push 0x4a19b0
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 0x45d860
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 0x45d75c
push 0
push 0
push 0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x45d824
cmp eax, 0xffffffff
je 0x45d824
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 0x45d715
push esi
call fcn.004058f0
add esp, 4
test eax, eax
jne 0x45d817
call fcn.00404a90
call fcn.00404c40
call fcn.00404e90
call fcn.0047c8a0
push eax
call fcn.0047c820
push eax
call fcn.0041c2f0
add esp, 8
cmp eax, 0xfffffffe
ja 0x45d7f3
je 0x45d7de
sub eax, 1
je 0x45d7bc
sub eax, 1
jne 0x45d7fb
push esi
call fcn.00436be0
call fcn.0047c840
push eax
call fcn.004052a0
add esp, 8
call fcn.0047c8b0
jmp 0x45d7fb
call fcn.0047c840
push eax
call fcn.004052a0
add esp, 4
test eax, eax
je 0x45d7d7
push esi
call fcn.00436be0
add esp, 4
call fcn.0047c8b0
jmp 0x45d7fb
push 0
push 0x4a1a74
push 0x4a18f8
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x45d7f8
cmp eax, 0xffffffff
jne 0x45d7fb
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.0041cd70
test al, al
je 0x45d702
push esi
call edi
jmp 0x45d702
push 0x11
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45d702
push 0x5a6170
call fcn.0046fb10
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.004330d0
mov eax, dword [esp + 0x70]
pop ebx
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00487272
add esp, 0x11c
ret 0x10