Function at 0x42bba0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x437d6c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x44f008]
xor eax, esp
mov dword [esp + 0x4a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0x4bc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x4d0]
mov ebx, dword [esp + 0x4cc]
push 0x104
lea eax, [esp + 0xac]
push 0
push eax
mov dword [esp + 0x24], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0xa8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str._bin
lea ecx, [esp + 0x74]
mov dword [esp + 0x4c8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
mov byte [esp + 0x4c4], 1
jb 0x42bc5c
mov eax, dword [eax + 4]
jmp 0x42bc5f
add eax, 4
push ecx
push 0
push eax
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
lea ecx, [esp + 0x70]
mov esi, eax
mov byte [esp + 0x4c4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
push 0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
mov ecx, ebx
mov byte [esp + 0x4c8], 2
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x70]
mov byte [esp + 0x4c4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ebp, dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push str._bin
lea ecx, [esp + 0x74]
push ebx
push ecx
call ebp
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x4c8], 3
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x70]
mov byte [esp + 0x4c4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str.RakNet.dll
lea edx, [esp + 0x74]
push edi
push edx
call ebp
mov esi, 0x10
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x42bd14
mov eax, dword [eax + 4]
jmp 0x42bd17
add eax, 4
push 0
push eax
call dword [sym.imp.MSVCR80.dll__access]
add esp, 8
cmp eax, 0xffffffff
lea ecx, [esp + 0x70]
sete byte [esp + 0x17]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x42bf17
push 1
push 0x1a
lea eax, [esp + 0x1b4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x1ac]
push ecx
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x43f848
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x4d0], 4
call ebp
add esp, 0xc
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c4], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esp + 0x88], esi
mov eax, dword [esp + 0x74]
jae 0x42bda1
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x2b4]
push 0x104
push eax
call fcn.0042ac50
lea ecx, [esp + 0x2bc]
push 0x43f81c
push ecx
call dword [sym.imp.MSVCR80.dll__wfopen]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42beba
mov edi, dword [sym.imp.MSVCR80.dll_fseek]
push 2
push 0
push esi
call edi
push esi
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push esi
mov ebp, eax
call edi
lea edx, [ebp + 1]
push edx
push 0x10
call fcn.00420070
push esi
push 1
mov edi, eax
push ebp
push edi
call dword [sym.imp.MSVCR80.dll_fread]
push esi
mov byte [edi + ebp], 0
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x38
push edi
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
mov ecx, ebx
mov byte [esp + 0x4c8], 7
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c4], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test edi, edi
je 0x42be52
push edi
call fcn.00420060
add esp, 4
push str._bin
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea eax, [esp + 0x3c]
push ebx
push eax
mov byte [esp + 0x4d0], 8
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0x4c8], 9
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c4], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c4], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push str.RakNet.dll
lea ecx, [esp + 0x20]
push edi
push ecx
call ebp
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x42bed5
mov eax, dword [eax + 4]
jmp 0x42bed8
add eax, 4
push 0
push eax
call dword [sym.imp.MSVCR80.dll__access]
add esp, 8
cmp eax, 0xffffffff
lea ecx, [esp + 0x1c]
sete bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x42bf05
push 0x4439a3
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0x70]
mov byte [esp + 0x4c4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x4c4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x4bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
call fcn.00436b14
add esp, 0x4b4
ret