Function at 0x41baa0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x588088]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x4c], eax
mov ebx, ecx
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp + 8]
mov ecx, eax
push 0
call fcn.00403390
push eax
mov ecx, ebx
call fcn.00403390
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41bb81
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x45], al
call fcn.00402ac0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.004aba40
movzx ebx, byte [ebp - 0x45]
test al, al
mov ecx, 1
cmovne ebx, ecx
lea ecx, [ebp - 0x44]
call fcn.00402ac0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
call fcn.004aba40
test al, al
jne 0x41bb44
test bl, bl
je 0x41bc61
push 0
lea ecx, [ebp - 0x44]
call fcn.00403390
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403390
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41bc61
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402a60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a60
mov dword [esi], 0
cmp dword [0x58c9f8], 0
je 0x41bc44
push ecx
mov ecx, 0x58c9f8
call fcn.004be120
mov eax, dword [0x58c9f8]
cmp byte [eax + 0x54], 0
je 0x41bc44
cmp dword [eax + 0x58], 4
jb 0x41bc44
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.00402ac0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
call fcn.00403390
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
call fcn.00403390
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], eax
call fcn.00402ae0
lea ecx, [ebp - 0x50]
mov eax, dword [eax]
push eax
call fcn.00402ae0
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push 0x558788
push eax
call fcn.004bf1e0
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x58c9f8
push 0x33
push 0x5587a0
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibfilerepairutils_rcfileutils.cpp
push eax
push 4
call fcn.004bece0
test bl, bl
je 0x41bc35
lea eax, [ebp - 0x2c]
mov ecx, 0x58c9f8
push eax
call fcn.004bf030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e1a24
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402a60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
cmp dword [0x58c9f8], 0
je 0x41bd41
push ecx
mov ecx, 0x58c9f8
call fcn.004be120
mov eax, dword [0x58c9f8]
cmp byte [eax + 0x54], 0
je 0x41bd41
cmp dword [eax + 0x58], 4
jb 0x41bd41
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.00402ac0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
call fcn.00403390
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
call fcn.00403390
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], eax
call fcn.00402ae0
lea ecx, [ebp - 0x50]
mov eax, dword [eax]
push eax
call fcn.00402ae0
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push 0x5587d4
push eax
call fcn.004bf1e0
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x58c9f8
push 0x3c
push 0x5587a0
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibfilerepairutils_rcfileutils.cpp
push eax
push 4
call fcn.004bece0
test bl, bl
je 0x41bd32
lea eax, [ebp - 0x2c]
mov ecx, 0x58c9f8
push eax
call fcn.004bf030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a60
xor al, al
jmp 0x41bc46