Function at 0x409bd0
Capabilities:
Check os version
Read .ini file
Shutdown system

Disassembly:
mov eax, 0x25b0
call fcn.004187f0
mov ax, word [0x437430]
push ebx
push esi
mov esi, dword [esp + 0x25bc]
push edi
mov word [esp + 0x9ac], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x9ae]
push 0x64
rep stosd dword es:[edi], eax
push 0x43925c
xor ebx, ebx
push 0x6d
push esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], 2
stosw word es:[edi], ax
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [esp + 0xbb4]
push 0x104
mov edx, dword [esp + 0x25cc]
push ecx
push 0xffffffffffffffff
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0x438b40
call fcn.00422904
cmp eax, 1
jne 0x409c73
lea eax, [esp + 0xbb4]
push eax
push esi
call fcn.0040aeb0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x25b0
ret 0x10
cmp eax, 2
jne 0x409d36
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x27a]
mov word [esp + 0x278], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x278]
push 0x104
push ecx
push 0x64
push esi
stosw word es:[edi], ax
call fcn.0040b3c0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x82]
mov word [esp + 0x80], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x80]
push 0x104
push edx
push 0xc2a
push esi
stosw word es:[edi], ax
call fcn.0040b3c0
add esp, 0x20
lea eax, [esp + 0x278]
lea ecx, [esp + 0x70]
push 0x10
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
lea ecx, [esp + 0x7a0]
call fcn.00417050
push 4
push 0xc0000001
lea ecx, [esp + 0x7a4]
call fcn.00417000
lea ecx, [esp + 0x79c]
call fcn.00417140
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x25b0
ret 0x10
call fcn.00410260
test eax, eax
je 0x409df4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x72]
mov word [esp + 0x70], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x70]
push 0x104
push edx
push 0x64
push esi
stosw word es:[edi], ax
call fcn.0040b3c0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x28a]
mov word [esp + 0x288], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x288]
push 0x104
push eax
push 0xc2b
push esi
call fcn.0040b3c0
add esp, 0x20
lea ecx, [esp + 0x70]
lea edx, [esp + 0x278]
push 0x10
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
lea ecx, [esp + 0x7a0]
call fcn.00417050
push 4
push 0xc0000002
lea ecx, [esp + 0x7a4]
call fcn.00417000
lea ecx, [esp + 0x79c]
call fcn.00417140
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x25b0
ret 0x10
call fcn.00407bd0
push eax
call fcn.00417560
add esp, 4
test eax, eax
jne 0x409e8d
mov ecx, 0x81
lea edi, [esp + 0x72]
mov word [esp + 0x70], bx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x74]
push eax
push 0x64
push esi
call fcn.0040b3c0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x28a]
mov word [esp + 0x288], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x288]
push 0x104
push ecx
push 0x3ec
push esi
stosw word es:[edi], ax
call fcn.0040b3c0
add esp, 0x20
lea edx, [esp + 0x70]
lea eax, [esp + 0x278]
push 0x30
push edx
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x25b0
ret 0x10
push ebp
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0x54], 0x425628
call fcn.00407bd0
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 1
push str.MustRegist
push str.USER
call ebp
mov ebx, eax
cmp ebx, 1
jne 0x409f07
push str.ArcRevenueSharing.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x409ef7
push str.Reg_IsProductRegistered
push edi
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409ee6
call eax
mov ebp, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebp, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jne 0x409f07
push 0x42ca2c
push 1
lea ecx, [esp + 0x5c]
call fcn.0040ad40
xor edi, edi
call fcn.00408da0
call fcn.00401f10
call fcn.004099f0
call fcn.00407bd0
push eax
push edi
push str.CustomID
push str.USER
call ebp
mov dword [0x439358], eax
call fcn.00407bd0
push eax
push edi
push str.PlaySound
push str.User
call ebp
lea ecx, [esp + 0x68c]
mov dword [0x439324], eax
push ecx
mov dword [esp + 0x690], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x690]
cmp eax, 5
jne 0x409f83
cmp dword [esp + 0x694], 1
jb 0x409f8f
mov dword [0x439330], 1
jmp 0x409f95
mov dword [0x439330], 1
ja 0x409f95
mov dword [0x439330], edi
call fcn.00407bd0
push eax
push edi
push str.ShowTitleIndex
push str.USER
call ebp
push esi
mov dword [0x439344], eax
call fcn.0040b5f0
add esp, 4
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
call dword [sym.imp.uDTUILib.dll_DTInit]
call dword [sym.imp.uUIImage.dll_UIImageInit]
call dword [sym.imp.uUICommon.dll_UICommonInit]
push edi
call dword [sym.imp.uMediaClub.dll_MIInitialize]
add esp, 4
call fcn.00412740
push 0x860
call fcn.00417ebc
add esp, 4
cmp eax, edi
je 0x409ff8
mov ecx, eax
call fcn.0040fe30
jmp 0x409ffa
xor eax, eax
mov edx, dword [esp + 0x25d0]
mov dword [0x439190], eax
push edx
push esi
call fcn.0040b6d0
add esp, 8
test eax, eax
jne 0x40a01d
mov dword [esp + 0x20], edi
jmp 0x40aa82
mov eax, dword [0x42c1b0]
push eax
call dword [sym.imp.uDTUILib.dll_DTUISetStateCallBack]
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push eax
call fcn.0040b270
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call fcn.0040b320
mov ecx, dword [0x439190]
add esp, 0xc
cmp ecx, edi
je 0x40a05d
call fcn.0040ff30
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 5
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push edi
push 0xfffffffffffffffe
mov edx, dword [ecx]
mov dword [edx + 0x2c], edi
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov ecx, dword [eax]
call dword [sym.imp.uDirector.dll_public:_int___thiscall_IDirector::NotifyModule_int__int_]
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
cmp ebx, 1
mov edx, dword [ecx]
mov dword [edx + 0x28], 1
jne 0x40a0ca
push str.ArcRevenueSharing.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
je 0x40a0ca
push str.Reg_BringIEPageToTop
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x40a0c3
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push edi
push 0x3e8
mov ecx, dword [eax]
push 0x613
mov edx, dword [ecx + 8]
push edx
call esi
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov ebx, 1
mov dword [0x42c1b4], ebx
push edi
mov ecx, dword [eax]
push 0x1388
push 0x309
mov edx, dword [ecx + 8]
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0xbb8]
lea ecx, [esp + 0x484]
push eax
push ecx
call esi
lea edx, [esp + 0x484]
push edx
call fcn.0040b160
add esp, 4
test eax, eax
je 0x40a37d
cmp word [esp + 0x484], 0x2d
jne case.0x40a173.106
mov eax, dword [esp + 0x486]
cmp ax, di
je case.0x40a173.106
and eax, 0xffff
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x40a173.106
xor ecx, ecx
mov cl, byte [eax + 0x40ad00]
jmp dword [ecx*4 + 0x40acd8]
lea edx, [esp + 0x488]
lea eax, [esp + 0x74]
push edx
push eax
call esi
lea ecx, [esp + 0x74]
push ecx
call fcn.0040b160
add esp, 4
test eax, eax
je case.0x40a173.106
mov edx, dword [esp + 0x74]
push 5
and edx, 0xffff
push edx
jmp 0x40a2f8
lea eax, [esp + 0x488]
lea ecx, [esp + 0x74]
push eax
push ecx
call esi
lea edx, [esp + 0x74]
push edx
call fcn.0040b160
add esp, 4
test eax, eax
je case.0x40a173.106
mov eax, dword [esp + 0x74]
push ebx
and eax, 0xffff
push eax
jmp 0x40a1e4
push 2
push edi
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 0x482
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x40a173.106
push 0xe
jmp 0x40a206
push 0xf
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push edi
push 0x482
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x40a173.106
lea ecx, [esp + 0x488]
lea edx, [esp + 0x74]
push ecx
push edx
call esi
lea eax, [esp + 0x74]
push eax
call fcn.0040b160
add esp, 4
test eax, eax
je case.0x40a173.106
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov ecx, dword [esp + 0x74]
and ecx, 0xffff
push 3
mov eax, dword [edx]
push ecx
push 0x482
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x40a173.106
lea edx, [esp + 0x488]
lea eax, [esp + 0x74]
push edx
push eax
call esi
lea ecx, [esp + 0x74]
push ecx
call fcn.00418721
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
add esp, 4
and eax, 0xffff
push 4
push eax
mov eax, dword [edx]
push 0x482
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x40a173.106
lea edx, [esp + 0x488]
lea eax, [esp + 0x74]
push edx
push eax
call esi
lea ecx, [esp + 0x74]
push ecx
call fcn.00418721
add esp, 4
cmp eax, edi
jl case.0x40a173.106
cmp eax, 7
jae case.0x40a173.106
mov edx, dword [eax*4 + str._a_b_t_n_v_f_r]
push edx
push edi
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 0x482
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x40a173.106
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x27e]
mov word [esp + 0x27c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x488]
lea ecx, [esp + 0x27c]
push eax
push ecx
call esi
lea edx, [esp + 0x27c]
push edx
call fcn.0040b160
add esp, 4
test eax, eax
je case.0x40a173.106
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov eax, dword [esp + 0x27c]
and eax, 0xffff
push 6
mov edx, dword [ecx]
push eax
push 0x482
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x40a173.106
cmp dword [0x439334], edi
jne case.0x40a173.106
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov eax, dword [ecx]
cmp dword [eax + 0x2c], edi
jne case.0x40a173.106
mov dword [eax + 0x2c], ebx
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push edi
push 0x3eb
mov eax, dword [edx]
push 0x64
mov ecx, dword [eax + 8]
push ecx
call fcn.00405140
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
add esp, 0x10
mov eax, dword [edx]
mov dword [eax + 0x2c], edi
push 0
push 0
lea ecx, [esp + 0x20]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40aa82
xor ebx, ebx
mov esi, 2
mov edi, 1
jmp 0x40a3f3
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, 1
mov esi, 2
mov eax, dword [esp + 0x1c]
cmp eax, 0x200
jb 0x40a656
cmp eax, 0x20d
ja 0x40a656
cmp eax, 0x200
jne 0x40a644
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x42c1c0]
mov eax, dword [esp + 0x6c]
cmp eax, ecx
mov ecx, dword [esp + 0x70]
jne 0x40a441
cmp ecx, dword [0x42c1c4]
je 0x40aa6a
mov dword [0x42c1c0], eax
xor eax, eax
mov dword [0x42c1c4], ecx
mov dword [esp + 0x48], eax
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], eax
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov dword [esp + 0x64], ecx
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ecx
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
mov edx, dword [ecx + 8]
push edx
call edi
fild dword [esp + 0x50]
fmul qword [0x425620]
call fcn.004188ac
mov esi, dword [sym.imp.uDirector.dll_public:_class_Module____thiscall_IDirector::GetCurModule_void_]
mov dword [esp + 0x50], eax
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov ecx, dword [eax]
call esi
test eax, eax
je 0x40a4fe
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov ecx, dword [ecx]
call esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
cmp eax, 3
je 0x40a4d8
cmp eax, 5
je 0x40a4d8
cmp eax, 4
je 0x40a4d8
cmp eax, 6
je 0x40a4d8
cmp eax, 0xb
jne 0x40a4fe
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
lea eax, [esp + 0x5c]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call edi
fild dword [esp + 0x68]
fmul qword [str.ffffff]
call fcn.004188ac
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_PtInRect]
mov esi, eax
lea ecx, [esp + 0x44]
shr eax, 0x10
mov edi, eax
and esi, 0xffff
push edi
push esi
push ecx
mov dword [esp + 0x44], ebx
call ebp
test eax, eax
jne 0x40a55f
push edi
lea edx, [esp + 0x60]
push esi
push edx
call ebp
test eax, eax
jne 0x40a55f
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x43932c], ebx
push ebx
mov ecx, dword [eax]
push 0x1388
push 0x309
mov edx, dword [ecx + 8]
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
jmp 0x40a587
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x43932c], 1
push 0x309
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
call edi
mov esi, dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [0x439328]
call fcn.00402710
test eax, eax
jge 0x40a5e1
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 0x30a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
call edi
mov ecx, dword [0x439328]
push ebx
call fcn.00402380
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push ebx
push ebx
push 0x465
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push ebx
push 0x14
push 0x30b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
jmp 0x40a624
mov ecx, dword [0x439328]
call fcn.00402710
test eax, eax
jne 0x40a626
mov eax, dword [0x439328]
cmp dword [eax + 0x238], ebx
jne 0x40a626
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 0x30a
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call edi
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push ebx
push 0x14
push 0x30b
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call esi
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push ebx
push 0x1388
push 0x30c
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call esi
mov edi, 1
push edi
call fcn.004101a0
mov eax, dword [esp + 0x20]
add esp, 4
jmp 0x40aa2e
cmp eax, 0x100
je 0x40aa11
cmp eax, 0x104
je 0x40aa11
cmp eax, 0x319
jne 0x40a7e7
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x10
and eax, 0xfff
cmp eax, 9
jne 0x40a692
push edi
call fcn.00409750
jmp 0x40a69d
cmp eax, 0xa
jne 0x40a6be
push edi
call fcn.00409640
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
add esp, 4
mov edx, dword [ecx]
push ebx
push ebx
push 0x46c
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40aa6a
cmp eax, 8
jne 0x40a6e0
mov ecx, 0x4391b0
call fcn.00406d30
neg eax
sbb eax, eax
inc eax
push eax
call fcn.00408b10
add esp, 4
jmp 0x40aa6a
cmp eax, 0x3f4
jne 0x40a705
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push ebx
push ebx
push 0x4a3
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40aa6a
cmp eax, 0x409
jne 0x40a7b9
mov dword [esp + 0x34], edi
call fcn.00407bd0
push eax
push 0x14
push str.ShutdownTimeOut
push str.USER
call ebp
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov esi, eax
lea ecx, [esp + 0x34]
mov eax, dword [edx]
push ecx
push ebx
push 0x49e
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, ebx
jne 0x40a769
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push ebx
push edi
push 0x4a3
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40aa6a
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push esi
push 4
push 0x15e
mov eax, dword [edx]
push 0x64
mov eax, dword [eax + 8]
push eax
call fcn.00405600
add esp, 0x14
test eax, eax
jne 0x40aa6a
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push ebx
push edi
push 0x4a3
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], edi
jmp 0x40aa6a
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
cmp edx, eax
je 0x40aa35
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push 0x319
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40aa6a
cmp eax, 0x112
jne 0x40a865
cmp dword [esp + 0x20], 0xf060
jne 0x40aa35
mov al, byte [0x438b3c]
test al, 1
jne 0x40a81b
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
or al, 1
mov byte [0x438b3c], al
call esi
mov dword [0x438b38], eax
jmp 0x40a821
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [0x42c1c8], edi
je 0x40a83a
call esi
sub eax, dword [0x438b38]
cmp eax, 0x64
jbe 0x40aa6a
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push ebx
push ebx
push 0x4a3
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x42c1c8], ebx
call esi
mov dword [0x438b38], eax
jmp 0x40aa6a
cmp eax, 0x4a3
jne 0x40aa2e
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov edx, dword [eax]
cmp dword [edx + 0x2c], ebx
jne 0x40aa35
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], 1
mov eax, dword [edx + 8]
push ecx
push ebx
push 0x49e
push eax
call edi
cmp dword [esp + 0x40], ebx
jne 0x40a8c8
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
lea ecx, [esp + 0x3c]
push ecx
push ebx
mov eax, dword [edx]
push 0x4b2
mov ecx, dword [eax + 8]
push ecx
call edi
cmp dword [esp + 0x3c], ebx
jne 0x40a8d5
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
jmp 0x40aa6a
call fcn.00407bd0
push eax
push ebx
push str.ShowExitDialog
push str.USER
call ebp
cmp eax, 1
mov eax, dword [esp + 0x20]
jne 0x40a9c8
cmp eax, ebx
jne 0x40a9d4
push 2
mov dword [esp + 0x18], 0
call dword [sym.imp.uDTUILib.dll_DTUIGetGValue]
add esp, 4
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40a926
mov edi, eax
jmp 0x40a931
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov eax, dword [edx]
mov edi, dword [eax + 8]
mov eax, dword [0x439364]
test eax, eax
jne 0x40a95a
push 0x103
push 0x438930
push 0x64
mov ecx, 0x438908
call fcn.00408910
mov dword [0x439364], 1
push 0x438930
push edi
call fcn.00406640
mov dword [esp + 0x18], eax
add eax, 0xfffffffe
add esp, 8
cmp eax, 0x13
ja case.0x40a980.4
xor ecx, ecx
mov cl, byte [eax + 0x40ad24]
jmp dword [ecx*4 + 0x40ad18]
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 0
push 0
push 0x10
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x40a980.4
test esi, esi
je 0x40a9b4
push esi
push 2
call dword [sym.imp.uDTUILib.dll_DTUISetGValue]
add esp, 8
test ebp, ebp
je 0x40aa6a
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x40aa6a
cmp eax, ebx
jne 0x40a9d4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov dword [esp + 0x34], 1
lea edx, [esp + 0x34]
mov ecx, dword [eax]
push edx
push ebx
push 0x4b2
mov edx, dword [ecx + 8]
push edx
call edi
cmp dword [esp + 0x34], ebx
je 0x40aa6a
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push ebx
push ebx
push 0x10
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40aa6a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.004098a0
add esp, 0xc
cmp eax, edi
je 0x40aa6a
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, 0x113
je 0x40aa3b
cmp dword [esp + 0x18], ebx
je 0x40aa6a
mov ecx, dword [0x43918c]
cmp ecx, ebx
je 0x40aa54
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0040f500
test eax, eax
jne 0x40aa6a
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x40a3e3
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
pop ebp
mov ecx, dword [ecx]
test ecx, ecx
je 0x40aaa6
push 0
push 0xffffffffffffffff
call dword [sym.imp.uDirector.dll_public:_int___thiscall_IDirector::NotifyModule_int__int_]
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov eax, dword [edx]
mov eax, dword [eax + 0x28]
jmp 0x40aaaa
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x9b0]
push 0x429c88
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
call fcn.00407c00
lea edx, [esp + 0x9ac]
push eax
push edx
push str.DefaultMax
push str.User
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0xc]
sub eax, 0x14
je 0x40aba1
dec eax
jne 0x40ac58
lea eax, [esp + 0x15bc]
push 0x3ff
push eax
push 0x14f
mov ecx, 0x438908
call fcn.00408910
lea ecx, [esp + 0xdbc]
push 0x3ff
push ecx
push 0x64
mov ecx, 0x438908
call fcn.00408910
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
lea edx, [esp + 0x15bc]
push 4
lea eax, [esp + 0xdc0]
push edx
push eax
call esi
push eax
call fcn.00405040
add esp, 0x10
cmp eax, 1
je 0x40ac58
call fcn.00411890
cmp eax, 1
jne 0x40ab6e
push eax
push eax
call sub.KERNEL32.dll_SetSystemPowerState
cmp eax, 1
je 0x40ac58
lea ecx, [esp + 0x1dbc]
push 0x3ff
push ecx
push 0x14d
mov ecx, 0x438908
call fcn.00408910
lea edx, [esp + 0x1dbc]
push 0
lea eax, [esp + 0xdc0]
push edx
push eax
jmp 0x40ac4d
lea ecx, [esp + 0x1dbc]
push 0x3ff
push ecx
push 0x14e
mov ecx, 0x438908
call fcn.00408910
lea edx, [esp + 0xdbc]
push 0x3ff
push edx
push 0x64
mov ecx, 0x438908
call fcn.00408910
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40ac06
lea eax, [esp + 0x1dbc]
push 4
lea ecx, [esp + 0xdc0]
push eax
push ecx
call esi
push eax
call fcn.00405040
add esp, 0x10
cmp eax, 1
je 0x40ac58
call fcn.00411890
cmp eax, 1
jne 0x40ac1f
push 0
push 0xc
call dword [sym.imp.USER32.dll_ExitWindowsEx]
cmp eax, 1
je 0x40ac58
lea edx, [esp + 0x15bc]
push 0x3ff
push edx
push 0x14c
mov ecx, 0x438908
call fcn.00408910
lea eax, [esp + 0x15bc]
push 0
lea ecx, [esp + 0xdc0]
push eax
push ecx
call esi
push eax
call fcn.00405040
add esp, 0x10
mov ecx, dword [0x439328]
test ecx, ecx
je 0x40ac68
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov ecx, dword [eax]
test ecx, ecx
je 0x40ac79
mov edx, dword [ecx]
push 1
call dword [edx]
mov esi, dword [0x439190]
test esi, esi
je 0x40ac93
mov ecx, esi
call fcn.0040fee0
push esi
call fcn.0041783a
add esp, 4
push 0
call fcn.0040b270
add esp, 4
call dword [sym.imp.uUICommon.dll_UICommonUninit]
call dword [sym.imp.uUIImage.dll_UIImageUninit]
call dword [sym.imp.uDTUILib.dll_DTUninit]
call dword [sym.imp.uMediaClub.dll_MIUnInitialize]
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.uDiscClub.dll_Ordinal_28]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 0x25b0
ret 0x10