Function at 0x422e07
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x488240]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x4b0], 0
push ebx
call fcn.00406300
mov ebx, eax
lea ecx, [ebp - 0x474]
push str.disable_breakpad
mov dword [ebp - 0x4ac], ebx
call fcn.00401fd0
lea eax, [ebp - 0x474]
mov ecx, ebx
push eax
call fcn.00406cc0
push 0
push 1
lea ecx, [ebp - 0x474]
mov bl, al
call fcn.00402f50
test bl, bl
jne 0x4232ff
push dword [ebp + 8]
lea ecx, [ebp - 0x4c0]
call fcn.00407890
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0040fb90
cmp dword [ebp - 0x41c], 0
mov ebx, str.browser
pop ecx
pop ecx
jne 0x422eab
push ebx
call fcn.00405850
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x42c]
call fcn.004082b0
push esi
push edi
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x414]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x474]
call fcn.004073b0
call fcn.00438cad
mov esi, eax
lea ecx, [ebp - 0x444]
lea eax, [ebp - 0x474]
push eax
mov edi, dword [esi]
call fcn.0040a700
push eax
mov ecx, esi
call dword [edi + 0x1c]
lea ecx, [ebp - 0x444]
mov byte [ebp - 0x4b8], al
call fcn.004074c0
push ebx
push 1
lea ecx, [ebp - 0x474]
call fcn.00407d10
push 0x30
call fcn.0043aa02
pop ecx
test eax, eax
je 0x422f34
mov ecx, eax
call fcn.00438fc3
mov esi, eax
jmp 0x422f36
mov esi, ebx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x474]
call fcn.004073b0
call fcn.00438cad
push eax
call fcn.00406300
push eax
lea eax, [ebp - 0x4a4]
push eax
call fcn.00422d11
pop ecx
push eax
lea eax, [ebp - 0x42c]
mov ecx, esi
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.0043906e
push ebx
push 1
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x4b4], eax
call fcn.00407d10
push ebx
push 1
lea ecx, [ebp - 0x474]
call fcn.00407d10
mov esi, str.browser
mov dword [ebp - 0x4a8], ebx
push esi
mov edi, ebx
call fcn.00405850
pop ecx
push eax
push esi
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x42c]
push ebx
call fcn.00408570
test eax, eax
jne 0x422fcc
mov edi, 0x422ba7
jmp 0x422ffa
mov esi, 0x45e89c
push esi
call fcn.00405850
pop ecx
push eax
push esi
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x42c]
push ebx
call fcn.00408570
mov esi, str.browser
test eax, eax
jne 0x423004
mov edi, 0x4235d1
mov dword [ebp - 0x4a8], fcn.00422bcf
push esi
call fcn.00405850
pop ecx
push eax
push esi
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x42c]
push ebx
call fcn.00408570
test eax, eax
jne 0x42303b
push dword [ebp - 0x4b8]
call fcn.00423321
pop ecx
call fcn.00438cad
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x28]
call fcn.0040e4e0
mov esi, eax
mov dword [ebp - 0x448], 0xf
mov dword [ebp - 0x44c], ebx
lea ecx, [ebp - 0x45c]
mov byte [ebp - 0x45c], bl
push ecx
mov eax, dword [esi]
mov ecx, esi
push 0x45e700
call dword [eax + 4]
test al, al
jne 0x423096
test edi, edi
je 0x42307a
push edi
call fcn.0042330e
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x45c]
call fcn.00402f50
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push ebx
jmp 0x4232f0
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
cmovae eax, dword [ebp - 0x45c]
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x4bc], eax
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.0040fb90
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0043d980
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.full_memory_crash_report
lea ecx, [ebp - 0x444]
mov edi, 0x120
call fcn.00401fd0
mov ecx, dword [ebp - 0x4ac]
lea eax, [ebp - 0x444]
push eax
call fcn.00406cc0
push 0
push 1
lea ecx, [ebp - 0x444]
mov bl, al
call fcn.00402f50
test bl, bl
je 0x423140
add edi, 6
jmp 0x42315c
call fcn.00438cad
push dword [ebp - 0x4b8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
mov ecx, 0x160
cmovne edi, ecx
push 0xc8
call fcn.0043aa02
mov dword [ebp - 0x4ac], eax
pop ecx
test eax, eax
je 0x4231ca
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x444]
call fcn.004073b0
push dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4ac]
lea eax, [ebp - 0x48c]
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x478], 8
cmovae eax, dword [ebp - 0x48c]
push eax
push edi
push 7
push 0
push dword [ebp - 0x4a8]
lea eax, [ebp - 0x444]
push 0x422cd3
push eax
call fcn.00457162
mov dword [0x48a000], eax
jmp 0x4231d7
and dword [0x48a000], 0
mov ebx, dword [ebp - 0x4b0]
test bl, 1
je 0x4231ee
push 0
push 1
lea ecx, [ebp - 0x444]
and ebx, 0xfffffffe
call fcn.00407d10
push 0xc8
call fcn.0043aa02
mov dword [ebp - 0x4b0], eax
pop ecx
test eax, eax
je 0x42325b
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x444]
call fcn.004073b0
push dword [ebp - 0x4b4]
or ebx, 2
lea ecx, [ebp - 0x48c]
cmp dword [ebp - 0x478], 8
lea eax, [ebp - 0x444]
cmovae ecx, dword [ebp - 0x48c]
push ecx
mov ecx, dword [ebp - 0x4b0]
push edi
xor edi, edi
push edi
push edi
push method.std::codecvt_char__char__int_.virtual_12
push 0x422d00
push eax
call fcn.00457162
mov dword [0x48a004], eax
jmp 0x423263
xor edi, edi
mov dword [0x48a004], edi
test bl, 2
je 0x423276
push edi
push 1
lea ecx, [ebp - 0x444]
call fcn.00407d10
push sym.chrome.exe_DumpProcessWithoutCrash
call fcn.0041da00
mov eax, dword [0x48a000]
pop ecx
cmp dword [eax + 0xc], edi
je 0x4232cb
mov ebx, str.browser
mov byte [eax + 0xbd], 1
push ebx
call fcn.00405850
pop ecx
push eax
push ebx
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x42c]
push edi
call fcn.00408570
test eax, eax
je 0x4232cb
call fcn.00438cad
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
jne 0x4232cb
call fcn.004234d1
push edi
push 1
lea ecx, [ebp - 0x48c]
call fcn.00407d10
push edi
push 1
lea ecx, [ebp - 0x45c]
call fcn.00402f50
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
push 1
lea ecx, [ebp - 0x42c]
call fcn.00407d10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043b1e4
mov esp, ebp
pop ebp
ret