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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a54
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
mov dword [ebp - 0x1c], 0
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 0x10001fee
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10001fee
cmp dword [ebp - 0x2c], 6
jbe 0x10001fee
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 - 0x28]
push edx
push 6
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [ebp - 0x1e], 0
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.10004cd0
add esp, 8
test eax, eax
jne 0x10001f0b
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x48], 0
jbe 0x10001ef1
push 0
push 0
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x28]
push ecx
push 0x1a00
lea edx, [ebp - 0x1a48]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x1a48]
push eax
call fcn.10001980
add esp, 8
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x1a48]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
jmp 0x10001e5c
push 2
push 0
push 0xfffffffffffffffa
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.10004cd0
add esp, 8
test eax, eax
jne 0x10001fee
mov dword [ebp - 0x1a54], 0
jmp 0x10001f3e
mov ecx, dword [ebp - 0x1a54]
add ecx, 1
mov dword [ebp - 0x1a54], ecx
cmp dword [ebp - 0x1a54], 0x64
jge 0x10001fd4
mov edx, dword [ebp - 0x1a54]
imul edx, edx, 0xd
mov eax, dword [ebp - 0x2c]
sub eax, 0x14
cmp edx, eax
jae 0x10001fcf
push 0
push 0
mov ecx, dword [ebp - 0x1a54]
imul ecx, ecx, 0xd
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x28]
push eax
push 6
lea ecx, [ebp - 0x1a50]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x1a50]
push eax
call fcn.10001940
add esp, 4
push 0
push 0
mov ecx, dword [ebp - 0x1a54]
imul ecx, ecx, 0xd
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x28]
push eax
push 6
lea ecx, [ebp - 0x1a50]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10001f2f
push 2
push 0
push 0xfffffffffffffffa
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100042b8
mov esp, ebp
pop ebp
ret