Function at 0x41bbc0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528210
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x58a088]
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 0x41bca1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x45], al
call fcn.00402a90
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.004b0950
movzx ebx, byte [ebp - 0x45]
test al, al
mov ecx, 1
cmovne ebx, ecx
lea ecx, [ebp - 0x44]
call fcn.00402a90
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
call fcn.004b0950
test al, al
jne 0x41bc64
test bl, bl
je 0x41bd81
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 0x41bd81
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a30
mov dword [esi], 0
cmp dword [0x58e9e0], 0
je 0x41bd64
push ecx
mov ecx, 0x58e9e0
call fcn.004c3010
mov eax, dword [0x58e9e0]
cmp byte [eax + 0x54], 0
je 0x41bd64
cmp dword [eax + 0x58], 4
jb 0x41bd64
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.00402a90
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.00402ab0
lea ecx, [ebp - 0x50]
mov eax, dword [eax]
push eax
call fcn.00402ab0
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push 0x559378
push eax
call fcn.004c40d0
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x58e9e0
push 0x33
push 0x559390
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibfilerepairutils_rcfileutils.cpp
push eax
push 4
call fcn.004c3bd0
test bl, bl
je 0x41bd55
lea eax, [ebp - 0x2c]
mov ecx, 0x58e9e0
push eax
call fcn.004c3f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a30
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.004e1ff4
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
cmp dword [0x58e9e0], 0
je 0x41be61
push ecx
mov ecx, 0x58e9e0
call fcn.004c3010
mov eax, dword [0x58e9e0]
cmp byte [eax + 0x54], 0
je 0x41be61
cmp dword [eax + 0x58], 4
jb 0x41be61
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.00402a90
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.00402ab0
lea ecx, [ebp - 0x50]
mov eax, dword [eax]
push eax
call fcn.00402ab0
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push 0x5593c4
push eax
call fcn.004c40d0
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x58e9e0
push 0x3c
push 0x559390
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibfilerepairutils_rcfileutils.cpp
push eax
push 4
call fcn.004c3bd0
test bl, bl
je 0x41be52
lea eax, [ebp - 0x2c]
mov ecx, 0x58e9e0
push eax
call fcn.004c3f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a30
xor al, al
jmp 0x41bd66