Function at 0x402620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d878
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4671f0]
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 dword [ebp - 0x10], esp
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x68], 0
push str.CloseApplication
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.00401320
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.00402040
mov esi, dword [ebp - 0x70]
mov byte [ebp - 0x5d], al
test esi, esi
je 0x4026ad
cmp byte [ebp - 0x6c], 0
je 0x4026ad
push esi
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push esi
call fcn.00434014
mov al, byte [ebp - 0x5d]
add esp, 0xc
test al, al
je 0x4027a0
push str.CloseApplication
lea ecx, [ebp - 0x20]
call fcn.00401320
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040b730
add esp, 8
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x40270c
cmp byte [ebp - 0x18], 0
je 0x402701
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x1c]
call fcn.00434014
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov esi, dword [eax]
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x40273c
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [eax + 4]
add ecx, edx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x60]
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 5
test eax, eax
je 0x402760
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 6
test eax, eax
je 0x40277b
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 7
test eax, eax
je 0x402799
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x402db6
push str.ShowApplicationLogs
lea ecx, [ebp - 0x74]
call fcn.00401320
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.00402040
mov esi, dword [ebp - 0x70]
mov byte [ebp - 0x5d], al
test esi, esi
je 0x4027dc
cmp byte [ebp - 0x6c], 0
je 0x4027dc
push esi
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push esi
call fcn.00434014
mov al, byte [ebp - 0x5d]
add esp, 0xc
test al, al
je 0x402b61
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
call edi
mov esi, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call fcn.00405c00
mov ebx, dword [ebp - 0x74]
push ebx
push esi
call edi
mov eax, dword [ebp - 0x70]
xor ecx, ecx
add eax, 0xfffffffe
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], cx
cmp ebx, eax
je 0x402847
sub eax, ebx
lea ecx, [ebp - 0x44]
sar eax, 1
push eax
push ebx
call fcn.00404cc0
push 2
push 0xffffffffffffffff
push 0x451580
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.00405420
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406080
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x4028a6
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x402889
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00405020
xor eax, eax
mov dword [ebp - 0x30], 7
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00403600
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x4028bf
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00405020
push 2
push 0xffffffffffffffff
push 0x451580
lea ecx, [ebp - 0x44]
call fcn.00405420
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406080
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x40291a
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4028fd
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00405020
xor eax, eax
mov dword [ebp - 0x30], 7
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00403600
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x402933
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00405020
push 0x451588
lea ecx, [ebp - 0x2c]
call fcn.00401650
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00404750
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x40296a
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00405020
push 0x19
push 0x45158c
lea ecx, [ebp - 0x44]
call fcn.00404860
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
push 1
push 0x40
push 0x24
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x134]
call fcn.004013e0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x134]
call fcn.004060f0
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
ja 0x4029d8
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], ecx
cmovae eax, dword [ebp - 0x5c]
mov byte [eax + ecx], 0
jmp 0x4029e5
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00404580
push 0
push 0
push 0
lea ecx, [ebp - 0x134]
call fcn.00405c60
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
mov ecx, dword [ebp - 0x2c]
cmovae edx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
adc eax, dword [ebp - 0x20]
push eax
push ecx
push edx
lea ecx, [ebp - 0x134]
call fcn.00405ab0
lea ecx, [ebp - 0x134]
call fcn.004020f0
mov ebx, dword [ebp - 0x64]
jmp 0x402a34
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
call fcn.00402de0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040c620
add esp, 8
mov esi, dword [eax]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x402a86
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx]
mov dword [ebx], esi
test ecx, ecx
je 0x402a9e
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 0x13
test eax, eax
je 0x402ab9
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x402ae0
cmp byte [ebp - 0x18], 0
je 0x402ae0
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x1c]
call fcn.00434014
add esp, 0xc
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x402af5
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00405080
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp eax, 8
jb 0x402b1c
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00405020
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00401e40
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x14
test eax, eax
je 0x402799
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x402db6
push str.RestartApplication
lea ecx, [ebp - 0x74]
call fcn.00401320
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x15
push eax
mov ecx, edi
mov dword [ebp - 0x68], 1
call fcn.00402040
test al, al
je 0x402bc5
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
cmp eax, 2
jne 0x402bc5
push 0
mov ecx, ebx
call fcn.00404dc0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x402bc5
push 1
mov ecx, ebx
call fcn.00404dc0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov byte [ebp - 0x5d], 1
test al, al
jne 0x402bc9
mov byte [ebp - 0x5d], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.00401c90
cmp byte [ebp - 0x5d], 0
je 0x402d96
push str.RestartApplication
lea ecx, [ebp - 0x74]
call fcn.00401320
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040b730
add esp, 8
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x18
call fcn.00401c90
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [eax]
push 2
mov byte [ebp - 4], 0x19
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x402c43
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
push 0
mov ecx, ebx
mov byte [ebp - 4], 0x18
call fcn.00404dc0
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x68]
push edx
mov edi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [eax]
lea ecx, [ebp - 0x20]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x1b
call dword [eax + 0x4c]
mov edx, dword [esi]
mov ecx, esi
push eax
push 0
mov byte [ebp - 4], 0x1c
call dword [edx + 0x60]
lea ecx, [ebp - 0x20]
call fcn.00401c90
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x402ca0
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [eax + 4]
add ecx, edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, ebx
mov byte [ebp - 4], 0x18
call fcn.00404dc0
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x68]
push edx
mov edi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [eax]
lea ecx, [ebp - 0x20]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x1e
call dword [eax + 0x4c]
mov edx, dword [esi]
mov ecx, esi
push eax
push 1
mov byte [ebp - 4], 0x1f
call dword [edx + 0x60]
lea ecx, [ebp - 0x20]
call fcn.00401c90
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x402cfd
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 0x18
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov esi, dword [eax]
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x21
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x402d31
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [eax + 4]
add ecx, edx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x60]
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x402d55
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x402d70
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x24
test eax, eax
je 0x402799
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x402db6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x25
test eax, eax
je 0x402db4
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
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.004344cb
mov esp, ebp
pop ebp
ret 0x14