Function at 0x44f080
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef736
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5441b4]
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 esi, ecx
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x8c], esi
call fcn.0040dbf0
xor ebx, ebx
mov edx, 0x545640
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040de10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x44f0e0
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
call fcn.00405550
test eax, eax
jne 0x44f16a
mov eax, dword [0x547e58]
cmp eax, ebx
je 0x44f12c
cmp dword [eax + 8], 4
mov edi, eax
jl 0x44f12c
push str.SetupSetupModule.cpp
push 4
push ecx
mov eax, esp
mov dword [ebp - 0x8c], esp
push eax
mov ecx, str.no_copy_source_dir__destdir
mov esi, 0x2b4
call fcn.0042d450
push edi
mov ecx, esi
call fcn.0042b0b0
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x44f142
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b6106
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x44f163
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b6106
add esp, 4
mov al, 1
jmp 0x44f537
cmp dword [ebp - 0x38], ebx
je 0x44f4c5
cmp dword [ebp - 0x1c], ebx
je 0x44f4c5
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x44f188
lea eax, [ebp - 0x48]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x44f4c5
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x44f1a5
lea eax, [ebp - 0x2c]
push eax
call edi
test eax, eax
je 0x44f4c5
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
push 1
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0044ecc0
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xac]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x44f29a
mov dword [ebp - 0x84], ebx
add esi, dword [ebp - 0x84]
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.00406e90
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
lea ebx, [ebp - 0x80]
call fcn.0044b000
mov eax, dword [ebp - 0x80]
add esp, 8
cmp dword [ebp - 0x6c], 8
jae 0x44f262
mov eax, ebx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xac]
add dword [ebp - 0x84], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc edi
add ecx, edx
xor ebx, ebx
cmp edi, ecx
jb 0x44f232
xor edx, edx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x98]
sub ecx, dword [ebp - 0x9c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x44f3ee
xor esi, esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x88], 0x64
mov dword [ebp - 0xb0], edi
jmp 0x44f306
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x9c]
push 0xffffffffffffffff
lea ecx, [esi + eax]
push ebx
push ecx
lea ecx, [ebp - 0x64]
call fcn.00406e90
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
lea ebx, [ebp - 0x64]
call fcn.0044b000
mov ecx, dword [ebp - 0x64]
mov ebx, 8
add esp, 8
cmp dword [ebp - 0x50], ebx
jae 0x44f33e
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x9c]
cmp dword [esi + edx + 0x14], ebx
lea eax, [esi + edx]
jb 0x44f34f
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44f39a
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x44f368
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x9c]
add eax, esi
cmp dword [eax + 0x14], ebx
jb 0x44f377
mov eax, dword [eax]
push ecx
push eax
push str.copy
push str.SetupSetupModule.cpp
mov edx, 0x2d2
mov esi, 2
mov eax, 0x547e58
call fcn.0042a050
add esp, 0x10
mov esi, dword [ebp - 0x8c]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x44f3d2
mov eax, dword [ebp - 0x88]
xor edx, edx
div edi
mov edx, eax
sub edx, dword [ebp - 0xb4]
cmp edx, 1
jle 0x44f3d2
push eax
mov dword [ebp - 0xb4], eax
mov eax, dword [esi + 0x10]
push 5
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
add dword [ebp - 0x84], 0x1c
add dword [ebp - 0x88], 0x64
xor ebx, ebx
dec dword [ebp - 0xb0]
jne 0x44f300
push edi
push str.copy_file_over.count_d
push str.SetupSetupModule.cpp
mov edx, 0x2de
mov esi, 4
mov eax, 0x547e58
call fcn.0042a050
mov esi, 8
add esp, 0xc
cmp dword [ebp - 0x50], esi
jb 0x44f426
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b6106
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x6c], esi
jb 0x44f448
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b6106
add esp, 4
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp eax, ebx
je 0x44f478
mov edi, dword [ebp - 0x98]
call fcn.0040bd20
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004b6106
add esp, 4
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
cmp eax, ebx
je 0x44f4ae
mov edi, dword [ebp - 0xa8]
call fcn.0040bd20
mov eax, dword [ebp - 0xac]
push eax
call fcn.004b6106
add esp, 4
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
jmp 0x44f131
mov eax, dword [0x547e58]
cmp eax, ebx
je 0x44f4fe
cmp dword [eax + 8], 2
mov edi, eax
jl 0x44f4fe
push str.SetupSetupModule.cpp
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
push ecx
mov ecx, str.dir_is_not_exist.
mov esi, 0x2b9
call fcn.0042d450
push edi
mov ecx, esi
call fcn.0042b0b0
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x44f514
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x44f535
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b6106
add esp, 4
xor al, al
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.004b6111
mov esp, ebp
pop ebp
ret