Function at 0x41429a
Capabilities:
Copy file

Disassembly:
push 0x1cc
mov eax, 0x46d140
call fcn.00448de7
mov al, byte [0x49d0fe]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test al, al
je 0x4142cb
push ebx
push edi
movzx eax, al
push str.Bootstrapper::copyFile_src___S__dst___S
push eax
call fcn.00410c9b
add esp, 0x10
xor esi, esi
cmp byte [0x4f0be1], 0
je 0x414313
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4145e7
push str.Error_copying_file
lea ecx, [ebp - 0x28]
call fcn.00403e06
lea eax, [ebp - 0x28]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.00415830
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.0040900a
jmp 0x4145e7
inc esi
lea ecx, [ebp - 0x128]
push esi
push 0x40
push 0x20
push edi
call fcn.00413590
push esi
push 0x40
push 0x20
push ebx
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], esi
call fcn.004136a7
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 2
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x11c], 6
je 0x414385
push edi
lea eax, [ebp - 0x40]
push str.Error_opening_srcFile_S_for_copy
push eax
call fcn.0040f0ca
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x41436e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404864
push 0x494a60
lea eax, [ebp - 0x1c]
push eax
call fcn.0044b334
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1cc], 6
je 0x4143b6
push ebx
lea eax, [ebp - 0x40]
push str.Error_opening_dstFile_S_for_copy
push eax
call fcn.0040f0ca
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x41436e
jmp 0x41436c
push 2
xor esi, esi
lea ecx, [ebp - 0x128]
push esi
push esi
call fcn.00415415
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x11c], 6
je 0x4143f2
push edi
lea eax, [ebp - 0x40]
push str.Error_with_seekg_to_end_on_srcFile_S_during_copy
push eax
call fcn.0040f0ca
add esp, 0xc
mov byte [ebp - 4], 5
jmp 0x4143ae
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x128]
call fcn.004156f7
or dword [ebp - 0x40], 0xffffffff
lea eax, [ebp - 0x40]
or dword [ebp - 0x3c], 0xffffffff
lea ecx, [ebp - 0x70]
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
push eax
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x2c], esi
call fcn.0041382f
test al, al
je 0x414442
push edi
lea eax, [ebp - 0x40]
push str.Error_with_tellg_on_srcFile_S_during_copy
push eax
call fcn.0040f0ca
add esp, 0xc
mov byte [ebp - 4], 6
jmp 0x4143ae
sub esp, 0x18
lea ecx, [ebp - 0x128]
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
call fcn.00415334
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x11c], 6
je 0x414491
push edi
lea eax, [ebp - 0x40]
push str.Error_with_seekg_to_beginning_on_srcFile_S_during_copy
push eax
call fcn.0040f0ca
add esp, 0xc
mov byte [ebp - 4], 7
jmp 0x4143ae
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
adc eax, dword [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.00413752
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
adc eax, dword [ebp - 0x6c]
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 8
call fcn.004151f1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x11c], 6
je 0x414510
push edi
lea eax, [ebp - 0x58]
push str.Error_reading_srcFile_S_during_copy
push eax
call fcn.0040f0ca
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x4144fa
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.00404864
push 0x494a60
lea eax, [ebp - 0x34]
jmp 0x41437f
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
adc eax, dword [ebp - 0x6c]
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1d8]
call fcn.00416012
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1cc], 6
je 0x41455d
push ebx
lea eax, [ebp - 0x58]
push str.Error_writing_dstFile_S_during_copy
push eax
call fcn.0040f0ca
add esp, 0xc
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x4144fa
jmp 0x4144f8
lea ecx, [ebp - 0x128]
call fcn.00414268
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x11c], 6
je 0x414593
push edi
lea eax, [ebp - 0x58]
push str.Error_closing_srcFile_S_during_copy
push eax
call fcn.0040f0ca
add esp, 0xc
mov byte [ebp - 4], 0xb
jmp 0x414555
lea ecx, [ebp - 0x1d8]
call fcn.00411e2e
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1cc], 6
je 0x4145c9
push ebx
lea eax, [ebp - 0x58]
push str.Error_closing_dstFile_S_during_copy
push eax
call fcn.0040f0ca
add esp, 0xc
mov byte [ebp - 4], 0xc
jmp 0x414555
lea ecx, [ebp - 0x1c]
call fcn.004140ad
lea ecx, [ebp - 0x1d8]
call fcn.00410a49
lea ecx, [ebp - 0x128]
call fcn.00413886
call fcn.00448d91
ret