Function at 0x4537f0
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4c6370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4f5b3c]
push ebx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov eax, dword [0x4ff9a8]
mov bl, 6
test eax, eax
mov byte [esp + 0x3c], bl
jne 0x453bc8
mov eax, dword [0x4fef80]
test eax, eax
jne 0x45385c
mov eax, dword [0x4fef7c]
test eax, eax
jne 0x453bc8
push str.inst32.exe
lea eax, [esp + 0x24]
push 0x4ff34c
push eax
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x40], 7
call fcn.004a9d5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.004a9c1f
push 0x4fef08
lea ecx, [esp + 0x24]
push 0x4ff318
push ecx
call fcn.004a9e02
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x40], 8
call fcn.004a9d5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.004a9c1f
push 0
lea ecx, [esp + 0x14]
call fcn.00434b80
test eax, eax
jne 0x453901
push 0x4fef08
lea edx, [esp + 0x24]
push 0x4ff34c
push edx
call fcn.004a9e02
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x40], 9
call fcn.004a9d5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.004a9c1f
mov ecx, 0x4ff318
call fcn.00434be0
test eax, eax
jne 0x45391b
push 1
mov ecx, 0x4ff318
call fcn.00434500
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push eax
push ecx
call edi
test eax, eax
jne 0x45395e
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x1c]
push str.InitUnstallFile:_ERROR.__Unable_to_copy_installer__s_to__s
push ecx
call fcn.004a768f
lea edx, [esp + 0x24]
push edx
call fcn.0045db50
add esp, 0x14
jmp 0x453ac3
mov eax, dword [0x4ffaf0]
test eax, eax
je 0x453b56
push esi
push 0x104
push 0x104
lea ecx, [esp + 0x14]
call fcn.004aa003
push eax
mov eax, dword [0x4ffaf0]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.004aa052
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x10]
push 0
push 0x104
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 0xb
call fcn.004aa003
push eax
push 0
push 0
push esi
call fcn.0047555c
mov esi, dword [esp + 0x20]
add esp, 0x14
lea ecx, [esp + 0x20]
push 0x104
call fcn.004aa003
push eax
push 0
push 0
push 0
push esi
call fcn.0047555c
add esp, 0x14
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
call fcn.004aa052
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.004aa052
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
push ecx
push 0x4ff318
push edx
call fcn.004a9e02
lea ecx, [esp + 0x20]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x4c], 0xc
call fcn.004a9e02
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x44], 0xd
call fcn.004a9d5c
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xc
call fcn.004a9c1f
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.004a9c1f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push 0
push eax
push ecx
call edi
test eax, eax
pop esi
jne 0x453b3b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x20]
push str.InitUnstallFile:_ERROR__d._Unable_to_copy_file__s_to__s
push ecx
call fcn.004a768f
lea edx, [esp + 0x28]
push edx
call fcn.0045db50
mov eax, dword [esp + 0x24]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0xa
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 4
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 3
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.004a9c1f
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.004a9c1f
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 0
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a9c1f
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0xa
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.004a9c1f
push str.dialog.bmp
lea ecx, [esp + 0x34]
push 0x4fef18
push ecx
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x40], 0xe
call fcn.004a9d5c
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], bl
call fcn.004a9c1f
push str.unstall.bmp
lea edx, [esp + 0x34]
push 0x4ff318
push edx
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x40], 0xf
call fcn.004a9d5c
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], bl
call fcn.004a9c1f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 4
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 3
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.004a9c1f
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.004a9c1f
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 0
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x34]
pop edi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret