Function at 0x4b9ea6
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4e71f3
call fcn.004d1d50
sub esp, 0x2cc
mov eax, dword [0x52e400]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
test byte [0x534e74], 1
push edi
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], ebx
mov edi, 0x534e58
jne 0x4b9f02
or dword [0x534e74], 1
mov ecx, edi
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x4e9f2d
call fcn.004d1e5c
or dword [ebp - 4], 0xffffffff
pop ecx
cmp dword [0x534e6c], ebx
jne 0x4b9fff
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x4b9f36
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
xor esi, esi
inc esi
push esi
push 2
lea ecx, [ebp - 0x2d8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
push str.Thunder_NetworkThunderLiveUD_
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____wchar_t_const__]
push eax
call esi
pop ecx
pop ecx
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2d8]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
cmp byte [ebp + 0xc], bl
mov byte [ebp - 4], 2
pop esi
je 0x4b9fa7
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x4b9fa0
lea eax, [ebp - 0x230]
push eax
call fcn.004b9e7e
pop ecx
push 0x502aac
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00407aea
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call dword [0x4eb500]
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov ecx, dword [ebp - 0x238]
push 0x534e58
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x238]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop ebx
call fcn.004d1da7
leave
ret