Function at 0x10021dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018eccb
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x101f62b4]
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 eax, edx
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x164], ecx
mov edi, dword [ebp + 8]
lea esi, [ecx + 0x20]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
lea edx, [ebp - 0x120]
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.1001f510
test eax, eax
je 0x10021e74
push str.ERROR_Unable_to_construct_Assets_Path.
push 0x101aedac
call fcn.1004cb70
push eax
call fcn.1004d700
add esp, 0xc
mov edi, 1
jmp 0x10022eab
xor eax, eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
cmp dword [ebp - 0x10c], 0x10
lea edx, [ebp - 0x150]
push eax
cmovae ecx, dword [ebp - 0x120]
call fcn.10101490
add esp, 4
lea eax, [ebp - 0x150]
cmp dword [ebp - 0x13c], 8
cmovae eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10021f12
cmp dword [ebp - 0x10c], 0x10
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
push eax
push str.Asset_not_found_at_location:__s
push 0x101aedac
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004d700
add esp, 0x10
mov edi, 0x29
jmp 0x10022ea0
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x138]
add eax, 0x4c
push eax
call fcn.10018740
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
mov edx, 1
cmp dword [ebp - 0x128], edx
push 1
cmovb edx, dword [ebp - 0x128]
cmp dword [ebp - 0x124], 0x10
push 0x101b31a8
cmovae ecx, dword [ebp - 0x138]
call fcn.10019040
add esp, 8
test eax, eax
jne 0x10021fc8
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.1002d8c0
add esp, 0xc
lea ecx, [ebp - 0xa8]
push eax
call fcn.10018680
lea ecx, [ebp - 0xc0]
jmp 0x10022052
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
mov eax, dword [esi + 0x10]
inc eax
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x158], 1
call fcn.10019400
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10021fff
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x30]
push eax
call fcn.1000ae20
push 1
push 0x101b31a8
lea ecx, [ebp - 0x30]
call fcn.1000ae20
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.1002d860
add esp, 0xc
lea ecx, [ebp - 0xa8]
push eax
call fcn.10018680
lea ecx, [ebp - 0xc0]
call fcn.1000ad20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.1000ad20
lea eax, [edi + 0x10]
mov edx, 1
mov dword [ebp - 0x160], eax
mov ecx, edi
mov eax, dword [eax]
cmp eax, 1
cmovb edx, eax
cmp dword [edi + 0x14], 0x10
jb 0x10022077
mov ecx, dword [edi]
push 1
push 0x101b31a8
call fcn.10019040
add esp, 8
test eax, eax
jne 0x100220b2
push edi
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.1002d8c0
add esp, 0xc
lea ecx, [ebp - 0xf0]
push eax
call fcn.10018680
lea ecx, [ebp - 0xc0]
jmp 0x1002213b
mov byte [ebp - 4], 6
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
inc eax
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x158], 2
call fcn.10019400
cmp dword [esi + 0x14], 0x10
jb 0x100220ec
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
push dword [eax]
push esi
call fcn.1000ae20
push 1
push 0x101b31a8
lea ecx, [ebp - 0x30]
call fcn.1000ae20
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.1002d860
add esp, 0xc
lea ecx, [ebp - 0xf0]
push eax
call fcn.10018680
lea ecx, [ebp - 0xc0]
call fcn.1000ad20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.1000ad20
lea ecx, [ebp - 0xf0]
call fcn.100fd7b0
lea ecx, [ebp - 0xa8]
call fcn.100fd7b0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov eax, dword [ebp - 0x160]
mov byte [ebp - 4], 7
cmp dword [eax], 0
je 0x10022193
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
jmp 0x100221cc
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
cmovae eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100221d5
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x60]
call fcn.10018930
call fcn.1004cb70
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
xor eax, eax
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 0x158], 4
jb 0x10022209
mov edi, dword [edi]
push 0
lea edx, [ebp - 0x30]
mov ecx, edi
call fcn.10101490
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x78]
push eax
cmovae ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov dword [ebp - 0x158], 0xc
call fcn.10101490
mov esi, dword [esi]
lea ecx, [ebp - 0x30]
add esp, 4
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x1c], 8
cmovae ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x64], 8
mov esi, dword [esi + 0x54]
cmovae eax, dword [ebp - 0x78]
push ecx
push eax
push str.In_copyAssetsToDestination__tarPathToBkp__s__oldTargetPath___s
push 0x101aee58
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov byte [ebp - 4], 8
add esp, 0x14
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x100222c6
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100222bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ed4
push edx
push ecx
call fcn.1015cbd5
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp edx, 8
jb 0x10022318
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002230e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ed4
push edx
push ecx
call fcn.1015cbd5
add esp, 8
cmp dword [ebp - 0x50], 0
je 0x10022b01
push ecx
lea edx, [ebp - 0x151]
lea ecx, [ebp - 0x60]
call fcn.100fdb00
add esp, 4
test al, al
je 0x10022b01
push ecx
push 1
push 1
mov edx, ebx
lea ecx, [ebp - 0x60]
call fcn.10004fc0
add esp, 0xc
test al, al
jne 0x10022b01
push str.In_copyAssetsToDestination:_Folder_backup_Attempt1_failed
push 0x101aee58
call fcn.1004cb70
push eax
call fcn.1004db20
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0xd8]
push eax
cmovae ecx, dword [ebp - 0x60]
call fcn.10101490
add esp, 4
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call fcn.100181b0
lea eax, [ebp - 0x151]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x18]
mov byte [ebp - 0x151], 1
lea ecx, [ebp - 0xd8]
call fcn.1010d5d0
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x10022476
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov ecx, dword [ebp - 0x15c]
add ecx, 4
mov byte [ebp - 4], 0xc
cmp dword [ecx + 0x14], 0x10
jb 0x1002241a
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x48]
call fcn.10101490
add esp, 4
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.10042000
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100224d4
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002246a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ed9
push edx
push ecx
call fcn.1015cbd5
add esp, 8
jmp 0x100224d4
call fcn.1004cb70
push str.In_copyAssetsToDestination__utilBackupFolder_failed._Empty_list_is_returned_from_API._n
push 0x101aee58
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
push str.API_FAILURE
push str.LockedFilesWithProcesses_EMPTY_LIST
call fcn.10040a90
mov ecx, eax
call fcn.10040b40
cmp dword [ebp - 0xc4], 8
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push eax
push str.LockedFolder
call fcn.10040a90
mov ecx, eax
call fcn.10040b40
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x78]
push eax
cmovae ecx, dword [ebp - 0x60]
call fcn.10101490
xor eax, eax
mov dword [ebp - 0xb0], 0
add esp, 4
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov byte [ebp - 4], 0xe
call fcn.1004cb70
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x78]
cmovae ecx, dword [ebp - 0x78]
mov esi, dword [eax]
push ecx
push str.Killing_process_from_inside__s
push 0x101aee58
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x10
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 7
lea ecx, [ebp - 0x48]
mov word [ebp - 0x48], ax
push eax
push 0x101ace0c
call fcn.10001d60
xor eax, eax
mov byte [ebp - 4], 0xf
push eax
push 0x101ace0c
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.10001d60
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x78]
push 1
push eax
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x90]
call fcn.1010ca00
mov byte [ebp - 4], 0xf
add esp, 0x10
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x10022604
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100225fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ede
push edx
push ecx
call fcn.1015cbd5
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
cmp edx, 8
jb 0x10022659
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002264f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ede
push edx
push ecx
call fcn.1015cbd5
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1004cb70
push str.In_copyAssetsToDestination:_Folder_backup_Attempt2
push 0x101aee58
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 8
lea ecx, [ebp - 0x60]
mov edx, ebx
push 1
push 1
call fcn.10004fc0
add esp, 0xc
test al, al
jne 0x10022ac1
push str.In_copyAssetsToDestination:_Folder_backup_Attempt2_failed
push 0x101aee58
call fcn.1004cb70
push eax
call fcn.1004db20
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x90]
push eax
cmovae ecx, dword [ebp - 0x60]
call fcn.10101490
xor eax, eax
mov dword [ebp - 0x38], 0
add esp, 4
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 0x12
call fcn.1004cb70
cmp dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x90]
cmovae ecx, dword [ebp - 0x90]
mov esi, dword [eax]
push ecx
push str.Killing_process_from_inside__s
push 0x101aee58
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x10
mov dword [ebp - 0xf8], 0
xor eax, eax
mov dword [ebp - 0xf4], 7
lea ecx, [ebp - 0x108]
mov word [ebp - 0x108], ax
push eax
push 0x101ace0c
call fcn.10001d60
xor eax, eax
mov byte [ebp - 4], 0x13
push eax
push 0x101ace0c
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.10001d60
push ecx
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x90]
push 1
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.1010ca00
mov byte [ebp - 4], 0x13
add esp, 0x10
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x100227f8
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100227ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ee3
push edx
push ecx
call fcn.1015cbd5
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp edx, 8
jb 0x10022850
mov ecx, dword [ebp - 0x108]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022846
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ee3
push edx
push ecx
call fcn.1015cbd5
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1004cb70
push str.In_copyAssetsToDestination:_Folder_backup_Attempt3
push 0x101aee58
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 8
lea ecx, [ebp - 0x60]
mov edx, ebx
push 1
push 1
call fcn.10004fc0
add esp, 0xc
test al, al
jne 0x10022a42
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
push str.Failed_to_create_backup_folder__s
push 0x101aedac
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004d700
mov edx, dword [ebp - 0x34]
add esp, 0x10
cmp edx, 8
jb 0x100228f8
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100228ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ee8
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x10022935
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002292b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ee8
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov edx, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
cmp edx, 8
jb 0x1002298c
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022982
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ee8
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x100229c6
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100229bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ee8
push edx
push ecx
call fcn.1015cbd5
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], 7
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.10019590
push 0x40
push dword [ebp - 0x18]
call fcn.1015cbd5
mov edx, dword [ebp - 0xc4]
add esp, 8
cmp edx, 8
jb 0x10022a38
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022a2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ee8
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov edi, 0x32
jmp 0x10022e77
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10022a80
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022a76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ee8
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x10022ac1
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022ab7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ee8
push edx
push ecx
call fcn.1015cbd5
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.10001d00
lea ecx, [ebp - 0x78]
call fcn.10001d00
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.10019590
push 0x40
push dword [ebp - 0x18]
call fcn.1015cbd5
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd8]
call fcn.10001d00
push ecx
lea ecx, [ebp - 0xa8]
call fcn.100fe320
add esp, 4
test al, al
je 0x10022d38
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov esi, dword [ebp - 0x15c]
lea edx, [ebp - 0x108]
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.10029400
mov edi, eax
test edi, edi
je 0x10022b81
lea ecx, [ebp - 0xd8]
call fcn.1000ad20
lea ecx, [ebp - 0x108]
jmp 0x10022e72
lea eax, [ebp - 0x108]
push eax
lea ecx, [esi + 0xa8]
call fcn.1002d440
add eax, 0x30
lea ecx, [ebp - 0xd8]
push eax
call fcn.10018650
push ecx
push dword [ebp - 0x164]
lea eax, [ebp - 0xa8]
push eax
lea edx, [ebp - 0x120]
call fcn.10002900
add esp, 0xc
test al, al
jne 0x10022bcc
mov edi, 0x2e
jmp 0x10022d15
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0x17
cmp dword [ecx + 0x14], 8
jb 0x10022bf0
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x48]
call fcn.101012c0
add esp, 4
test al, al
jne 0x10022c19
push str.ERROR_in_copying_pimx_file_..._could_not_construct_string.
push 0x101aedac
call fcn.1004cb70
push eax
call fcn.1004d400
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x30]
push eax
cmovae ecx, dword [ebp - 0x48]
call fcn.10101490
add esp, 4
test al, al
jne 0x10022c5b
mov byte [ebp - 4], 0x17
mov byte [ebp - 0x151], al
jmp 0x10022ce4
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
lea edx, [ebp - 0xc0]
push eax
cmovae ecx, dword [ebp - 0xa8]
call fcn.10101490
add esp, 4
test al, al
jne 0x10022cbb
lea ecx, [ebp - 0xc0]
call fcn.10001d00
mov byte [ebp - 4], 0x17
mov byte [ebp - 0x151], 0
jmp 0x10022ce4
sub esp, 0x10
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x30]
call fcn.1010a210
add esp, 0x10
mov byte [ebp - 0x151], al
lea ecx, [ebp - 0xc0]
call fcn.10001d00
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x30]
call fcn.10001d00
cmp byte [ebp - 0x151], 0
jne 0x10022d0d
push str.ERROR_in_copying_pimx_file_to_destination.
push 0x101aedac
call fcn.1004cb70
push eax
call fcn.1004d400
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.1000ad20
lea ecx, [ebp - 0xd8]
call fcn.1000ad20
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 7
call fcn.1000ad20
test edi, edi
jne 0x10022d6e
jmp 0x10022e77
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
cmovae eax, dword [ebp - 0xa8]
push eax
push str.ERROR_Failed_to_create_dir_path__s
push 0x101aedac
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004d700
add esp, 0x10
mov edi, 0x2c
push str.Error_Failed_to_extract_assets...
push 0x101aedac
call fcn.1004cb70
push eax
call fcn.1004d700
add esp, 4
call fcn.1004cb70
push eax
push ecx
lea ecx, [ebp - 0xa8]
call fcn.100fef40
add esp, 0x10
test al, al
jne 0x10022db7
push str.Error_Failed_to_remove_the_Package_copied
push 0x101aedac
call fcn.1004cb70
push eax
call fcn.1004d700
add esp, 0xc
mov eax, dword [ebp - 0x160]
cmp dword [eax], 0
jbe 0x10022e77
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0x1a
mov ecx, ebx
cmp dword [ebx + 0x14], 8
jb 0x10022de6
mov ecx, dword [ebx]
push 0
lea edx, [ebp - 0x30]
call fcn.101012c0
add esp, 4
lea edx, [ebp - 0xf0]
lea ecx, [ebp - 0x30]
call fcn.10005550
test al, al
jne 0x10022e2c
cmp dword [ebx + 0x14], 8
jb 0x10022e0d
mov ebx, dword [ebx]
push ebx
push str.Error_Failed_to_Restore_Backup_package:__s
push 0x101aee58
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004dc40
add esp, 0x10
jmp 0x10022e6f
call fcn.1004cb70
cmp dword [ebp - 0xdc], 0x10
lea edx, [ebp - 0xf0]
lea ecx, [ebp - 0x30]
cmovae edx, dword [ebp - 0xf0]
cmp dword [ebp - 0x1c], 0x10
mov esi, dword [eax]
cmovae ecx, dword [ebp - 0x30]
push edx
push ecx
mov esi, dword [esi + 0x50]
mov ecx, esi
push str.Backup_folder__s_restore_to__s
push 0x101aedac
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.1000ad20
lea ecx, [ebp - 0x60]
call fcn.1000ad20
lea ecx, [ebp - 0xf0]
call fcn.1000ad20
lea ecx, [ebp - 0xa8]
call fcn.1000ad20
lea ecx, [ebp - 0x138]
call fcn.1000ad20
lea ecx, [ebp - 0x150]
call fcn.10001d00
lea ecx, [ebp - 0x120]
call fcn.1000ad20
mov eax, edi
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.1015c875
mov esp, ebp
pop ebp
ret
call fcn.101686f5
call fcn.101686f5
call fcn.101686f5
call fcn.101686f5
call fcn.101686f5
int3