Function at 0x605350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6904e7
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x745694]
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.0065cbf7
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.005be600
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 0x605485
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x60547b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
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.005c0790
add esp, 4
test al, al
je 0x6054f3
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 0x605561
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 0x605555
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x60554b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
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 0x605645
mov esi, dword [ebp - 0x340]
push 0x38
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0065cbf7
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 0x6055fa
mov ecx, dword [ebp - 0x260]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x6055ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60600b
push edx
push ecx
call fcn.0065cc27
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 0x605631
nop dword [eax]
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.005cd2e0
push 0x38
push edi
call fcn.0065cc27
add esp, 8
mov edi, esi
test esi, esi
jne 0x605610
mov esi, dword [ebp - 0x340]
push 0x38
push dword [ebp - 0x328]
call fcn.0065cc27
mov eax, esi
jmp 0x605fde
mov eax, accept
sub eax, esi
cmp eax, 0xc
jb 0x606001
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.005b3710
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.0065cbf7
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.0060b710
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x605721
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605717
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x606006
push edx
push ecx
call fcn.0065cc27
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.0060c100
push str.profiled
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 9
call fcn.005b3860
mov eax, dword [ebp - 0x354]
mov byte [ebp - 4], 0xa
mov esi, dword [eax]
mov dword [ebp - 0x34c], esi
cmp esi, eax
je 0x605ea8
nop dword [eax]
cmp dword [esi + 0x1c], 0x10
lea edi, [esi + 8]
mov eax, edi
jb 0x60578d
mov eax, dword [edi]
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
push 0x74648c
mov dword [ebp - 0x35c], eax
lea ecx, [ebp - 0x320]
mov eax, dword [edi + 0x10]
push 0x74648c
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x35c]
push 0x74648c
push eax
call fcn.004474b0
test al, al
je 0x605e94
push edi
lea ecx, [ebp - 0x33c]
call fcn.0060c250
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.0060b4d0
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x6058c1
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6058b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
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 0x60591a
mov ecx, dword [ebp - 0x2c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605910
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
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.0060b4d0
mov edx, dword [ebp - 0x2c4]
mov edi, eax
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x6059d8
mov ecx, dword [ebp - 0x2d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6059ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
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 0x605a31
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605a27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
add esp, 8
movq xmm0, qword [str.isrelative]
mov ax, word [0x69fbe4]
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.0060b530
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x605ae0
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605ad6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
add esp, 8
cmp dword [edi + 0x10], 0
je 0x605e94
mov edx, dword [ebp - 0x348]
mov ecx, dword [edx + 0x10]
lea eax, [edx + 0x10]
mov dword [ebp - 0x334], eax
test ecx, ecx
je 0x605e94
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 0x605b73
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x605b66
mov eax, dword [edx]
push ecx
push eax
lea ecx, [ebp - 0x290]
call fcn.004484a0
cmp dword [ebp - 0x344], 0
je 0x605bf0
mov edx, dword [ebp - 0x250]
mov eax, accept
mov ecx, dword [edi + 0x10]
sub eax, edx
cmp eax, ecx
jb 0x606001
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
cmp dword [edi + 0x14], 0x10
jb 0x605bb0
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.005b3710
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 0x605c21
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 0x605ca4
mov edx, dword [ebp - 0x264]
cmp edx, 0x10
jb 0x605c5b
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605c51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
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 0x605d12
mov edx, dword [ebp - 0x234]
and eax, 0xfffffffb
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x330], eax
cmp edx, 0x10
jb 0x605cf7
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605ce7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
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 0x605d66
mov edx, dword [ebp - 0x2dc]
and eax, 0xfffffffd
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x330], eax
cmp edx, 0x10
jb 0x605d66
mov ecx, dword [ebp - 0x2f0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605d5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
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 0x605daf
cmp byte [eax], 0x2f
jne 0x605dac
mov byte [eax], 0x5c
mov edi, dword [ebp - 0x264]
mov esi, dword [ebp - 0x278]
inc eax
jmp 0x605d80
mov eax, dword [ebp - 0x348]
mov esi, dword [ebp - 0x34c]
cmp dword [eax + 0x14], 0x10
jb 0x605dc3
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 0x605df6
mov eax, dword [ebp - 0x328]
push dword [eax]
jmp 0x605dfc
push dword [ebp - 0x328]
call fcn.0060ad00
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x605e3f
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605e35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
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 0x605e94
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605e8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605ffc
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov esi, dword [esi]
mov dword [ebp - 0x34c], esi
cmp esi, dword [ebp - 0x354]
jne 0x605780
mov esi, dword [ebp - 0x340]
mov ecx, esi
push 1
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0060b460
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 0x605f2d
nop dword [eax]
mov esi, dword [edi]
lea ecx, [edi + 8]
push 0
call fcn.00447010
push 0x20
push edi
call fcn.0065cc27
add esp, 8
mov edi, esi
test esi, esi
jne 0x605f10
push 0x20
push dword [ebp - 0x354]
call fcn.0065cc27
mov eax, dword [ebp - 0x33c]
add esp, 8
push dword [eax + 4]
lea eax, [ebp - 0x33c]
push eax
mov ecx, eax
call fcn.0060adb0
push 0x30
push dword [ebp - 0x33c]
call fcn.0065cc27
mov edx, dword [ebp - 0x24c]
add esp, 8
cmp edx, 0x10
jb 0x605f9a
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x605f90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60600b
push edx
push ecx
call fcn.0065cc27
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 0x605fcb
nop
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.005cd2e0
push 0x38
push edi
call fcn.0065cc27
add esp, 8
mov edi, esi
test esi, esi
jne 0x605fb0
push 0x38
push dword [ebp - 0x328]
call fcn.0065cc27
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.0065cc3a
mov esp, ebp
pop ebp
ret
call fcn.0066375b
call fcn.00446f60
call fcn.0066375b
call fcn.0066375b
int3