Function at 0x417b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450439
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x46166c]
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 - 0x234]
push eax
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
xor ebx, ebx
test eax, eax
js 0x417b8e
lea ecx, [ebp - 0x238]
push ecx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x417b80
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [ebp - 0x234]
mov edx, dword [ebp - 0x238]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x417bb0
sub eax, edx
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.004099d0
push 0x28
push str.UCBrowserUser_DataDefaultPreferences
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], ebx
call fcn.0040aae0
and dword [ebp - 0x240], 0xfffffe00
mov dword [ebp - 0x23c], ebx
lea ecx, [ebp - 0x230]
push ecx
mov byte [ebp - 4], 2
call fcn.0042b200
lea edx, [ebp - 0x3b0]
push edx
mov byte [ebp - 4], 3
call fcn.0041a010
mov byte [ebp - 4], 4
cmp dword [ebp - 0x120], 0x10
mov ecx, dword [ebp - 0x134]
jae 0x417c2a
lea ecx, [ebp - 0x134]
push 0x21
lea edx, [ebp - 0x3a0]
call fcn.0041bc30
test eax, eax
jne 0x417c5f
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x3a4]
lea ecx, [ebp + ecx - 0x3b0]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x417c80
or eax, 4
jmp 0x417c80
mov ecx, dword [ebp - 0x3b0]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x378]
lea ecx, [ebp + ecx - 0x3b0]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0x417c91
push ebx
call fcn.004057a0
lea edx, [ebp - 0x3b0]
push edx
lea ecx, [ebp - 0x248]
lea edi, [ebp - 0x230]
call fcn.0042b310
test al, al
je 0x417f5c
and dword [ebp - 0x250], 0xfffffe00
mov dword [ebp - 0x24c], ebx
mov eax, esi
lea esi, [ebp - 0x150]
mov byte [ebp - 4], 6
call fcn.00429130
mov edi, eax
push str.customized_url
lea eax, [ebp - 0x258]
push eax
mov byte [ebp - 4], 7
call fcn.004299b0
mov esi, eax
mov eax, edi
call fcn.004293a0
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 6
call fcn.00429300
mov ecx, dword [ebp - 0x148]
and ecx, 0xffffff01
or ecx, 1
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x150], 3
push str.type
lea edx, [ebp - 0x258]
push edx
mov byte [ebp - 4], 8
call fcn.004299b0
mov esi, eax
lea eax, [ebp - 0x150]
call fcn.004293a0
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 6
call fcn.00429300
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x150]
call fcn.004291a0
mov edi, eax
push 0x456474
lea ecx, [ebp - 0x248]
push ecx
mov byte [ebp - 4], 9
call fcn.004299b0
push str.homepage
push eax
call fcn.004299b0
mov esi, eax
mov eax, edi
call fcn.004293a0
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 6
call fcn.00429300
mov eax, 0xf
mov dword [ebp - method.Json::StyledWriter.virtual_0], vtable.Json::StyledWriter.0
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x18c], ebx
mov byte [ebp - 0x19c], bl
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x170], ebx
mov byte [ebp - 0x180], bl
mov dword [ebp - 0x164], 0x4a
mov dword [ebp - 0x160], 3
lea edx, [ebp - 0x300]
push edx
mov byte [ebp - 4], 0xa
call fcn.0041aa10
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x134]
mov esi, 0x10
cmp dword [ebp - 0x120], esi
jae 0x417e29
lea ecx, [ebp - 0x134]
push 2
lea edx, [ebp - 0x2fc]
call fcn.0041bc30
test eax, eax
jne 0x417e5e
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x2f4]
lea ecx, [ebp + ecx - 0x300]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x417e7f
or eax, 4
jmp 0x417e7f
mov ecx, dword [ebp - 0x300]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x2c8]
lea ecx, [ebp + ecx - 0x300]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0x417e90
push ebx
call fcn.004057a0
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00427540
push eax
lea ecx, [ebp - 0x300]
push ecx
mov byte [ebp - 4], 0xc
call fcn.0040b5d0
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x144], esi
jb 0x417ed8
mov edx, dword [ebp - 0x158]
push edx
call fcn.0042f0d0
add esp, 4
lea eax, [ebp - 0x2fc]
call fcn.0041bcd0
test eax, eax
jne 0x417f1a
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x2f4]
lea ecx, [ebp + ecx - 0x300]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x417f09
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x417f1a
push ebx
call fcn.004057a0
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0xa
call fcn.0041aca0
lea ecx, [ebp - 0x2a0]
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0042e431
add esp, 4
lea ecx, [ebp - 0x1b0]
call fcn.00417010
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 4
call fcn.00429300
lea eax, [ebp - 0x3a0]
call fcn.0041bcd0
test eax, eax
jne 0x417f9e
mov edx, dword [ebp - 0x3b0]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x3a4]
lea ecx, [ebp + ecx - 0x3b0]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x417f8d
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x417f9e
push ebx
call fcn.004057a0
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 3
call fcn.0041a140
lea eax, [ebp - 0x348]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0042e431
add esp, 4
lea edi, [ebp - 0x230]
call fcn.00417a30
lea eax, [ebp - 0x248]
mov byte [ebp - 4], bl
call fcn.00429300
cmp dword [ebp - 0x120], 0x10
jb 0x417ff7
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.0042f0d0
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.0042ed1f
mov esp, ebp
pop ebp
ret