Function at 0x10021ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ebab
mov eax, dword fs:[0]
push eax
sub esp, 0x144
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 - 0x144], eax
mov dword [ebp - 0x14c], ecx
mov edi, dword [ebp + 8]
lea esi, [ecx + 0x20]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
lea edx, [ebp - 0x108]
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.1001f3e0
test eax, eax
je 0x10021d44
push str.ERROR_Unable_to_construct_Assets_Path.
push 0x101aee2c
call fcn.1004c140
push eax
call fcn.1004ccd0
add esp, 0xc
mov edi, 1
jmp 0x10022ce3
xor eax, eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
cmp dword [ebp - 0xf4], 0x10
lea edx, [ebp - 0x138]
push eax
cmovae ecx, dword [ebp - 0x108]
call fcn.10100c10
add esp, 4
lea eax, [ebp - 0x138]
cmp dword [ebp - 0x124], 8
cmovae eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10021de2
cmp dword [ebp - 0xf4], 0x10
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
push str.Asset_not_found_at_location:__s
push 0x101aee2c
push ecx
call fcn.1004c140
add esp, 4
push eax
call fcn.1004ccd0
add esp, 0x10
mov edi, 0x29
jmp 0x10022cd8
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x120]
add eax, 0x4c
push eax
call fcn.100185f0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
mov edx, 1
cmp dword [ebp - 0x110], edx
push 1
cmovb edx, dword [ebp - 0x110]
cmp dword [ebp - 0x10c], 0x10
push 0x101b3228
cmovae ecx, dword [ebp - 0x120]
call fcn.10018ef0
add esp, 8
test eax, eax
jne 0x10021e8c
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.1002d710
add esp, 0xc
lea ecx, [ebp - 0x78]
push eax
call fcn.10018530
lea ecx, [ebp - 0xc0]
jmp 0x10021f13
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 - 0x140], 1
call fcn.100192b0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10021ec3
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x30]
push eax
call fcn.1000ad50
push 1
push 0x101b3228
lea ecx, [ebp - 0x30]
call fcn.1000ad50
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.1002d6b0
add esp, 0xc
lea ecx, [ebp - 0x78]
push eax
call fcn.10018530
lea ecx, [ebp - 0xc0]
call fcn.1000ac50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.1000ac50
lea eax, [edi + 0x10]
mov edx, 1
mov dword [ebp - 0x148], eax
mov ecx, edi
mov eax, dword [eax]
cmp eax, 1
cmovb edx, eax
cmp dword [edi + 0x14], 0x10
jb 0x10021f38
mov ecx, dword [edi]
push 1
push 0x101b3228
call fcn.10018ef0
add esp, 8
test eax, eax
jne 0x10021f73
push edi
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.1002d710
add esp, 0xc
lea ecx, [ebp - 0xf0]
push eax
call fcn.10018530
lea ecx, [ebp - 0xc0]
jmp 0x10021ffc
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 - 0x140], 2
call fcn.100192b0
cmp dword [esi + 0x14], 0x10
jb 0x10021fad
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
push dword [eax]
push esi
call fcn.1000ad50
push 1
push 0x101b3228
lea ecx, [ebp - 0x30]
call fcn.1000ad50
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.1002d6b0
add esp, 0xc
lea ecx, [ebp - 0xf0]
push eax
call fcn.10018530
lea ecx, [ebp - 0xc0]
call fcn.1000ac50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.1000ac50
lea ecx, [ebp - 0xf0]
call fcn.100fcf50
lea ecx, [ebp - 0x78]
call fcn.100fcf50
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 7
cmp dword [eax], 0
je 0x10022051
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
jmp 0x10022075
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1002207e
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
push dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x60]
call fcn.100187e0
call fcn.1004c140
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 - 0x140], 4
jb 0x100220b2
mov edi, dword [edi]
push 0
lea edx, [ebp - 0x30]
mov ecx, edi
call fcn.10100c10
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x48]
push eax
cmovae ecx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 0x140], 0xc
call fcn.10100c10
mov esi, dword [esi]
lea ecx, [ebp - 0x30]
add esp, 4
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x1c], 8
cmovae ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x34], 8
mov esi, dword [esi + 0x54]
cmovae eax, dword [ebp - 0x48]
push ecx
push eax
push str.In_copyAssetsToDestination__tarPathToBkp__s__oldTargetPath___s
push 0x101aeed8
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov byte [ebp - 4], 8
add esp, 0x14
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x1002216f
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022165
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d0c
push edx
push ecx
call fcn.1015cb05
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 8
jb 0x100221c1
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100221b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d0c
push edx
push ecx
call fcn.1015cb05
add esp, 8
cmp dword [ebp - 0x50], 0
je 0x1002295a
push ecx
lea edx, [ebp - 0x139]
lea ecx, [ebp - 0x60]
call fcn.100fd2a0
add esp, 4
test al, al
je 0x1002295a
push ecx
push 1
push 1
mov edx, ebx
lea ecx, [ebp - 0x60]
call fcn.100050e0
add esp, 0xc
test al, al
jne 0x1002295a
push str.In_copyAssetsToDestination:_Folder_backup_Attempt1_failed
push 0x101aeed8
call fcn.1004c140
push eax
call fcn.1004d0f0
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x30]
push eax
cmovae ecx, dword [ebp - 0x60]
call fcn.10100c10
add esp, 4
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call fcn.10018060
lea eax, [ebp - 0x139]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x18]
mov byte [ebp - 0x139], 1
lea ecx, [ebp - 0x30]
call fcn.1010d040
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x1002231c
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov ecx, dword [ebp - 0x144]
add ecx, 4
mov byte [ebp - 4], 0xc
cmp dword [ecx + 0x14], 0x10
jb 0x100222b7
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x90]
call fcn.10100c10
add esp, 4
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.10041e10
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x10022371
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022310
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d20
push edx
push ecx
call fcn.1015cb05
add esp, 8
jmp 0x10022371
call fcn.1004c140
push str.In_copyAssetsToDestination__utilBackupFolder_failed._Empty_list_is_returned_from_API._n
push 0x101aeed8
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.100408a0
mov ecx, eax
call fcn.10040950
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str.LockedFolder
call fcn.100408a0
mov ecx, eax
call fcn.10040950
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0xd8]
push eax
cmovae ecx, dword [ebp - 0x60]
call fcn.10100c10
xor eax, eax
mov dword [ebp - 0x80], 0
add esp, 4
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 0xe
call fcn.1004c140
cmp dword [ebp - 0xc4], 8
lea ecx, [ebp - 0xd8]
cmovae ecx, dword [ebp - 0xd8]
mov esi, dword [eax]
push ecx
push str.Killing_process_from_inside__s
push 0x101aeed8
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x10
mov dword [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], 7
lea ecx, [ebp - 0xa8]
mov word [ebp - 0xa8], ax
push eax
push 0x101ace8c
call fcn.10001e80
push ecx
push 0x101f6d84
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
push 1
push eax
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0xa8]
call fcn.1010c470
mov byte [ebp - 4], 0xe
add esp, 0x10
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x10022497
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002248d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d11
push edx
push ecx
call fcn.1015cb05
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1004c140
push str.In_copyAssetsToDestination:_Folder_backup_Attempt2
push 0x101aeed8
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.100050e0
add esp, 0xc
test al, al
jne 0x1002288e
push str.In_copyAssetsToDestination:_Folder_backup_Attempt2_failed
push 0x101aeed8
call fcn.1004c140
push eax
call fcn.1004d0f0
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x48]
push eax
cmovae ecx, dword [ebp - 0x60]
call fcn.10100c10
xor eax, eax
mov dword [ebp - 0x98], 0
add esp, 4
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 0x11
call fcn.1004c140
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
mov esi, dword [eax]
push ecx
push str.Killing_process_from_inside__s
push 0x101aeed8
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x10
mov dword [ebp - 0xb0], 0
xor eax, eax
mov dword [ebp - 0xac], 7
lea ecx, [ebp - 0xc0]
mov word [ebp - 0xc0], ax
push eax
push 0x101ace8c
call fcn.10001e80
push ecx
push 0x101f6d84
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x12
push 1
push eax
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0xc0]
call fcn.1010c470
mov byte [ebp - 4], 0x11
add esp, 0x10
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x10022614
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002260a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d16
push edx
push ecx
call fcn.1015cb05
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1004c140
push str.In_copyAssetsToDestination:_Folder_backup_Attempt3
push 0x101aeed8
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.100050e0
add esp, 0xc
test al, al
jne 0x1002280c
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 0x101aee2c
push ecx
call fcn.1004c140
add esp, 4
push eax
call fcn.1004ccd0
mov edx, dword [ebp - 0x94]
add esp, 0x10
cmp edx, 8
jb 0x100226c2
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100226b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d1b
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100226fc
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100226f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d1b
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 8
jb 0x1002274d
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022743
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d1b
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov edx, dword [ebp - 0xc4]
cmp edx, 8
jb 0x1002278d
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022783
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d1b
push edx
push ecx
call fcn.1015cb05
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc4], 7
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.10019440
push 0x40
push dword [ebp - 0x18]
call fcn.1015cb05
mov edx, dword [ebp - 0x1c]
add esp, 8
cmp edx, 8
jb 0x10022802
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100227f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d1b
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov edi, 0x32
jmp 0x10022cb2
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x10022850
mov ecx, dword [ebp - 0xa8]
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 0x10022d1b
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x1002288e
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022884
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d1b
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x100228cf
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100228c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d20
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xc4]
cmp edx, 8
jb 0x10022913
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022909
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d20
push edx
push ecx
call fcn.1015cb05
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc4], 7
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.10019440
push 0x40
push dword [ebp - 0x18]
call fcn.1015cb05
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.10001e20
push ecx
lea ecx, [ebp - 0x78]
call fcn.100fdab0
add esp, 4
test al, al
je 0x10022b7f
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov esi, dword [ebp - 0x144]
lea edx, [ebp - 0xa8]
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.100292b0
mov edi, eax
test edi, edi
je 0x100229cb
lea ecx, [ebp - 0x48]
call fcn.1000ac50
lea ecx, [ebp - 0xa8]
jmp 0x10022cad
lea eax, [ebp - 0xa8]
push eax
lea ecx, [esi + 0xa8]
call fcn.1002d290
add eax, 0x30
lea ecx, [ebp - 0x48]
push eax
call fcn.10018500
push ecx
push dword [ebp - 0x14c]
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x108]
call fcn.10002a20
add esp, 0xc
test al, al
jne 0x10022a10
mov edi, 0x2e
jmp 0x10022b5f
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0x15
cmp dword [ecx + 0x14], 8
jb 0x10022a37
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x90]
call fcn.10100a40
add esp, 4
test al, al
jne 0x10022a63
push str.ERROR_in_copying_pimx_file_..._could_not_construct_string.
push 0x101aee2c
call fcn.1004c140
push eax
call fcn.1004c9d0
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], 0x16
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0x10
lea edx, [ebp - 0x30]
push eax
cmovae ecx, dword [ebp - 0x90]
call fcn.10100c10
add esp, 4
test al, al
jne 0x10022aab
mov byte [ebp - 4], 0x15
mov byte [ebp - 0x139], al
jmp 0x10022b2b
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x64], 0x10
lea edx, [ebp - 0xc0]
push eax
cmovae ecx, dword [ebp - 0x78]
call fcn.10100c10
add esp, 4
test al, al
jne 0x10022b02
lea ecx, [ebp - 0xc0]
call fcn.10001e20
mov byte [ebp - 4], 0x15
mov byte [ebp - 0x139], 0
jmp 0x10022b2b
sub esp, 0x10
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x30]
call fcn.10109c80
add esp, 0x10
mov byte [ebp - 0x139], al
lea ecx, [ebp - 0xc0]
call fcn.10001e20
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x30]
call fcn.10001e20
cmp byte [ebp - 0x139], 0
jne 0x10022b54
push str.ERROR_in_copying_pimx_file_to_destination.
push 0x101aee2c
call fcn.1004c140
push eax
call fcn.1004c9d0
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.1000ac50
lea ecx, [ebp - 0x48]
call fcn.1000ac50
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 7
call fcn.1000ac50
test edi, edi
jne 0x10022bac
jmp 0x10022cb2
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push eax
push str.ERROR_Failed_to_create_dir_path__s
push 0x101aee2c
push ecx
call fcn.1004c140
add esp, 4
push eax
call fcn.1004ccd0
add esp, 0x10
mov edi, 0x2c
push str.Error_Failed_to_extract_assets...
push 0x101aee2c
call fcn.1004c140
push eax
call fcn.1004ccd0
add esp, 4
call fcn.1004c140
push eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.100fe6d0
add esp, 0x10
test al, al
jne 0x10022bf2
push str.Error_Failed_to_remove_the_Package_copied
push 0x101aee2c
call fcn.1004c140
push eax
call fcn.1004ccd0
add esp, 0xc
mov eax, dword [ebp - 0x148]
cmp dword [eax], 0
jbe 0x10022cb2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0x18
mov ecx, ebx
cmp dword [ebx + 0x14], 8
jb 0x10022c21
mov ecx, dword [ebx]
push 0
lea edx, [ebp - 0x30]
call fcn.10100a40
add esp, 4
lea edx, [ebp - 0xf0]
lea ecx, [ebp - 0x30]
call fcn.10005670
test al, al
jne 0x10022c67
cmp dword [ebx + 0x14], 8
jb 0x10022c48
mov ebx, dword [ebx]
push ebx
push str.Error_Failed_to_Restore_Backup_package:__s
push 0x101aeed8
push ecx
call fcn.1004c140
add esp, 4
push eax
call fcn.1004d210
add esp, 0x10
jmp 0x10022caa
call fcn.1004c140
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 0x101aee2c
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.1000ac50
lea ecx, [ebp - 0x60]
call fcn.1000ac50
lea ecx, [ebp - 0xf0]
call fcn.1000ac50
lea ecx, [ebp - 0x78]
call fcn.1000ac50
lea ecx, [ebp - 0x120]
call fcn.1000ac50
lea ecx, [ebp - 0x138]
call fcn.10001e20
lea ecx, [ebp - 0x108]
call fcn.1000ac50
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.1015c7a5
mov esp, ebp
pop ebp
ret
call fcn.10168635
call fcn.10168635
call fcn.10168635
call fcn.10168635
call fcn.10168635
int3