Function at 0x413550
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea7c9
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x536008]
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.00422690
mov dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
jne 0x413643
cmp dword [0x5362d4], 0
je 0x413666
push 0
mov ecx, 0x5362d0
call fcn.0043bd20
mov eax, dword [0x5362d4]
cmp byte [eax + 0x54], 0
je 0x413666
cmp dword [eax + 0x58], 4
jb 0x413666
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.0040a350
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, 0x5362d0
push eax
push 4
call fcn.0043ced0
test bl, bl
je 0x413630
lea eax, [ebp - 0x28]
mov ecx, 0x5362d0
push eax
call fcn.0043d280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
xor bl, bl
jmp 0x41387a
lea ecx, [ebp - 0x70]
call fcn.004a4c40
test al, al
jne 0x413657
lea ecx, [ebp - 0x70]
call fcn.004a5700
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.004138b0
test al, al
jne 0x41366d
xor bl, bl
jmp 0x41387a
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00414380
mov byte [ebp - 4], 2
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
call fcn.004a5b30
mov byte [ebp - 4], 3
lea eax, [ebp - 0xb8]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.004a8d90
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 0x413781
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.004ca400
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.004ca400
test al, al
jne 0x413749
test bl, bl
je 0x413769
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.0040a2e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
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.0040a350
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0xa0]
call fcn.004a8d90
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
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.004a42f0
push 0
push 1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
call fcn.004a9940
add esp, 0x18
mov bl, al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.0040a2e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.0040a2e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0040a2e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.0040a2e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040a2e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040a2e0
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.004e62ab
mov esp, ebp
pop ebp
ret