Function at 0x411a87
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 1
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x411ab8
mov eax, dword [eax + 8]
sub eax, ecx
mov ecx, 0x420
cdq
idiv ecx
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x411abf
xor eax, eax
jmp 0x411f0d
and dword [ebp - 4], 0
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
test eax, eax
push edi
jbe 0x411b82
and dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 8]
and word [ebp - 0x224], 0
mov ecx, 0x81
add esi, dword [eax + 4]
xor eax, eax
lea edi, [ebp - 0x222]
push str..movjz.new
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x208]
push eax
push str._s_s
lea eax, [ebp - 0x224]
push 0x103
push eax
call ebx
lea eax, [ebp - 0x224]
push eax
call fcn.00401a3c
add esp, 0x18
xor edi, edi
cmp dword [esi + 0x410], edi
lea eax, [ebp - 0x224]
push 1
push eax
push esi
je 0x411b52
call fcn.004018da
add esp, 0xc
test eax, eax
jne 0x411b62
lea eax, [ebp - 0x224]
push 1
push eax
push esi
call fcn.004016c4
add esp, 0xc
test eax, eax
je 0x411c9a
inc dword [ebp - 4]
add dword [ebp - 8], 0x420
mov eax, dword [ebp - 4]
mov dword [esi + 0x418], 1
cmp eax, dword [ebp - 0x10]
jb 0x411ad8
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], str.hao123Juzi.exe
mov dword [ebp - 0x18], str.Uninst.exe
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x411b9f
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x1c]
push 2
push ecx
push eax
mov ecx, esi
call fcn.0041159d
test eax, eax
je 0x411bcf
push 0x7d0
lea eax, [ebp - 0x1c]
push 2
push eax
mov ecx, esi
call fcn.004115f2
call fcn.0040e378
mov dword [eax + 0xc], 0x71
mov eax, dword [ebp - 0x10]
dec eax
mov esi, eax
test esi, esi
mov dword [ebp - 4], esi
jl 0x411cc3
imul esi, esi, 0x420
mov dword [ebp - 8], esi
mov eax, dword [ebp + 8]
add esi, dword [eax + 4]
lea eax, [esi + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411c7f
and word [ebp - 0x224], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x208]
push str..movjz.bak
push eax
push str._s_s
lea eax, [ebp - 0x224]
push 0x103
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411c5d
lea eax, [ebp - 0x224]
push eax
call fcn.00401a3c
test eax, eax
pop ecx
je 0x411cae
push 1
lea eax, [ebp - 0x224]
pop edi
push edi
push eax
lea eax, [esi + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x411cae
mov dword [esi + 0x414], edi
mov esi, dword [ebp - 8]
dec dword [ebp - 4]
sub esi, 0x420
cmp dword [ebp - 4], 0
mov dword [ebp - 8], esi
jge 0x411be9
jmp 0x411cc3
mov dword [ebp - 0xc], edi
call fcn.0040e378
mov dword [eax + 0xc], 0x6c
jmp 0x411ddd
and dword [ebp - 0xc], 0
call fcn.0040e378
mov dword [eax + 0xc], 0x65
jmp 0x411ddd
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
mov dword [ebp - 8], eax
jl 0x411d55
mov esi, eax
imul esi, esi, 0x420
mov dword [ebp - 4], esi
jmp 0x411ce2
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
and word [ebp - 0x224], 0
mov ecx, 0x81
lea edi, [ebp - 0x222]
add esi, dword [eax + 4]
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esi + 0x208]
push str..movjz.new
push edi
push str._s_s
lea eax, [ebp - 0x224]
push 0x103
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x224]
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x411dcd
dec dword [ebp - 8]
sub dword [ebp - 4], 0x420
cmp dword [ebp - 8], 0
mov dword [esi + 0x41c], 1
jge 0x411cdf
mov eax, dword [ebp - 0x10]
test eax, eax
jbe 0x411f07
xor esi, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, esi
add edx, dword [eax + 4]
cmp dword [edx + 0x414], 0
je 0x411dbd
and word [ebp - 0x224], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
add edx, 0x208
push str..movjz.bak
stosw word es:[edi], ax
push edx
push str._s_s
lea eax, [ebp - 0x224]
push 0x103
push eax
call ebx
lea eax, [ebp - 0x224]
push eax
call fcn.00401a3c
add esp, 0x18
add esi, 0x420
dec dword [ebp - 4]
jne 0x411d65
jmp 0x411f07
and dword [ebp - 0xc], 0
call fcn.0040e378
mov dword [eax + 0xc], 0x72
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x411ede
mov esi, eax
imul esi, esi, 0x420
inc eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add esi, dword [eax + 4]
xor eax, eax
cmp dword [esi + 0x41c], eax
je 0x411e17
lea eax, [esi + 0x208]
push eax
call fcn.00401a3c
pop ecx
jmp 0x411e65
cmp dword [esi + 0x418], eax
je 0x411e65
mov word [ebp - 0x224], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x208]
push str..movjz.new
push eax
push str._s_s
lea eax, [ebp - 0x224]
push 0x103
push eax
call ebx
lea eax, [ebp - 0x224]
push eax
call fcn.00401a3c
add esp, 0x18
cmp dword [esi + 0x414], 0
je 0x411ec9
and word [ebp - 0x42c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x42a]
rep stosd dword es:[edi], eax
add esi, 0x208
push str..movjz.bak
stosw word es:[edi], ax
push esi
push str._s_s
lea eax, [ebp - 0x42c]
push 0x103
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x42c]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x411ec9
call fcn.0040e378
mov dword [eax + 0xc], 0x6d
mov esi, dword [ebp - 4]
sub esi, 0x420
dec dword [ebp - 8]
mov dword [ebp - 4], esi
jne 0x411df8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x8c]
test eax, eax
jne 0x411ef0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411f07
call fcn.0040e378
mov dword [eax + 0xc], 0x73
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4