Function at 0x42b3fa
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
push 0x298
mov eax, 0x4ad721
call fcn.00468c4c
mov dword [ebp - 0x294], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x280]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp + 0xc]
push str.CopyFileIntoSecureFolder...
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x2a0], ebx
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x280]
push 0
push 2
pop ecx
call fcn.00414ca1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x208
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.00481070
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
xor eax, eax
push eax
push eax
push 0x802b
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x42b4d0
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x280]
call fcn.00402829
xor ecx, ecx
mov dword [ebp - 4], 1
push esi
lea edx, [ebp - 0x280]
inc ecx
call fcn.00414d76
pop ecx
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
jmp 0x42ba4a
lea eax, [ebp - 0x244]
mov ecx, ebx
push eax
call fcn.0040286d
push str.AdobeARMExecute
mov ecx, ebx
call fcn.0040259d
push ecx
mov esi, esp
mov dword [ebp - 0x280], esi
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00402d9f
pop ecx
add eax, 0x10
xor ecx, ecx
mov dword [esi], eax
call fcn.0044867b
mov dword [esp], 0x4ccd08
lea eax, [ebp - 0x290]
push ebx
push eax
call fcn.00402459
add esp, 0xc
push 2
pop esi
xor ebx, ebx
mov dword [ebp - 4], esi
push ebx
call fcn.004873ee
pop ecx
push eax
call fcn.00487359
pop ecx
call fcn.00487338
push 0xa
mov edx, eax
lea edi, [ebp - 0x3c]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 0xa
lea eax, [ebp - 0x3c]
push eax
push edx
call fcn.00487f49
add esp, 0xc
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x290]
push eax
call fcn.0040259d
push ebx
push dword [ebp - 0x290]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ebx, eax
cmp ebx, 0xa1
je 0x42ba01
cmp ebx, 3
je 0x42ba01
push str.folder_created:
lea ecx, [ebp - 0x280]
call fcn.00402829
xor ebx, ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x290]
mov ecx, esi
push ebx
push eax
lea edx, [ebp - 0x280]
call fcn.00414570
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x28c]
call fcn.00402899
mov byte [ebp - 4], 5
lea edx, [ebp - 0x28c]
mov edi, dword [ebp - 0x27c]
mov ecx, edi
call fcn.00448cea
mov dword [ebp - 0x27c], eax
mov ecx, 0x513f84
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.00440107
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x28c]
cmp dword [esi - 0xc], ebx
jne 0x42b698
push 0x5c
push dword [edi]
call fcn.00481a87
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x42b7a0
mov eax, dword [edi]
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x42b7a0
mov eax, dword [eax - 0xc]
sub eax, ecx
mov ecx, edi
dec eax
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0040b4db
push eax
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 8
call fcn.00402e14
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 0x27c], 0xffffffff
lea ecx, [ebp - 0x29c]
push str.2_16_17_18_19_52_53_54_63_68_81_82_83_84_85_86_87_88_89_90_91_92_93_97
call fcn.0040286d
mov esi, dword [ebp - 0x28c]
push 0x4ccd08
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00402459
add esp, 0xc
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004024b8
add esp, 0xc
mov ecx, dword [ebp - 0x298]
push eax
mov byte [ebp - 4], 0xa
call fcn.00402e14
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
push 0x80
push 3
push ebx
push 1
push 0x120089
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x280], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x34
mov ebx, eax
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.00481070
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x42b7d2
test dword [ebp - 0x278], 0x440
je 0x42b7d2
push edi
lea eax, [ebp - 0x284]
push str.Lock_file_failed__unexpected_file_attributes:
push eax
call fcn.004023f1
add esp, 0xc
mov ebx, 0x3ee
mov byte [ebp - 4], 0xb
push ebx
push eax
push 0x1fc98
mov ecx, 0x5143b0
call fcn.00412e53
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x42b9ee
push edi
lea eax, [ebp - 0x27c]
push str.Invalid_file_path:
push eax
call fcn.004023f1
add esp, 0xc
xor ecx, ecx
mov byte [ebp - 4], 7
mov ebx, 0x29810
mov edx, eax
push ebx
inc ecx
call fcn.00414d76
pop ecx
mov ecx, dword [ebp - 0x27c]
jmp 0x42b793
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x42b9a5
cmp eax, 0xffffffff
je 0x42b9a5
push dword [ebp - 0x29c]
mov edx, dword [ebp - 0x27c]
mov ecx, dword [edi]
call fcn.0042f13c
mov ebx, eax
pop ecx
test ebx, ebx
je 0x42b87f
push edi
lea eax, [ebp - 0x284]
push str.Validate_file_failed:
push eax
call fcn.004023f1
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x1fc98
mov ecx, 0x5143b0
call fcn.00412e53
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x285]
mov byte [ebp - 0x285], 0
push eax
push 0
push 0x4ca85c
push str.Signature_Validation_Error
mov ecx, 0x513e58
call fcn.0040a1d0
mov ebx, 0x3ee
jmp 0x42b9dd
push str.Will_copy_valid
lea ecx, [ebp - 0x27c]
call fcn.00402829
push 0
push edi
push 2
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 0xe
pop ecx
call fcn.00414570
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x298]
push 0
push dword [eax]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42b958
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov ebx, eax
lea eax, [ebp - 0x284]
push str.Copy_file
push eax
call fcn.004023f1
add esp, 0xc
push str._failed:
push eax
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0xf
push eax
call fcn.00402459
add esp, 0xc
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor ecx, ecx
lea edx, [ebp - 0x27c]
push ebx
inc ecx
call fcn.00414d76
mov eax, dword [ebp - 0x2a0]
mov edi, esp
mov dword [ebp - 0x294], edi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402d9f
pop ecx
add eax, 0x10
xor ecx, ecx
mov dword [edi], eax
call fcn.0044867b
pop ecx
mov ecx, dword [ebp - 0x27c]
jmp 0x42b9d5
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x294]
mov edi, dword [edi]
add ecx, 0x18
push dword [eax]
call fcn.00454c0d
push edi
mov ecx, eax
call fcn.0040286d
push str.Copied:
lea ecx, [ebp - 0x27c]
call fcn.00402829
push 0
push dword [ebp - 0x298]
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 0x12
push 2
pop ecx
call fcn.00414570
pop ecx
jmp 0x42b94f
push edi
lea eax, [ebp - 0x284]
push str.Validate_file_failed__invalid_file_handle:
push eax
call fcn.004023f1
add esp, 0xc
push ebx
push eax
push 0x1fc98
mov ecx, 0x5143b0
mov byte [ebp - 4], 0x13
call fcn.00412e53
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x280]
test eax, eax
je 0x42b9ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x29c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
jmp 0x42ba35
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x294]
push str.SHCreateDirectoryEx___failed:
push eax
call fcn.004023f1
add esp, 0xc
xor ecx, ecx
mov byte [ebp - 4], 3
push ebx
mov edx, eax
inc ecx
call fcn.00414d76
pop ecx
mov ecx, dword [ebp - 0x294]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x290]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.00468bf6
ret 0xc