Function at 0x408675
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Check os version
Copy file
Create directory
Create process on windows
Delete file
Read .ini file
Terminate process

Disassembly:
mov eax, 0x41d9e5
call fcn.004128c4
sub esp, 0xd68
mov eax, dword [0x4280c8]
push esi
xor esi, esi
push esi
push esi
push 0x400
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0xd50]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x4086f8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
cmp eax, 0x404
push esi
push esi
je 0x4086e5
cmp eax, 0x804
je 0x4086de
push str.You_need_Windows_2000_XP_or_higher_version_to_run_Lava_Lava.
jmp 0x4086ea
push 0x422ff8
jmp 0x4086ea
push 0x422f98
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4095b5
push ebx
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebp + 8]
mov dword [0x429e40], eax
call fcn.0040b163
mov ebx, dword [ebp + 0x10]
push ebx
push str._n_n_t_tLlsetup_Version2008_11_27_nlpCmdLine_s_n
call fcn.0040b1f8
push 0x6f
lea ecx, [ebp - 0xd2c]
call fcn.00407d3d
add esp, 0xc
test eax, eax
je 0x408750
push dword [ebp - 0xd2c]
call fcn.0040b853
test eax, eax
jge 0x408756
push 0xfffffffffffffffe
call fcn.00410db9
push esi
call fcn.0040bc14
push edi
push 0x69
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x40882a
push 0xa
pop edi
push 0x73
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x40877d
push 0x3c
pop edi
call fcn.0040a211
test al, al
jne 0x408796
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec edi
cmp edi, esi
jg 0x40877d
cmp edi, esi
jne 0x40882a
xor eax, eax
mov word [ebp - 0x218], si
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
push 0x104
stosw word es:[edi], ax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x422e94
push str.MissDNA
call fcn.004085f6
add esp, 0x14
cmp word [ebp - 0x218], si
jne 0x4087f1
push 0x422e48
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10
call fcn.0040b3f5
lea eax, [eax*2 + 0x42a0a0]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x422e40
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.____lpCmdLine_to__a_n
call fcn.0040b1f8
mov ebx, dword [ebp + 0x10]
pop ecx
call fcn.0040a708
test eax, eax
je 0x4088ee
push str.DianjiPPDownload
lea eax, [ebp - 0x710]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x104
lea eax, [ebp - 0x6f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edi, [ebp - 0x6f0]
mov eax, edi
push eax
call fcn.0041116d
cmp word [ebp - 0x6f0], si
pop ecx
je 0x408886
cmp word [edi], 0x5c
jne 0x40887f
mov word [edi], 0x2d
inc edi
inc edi
cmp word [edi], si
jne 0x408874
lea eax, [ebp - 0x710]
push eax
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4088ab
cmp ebx, esi
jne 0x4088ad
xor edi, edi
lea eax, [ebp - 0x710]
push eax
push ebx
push edi
push str.CPPDownloadTask__bExistMutex_d_hMutex_x___sz_s_n
call fcn.0040b1f8
add esp, 0x10
cmp edi, esi
je 0x4088ce
xor eax, eax
jmp 0x4095b3
call fcn.0040a8cb
push esi
mov esi, 0x42a678
push esi
call fcn.00405a09
test eax, eax
je 0x4088c7
push esi
call fcn.0040a87a
jmp 0x4093da
push 0x6d
lea ecx, [ebp - 0xd2c]
call fcn.00407d3d
test eax, eax
pop ecx
je 0x4089a3
mov edi, dword [ebp - 0xd2c]
lea eax, [edi + 4]
mov cx, word [eax]
cmp cx, 0x66
je 0x40892a
cmp cx, 0x46
je 0x40892a
push eax
call fcn.00410bbe
pop ecx
mov dword [0x42a460], eax
jmp 0x408931
or dword [0x42a460], 0xffffffff
mov word [edi + 2], 0x20
xor edi, edi
inc edi
cmp dword [0x42a460], edi
jne 0x4089a6
push 0x61
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x4089a6
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00410545
pop ecx
pop ecx
push dword [0x429110]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
push eax
push 0x420df0
push dword [0x429118]
push dword [0x429114]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4089a6
xor edi, edi
inc edi
cmp dword [0x42a460], esi
jne 0x4089e9
push esi
push esi
push esi
push str.DownloadNow
push str.FullVersion
call fcn.004085f6
add esp, 0x14
cmp eax, edi
jne 0x4089cf
mov dword [0x42a460], edi
jmp 0x4089e9
push esi
push esi
push esi
push str.Type
push 0x422d58
call fcn.004085f6
add esp, 0x14
mov dword [0x42a460], eax
push 0x66
lea ecx, [ebp - 0xd2c]
call fcn.00407d3d
test eax, eax
pop ecx
je 0x408ade
mov eax, dword [ebp - 0xd2c]
add eax, 4
push eax
call fcn.00410bbe
cmp eax, edi
pop ecx
jne 0x408a35
xor ecx, ecx
call fcn.00407f6e
test eax, eax
lea eax, [ebp - 0x218]
je 0x408a2e
push 0x422d54
jmp 0x408ab1
push 0x422d50
jmp 0x408ab1
cmp eax, 2
jne 0x408aa6
push esi
xor ecx, ecx
lea ebx, [ebp + 0x10]
call fcn.00407e0d
pop ecx
mov dword [ebp - 4], 3
mov edi, dword [ebp + 0x10]
cmp dword [edi - 0xc], esi
jne 0x408a6a
lea eax, [ebp - 0x218]
push 0x422d4c
push eax
call fcn.0040f420
pop ecx
pop ecx
jmp 0x408a98
push 0x429f10
lea eax, [ebp + 0x10]
push eax
call fcn.00404e83
mov edi, dword [ebp + 0x10]
push esi
push esi
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0xffffffffffffffff
push edi
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
or dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
call fcn.00402528
jmp 0x408ab9
push 0x422d4c
lea eax, [ebp - 0x218]
push eax
call fcn.0040f420
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
call fcn.0041128c
lea eax, [ebp - 0x218]
push eax
push str._f_return_S_n
call fcn.0040b1f8
add esp, 0xc
jmp 0x4088c7
call fcn.0040cb6e
push str.LVLV_221.EXE
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x72
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x408b0a
push ebx
call fcn.004080b9
pop ecx
mov eax, edi
jmp 0x4095b3
push dword [0x428ff8]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x429fd8
lea eax, [ebp - 0x420]
push eax
call edi
cmp dword [0x42a460], esi
je 0x408b6c
push 0x422d28
lea eax, [ebp - 0x420]
push eax
call edi
push 0xa
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x420]
push eax
push dword [0x42a460]
call fcn.00410df9
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x408b99
cmp ebx, esi
mov dword [ebp - 0xd30], 1
jne 0x408b9f
mov dword [ebp - 0xd30], esi
push dword [ebp - 0xd30]
push str.bExistMutex_d_n
call fcn.0040b1f8
cmp dword [ebp - 0xd30], esi
pop ecx
pop ecx
je 0x408c0c
call fcn.0040832f
test al, al
jne 0x408c0c
mov ebx, dword [ebp + 0x10]
push 0x69
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x408c0c
cmp ebx, esi
je 0x408c06
cmp word [ebx], si
je 0x408c06
push 0x71
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x408bfc
push 0x72
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x4088c7
call fcn.0040cb8c
jmp 0x4088c7
push ebx
jmp 0x409395
mov ebx, dword [ebp + 0x10]
push 0x71
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x408c51
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.004054a0
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], esi
pop ecx
pop ecx
je 0x408c3f
push esi
call fcn.0040d1b7
cmp eax, 2
je 0x408c3f
xor esi, esi
inc esi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00402528
mov eax, esi
jmp 0x4095b3
mov ebx, dword [ebp + 0x10]
push 0x67
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x408cec
push 0x20
push ebx
call fcn.00410b3d
pop ecx
pop ecx
mov ebx, eax
jmp 0x408c76
inc ebx
inc ebx
cmp word [ebx], 0x20
je 0x408c74
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0xd74]
mov ecx, ebx
call fcn.004035d3
mov dword [ebp + 0x10], eax
push ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..CRC
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
push 0x422cf4
push eax
call fcn.00411389
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
je 0x4088c7
push dword [ebp - 0xd60]
push dword [ebp + 0x10]
push ebx
push str._s_u_u60000000
push edi
call fcn.0041139c
push edi
call fcn.00411446
add esp, 0x18
jmp 0x4088c7
mov ebx, dword [ebp + 0x10]
push 0x6a
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x408d10
push esi
push dword [ebp + 8]
push 2
pop ecx
call fcn.0040e885
pop ecx
pop ecx
jmp 0x4095b3
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
push str._______Self_Program_s_n
call fcn.0040b1f8
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xd28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..DEL
lea eax, [ebp - 0xd28]
push eax
call edi
lea eax, [ebp - 0xd28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0040dfc3
mov ebx, dword [ebp + 0x10]
push 0x69
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x408f1c
push esi
push str.C:TEMP
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push esi
push esi
push str.ForbidInstallIfFullVerExist
mov edi, 0x422d58
push edi
call fcn.004085f6
add esp, 0x14
cmp eax, 1
jne 0x408e24
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x918]
push eax
push esi
call fcn.0040c201
test eax, eax
je 0x408e24
lea eax, [ebp - 0x918]
push eax
call fcn.0040c17b
test eax, eax
pop ecx
je 0x408e24
push ebx
lea eax, [ebp - 0x6f0]
push eax
push 1
push str.MsgTextForbidInstall
push edi
call fcn.004085f6
push ebx
lea eax, [ebp - 0x218]
push eax
push 1
push str.MsgTtitleForbidInstall
push edi
call fcn.004085f6
add esp, 0x28
push 0x10
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x6f0]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 5
push str.uninst.exe__u
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x4088c7
lea eax, [ebp - 0x420]
push eax
push str.CheckAndRun_SetRegister_:_s_n
call fcn.0040b1f8
pop ecx
pop ecx
call fcn.0040e177
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.00410545
cmp eax, esi
pop ecx
pop ecx
je 0x408e54
mov word [eax + 2], si
lea esi, [ebp - 0x420]
call fcn.0040c65f
lea eax, [ebp - 0xd2c]
push 1
push eax
call fcn.004054a0
pop ecx
pop ecx
mov dword [ebp - 4], 4
push dword [0x429018]
lea eax, [ebp - 0xd2c]
push eax
call fcn.00404e83
push dword [ebp - 0xd2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
lea eax, [ebp - 0xd34]
push esi
push eax
call fcn.004054a0
pop ecx
pop ecx
lea edi, [ebp - 0xd2c]
mov byte [ebp - 4], 5
call fcn.00404d7f
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xd34]
add eax, 0xfffffff0
call fcn.00402528
push dword [0x429018]
mov eax, edi
push eax
call fcn.00404e83
push dword [ebp - 0xd2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [0x429000]
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp dword [ebp - 0xd30], esi
je 0x408f08
mov eax, dword [ebp - 0xd2c]
add eax, 0xfffffff0
call fcn.00402528
jmp 0x4088c7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd2c]
add eax, 0xfffffff0
call fcn.00402528
xor esi, esi
mov edi, dword [ebp + 0x10]
cmp edi, esi
je 0x408f34
cmp word [edi], si
je 0x408f34
push 0x73
xor ecx, ecx
mov ebx, edi
call fcn.00407d3d
pop ecx
push 1
mov ebx, 0x42a678
push ebx
call fcn.004047bc
movzx eax, al
push eax
push str.nExistInstall_d_n
mov dword [ebp - 0xd2c], eax
call fcn.0040b1f8
cmp dword [ebp - 0xd2c], esi
pop ecx
pop ecx
jne 0x408f6f
push esi
push ebx
call fcn.004047bc
movzx eax, al
mov dword [ebp - 0xd2c], eax
push dword [ebp - 0xd2c]
push str.nExistLocalUpdateFile_d_n
call fcn.0040b1f8
mov eax, dword [0x42a460]
xor ebx, ebx
inc ebx
cmp dword [ebp - 0xd2c], ebx
pop ecx
pop ecx
jne 0x40903e
cmp eax, 0xffffffff
je 0x40932d
cmp eax, ebx
je 0x409388
call fcn.0040c3bc
test eax, eax
jg 0x408fdc
push 0x63
xor ecx, ecx
mov ebx, edi
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x408fdc
call fcn.0040832f
test al, al
jne 0x408fdc
push 0x61
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x4088c7
jmp 0x409057
call fcn.00408397
push 0x104
lea esi, [ebp - 0x6f0]
call fcn.0040c36c
test eax, eax
je 0x40939f
mov eax, esi
push eax
push dword [ebp + 8]
push 3
pop ecx
call fcn.0040e885
test eax, eax
pop ecx
pop ecx
jg 0x4088c7
mov ebx, dword [ebp + 0x10]
push 0x63
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x4088c7
push 0x61
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x4088c7
xor esi, esi
mov edi, ebx
jmp 0x409057
cmp eax, esi
jle 0x40904c
push 2
pop ebx
call fcn.00408501
jmp 0x409057
cmp eax, 0xffffffff
jne 0x409057
mov dword [0x42a460], ebx
push 0x63
xor ecx, ecx
mov ebx, edi
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x4091be
push 0x61
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x4091be
push 0x71
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x4091be
push 0x73
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
jne 0x4090a6
cmp word [edi], si
jne 0x409156
push esi
call fcn.0040d8e3
test eax, eax
jne 0x409156
push 0x104
lea eax, [ebp - 0x918]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x918]
push 0x5c
push eax
call fcn.00410545
cmp eax, esi
pop ecx
pop ecx
je 0x409156
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str._appdataconfAutoLogin.ini
push eax
call ebx
lea eax, [ebp - 0x918]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
push str.AUTO_LOGIN_GIDs
push str.GENERAL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
push str.AutoLogin.ini_s_n
call fcn.0040b1f8
cmp word [ebp - 0x218], si
pop ecx
pop ecx
je 0x409156
lea eax, [ebp - 0x218]
cmp word [eax], 0x2c
jne 0x40913a
mov word [eax], 0x20
inc eax
inc eax
cmp word [eax], si
jne 0x40912f
push 0x422a60
push edi
call ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [edi + 6]
push eax
call ebx
push 0x4c
xor ecx, ecx
mov ebx, edi
call fcn.00407d3d
test eax, eax
pop ecx
je 0x4092a6
mov esi, 0x422a58
lea edi, [ebp - 0x4e8]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x30
pop ecx
xor eax, eax
lea edi, [ebp - 0x4e2]
rep stosd dword es:[edi], eax
push 0x20
push dword [ebp + 0x10]
stosw word es:[edi], ax
call fcn.00410b3d
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x409244
xor esi, esi
call fcn.0040c3bc
push eax
push str.GetLastCheckDiff_d_n
call fcn.0040b1f8
pop ecx
pop ecx
call fcn.0040c3bc
test eax, eax
jle 0x4088c7
cmp dword [ebp - 0xd2c], 1
je 0x4088c7
mov ebx, dword [ebp + 0x10]
push 0x63
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x4091ec
push 0x14
pop eax
cmp dword [0x428f9c], eax
jle 0x4091ec
mov dword [0x428f9c], eax
push esi
push 0x42a678
call fcn.00405a09
cmp eax, esi
jge 0x4092f5
push 0x63
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x409216
push esi
push 0x6a
push esi
call fcn.0040b5fc
push str.Network_is_disconnect._n
call fcn.0040b1f8
pop ecx
push esi
push 0x42a678
call fcn.004047bc
movzx eax, al
cmp eax, esi
mov dword [ebp - 0xd2c], eax
je 0x4088c7
jmp 0x409325
inc esi
inc esi
cmp word [esi], 0x20
je 0x409242
push 0x20
push esi
call fcn.00410b3d
mov edi, eax
mov ax, word [esi]
cmp ax, 0x2f
pop ecx
pop ecx
je 0x40929b
cmp ax, 0x2d
je 0x40929b
test edi, edi
jne 0x409279
push esi
lea eax, [ebp - 0x4e4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x40928f
mov eax, edi
sub eax, esi
sar eax, 1
inc eax
push eax
push esi
lea eax, [ebp - 0x4e4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x4e8]
push eax
call fcn.004098aa
test edi, edi
mov esi, edi
jne 0x409244
jmp 0x40919d
push edi
call fcn.004098aa
test eax, eax
je 0x4092c4
push 0x64
xor ecx, ecx
mov ebx, edi
call fcn.00407d3d
test eax, eax
pop ecx
je 0x40919f
cmp dword [ebp - 0xd30], esi
jne 0x4088c7
push 0x104
lea esi, [ebp - 0x6f0]
call fcn.0040c36c
test eax, eax
je 0x4093af
call fcn.00408397
mov eax, esi
push eax
jmp 0x4093b1
je 0x4093b9
push eax
push str.nUpdateFiles_d_n
call fcn.0040b1f8
pop ecx
pop ecx
push esi
mov ebx, 0x42a678
push ebx
call fcn.004047bc
movzx eax, al
cmp eax, esi
mov dword [ebp - 0xd2c], eax
je 0x4093e0
mov edi, dword [ebp + 0x10]
jmp 0x408f6f
mov eax, dword [0x42a67c]
mov eax, dword [eax]
push dword [eax + 0x38]
push str.g_nMiniType___1_g_FileList_s_n
call fcn.0040b1f8
pop ecx
pop ecx
push str.llsetup.ini
push esi
push str.AskUser
push str.FullVersion
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
jne 0x409373
mov eax, dword [0x42a67c]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
xor edi, edi
call fcn.0040d7dc
jmp 0x4088c7
push esi
call fcn.0040d1b7
cmp eax, ebx
jne 0x4088c7
push 4
jmp 0x409458
xor ebx, ebx
inc ebx
call fcn.00408501
push 0x420b70
call fcn.004098aa
jmp 0x4088c7
push 0
push dword [ebp + 8]
push 2
pop ecx
call fcn.0040e885
pop ecx
jmp 0x4093da
push 0
push dword [ebp + 8]
xor ecx, ecx
inc ecx
jmp 0x4093a7
push 0x63
xor ecx, ecx
call fcn.00407d3d
test eax, eax
pop ecx
je 0x4093d0
push esi
push 0x74
push esi
call fcn.0040b5fc
push str.Need_not_update._n
call fcn.0040b1f8
pop ecx
jmp 0x4088c7
mov eax, dword [ebp + 8]
call fcn.00409bcc
mov ecx, dword [ebp + 8]
call fcn.004099b5
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x409412
lea eax, [ebp - 0xd50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xd50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
lea eax, [ebp - 0xd50]
push esi
push eax
call edi
test eax, eax
jne 0x4093f8
movzx eax, byte [0x42a688]
push eax
push str.After_Main_message_loop._n
call fcn.0040b1f8
pop ecx
pop ecx
push ebx
call fcn.00403edf
cmp eax, 0x64
jne 0x4088c7
push esi
mov ecx, ebx
call fcn.00404615
cmp dword [0x42a460], 1
jne 0x409463
push 9
pop ebx
call fcn.00408501
jmp 0x4088c7
push 0x104
lea eax, [ebp - 0xb20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xb20]
push 0x5c
push eax
call fcn.00410545
mov ebx, eax
inc ebx
inc ebx
pop ecx
pop ecx
mov word [ebx], si
xor edi, edi
push dword [edi + 0x429024]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xb20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add edi, 4
cmp edi, 0xc
jb 0x40948f
mov word [ebx], si
mov eax, dword [0x42a67c]
cmp eax, esi
jne 0x4094c2
mov dword [ebp + 0x10], esi
jmp 0x4094d0
mov ecx, dword [0x42a680]
sub ecx, eax
sar ecx, 2
mov dword [ebp + 0x10], ecx
xor ebx, ebx
cmp dword [ebp + 0x10], esi
jle 0x40959d
jmp 0x4094e2
mov eax, dword [0x42a67c]
mov edi, ebx
shl edi, 2
add eax, edi
mov eax, dword [eax]
lea ecx, [ebp - 0xb20]
push ecx
push dword [eax + 0x38]
push str.Find_whatsnew.exe__RunSfxSetup__s_at__s._n
call fcn.0040b1f8
mov eax, dword [0x42a67c]
add eax, edi
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
push str.whatsnew
push eax
call fcn.00410ee1
add esp, 0x14
test eax, eax
je 0x409593
mov eax, dword [0x42a67c]
add eax, edi
mov eax, dword [eax]
push dword [eax + 0x38]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x42a67c]
lea ecx, [ebp + 8]
add eax, edi
mov eax, dword [eax]
push ecx
push 4
add eax, 0x38
pop ecx
call fcn.00404ccf
push dword [eax]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00402528
mov eax, dword [0x42a67c]
push esi
add eax, edi
mov eax, dword [eax]
lea ecx, [ebp - 0x420]
push ecx
push dword [eax + 0x38]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edi, [ebp - 0xb20]
lea eax, [ebp - 0x420]
call fcn.0040d7dc
inc ebx
cmp ebx, dword [ebp + 0x10]
jl 0x4094dd
push str._tWinMain_will_RunCloneUpdate._n
call fcn.0040b1f8
pop ecx
call fcn.00408397
mov eax, dword [ebp - 0xd48]
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.004120cb
leave
ret 0x10