Function at 0x605880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x690a67
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x330], 0
push 0x38
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
call fcn.0065d127
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x328], eax
push 0
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.005be990
add esp, 8
push 0x11
push str.MozillaFirefox_
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004485a0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x6059b5
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6059ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x298], 0
push eax
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.005c0b20
add esp, 4
test al, al
je 0x605a23
movups xmm0, xmmword [ebp - 0x230]
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x250], xmm0
mov esi, dword [ebp - 0x250]
mov edi, dword [ebp - 0x24c]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
jmp 0x605a91
mov edx, dword [ebp - 0x21c]
xor esi, esi
mov dword [ebp - 0x260], 0
mov edi, 0xf
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], edi
mov byte [ebp - 0x260], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x605a85
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605a7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], edi
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 4
test esi, esi
jne 0x605b75
mov esi, dword [ebp - 0x340]
push 0x38
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0065d127
mov edi, eax
add esp, 4
mov dword [edi], edi
mov dword [edi + 4], edi
mov eax, dword [ebp - 0x328]
mov dword [esi], eax
mov eax, dword [ebp - 0x324]
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x328], edi
mov dword [ebp - 0x324], ecx
cmp eax, 0x10
jb 0x605b2a
mov ecx, dword [ebp - 0x260]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x605b1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60653b
push edx
push ecx
call fcn.0065d157
mov edi, dword [ebp - 0x328]
add esp, 8
mov eax, dword [edi + 4]
mov dword [eax], 0
mov edi, dword [edi]
test edi, edi
je 0x605b61
nop dword [eax]
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.005cd670
push 0x38
push edi
call fcn.0065d157
add esp, 8
mov edi, esi
test esi, esi
jne 0x605b40
mov esi, dword [ebp - 0x340]
push 0x38
push dword [ebp - 0x328]
call fcn.0065d157
mov eax, esi
jmp 0x60650e
mov eax, accept
sub eax, esi
cmp eax, 0xc
jb 0x606531
push 0xc
push str.profiles.ini
cmp edi, 0x10
lea eax, [ebp - 0x260]
push esi
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x334]
call fcn.005b3730
mov eax, 0x38
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x330], eax
push 0x30
mov byte [ebp - 4], 5
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0
call fcn.0065d127
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x33c]
call fcn.0060bc40
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x605c51
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605c47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x606536
push edx
push ecx
call fcn.0065d157
add esp, 8
lea eax, [ebp - 0x354]
mov dword [ebp - 0x238], 0
push eax
lea ecx, [ebp - 0x33c]
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0060c630
push str.profiled
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 9
call fcn.005b3880
mov eax, dword [ebp - 0x354]
mov byte [ebp - 4], 0xa
mov esi, dword [eax]
mov dword [ebp - 0x34c], esi
cmp esi, eax
je 0x6063d8
nop dword [eax]
cmp dword [esi + 0x1c], 0x10
lea edi, [esi + 8]
mov eax, edi
jb 0x605cbd
mov eax, dword [edi]
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
push 0x74748c
mov dword [ebp - 0x35c], eax
lea ecx, [ebp - 0x320]
mov eax, dword [edi + 0x10]
push 0x74748c
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x35c]
push 0x74748c
push eax
call fcn.004474b0
test al, al
je 0x6063c4
push edi
lea ecx, [ebp - 0x33c]
call fcn.0060c780
mov edi, eax
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x344], edi
mov dword [ebp - 0x2b0], 4
mov dword [ebp - 0x2c0], 0x656d616e
mov byte [ebp - 0x2bc], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x2c0]
mov ecx, edi
push eax
call fcn.0060ba00
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x605df1
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605de7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x605e4a
mov ecx, dword [ebp - 0x2c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605e40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0xf
mov byte [ebp - 0x2c0], 0
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], 4
mov dword [ebp - 0x2a8], 0x68746170
mov byte [ebp - 0x2a4], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x2a8]
mov ecx, edi
push eax
call fcn.0060ba00
mov edx, dword [ebp - 0x2c4]
mov edi, eax
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x605f08
mov ecx, dword [ebp - 0x2d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605efe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x605f61
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605f57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
movq xmm0, qword [str.isrelative]
mov ax, word [0x6a0c6c]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0xa
movq qword [ebp - 0x248], xmm0
mov word [ebp - 0x240], ax
mov byte [ebp - 0x23e], 0
mov ecx, dword [ebp - 0x344]
lea eax, [ebp - 0x248]
push 0
push eax
mov byte [ebp - 4], 0xf
call fcn.0060ba60
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x606010
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x606006
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
cmp dword [edi + 0x10], 0
je 0x6063c4
mov edx, dword [ebp - 0x348]
mov ecx, dword [edx + 0x10]
lea eax, [edx + 0x10]
mov dword [ebp - 0x334], eax
test ecx, ecx
je 0x6063c4
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0xf
mov byte [ebp - 0x290], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0x10
cmp eax, edx
je 0x6060a3
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x606096
mov eax, dword [edx]
push ecx
push eax
lea ecx, [ebp - 0x290]
call fcn.004484a0
cmp dword [ebp - 0x344], 0
je 0x606120
mov edx, dword [ebp - 0x250]
mov eax, accept
mov ecx, dword [edi + 0x10]
sub eax, edx
cmp eax, ecx
jb 0x606531
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
cmp dword [edi + 0x14], 0x10
jb 0x6060e0
mov edi, dword [edi]
push ecx
push edi
push edx
push eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x334]
lea ecx, [ebp - 0x2f0]
call fcn.005b3730
mov eax, dword [ebp - 0x32c]
or eax, 0x40
or eax, 2
mov byte [ebp - 4], 0x11
lea edi, [ebp - 0x2f0]
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x330], eax
jmp 0x606151
push edi
lea ecx, [ebp - 0x248]
call fcn.005acee0
mov edi, eax
lea ecx, [ebp - 0x278]
mov eax, dword [ebp - 0x32c]
or eax, 4
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x330], eax
cmp ecx, edi
je 0x6061d4
mov edx, dword [ebp - 0x264]
cmp edx, 0x10
jb 0x60618b
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x606181
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x268], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
test al, 4
je 0x606242
mov edx, dword [ebp - 0x234]
and eax, 0xfffffffb
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x330], eax
cmp edx, 0x10
jb 0x606227
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x606217
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
mov eax, dword [ebp - 0x32c]
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov dword [ebp - 4], 0x10
test al, 2
je 0x606296
mov edx, dword [ebp - 0x2dc]
and eax, 0xfffffffd
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x330], eax
cmp edx, 0x10
jb 0x606296
mov ecx, dword [ebp - 0x2f0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x60628c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edi, dword [ebp - 0x264]
lea eax, [ebp - 0x278]
mov esi, dword [ebp - 0x278]
cmp edi, 0x10
cmovae eax, esi
nop
mov ecx, dword [ebp - 0x268]
lea edx, [ebp - 0x278]
cmp edi, 0x10
cmovae edx, esi
add ecx, edx
cmp eax, ecx
je 0x6062df
cmp byte [eax], 0x2f
jne 0x6062dc
mov byte [eax], 0x5c
mov edi, dword [ebp - 0x264]
mov esi, dword [ebp - 0x278]
inc eax
jmp 0x6062b0
mov eax, dword [ebp - 0x348]
mov esi, dword [ebp - 0x34c]
cmp dword [eax + 0x14], 0x10
jb 0x6062f3
mov eax, dword [eax]
mov ecx, dword [ebp - 0x334]
push 7
push str.default
push dword [ecx]
push eax
call fcn.005abda0
add esp, 0x10
lea ecx, [ebp - 0x328]
test al, al
lea eax, [ebp - 0x290]
push eax
je 0x606326
mov eax, dword [ebp - 0x328]
push dword [eax]
jmp 0x60632c
push dword [ebp - 0x328]
call fcn.0060b230
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x60636f
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x606365
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
cmp edx, 0x10
jb 0x6063c4
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6063ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60652c
push edx
push ecx
call fcn.0065d157
add esp, 8
mov esi, dword [esi]
mov dword [ebp - 0x34c], esi
cmp esi, dword [ebp - 0x354]
jne 0x605cb0
mov esi, dword [ebp - 0x340]
mov ecx, esi
push 1
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0060b990
mov dword [eax], eax
mov dword [eax + 4], eax
mov ecx, dword [ebp - 0x328]
mov dword [esi], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x324], ecx
lea ecx, [ebp - 0x320]
mov dword [esi + 4], eax
call fcn.00447080
mov ecx, dword [ebp - 0x354]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x60645d
nop dword [eax]
mov esi, dword [edi]
lea ecx, [edi + 8]
push 0
call fcn.00447010
push 0x20
push edi
call fcn.0065d157
add esp, 8
mov edi, esi
test esi, esi
jne 0x606440
push 0x20
push dword [ebp - 0x354]
call fcn.0065d157
mov eax, dword [ebp - 0x33c]
add esp, 8
push dword [eax + 4]
lea eax, [ebp - 0x33c]
push eax
mov ecx, eax
call fcn.0060b2e0
push 0x30
push dword [ebp - 0x33c]
call fcn.0065d157
mov edx, dword [ebp - 0x24c]
add esp, 8
cmp edx, 0x10
jb 0x6064ca
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6064c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60653b
push edx
push ecx
call fcn.0065d157
add esp, 8
mov ecx, dword [ebp - 0x328]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x6064fb
nop
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.005cd670
push 0x38
push edi
call fcn.0065d157
add esp, 8
mov edi, esi
test esi, esi
jne 0x6064e0
push 0x38
push dword [ebp - 0x328]
call fcn.0065d157
mov eax, dword [ebp - 0x340]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
call fcn.00663c8b
call fcn.00446f60
call fcn.00663c8b
call fcn.00663c8b
int3