Function at 0x4024b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554883
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x5b2070]
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
lea ecx, [ebp - 0xec]
call fcn.0045d950
mov dword [ebp - 4], 0
mov edx, 0x584374
lea ecx, [ebp - 0xec]
call fcn.00457800
push ecx
push 0x584374
lea ecx, [ebp - 0xec]
call fcn.00403130
cmp eax, 0xffffffff
je 0x402f52
inc eax
lea ecx, [ebp - 0xec]
push eax
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.00403090
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x104]
call fcn.0045b430
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x118], eax
cmp edi, eax
je 0x402ee5
nop
mov ecx, edi
call fcn.0045a0d0
test al, al
je 0x402ed6
mov ecx, edi
call fcn.0045a1b0
test al, al
je 0x4026a1
cmp dword [0x5ba2b4], 0
jne 0x4025ab
xor ebx, ebx
jmp 0x4025cf
push ecx
mov ecx, 0x5ba2b4
call fcn.004a6e50
mov eax, dword [0x5ba2b4]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x4025cf
cmp dword [eax + 0x58], 2
jb 0x4025cf
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x40269a
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 3
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x402607
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x74]
push 0x584378
push eax
call fcn.004a7d10
add esp, 0xc
lea eax, [ebp - 0x74]
mov ecx, 0x5ba2b4
push 0x44
push str.RC::RCAfterUpgrade::DeleteRubbishVersionDir
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectprotectsdk_srcprotectlogistics_srcupgrade_rcafterupgrade.cpp
push eax
push 2
call fcn.004a7770
cmp ebx, 1
jbe 0x402648
lea eax, [ebp - 0x74]
mov ecx, 0x5ba2b4
push eax
call fcn.004a7b20
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x402686
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40267c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov ecx, edi
call fcn.00484fc0
push 0xffffffffffffffff
push dword [ebp - 0xf4]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00403090
mov byte [ebp - 4], 4
mov edx, 0x584374
lea ecx, [ebp - 0x2c]
call fcn.00457800
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x128]
movups xmmword [ebp - 0x128], xmm0
call fcn.0045be40
test al, al
je 0x402e88
xorps xmm0, xmm0
lea ecx, [ebp - 0x170]
movups xmmword [ebp - 0x114], xmm0
call fcn.0042b870
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
push eax
call fcn.0045be40
test al, al
sete bl
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x15c]
cmp edx, 8
jb 0x402754
mov ecx, dword [ebp - 0x170]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40274a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 7
mov word [ebp - 0x170], ax
test bl, bl
jne 0x402e88
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x114]
cmp eax, ecx
jl 0x402cef
mov edx, dword [ebp - 0x120]
mov ebx, dword [ebp - 0x124]
mov esi, dword [ebp - 0x10c]
jg 0x4027f3
cmp ebx, dword [ebp - 0x110]
jl 0x402cef
jg 0x4027d1
cmp edx, esi
jl 0x402cef
jg 0x4027d1
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x128]
jl 0x402cef
cmp eax, ecx
jne 0x4027f3
cmp ebx, dword [ebp - 0x110]
jne 0x4027f3
cmp edx, esi
jne 0x4027f3
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0x11c], eax
jne 0x4027f3
xor al, al
jmp 0x4027f5
mov al, 1
test al, al
je 0x402e88
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.004585e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x158]
push str.success
call fcn.004032e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140]
push str.SOFTWARE2345SafeCenter
call fcn.004032e0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x140]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00458ba0
mov bl, al
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x12c]
cmp edx, 8
jb 0x4028bb
mov ecx, dword [ebp - 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4028b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x144]
cmp edx, 8
jb 0x40291c
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402912
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x148], 0
test bl, bl
mov dword [ebp - 0x144], 7
mov ebx, dword [ebp - 0x5c]
mov word [ebp - 0x158], ax
je 0x402a6e
cmp dword [ebp - 0x48], 8
lea esi, [ebp - 0x5c]
cmovae esi, ebx
cmp dword [ebp - 0x4c], 1
jne 0x402a6e
mov ecx, 0x584454
lea edx, [eax + 1]
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x402a6e
add ecx, 2
sub edx, 1
jne 0x402962
push 2
mov ecx, 0x5ba2b4
call fcn.004a7700
mov esi, eax
test esi, esi
je 0x402a62
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 0xc
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4029c0
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x8c]
push 0x584458
push eax
call fcn.004a7d10
add esp, 0xc
lea eax, [ebp - 0x8c]
mov ecx, 0x5ba2b4
push 0x74
push str.RC::RCAfterUpgrade::DeleteRubbishVersionDir
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectprotectsdk_srcprotectlogistics_srcupgrade_rcafterupgrade.cpp
push eax
push 2
call fcn.004a7770
cmp esi, 1
jbe 0x402a0a
lea eax, [ebp - 0x8c]
mov ecx, 0x5ba2b4
push eax
call fcn.004a7b20
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x402a4b
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402a41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov ecx, edi
call fcn.00484fc0
jmp 0x402c83
call fcn.00409140
mov ecx, 0x5ba2b4
push 2
test al, al
je 0x402b87
call fcn.004a7700
mov esi, eax
test esi, esi
je 0x402b7b
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov byte [ebp - 4], 0xd
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x402ad0
mov eax, dword [edi]
push eax
lea eax, [ebp - 0xa4]
push 0x584478
push eax
call fcn.004a7d10
add esp, 0xc
lea eax, [ebp - 0xa4]
mov ecx, 0x5ba2b4
push 0x7b
push str.RC::RCAfterUpgrade::DeleteRubbishVersionDir
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectprotectsdk_srcprotectlogistics_srcupgrade_rcafterupgrade.cpp
push eax
push 2
call fcn.004a7770
cmp esi, 1
jbe 0x402b1a
lea eax, [ebp - 0xa4]
mov ecx, 0x5ba2b4
push eax
call fcn.004a7b20
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x402b5e
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov ecx, edi
call fcn.00484fc0
jmp 0x402c83
call fcn.004a7700
mov esi, eax
test esi, esi
je 0x402c83
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 0xe
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x402bd5
mov eax, dword [edi]
push eax
lea eax, [ebp - 0xbc]
push str.gL
push eax
call fcn.004a7d10
add esp, 0xc
lea eax, [ebp - 0xbc]
mov ecx, 0x5ba2b4
push 0x80
push str.RC::RCAfterUpgrade::DeleteRubbishVersionDir
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectprotectsdk_srcprotectlogistics_srcupgrade_rcafterupgrade.cpp
push eax
push 2
call fcn.004a7770
cmp esi, 1
jbe 0x402c22
lea eax, [ebp - 0xbc]
mov ecx, 0x5ba2b4
push eax
call fcn.004a7b20
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xa8]
cmp edx, 8
jb 0x402c66
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 8
push 8
push dword [ebp - 0x14]
call fcn.004e649f
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x402cd6
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x402ccc
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push ecx
push ebx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
jmp 0x402e88
cmp dword [0x5ba2b4], 0
jne 0x402cfc
xor ebx, ebx
jmp 0x402d20
push ecx
mov ecx, 0x5ba2b4
call fcn.004a6e50
mov eax, dword [0x5ba2b4]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x402d20
cmp dword [eax + 0x58], 2
jb 0x402d20
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x402e12
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov byte [ebp - 4], 6
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x402d67
mov eax, dword [edi]
push eax
lea eax, [ebp - 0xd4]
push 0x5843f0
push eax
call fcn.004a7d10
add esp, 0xc
lea eax, [ebp - 0xd4]
mov ecx, 0x5ba2b4
push 0x59
push str.RC::RCAfterUpgrade::DeleteRubbishVersionDir
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectprotectsdk_srcprotectlogistics_srcupgrade_rcafterupgrade.cpp
push eax
push 2
call fcn.004a7770
cmp ebx, 1
jbe 0x402db1
lea eax, [ebp - 0xd4]
mov ecx, 0x5ba2b4
push eax
call fcn.004a7b20
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xc0]
cmp edx, 8
jb 0x402df5
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402deb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov ecx, edi
call fcn.00484fc0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x38]
mov ecx, edi
call fcn.0045b430
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp esi, ebx
je 0x402e7c
mov ecx, esi
call fcn.00459fa0
test al, al
je 0x402e75
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x402e6a
mov eax, dword [esi]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esi, 0x18
cmp esi, ebx
jne 0x402e55
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.004033c0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x402ec6
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ebc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
add edi, 0x18
cmp edi, dword [ebp - 0x118]
jne 0x402580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004033c0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xf0]
cmp edx, 8
jb 0x402f35
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fce
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xd8]
cmp edx, 8
jb 0x402f95
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fd3
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
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.004e645e
mov esp, ebp
pop ebp
ret
call fcn.0050ba48
call fcn.0050ba48
int3