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

Disassembly:
push 0xffffffffffffffff
push 0x437cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x44f008]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x3a8]
push 1
push 0x1a
lea eax, [esp + 0x8c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4439a3
mov ecx, ebx
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 + 0x84]
push ecx
lea ecx, [esp + 0x18]
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 0x43f824
push eax
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x3ac], 0
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___char_const__]
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a0], 2
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 + 0x64], 0x10
mov eax, dword [esp + 0x50]
jae 0x42ba35
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x18c]
push 0x104
push eax
call fcn.0042ac50
lea ecx, [esp + 0x194]
push 0x43f81c
push ecx
call dword [sym.imp.MSVCR80.dll__wfopen]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x42bb5b
mov esi, dword [sym.imp.MSVCR80.dll_fseek]
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push edi
mov ebp, eax
call esi
lea edx, [ebp + 1]
push edx
push 0x10
call fcn.00420070
push ebp
mov esi, eax
push 0
push esi
call sub.MSVCR80.dll_memset
push edi
push 1
push ebp
push esi
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x40
push esi
lea ecx, [esp + 0x6c]
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__]
test esi, esi
mov byte [esp + 0x3a0], 3
je 0x42bac9
push esi
call fcn.00420060
add esp, 4
push edi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
push 0xd
push 0
push str._accountName_
lea ecx, [esp + 0x74]
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]
mov esi, eax
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp esi, dword [eax]
je 0x42bb49
push 0xe
push esi
push str.__accountName_
lea ecx, [esp + 0x74]
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]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x42bb49
add eax, 0xe
sub eax, esi
add eax, 1
push eax
push esi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x74]
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 + 0x3a4], 4
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 + 0x30]
mov byte [esp + 0x3a0], 3
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 + 0x68]
mov byte [esp + 0x3a0], 2
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 + 0x4c]
mov dword [esp + 0x3a0], 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 + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.00436b14
add esp, 0x390
ret