Function at 0x443400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c832d
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x4fbf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x330]
push eax
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
xor ebx, ebx
test eax, eax
js 0x44348e
lea ecx, [ebp - 0x32c]
push ecx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x443480
mov eax, dword [ebp - 0x32c]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x330]
mov edx, dword [ebp - 0x32c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4434b0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00403c20
push 0x28
push str.UCBrowserUser_DataDefaultPreferences
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
call fcn.0040b420
push ebx
lea ecx, [ebp - 0x368]
call fcn.004c03e0
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 1
call fcn.004c3130
lea edx, [ebp - 0x4e0]
push edx
mov byte [ebp - 4], 2
call fcn.00445740
mov byte [ebp - 4], 3
cmp dword [ebp - 0x220], 8
mov ecx, dword [ebp - 0x234]
jae 0x44352b
lea ecx, [ebp - 0x234]
push 0x21
lea esi, [ebp - 0x4d0]
call fcn.0040b850
push ebx
test eax, eax
jne 0x443557
mov eax, dword [ebp - 0x4e0]
mov ecx, dword [eax + 4]
push 2
lea ecx, [ebp + ecx - 0x4e0]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x44356e
mov ecx, dword [ebp - 0x4e0]
mov ecx, dword [ecx + 4]
push ebx
lea ecx, [ebp + ecx - 0x4e0]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push 1
lea edx, [ebp - 0x368]
push edx
lea eax, [ebp - 0x4e0]
push eax
lea ecx, [ebp - 0x328]
call fcn.004c4f10
test al, al
je 0x443835
push ebx
lea ecx, [ebp - 0x358]
call fcn.004c03e0
mov byte [ebp - 4], 4
push 6
mov esi, 0xf
push str.GB2312
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x370], esi
mov dword [ebp - 0x374], ebx
mov byte [ebp - 0x384], bl
call fcn.00403920
push edi
lea ecx, [ebp - 0x384]
lea ebx, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.0040d2a0
add esp, 4
mov bl, 6
push eax
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], bl
call fcn.004bfc10
push eax
push str.customized_url
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 7
call fcn.004c17f0
mov ecx, eax
call fcn.004c13e0
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], bl
call fcn.004c04e0
mov edi, 0x10
cmp dword [ebp - 0x23c], edi
jb 0x44363b
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
cmp dword [ebp - 0x370], edi
jb 0x44366e
mov edx, dword [ebp - 0x384]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 3
lea ecx, [ebp - 0x348]
call fcn.004bf330
push eax
mov ebx, 8
push str.type
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], bl
call fcn.004c17f0
mov ecx, eax
call fcn.004c13e0
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 4
call fcn.004c04e0
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x348]
call fcn.004c1280
push eax
push str.homepage
push 0x4f19fc
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 9
call fcn.004c17f0
mov ecx, eax
call fcn.004c17f0
mov ecx, eax
call fcn.004c13e0
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 4
call fcn.004c04e0
lea ecx, [ebp - 0x2a8]
call fcn.004be7d0
lea ecx, [ebp - 0x430]
push ecx
mov byte [ebp - 4], 0xa
call fcn.00445870
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x443726
lea ecx, [ebp - 0x234]
push 2
lea esi, [ebp - 0x42c]
call fcn.0040b850
push 0
test eax, eax
jne 0x443753
mov edx, dword [ebp - 0x430]
mov ecx, dword [edx + 4]
push 2
lea ecx, [ebp + ecx - 0x430]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x44376b
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax + 4]
push 0
lea ecx, [ebp + ecx - 0x430]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
lea ecx, [ebp - 0x368]
push ecx
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.004bf230
push eax
lea eax, [ebp - 0x430]
push eax
mov byte [ebp - 4], 0xc
call fcn.004468b0
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x23c], edi
jb 0x4437b4
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x430]
push edx
call fcn.0040a800
mov ecx, dword [ebp - 0x430]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x3d0]
mov dword [ebp - 0x334], eax
mov dword [ebp + edx - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xd
call fcn.0040a870
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax + 4]
mov edx, dword [sym.imp.MSVCP100.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov dword [ebp + ecx - 0x430], edx
lea ecx, [ebp - 0x3d0]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 4
call fcn.00442af0
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 3
call fcn.004c04e0
xor ebx, ebx
lea eax, [ebp - 0x4e0]
push eax
call fcn.00445800
mov edx, dword [ebp - 0x4e0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x334], ecx
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 0xe
call fcn.0040a870
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [ecx + 4]
mov eax, dword [sym.imp.MSVCP100.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
lea ecx, [ebp - 0x478]
mov dword [ebp + edx - 0x4e0], eax
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x328]
call fcn.004432f0
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], bl
call fcn.004c04e0
cmp dword [ebp - 0x220], 8
jb 0x4438c7
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7299
mov esp, ebp
pop ebp
ret