Function at 0x4968f2
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4b4aed
call fcn.0049f0d0
sub esp, 0x2cc
mov eax, dword [0x4f0dd0]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
test byte [0x53ae94], 1
push edi
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], ebx
mov edi, 0x53ae78
jne 0x49694e
or dword [0x53ae94], 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 0x4b6bcc
call fcn.0049f1d6
or dword [ebp - 4], 0xffffffff
pop ecx
cmp dword [0x53ae8c], ebx
jne 0x496a4b
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 0x496982
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 0x4969f3
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x4969ec
lea eax, [ebp - 0x230]
push eax
call fcn.004968ca
pop ecx
push 0x4cb040
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00406b0a
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call dword [0x4b743c]
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 0x53ae78
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.0049f127
leave
ret