Function at 0x413a70
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaaa7
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x537008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xbc], ebx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 0xf
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.2345SoftMgr.exe
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040a390
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.004a8f70
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040a320
push 0xf
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str.2345Extract.dll
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040a390
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.004a8f70
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a320
lea ecx, [ebp - 0x58]
call fcn.004a4f10
test al, al
je 0x413f00
lea edx, [ebx + 0x18]
lea ecx, [ebp - 0xa0]
call fcn.004a4a70
mov byte [ebp - 4], 6
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.004a4a70
mov byte [ebp - 4], 7
xorps xmm0, xmm0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x38], xmm0
call fcn.004abe50
test al, al
jne 0x413bc5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.0040a320
jmp 0x413c59
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x38]
call fcn.004abe50
test al, al
jne 0x413bfb
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.0040a320
jmp 0x413e4a
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x20]
jge 0x413c07
xor bl, bl
jmp 0x413c33
jg 0x413c31
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x1c]
jge 0x413c15
xor bl, bl
jmp 0x413c33
jg 0x413c31
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
jge 0x413c23
xor bl, bl
jmp 0x413c33
jg 0x413c31
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x14]
jge 0x413c31
xor bl, bl
jmp 0x413c33
mov bl, 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.0040a320
test bl, bl
je 0x413e44
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0xb8]
push eax
movq qword [ebp - 0x34], xmm0
call fcn.0040ac00
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040ac00
mov byte [ebp - 4], 9
lea eax, [ebp - 0x88]
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], 0
call fcn.004153d0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xb8]
push fcn.0040a050
push 2
push 0x18
push eax
call fcn.004e69c1
lea eax, [ebp - 0x34]
push eax
call fcn.00414310
test al, al
je 0x413d99
cmp dword [0x5372d4], 0
je 0x413d88
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
cmp byte [eax + 0x54], 0
je 0x413d88
cmp dword [eax + 0x58], 4
jb 0x413d88
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], 0xc
lea ecx, [ebp - 0x28]
push 0x29
push str._softmgr__check_file_completeness_success
call fcn.0040a390
push 0xbe
push str.RC::RCInstallSoftMgr::UpdateSoftMgr
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 0x413d7c
lea eax, [ebp - 0x28]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.0040a2a0
jmp 0x41414b
cmp dword [0x5372d4], 0
je 0x413e38
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
cmp byte [eax + 0x54], 0
je 0x413e38
cmp dword [eax + 0x58], 4
jb 0x413e38
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], 0xd
lea ecx, [ebp - 0x28]
push 0x3c
push str._softmgr__check_high_version_exist_but_file_not_completeness
call fcn.0040a390
push 0xc4
push str.RC::RCInstallSoftMgr::UpdateSoftMgr
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 0x413e2c
lea eax, [ebp - 0x28]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.0040a2a0
mov ebx, dword [ebp - 0xbc]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00414a00
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.004c9d50
cmp dword [ebp - 0x30], 0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
je 0x413e9c
lea ecx, [ebp - 0x40]
call fcn.004c9ef0
test al, al
je 0x413e8a
lea ecx, [ebp - 0x40]
call fcn.004a4f10
test al, al
je 0x413e9c
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00414a00
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.004c9d50
cmp dword [ebp - 0x18], 0
je 0x413ee8
lea ecx, [ebp - 0x28]
call fcn.004c9ef0
test al, al
je 0x413ed6
lea ecx, [ebp - 0x28]
call fcn.004a4f10
test al, al
je 0x413ee8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call esi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a320
cmp dword [ebp - 0x44], 8
lea esi, [ebx + 0x18]
lea eax, [ebp - 0x58]
mov ecx, esi
cmovae eax, dword [ebp - 0x58]
cmp dword [esi + 0x14], 8
jb 0x413f18
mov ecx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push eax
push ecx
call edi
test eax, eax
jne 0x413fdc
mov dword [ebp - 0x30], eax
xor bl, bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.004ca5e0
test al, al
movzx ebx, bl
mov eax, 1
mov dword [ebp - 0x18], 0
cmovne ebx, eax
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.004ca5e0
test al, al
jne 0x413f9a
test bl, bl
je 0x414188
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x414188
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a320
mov ebx, dword [ebp - 0xbc]
cmp dword [ebp - 0x5c], 8
lea esi, [ebx + 0x30]
lea eax, [ebp - 0x70]
mov ecx, esi
cmovae eax, dword [ebp - 0x70]
cmp dword [esi + 0x14], 8
jb 0x413ff4
mov ecx, dword [esi]
push 0
push eax
push ecx
call edi
test eax, eax
jne 0x4140ac
mov dword [ebp - 0x30], eax
xor bl, bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.004ca5e0
test al, al
movzx ebx, bl
mov eax, 1
mov dword [ebp - 0x18], 0
cmovne ebx, eax
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.004ca5e0
test al, al
jne 0x414070
test bl, bl
je 0x41422b
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x41422b
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a320
cmp dword [0x5372d4], 0
je 0x41414b
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
cmp byte [eax + 0x54], 0
je 0x41414b
cmp dword [eax + 0x58], 4
jb 0x41414b
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], 0x16
lea ecx, [ebp - 0x28]
push 0x20
push str._softmgr__update_softmgr_success
call fcn.0040a390
push 0xe9
push str.RC::RCInstallSoftMgr::UpdateSoftMgr
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 0x41413f
lea eax, [ebp - 0x28]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov bl, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0040a320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040a320
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e647b
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a320
cmp dword [0x5372d4], 0
je 0x414301
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
cmp byte [eax + 0x54], 0
je 0x414301
cmp dword [eax + 0x58], 4
jb 0x414301
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], 0x12
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
cmp dword [esi + 0x14], 8
jb 0x41420e
mov esi, dword [esi]
push eax
push esi
lea eax, [ebp - 0x28]
push str._softmgr__copy_file_filed_source__s___dest__s_
push eax
call fcn.004a44e0
add esp, 0x10
push 0xdb
jmp 0x4142c9
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a320
cmp dword [0x5372d4], 0
je 0x414301
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
cmp byte [eax + 0x54], 0
je 0x414301
cmp dword [eax + 0x58], 4
jb 0x414301
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], 0x15
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
cmp dword [esi + 0x14], 8
jb 0x4142b1
mov esi, dword [esi]
push eax
push esi
lea eax, [ebp - 0x28]
push str._softmgr__copy_file_filed_source__s___dest__s_
push eax
call fcn.004a44e0
add esp, 0x10
push 0xe5
push str.RC::RCInstallSoftMgr::UpdateSoftMgr
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 0x4142f5
lea eax, [ebp - 0x28]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0040a320
xor bl, bl
jmp 0x41414d