Function at 0x10004fa0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file size
Read file on windows

Disassembly:
push 0x17c
mov eax, 0x100130d8
call fcn.10012a51
mov eax, dword [ebp + 8]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x44], 0x73
mov byte [ebp - 0x43], 0x61
mov byte [ebp - 0x42], 0x66
mov byte [ebp - 0x41], 0x65
mov byte [ebp - 0x40], 0x6d
mov byte [ebp - 0x3f], 0x6f
mov byte [ebp - 0x3e], 0x6e
mov byte [ebp - 0x3d], 0x5c
mov byte [ebp - 0x3c], 0x48
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x6d
mov byte [ebp - 0x39], 0x65
mov byte [ebp - 0x38], 0x50
mov byte [ebp - 0x37], 0x61
mov byte [ebp - 0x36], 0x67
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x4c
mov byte [ebp - 0x33], 0x69
mov byte [ebp - 0x32], 0x62
mov byte [ebp - 0x31], 0x2e
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp - 0x164]
push eax
mov dword [ebp - 4], ebx
call fcn.10004d22
test eax, eax
je 0x10005327
push 0x103
lea eax, [ebp - 0x147]
push ebx
push eax
mov byte [ebp - 0x148], bl
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x160]
add esp, 0xc
cmp dword [ebp - 0x14c], 0x10
jae 0x10005075
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x148]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x168], edi
je 0x10005327
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x10005320
cmp esi, 0x1000
ja 0x10005320
lea eax, [esi + 1]
push eax
call fcn.10011f8a
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 0x184], edi
jne 0x10005109
push dword [ebp - 0x168]
jmp 0x10005321
lea eax, [esi + 1]
push eax
push ebx
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x178]
push eax
push esi
push edi
push dword [ebp - 0x168]
mov dword [ebp - 0x178], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10005177
cmp esi, dword [ebp - 0x178]
jne 0x10005177
xor eax, eax
cmp esi, ebx
mov dword [ebp - 0x170], 0x4f484951
mov dword [ebp - 0x16c], ebx
jle 0x1000516f
mov dword [ebp - 0x16c], esi
mov ecx, eax
and ecx, 3
mov cl, byte [ebp + ecx - 0x170]
xor byte [eax + edi], cl
inc eax
cmp eax, esi
jl 0x1000515b
cmp dword [ebp - 0x16c], esi
je 0x10005183
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x100050fe
push 0x1000
call fcn.10011f8a
cmp eax, ebx
pop ecx
mov dword [ebp - 0x16c], eax
je 0x10005177
mov eax, dword [ebp - 0x17c]
mov esi, dword [sym.imp.MSVCR80.dll_strtok_s]
mov dword [eax], ebx
lea eax, [ebp - 0x174]
push eax
push 0x10015e64
push edi
mov dword [ebp - 0x174], ebx
call esi
add esp, 0xc
cmp eax, ebx
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x6d
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x50
mov byte [ebp - 0x27], 0x61
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x50
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], 0x68
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x6d
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x67
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], bl
je 0x100052ec
mov edi, 0x10015e68
push eax
push 0x1000
push dword [ebp - 0x16c]
call dword [sym.imp.MSVCR80.dll_strcpy_s]
lea eax, [ebp - 0x170]
push eax
push edi
push dword [ebp - 0x16c]
mov dword [ebp - 0x170], ebx
call esi
add esp, 0x18
cmp eax, ebx
mov dword [ebp - 0x180], eax
je 0x100052cc
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x10005297
lea eax, [ebp - 0x170]
push eax
push edi
push ebx
call esi
add esp, 0xc
cmp eax, ebx
je 0x100052cc
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
pop ecx
mov ecx, dword [ebp - 0x17c]
mov dword [ecx], eax
jmp 0x100052cc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x180]
call dword [sym.imp.MSVCR80.dll__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x100052cc
lea eax, [ebp - 0x170]
push eax
push edi
push ebx
call esi
add esp, 0xc
cmp eax, ebx
je 0x100052cc
mov ecx, dword [ebp - 0x188]
push eax
call dword [0x100151e8]
lea eax, [ebp - 0x174]
push eax
push 0x10015e64
push ebx
call esi
add esp, 0xc
cmp eax, ebx
jne 0x1000522d
mov edi, dword [ebp - 0x184]
push dword [ebp - 0x16c]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
pop ecx
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
inc eax
jmp 0x10005339
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
call fcn.10012a9b
ret 8