Function at 0x20001845
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 0x1c], 0x6c656873
mov dword [ebp - 0x18], 0x2e32336c
mov dword [ebp - 0x14], 0x6c6c64
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x48], 0x6d6d6f43
mov dword [ebp - 0x44], 0x4c646e61
mov dword [ebp - 0x40], 0x54656e69
mov dword [ebp - 0x3c], 0x6772416f
mov dword [ebp - 0x38], 0x5776
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
cmp dword [ebp - 0xc], 1
mov edx, eax
jle 0x20001ab8
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x187]
mov byte [ebp - 0x188], bl
push 0x100
rep stosd dword es:[edi], eax
push dword [edx + 4]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x188]
push eax
call fcn.20003002
lea eax, [ebp - 0x188]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20001ab8
push ebx
mov eax, 0x535c2e2e
push ebx
push 3
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x60], eax
push ebx
push 1
lea eax, [ebp - 0x30]
push 0x80000000
push eax
mov dword [ebp - 0x2c], 0x69737365
mov dword [ebp - 0x28], 0x632e6e6f
mov dword [ebp - 0x24], 0x6766
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x5c], 0x65767265
mov dword [ebp - 0x58], 0x666e4972
mov dword [ebp - 0x54], 0x78742e6f
mov dword [ebp - 0x50], 0x74
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x20001ab8
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push eax
call edi
mov esi, eax
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp - 4], eax
lea eax, [esi + 1]
push eax
push ebx
push dword [ebp - 4]
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 0x64]
push ebx
push eax
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x20001ab8
dec esi
lea eax, [esi - 1]
mov dword [ebp - 4], eax
movsx eax, byte [eax]
push eax
call dword [sym.imp.MSVCRT.dll_isdigit]
test eax, eax
pop ecx
je 0x200019e5
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x200019ce
inc dword [ebp - 4]
push 0x20
lea eax, [ebp - 0x88]
push ebx
push eax
call sub.MSVCRT.dll_memset
sub esi, dword [ebp - 4]
lea eax, [ebp - 0x88]
push esi
push dword [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
lea eax, [ebp - 0x60]
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x20001ab8
push ebx
push eax
call edi
mov edi, eax
lea esi, [edi + 1]
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
push esi
push ebx
push eax
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 0x68]
push ebx
push eax
push edi
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x20001ab8
lea eax, [ebp - 0x88]
push eax
call sub.MSVCRT.dll_strlen
lea edi, [esi + eax + 1]
push 0x7c
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
push 0x28
push ebx
mov ebx, 0x20005290
mov esi, eax
push ebx
call sub.MSVCRT.dll_memset
sub esi, edi
push esi
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x24
pop edi
pop esi
pop ebx
leave
ret