Function at 0x6e02e779
Capabilities:
Create directory
Get common file path
Write file on windows

Disassembly:
push 0x1b0
mov eax, 0x6e04d28e
call fcn.6e04936c
mov edi, ecx
cmp byte [edi], 0
je 0x6e02eace
call fcn.6e02f03a
lea eax, [ebp - 0x154]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x6e02eace
lea eax, [ebp - 0x154]
mov dword [ebp - 0x15c], ebx
push eax
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x158], 0xf
mov byte [ebp - 0x16c], bl
call fcn.6e010a4f
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x16c]
push 1
add eax, 0xfffffffe
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.6e04250a
push 0x6e0570c4
mov ecx, eax
call fcn.6e04250a
lea ecx, [ebp - 0x184]
mov esi, eax
call fcn.6e0108ff
test esi, esi
je 0x6e02e82a
push 0x6e0570c4
lea ecx, [ebp - 0x16c]
call fcn.6e010974
push str.Adobe
lea ecx, [ebp - 0x16c]
call fcn.6e010974
push 0x10
pop esi
cmp dword [ebp - 0x158], esi
lea eax, [ebp - 0x16c]
push ebx
cmovae eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x6e02e86d
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x6e02ead6
push str.Acrobat
lea ecx, [ebp - 0x16c]
call fcn.6e010974
cmp dword [ebp - 0x158], esi
lea eax, [ebp - 0x16c]
push ebx
cmovae eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x6e02e8ad
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x6e02ead6
push 0x6e0570c4
lea ecx, [ebp - 0x16c]
call fcn.6e010974
mov ecx, dword [ebp + 8]
mov edx, ecx
cmp dword [ecx + 0x14], esi
jb 0x6e02e8c9
mov edx, dword [ecx]
mov eax, dword [ecx + 0x10]
add eax, edx
cmp dword [ecx + 0x14], esi
jb 0x6e02e8d5
mov ecx, dword [ecx]
lea edx, [ebp - 0x1b5]
push edx
push eax
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.6e04250a
cmp dword [ebp - 0x198], esi
lea eax, [ebp - 0x1ac]
push dword [ebp - 0x19c]
cmovae eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x16c]
push eax
mov byte [ebp - 4], 1
call fcn.6e0109a6
cmp dword [ebp - 0x158], esi
lea eax, [ebp - 0x16c]
push ebx
cmovae eax, dword [ebp - 0x16c]
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x6e02ea69
push 2
push ebx
push ebx
push esi
call dword [sym.imp.kernel32.dll_SetFilePointer]
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
movzx eax, word [ebp - 0x188]
push eax
movzx eax, word [ebp - 0x18a]
push eax
movzx eax, word [ebp - 0x18c]
push eax
movzx eax, word [ebp - 0x18e]
push eax
movzx eax, word [ebp - 0x192]
push eax
movzx eax, word [ebp - 0x194]
push eax
push str.____4d__02d__02d__02d:_02d:_02d_r_n
lea eax, [ebp - 0x50]
push 0x40
push eax
call fcn.6e04250a
lea eax, [ebp - 0x50]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 0x28
lea ecx, [ebp - 0x1bc]
push ebx
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], bl
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.6e02eade
cmp dword [ebp - 0x170], 0x10
lea ecx, [ebp - 0x1bc]
push ebx
push ecx
push dword [ebp - 0x174]
lea eax, [ebp - 0x184]
cmovae eax, dword [ebp - 0x184]
push eax
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x170]
cmp eax, 0x10
jb 0x6e02ea69
mov ecx, dword [ebp - 0x184]
inc eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1b4], ecx
mov byte [ebp - 4], 3
cmp eax, 0x1000
jb 0x6e02ea60
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.6e04250a
mov eax, dword [ebp - 0x1b0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1b4]
push eax
push ecx
call fcn.6e04250a
pop ecx
pop ecx
lea ecx, [ebp - 0x1ac]
call fcn.6e0108ff
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x158]
cmp eax, 0x10
jb 0x6e02eace
mov ecx, dword [ebp - 0x16c]
inc eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 4], 4
cmp eax, 0x1000
jb 0x6e02eac5
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.6e04250a
mov eax, dword [ebp - 0x1b4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1b0]
push eax
push ecx
call fcn.6e04250a
pop ecx
pop ecx
call fcn.6e049316
ret 4
push ebx
push ebx
call sub.VCRUNTIME140.dll__CxxThrowException
int3