Function at 0x416830
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0f49
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x53e008]
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.00425950
mov dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
jne 0x416923
cmp dword [0x53e2d4], 0
je 0x416946
push 0
mov ecx, 0x53e2d0
call fcn.004413f0
mov eax, dword [0x53e2d4]
cmp byte [eax + 0x54], 0
je 0x416946
cmp dword [eax + 0x58], 4
jb 0x416946
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.004037f0
push 0x6b
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, 0x53e2d0
push eax
push 4
call fcn.00442590
test bl, bl
je 0x416910
lea eax, [ebp - 0x28]
mov ecx, 0x53e2d0
push eax
call fcn.00442940
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403780
xor bl, bl
jmp 0x416b63
lea ecx, [ebp - 0x70]
call fcn.004b28f0
test al, al
jne 0x416937
lea ecx, [ebp - 0x70]
call fcn.004b33a0
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.00416b90
test al, al
jne 0x41694d
xor bl, bl
jmp 0x416b63
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00417650
mov byte [ebp - 4], 2
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
call fcn.004b37d0
mov byte [ebp - 4], 3
lea eax, [ebp - 0xb8]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.004b6a20
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 0x416a61
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.004d0280
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.004d0280
test al, al
jne 0x416a29
test bl, bl
je 0x416a49
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.00403780
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00403780
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.004037f0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0xa0]
call fcn.004b6a20
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00403780
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 byte [esi + 0x4c], al
setne al
push eax
xor eax, eax
cmp dword [esi + 0x48], eax
sete al
push eax
push ecx
lea eax, [ebp - 0x40]
push str.__shortcutnotify___froms___entry12___package__s____nwinst_d___desktoplnk_d
push eax
call fcn.004b03c0
push 0
push 1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
call fcn.004b75d0
add esp, 0x1c
mov bl, al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.00403780
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00403780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00403780
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.00403780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00403780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00403780
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.004ec151
mov esp, ebp
pop ebp
ret