Function at 0x413710
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea9b9
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x537008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x70]
call fcn.00422850
mov dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
jne 0x413803
cmp dword [0x5372d4], 0
je 0x413826
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
cmp byte [eax + 0x54], 0
je 0x413826
cmp dword [eax + 0x58], 4
jb 0x413826
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x1f
push str._softmgr__get_softmgr_path_fail
call fcn.0040a390
push 0x69
push str.RC::RCInstallSoftMgr::InstallSoftMgr
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_safecommon_safeutilslib_softmgr_rcinstallsoftmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x5372d0
push eax
push 4
call fcn.0043d470
test bl, bl
je 0x4137f0
lea eax, [ebp - 0x28]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a320
xor bl, bl
jmp 0x413a3a
lea ecx, [ebp - 0x70]
call fcn.004a4e30
test al, al
jne 0x413817
lea ecx, [ebp - 0x70]
call fcn.004a58f0
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.00413a70
test al, al
jne 0x41382d
xor bl, bl
jmp 0x413a3a
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00414540
mov byte [ebp - 4], 2
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
call fcn.004a5d20
mov byte [ebp - 4], 3
lea eax, [ebp - 0xb8]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.004a8f70
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x88]
push 0
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x413941
mov dword [ebp - 0x18], eax
xor bl, bl
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.004ca5e0
test al, al
movzx ebx, bl
mov ecx, 1
mov dword [ebp - 0x30], 0
cmovne ebx, ecx
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.004ca5e0
test al, al
jne 0x413909
test bl, bl
je 0x413929
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a320
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040a320
push 0xf
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.2345SoftMgr.exe
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040a390
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0xa0]
call fcn.004a8f70
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040a320
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae ecx, dword [ebp - 0x58]
cmp dword [esi + 0x48], eax
sete al
push eax
push ecx
lea eax, [ebp - 0x40]
push str.__shortcutnotify___froms___entry12___package__s____nwinst_d
push eax
call fcn.004a44e0
push 0
push 1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
call fcn.004a9b20
add esp, 0x18
mov bl, al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.0040a320
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.0040a320
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0040a320
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.0040a320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040a320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040a320
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e647b
mov esp, ebp
pop ebp
ret