Function at 0x423be0
Capabilities:
Accept command line arguments
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fca4
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x5714dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x630], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x640]
mov dword [ebp - 0x640], 8
push eax
mov dword [ebp - 0x63c], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a7250
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x5331dc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00417180
mov ecx, eax
test ecx, ecx
je 0x42496a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x644], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x644]
call fcn.00404640
test al, al
jne 0x423cf2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423cd0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x644]
call fcn.00405a30
lea eax, [ebp - 0x644]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x57c9e0
call fcn.0043aaf0
mov edx, dword [ebp - 0x644]
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423d31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x575fd4], eax
call fcn.004389f0
push 0x533204
push 0
call fcn.004c6b1c
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x533208
call fcn.0043af60
add esp, 8
mov ecx, 0x579fd8
push 0
push dword [0x575ee0]
push 0
call fcn.00423700
lea ecx, [ebp - 0x658]
call fcn.00406de0
mov dword [ebp - 4], 2
call fcn.00423530
mov ecx, eax
call fcn.00467210
mov eax, dword [0x57a07c]
test al, 1
jne 0x423dc6
or eax, 1
mov dword [0x57a07c], eax
mov ecx, 0x57a078
mov byte [ebp - 4], 3
call fcn.00431ac0
push 0x52bcf0
call fcn.00478034
add esp, 4
mov byte [ebp - 4], 2
mov ecx, 0x57a078
call fcn.00431b10
push ebx
call fcn.00423470
mov ecx, eax
call fcn.00417a60
push ebx
push str.lpstrCmdLine_s
call fcn.0043af60
add esp, 8
call fcn.00423470
mov ecx, eax
call fcn.00417670
push eax
call fcn.004235f0
mov ecx, eax
call fcn.0040e5a0
push str.install
call fcn.004235f0
mov ecx, eax
call fcn.0040e610
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004a7250
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push dword [0x575ee0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
call fcn.004235f0
mov ecx, eax
call fcn.0040e510
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x63c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.inst_start
mov byte [ebp - 4], 4
call fcn.004235f0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e200
call fcn.00423470
mov ecx, eax
call fcn.00419120
mov ebx, eax
call fcn.004389f0
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx]
test eax, eax
jne 0x423f05
mov ecx, dword [edi]
lea eax, [ebp - 0x628]
push eax
push str.DLL_NETUL
push 0xcc
push dword [0x575ee0]
push edi
call dword [ecx + 8]
test eax, eax
jne 0x423ed3
push str.InitCloudConfig_failed.
call fcn.0043af60
add esp, 4
jmp 0x423f05
push str.InitCloudConfig_success.
call fcn.0043af60
lea eax, [ebp - 0x628]
mov dword [ebp - 0x63c], esp
mov ecx, esp
push eax
call fcn.00404310
mov byte [ebp - 4], 5
call fcn.00423470
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00417990
cmp dword [0x575ee0], 0
jne 0x423f16
test ebx, ebx
jne 0x423f16
xor eax, eax
jmp 0x423f1b
mov eax, 1
push eax
call fcn.00430f30
cmp dword [0x570224], 0
je 0x423fc6
push str.ntdll.dll
mov dword [ebp - 0x63c], 0
xor ebx, ebx
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x634], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x423fbc
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x423f98
lea ecx, [ebp - 0x634]
push ecx
lea ecx, [ebp - 0x644]
push ecx
lea ecx, [ebp - 0x63c]
push ecx
call eax
movzx eax, word [ebp - 0x634]
mov ebx, 1
mov dword [ebp - 0x634], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x423fbc
mov eax, dword [0x57a080]
mov ecx, 1
cmp dword [ebp - 0x63c], 6
cmovae eax, ecx
mov dword [0x57a080], eax
mov dword [0x570224], 0
cmp dword [0x57a080], 0
jne 0x424236
push str.xp_sp2
call fcn.0043af60
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x630], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.inst_low_ver
mov byte [ebp - 4], 6
call fcn.004235f0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e200
push 0
push 0x52ed34
push 0x533294
push 0x5332c8
push 0
call fcn.00430f40
xor ebx, ebx
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x630], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.fault
mov byte [ebp - 4], 0x27
call fcn.004235f0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e200
mov eax, dword [0x57a07c]
test al, 1
jne 0x424085
or eax, 1
mov dword [0x57a07c], eax
mov ecx, 0x57a078
mov byte [ebp - 4], 0x28
call fcn.00431ac0
push 0x52bcf0
call fcn.00478034
add esp, 4
mov byte [ebp - 4], 2
mov ecx, 0x57a078
call fcn.00432150
call fcn.00423530
mov ecx, eax
call fcn.00467380
call fcn.00439490
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x630], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.install_end
mov byte [ebp - 4], 0x29
call fcn.004235f0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e200
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x57a014
call fcn.00407b30
mov edi, dword [0x575f04]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x57a010]
test esi, esi
je 0x424146
cmp dword [esi + 4], 0
jle 0x424114
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x57a010]
test esi, esi
je 0x424146
mov eax, dword [esi]
test eax, eax
je 0x42412d
push eax
call fcn.004c3dd3
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00477c39
add esp, 8
push edi
mov dword [0x57a010], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x57a00c]
test esi, esi
je 0x42419f
mov eax, dword [esi]
test eax, eax
je 0x424176
push eax
call fcn.004c3dd3
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42418d
push eax
call fcn.004c3dd3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.00477c39
add esp, 8
mov esi, dword [0x57a004]
test esi, esi
je 0x4241d3
cmp dword [esi], 0
je 0x4241d3
nop
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4241bd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x4241b0
mov esi, dword [0x575f70]
mov ecx, dword [0x575f74]
cmp esi, ecx
jae 0x4241fd
mov eax, dword [esi]
test eax, eax
je 0x4241f6
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x575f74]
add esi, 4
cmp esi, ecx
jb 0x4241e3
mov ecx, 0x579fd8
call fcn.00426e40
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x658]
call fcn.00406e20
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477c28
mov esp, ebp
pop ebp
ret
mov ecx, 0x57a014
call fcn.00407510
test eax, eax
jne 0x42428e
push str.CheckSingleInstance_failed__exit
call fcn.0043af60
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x630], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.inst_running
mov byte [ebp - 4], 7
call fcn.004235f0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e200
push 0
push 0x52ed34
push 0x533338
jmp 0x424018
call fcn.00417180
mov ecx, eax
test ecx, ecx
je 0x424974
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64c], eax
lea eax, [ebp - 0x64c]
mov byte [ebp - 4], 8
push eax
call fcn.00422910
add esp, 4
test eax, eax
jg 0x424333
jns 0x424333
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x630], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.old_ver
mov byte [ebp - 4], 9
call fcn.004235f0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040e200
push 0
push 0x52ed34
push 0x533364
push 0x5332c8
push 0
call fcn.00430f40
mov edx, dword [ebp - 0x64c]
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424024
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424024
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x63c], esp
mov dword [eax + 0x24], 0
mov byte [ebp - 0x629], 0
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0xb
push eax
call fcn.00454916
lea eax, [ebp - 0x638]
mov dword [ebp - 0x648], eax
lea eax, [ebp - 0x629]
mov dword [ebp - 0x644], eax
lea eax, [ebp - 0x648]
push eax
push 0x420780
push 0x57a058
call fcn.00455151
add esp, 0x10
test eax, eax
je 0x42494e
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0xd
push eax
call fcn.00454950
mov ecx, dword [0x57a054]
add esp, 4
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 8
push 0
push 0
push str.execute
call fcn.0040e200
mov byte [ebp - 0x629], 0
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 0x10
push eax
call fcn.00454916
lea eax, [ebp - 0x640]
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x629]
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x638]
push eax
push 0x420850
push 0x57a070
call fcn.00455151
add esp, 0x10
test eax, eax
je 0x424926
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 0x12
push eax
call fcn.00454950
mov ecx, dword [0x57a06c]
add esp, 4
mov byte [ebp - 4], 8
call fcn.00419120
test eax, eax
je 0x4246b1
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a7250
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x575ee0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00417180
mov ecx, eax
test ecx, ecx
je 0x42497e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x644], eax
mov byte [ebp - 4], 0x15
call fcn.00417180
mov ecx, eax
test ecx, ecx
je 0x424988
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x634]
call fcn.00404640
test al, al
jne 0x4244f2
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4244d0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x634]
call fcn.00405a30
lea eax, [ebp - 0x644]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x634]
push eax
call fcn.00416a90
mov edx, dword [ebp - 0x634]
add esp, 8
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42452d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x629], 0
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0x18
push eax
call fcn.00454916
lea eax, [ebp - 0x638]
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x629]
mov dword [ebp - 0x650], eax
lea eax, [ebp - 0x654]
push eax
push 0x420850
push 0x57a070
call fcn.00455151
add esp, 0x10
test eax, eax
je 0x42471f
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00454950
mov ecx, dword [0x57a06c]
add esp, 4
mov byte [ebp - 4], 0x15
call fcn.00417670
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404780
add eax, 0x10
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x644]
mov byte [ebp - 4], 0x1d
push eax
push eax
lea eax, [ebp - 0x63c]
push eax
call fcn.004358a0
add esp, 0x10
test eax, eax
jne 0x42466f
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x630], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.inst_frequency_limit
mov byte [ebp - 4], 0x1e
call fcn.004235f0
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.0040e200
mov edx, dword [ebp - 0x63c]
mov eax, esi
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424626
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x644]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424647
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64c]
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424024
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424024
mov edx, dword [ebp - 0x63c]
mov eax, esi
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424690
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x644]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4246b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004238f0
test eax, eax
jne 0x424743
mov ecx, 0x57a014
call fcn.00407b30
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x630], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.fail_init
mov byte [ebp - 4], 0x1f
call fcn.004235f0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040e200
mov edx, dword [ebp - 0x64c]
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424024
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424024
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00454992
add esp, 4
mov byte [ebp - 4], 0x19
test al, al
je 0x4249a8
jmp 0x424992
call fcn.004389f0
mov edi, eax
push str.SETUPDATA
push 0xd7
push dword [0x575ee0]
mov ecx, dword [edi]
push edi
call dword [ecx + 0x10]
test eax, eax
jne 0x42476b
push str.InitPackInfo_failed__exit
jmp 0x4247a0
push str.InitPackInfo_success
call fcn.0043af60
mov eax, dword [edi]
add esp, 4
push str.bizhi.ldsprj
push str.SETUPCONFIG
push 0xd5
push dword [0x575ee0]
push edi
call dword [eax + 0xc]
test eax, eax
jne 0x424834
push str.InitConfig_failed__exit
call fcn.0043af60
add esp, 4
push 4
push 0x52ed34
push 0x532e80
push 0x532ea0
push 0
call fcn.00430f40
cmp eax, 6
jne 0x4247dd
push 1
push 0
push 0
push str.http:__www.diskclean.cn
push 0x52f554
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x630], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.install_file_fail
mov byte [ebp - 4], 0x20
call fcn.004235f0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040e200
mov edx, dword [ebp - 0x64c]
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424024
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424024
push str.InitConfig_success
call fcn.0043af60
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x63c], esp
mov dword [eax + 0x24], 0
mov byte [ebp - 0x629], 0
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0x22
push eax
call fcn.00454916
lea eax, [ebp - 0x638]
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x629]
mov dword [ebp - 0x650], eax
lea eax, [ebp - 0x654]
push eax
push 0x420780
push 0x57a058
call fcn.00455151
add esp, 0x10
test eax, eax
je 0x42490a
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0x24
push eax
call fcn.00454950
mov ecx, dword [0x57a054]
add esp, 4
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 8
push 0
push 0
push str.go_install
call fcn.0040e200
push dword [ebp + 0x14]
push dword [ebp - 0x630]
call fcn.00426630
mov edx, dword [ebp - 0x64c]
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4248fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x424055
jmp 0x424026
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0x25
push eax
call fcn.00454992
add esp, 4
mov byte [ebp - 4], 0x23
jmp 0x424736
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 0x13
push eax
call fcn.00454992
add esp, 4
mov byte [ebp - 4], 0x11
test al, al
je 0x4249a8
sub esp, 8
lea eax, [ebp - 0x640]
mov ecx, esp
jmp 0x42499d
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 0xe
push eax
call fcn.00454992
add esp, 4
mov byte [ebp - 4], 0xc
jmp 0x424736
push 0x80004005
call fcn.00404620
push 0x80004005
call fcn.00404620
push 0x80004005
call fcn.00404620
push 0x80004005
call fcn.00404620
sub esp, 8
lea eax, [ebp - 0x638]
mov ecx, esp
push eax
call fcn.00416640
call fcn.0041a6e0
call fcn.00455248
int3