Function at 0x4347a0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560fd1
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x5bf500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x4cd], dl
mov ebx, ecx
push 7
xor eax, eax
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x454]
push 0x593000
mov dword [ebp - 0x440], 7
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], ax
call fcn.00404140
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x46c]
push 7
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
push str.Default
mov dword [ebp - 0x458], 0xf
mov dword [ebp - 0x45c], 0
mov byte [ebp - 0x46c], 0
call fcn.004027f0
mov byte [ebp - 4], 1
mov esi, dword [ebp + 8]
test esi, esi
jle 0x434a6f
sub esp, 8
lea ecx, [ebp - 0x634]
call fcn.00429260
mov byte [ebp - 4], 2
push esi
push ecx
lea ecx, [ebp - 0x624]
call fcn.0043af20
add esp, 4
mov ecx, eax
call fcn.00438ad0
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x634]
call fcn.004293f0
mov edi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x454]
cmp eax, edi
je 0x4348fb
cmp dword [ebp - 0x440], 8
jb 0x4348d2
push dword [ebp - 0x454]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x440], 7
push edi
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], ax
call fcn.00404450
mov byte [ebp - 4], 2
cmp dword [ebp - 0x428], 8
jb 0x434916
push dword [ebp - 0x43c]
call fcn.00443e80
add esp, 4
sub esp, 8
mov dword [ebp - 0x428], 7
xor eax, eax
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 0x584]
mov word [ebp - 0x43c], ax
call fcn.00438c80
mov byte [ebp - 4], 4
mov edx, str.Profile
push esi
push ecx
lea ecx, [ebp - 0x574]
call fcn.00419a40
add esp, 4
mov ecx, eax
call fcn.004117b0
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x584]
call fcn.00438e10
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x46c]
cmp eax, esi
je 0x4349c1
cmp dword [ebp - 0x458], 0x10
jb 0x43499a
push dword [ebp - 0x46c]
call fcn.00443e80
add esp, 4
push esi
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x458], 0xf
mov dword [ebp - 0x45c], 0
mov byte [ebp - 0x46c], 0
call fcn.004043b0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x428], 0x10
jb 0x4349dc
push dword [ebp - 0x43c]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x428], 0xf
mov dword [ebp - 0x42c], 0
mov byte [ebp - 0x43c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x51c]
call fcn.00438d50
lea eax, [ebp - 0x51c]
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x4d4], eax
mov byte [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0051aa41
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5cc]
call fcn.00429330
lea eax, [ebp - 0x5cc]
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x4d4], eax
mov byte [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0051aa41
add esp, 4
lea eax, [ebp - 0x424]
push eax
xor eax, eax
cmp byte [ebp - 0x4cd], al
push 0
sete al
push 0
lea eax, [eax*2 + 0x1a]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x434f42
push 0x104
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x434f42
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x484]
call fcn.00403ff0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x4cc]
call fcn.00403ff0
mov byte [ebp - 4], 9
cmp byte [ebp - 0x4cd], 0
je 0x434b18
push str.Opera_SoftwareOpera_Stable_
lea ecx, [ebp - 0x484]
call fcn.004040f0
push str.Opera_SoftwareOpera_Next_
lea ecx, [ebp - 0x4cc]
call fcn.004040f0
jmp 0x434c86
lea eax, [ebp - 0x454]
mov edx, str.GoogleChromeUser_Data_
push eax
lea ecx, [ebp - 0x4b4]
call fcn.0042c290
add esp, 4
mov byte [ebp - 4], 0xa
mov edx, eax
push 0x58d734
lea ecx, [ebp - 0x49c]
call fcn.00419d80
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x484]
push 0xffffffffffffffff
push 0
push eax
call fcn.00404bb0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x488], 8
jb 0x434b7a
push dword [ebp - 0x49c]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x488], 7
mov dword [ebp - 0x48c], 0
mov word [ebp - 0x49c], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x4a0], 8
jb 0x434bb2
push dword [ebp - 0x4b4]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x4a0], 7
mov word [ebp - 0x4b4], ax
lea ecx, [ebp - 0x49c]
lea eax, [ebp - 0x454]
mov dword [ebp - 0x4a4], 0
push eax
mov edx, str.ChromiumUser_Data_
call fcn.0042c290
add esp, 4
mov byte [ebp - 4], 0xc
mov edx, eax
push 0x58d734
lea ecx, [ebp - 0x4b4]
call fcn.00419d80
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4cc]
push 0xffffffffffffffff
push 0
push eax
call fcn.00404bb0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x4a0], 8
jb 0x434c31
push dword [ebp - 0x4b4]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x4a0], 7
mov dword [ebp - 0x4a4], 0
mov word [ebp - 0x4b4], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x488], 8
jb 0x434c69
push dword [ebp - 0x49c]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x488], 7
mov dword [ebp - 0x48c], 0
mov word [ebp - 0x49c], ax
cmp ebx, 1
jne 0x434ca0
push str.Web_Data
lea ecx, [ebp - 0x484]
call fcn.004040f0
jmp 0x434e62
cmp ebx, 2
jne 0x434cac
push str.Web_Data
jmp 0x434cb6
cmp ebx, 3
jne 0x434cdc
push str.Login_Data
lea ecx, [ebp - 0x4cc]
call fcn.004040f0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0x484]
call fcn.004044f0
jmp 0x434e62
cmp ebx, 4
je 0x434cfb
cmp ebx, 5
je 0x434cfb
push str.Login_Data
lea ecx, [ebp - 0x484]
call fcn.004040f0
jmp 0x434e62
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x434ece
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x4d4], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x434ece
push 0x58d0e4
lea ecx, [ebp - 0x484]
call fcn.0041dbe0
xor esi, esi
cmp dword [ebp - 0x4d4], esi
jle 0x434e47
lea esp, [esp]
push 0x10
push str.__user_data_dir
push dword [edi + esi*4]
call fcn.00521748
add esp, 0xc
test eax, eax
je 0x434d74
inc esi
cmp esi, dword [ebp - 0x4d4]
jl 0x434d50
jmp 0x434e47
push dword [edi + esi*4]
lea ecx, [ebp - 0x49c]
call fcn.00403ff0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4b4]
push 0xffffffffffffffff
push 0x10
push ecx
mov ecx, eax
call fcn.004042c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x484]
push eax
call fcn.00404080
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4b4]
call fcn.004040c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x49c]
call fcn.004040c0
lea eax, [ebp - 0x454]
mov edx, 0x58d734
push eax
lea ecx, [ebp - 0x49c]
call fcn.0042c290
add esp, 4
mov byte [ebp - 4], 0x10
mov edx, eax
push 0x58d734
lea ecx, [ebp - 0x4b4]
call fcn.00419d80
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x484]
push 0xffffffffffffffff
push 0
push eax
call fcn.00404bb0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4b4]
call fcn.004040c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x49c]
call fcn.004040c0
cmp ebx, 4
mov ecx, str.Login_Data
mov eax, str.Web_Data
cmovne eax, ecx
lea ecx, [ebp - 0x484]
push eax
call fcn.004040f0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, 0x58d0e4
lea ecx, [ebp - 0x484]
call fcn.0041dd90
test al, al
jne 0x434ece
lea edx, [ebp - 0x484]
lea ecx, [ebp - 0x43c]
call fcn.00403e90
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x43c]
cmp dword [ebp - 0x428], 0x10
cmovae eax, dword [ebp - 0x43c]
push eax
call fcn.00523fb0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x428], 0x10
jb 0x434eb1
push dword [ebp - 0x43c]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x428], 0xf
mov dword [ebp - 0x42c], 0
mov byte [ebp - 0x43c], 0
jmp 0x434ed0
xor esi, esi
mov byte [ebp - 4], 8
cmp dword [ebp - 0x4b8], 8
jb 0x434eeb
push dword [ebp - 0x4cc]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x4b8], 7
mov dword [ebp - 0x4bc], 0
mov word [ebp - 0x4cc], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x470], 8
jb 0x434f23
push dword [ebp - 0x484]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x470], 7
mov dword [ebp - 0x474], 0
mov word [ebp - 0x484], ax
jmp 0x434f44
xor esi, esi
mov byte [ebp - 4], 0
cmp dword [ebp - 0x458], 0x10
jb 0x434f5f
push dword [ebp - 0x46c]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x458], 0xf
mov dword [ebp - 0x45c], 0
mov byte [ebp - 0x46c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x440], 8
jb 0x434f98
push dword [ebp - 0x454]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x440], 7
mov word [ebp - 0x454], ax
mov eax, esi
mov dword [ebp - 0x444], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret