Function at 0x77d5b2
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Get file attributes
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov byte [ebp - 0x310], 0x6d
mov byte [ebp - 0x30f], 0x69
mov byte [ebp - 0x30e], 0x63
mov byte [ebp - 0x30d], 0x72
mov byte [ebp - 0x30c], 0x6f
mov byte [ebp - 0x30b], 0x63
mov byte [ebp - 0x30a], 0x6f
mov byte [ebp - 0x309], 0x73
mov byte [ebp - 0x308], 0x6d
mov byte [ebp - 0x307], 0
push 0xed
lea eax, [ebp - 0x300]
push eax
push 0x7619c4
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x77d621
jmp 0x77d839
lea ecx, [ebp - 0x300]
push ecx
call fcn.00764249
add esp, 4
movsx edx, byte [ebp + eax - 0x301]
cmp edx, 0x5c
je 0x77d651
push 0x7619d4
lea eax, [ebp - 0x300]
push eax
call fcn.00763ff4
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00763825
add esp, 4
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x300]
push eax
call fcn.00763ff4
add esp, 8
lea ecx, [ebp - 0x300]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x77d69d
push 0
lea edx, [ebp - 0x300]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x77d69d
jmp 0x77d839
push 0x7619d8
lea eax, [ebp - 0x300]
push eax
call fcn.00763ff4
add esp, 8
mov byte [ebp - 0x100], 0
mov byte [ebp - 0x200], 0
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x100]
push edx
call fcn.00779350
add esp, 8
test eax, eax
je 0x77d70c
push 0x5c
lea eax, [ebp - 0x100]
push eax
call fcn.00779350
add esp, 8
add eax, 1
push eax
lea ecx, [ebp - 0x200]
push ecx
call fcn.00763faf
add esp, 8
lea edx, [ebp - 0x200]
push edx
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x1e0f]
push ecx
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x1e10]
push eax
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x1e11]
push edx
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0x1e14]
push ecx
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x1e13]
push eax
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x1e12]
push edx
push 0x7619ec
lea eax, [ebp - 0x100]
push eax
call dword [fcn.007930f0]
add esp, 0x24
push 0
push 0x80
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2902]
push edx
push 3
push 0x40000000
lea eax, [ebp - 0x300]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0xffffffff
jne 0x77d7a5
jmp 0x77d839
mov ecx, dword [ebp + 8]
push ecx
call fcn.00763a2c
add esp, 4
push 2
push 0
push 0
mov edx, dword [ebp - 0x314]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x77d7d8
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x77d839
push 0
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.00764249
add esp, 4
push eax
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x304]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00764249
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x314]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret