Function at 0x429a80
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c077
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x12c]
push eax
mov edi, ecx
call fcn.00402ec2
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040632c
add esp, 4
push str.installer::change_name_and_reboot_move
lea ecx, [ebp - 0x74]
call fcn.0040258f
push str.Installer.cpp
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040258f
lea edx, [ebp - 0x90]
mov bl, 2
push edx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], bl
call fcn.00402f86
push eax
lea eax, [ebp - 0x74]
push eax
push 0x19b
lea ecx, [ebp - 0x58]
push ecx
push 1
push ecx
mov byte [ebp - 4], 3
call fcn.00439dc3
add esp, 4
push eax
call fcn.0043a160
lea esi, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.004026c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004025cc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.004025cc
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 0xffffffff
call fcn.00402f43
lea ecx, [ebp - 0xdc]
call fcn.004029cc
cmp byte [ebp + 8], 0
je 0x429dd1
lea eax, [ebp - 0x58]
call fcn.0040264e
push 4
push str..tmp
xor eax, eax
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.004040bb
cmp eax, 0xffffffff
jne 0x429d97
lea edx, [ebp - 0x74]
push str..tmp
push edx
mov ebx, edi
call fcn.0040680b
mov ebx, eax
mov byte [ebp - 4], 5
call fcn.0042a980
mov esi, eax
call fcn.0044da86
xor ecx, ecx
push 0xa
push 0x14
lea edx, [ebp - 0x3c]
push edx
push eax
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x3a], ecx
mov dword [ebp - 0x36], ecx
mov dword [ebp - 0x32], ecx
mov dword [ebp - 0x2e], ecx
mov dword [ebp - 0x2a], ecx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov word [ebp - 0x16], cx
call fcn.0044db86
lea eax, [ebp - 0x3c]
add esp, 0x18
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429c00
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x3c]
call fcn.00404017
lea eax, [ebp - 0x90]
push esi
push eax
mov ecx, ebx
call fcn.0040d1e0
add esp, 8
mov esi, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
mov ebx, 7
cmp ecx, esi
je 0x429ca0
cmp dword [ebp - 0x44], 8
jb 0x429c4d
mov edx, dword [ebp - 0x58]
push edx
call fcn.0044cdbc
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp dword [esi + 0x14], 8
jae 0x429c7a
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x58]
push esi
push edx
call fcn.0044cf60
add esp, 0xc
jmp 0x429c85
mov eax, dword [esi]
mov dword [ebp - 0x58], eax
mov dword [esi], 0
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x48], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x44], edx
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov word [esi], ax
lea esi, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.004026c0
lea esi, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004026c0
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00402ec2
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0040632c
add esp, 4
push str.installer::change_name_and_reboot_move
lea ecx, [ebp - 0x90]
call fcn.0040258f
push str.Installer.cpp
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call fcn.0040258f
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 9
call fcn.00402f86
push eax
lea ecx, [ebp - 0x90]
push ecx
push 0x1a2
lea edx, [ebp - 0x74]
push edx
push 1
push ecx
mov byte [ebp - 4], 0xa
call fcn.00439dc3
add esp, 4
push eax
call fcn.0043a160
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.004026c0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call fcn.004025cc
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.004025cc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.00402f43
lea ecx, [ebp - 0xdc]
call fcn.004029cc
mov eax, dword [ebp - 0x58]
mov esi, 8
cmp dword [ebp - 0x44], esi
jae 0x429d86
lea eax, [ebp - 0x58]
cmp dword [edi + 0x14], esi
jb 0x429d8d
mov edi, dword [edi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x429daa
push 0xffffffffffffffff
push 0
mov eax, edi
lea ecx, [ebp - 0x58]
call fcn.00403f7d
mov esi, 8
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x44], esi
jae 0x429db5
lea eax, [ebp - 0x58]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea esi, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.004026c0
jmp 0x429de4
cmp dword [edi + 0x14], 8
jb 0x429dd9
mov edi, dword [edi]
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret 4