Function at 0x4c2250
Capabilities:
Get common file path

Disassembly:
mov eax, 0x179c
call fcn.00618800
mov eax, dword [0x6d7160]
xor eax, esp
mov dword [esp + 0x1794], eax
mov eax, dword [esp + 0x17a4]
push ebx
xor ebx, ebx
cmp byte [0x6fcb80], bl
push ebp
mov ebp, dword [esp + 0x17a8]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
push esi
mov dword [ebp + 0x3c], ebx
lea esi, [ebp + 0x24]
mov dword [ebp + 0x40], ebx
push edi
mov byte [ebp + 0x44], bl
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x54], bl
mov byte [ebp + 0x55], 1
mov byte [ebp + 0x56], bl
mov byte [ebp + 0x57], bl
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], ebx
jne 0x4c296a
push 0x4c2180
call fcn.0060b2eb
mov eax, str.Google_Photo_Viewer
add esp, 4
mov dword [esp + 0x10], ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4c22f0
sub eax, edx
mov edi, str.Google_Photo_Viewer
lea ecx, [esp + 0x10]
call fcn.00459750
mov ecx, dword [esp + 0x10]
cmp dword [ebp + 0x20], ecx
lea edi, [ebp + 0x20]
je 0x4c234c
call fcn.00401700
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [edi], eax
je 0x4c234c
mov edx, eax
movzx eax, byte [edx]
cmp eax, 0x80
jae 0x4c2345
mov ecx, edx
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4c234c
mov eax, edi
call fcn.00459380
lea edi, [esp + 0x10]
call fcn.00401700
mov eax, 0x67b9f0
mov dword [esp + 0x10], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4c2361
sub eax, edx
mov edi, 0x67b9f0
lea ecx, [esp + 0x10]
call fcn.00459750
mov edx, dword [esp + 0x10]
cmp dword [esi], edx
je 0x4c23b8
mov edi, esi
call fcn.00401700
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esi], eax
je 0x4c23b8
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x4c23b1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4c23b8
mov eax, esi
call fcn.00459380
lea edi, [esp + 0x10]
call fcn.00401700
push 0x103
lea edx, [esp + 0x1595]
push ebx
push edx
mov byte [esp + 0x159c], bl
call fcn.0060c930
add esp, 0xc
push 0x104
lea eax, [esp + 0x1594]
push eax
push ebx
call dword [0x6fc18c]
lea eax, [esp + 0x1590]
lea edi, [esp + 0xa98]
call fcn.00407270
mov eax, dword [esp + 0x10b0]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4c2426
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x4c2426
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x12b8]
cmp eax, ebx
je 0x4c2436
add eax, 4
jmp 0x4c2438
xor eax, eax
push eax
lea eax, [esp + 0x14]
call fcn.00459410
mov edx, dword [ebp + 0x2c]
cmp edx, dword [esp + 0x10]
lea esi, [ebp + 0x2c]
je 0x4c2484
mov edi, esi
call fcn.00401700
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esi], eax
je 0x4c2484
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x4c247d
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4c2484
mov eax, esi
call fcn.00459380
lea edi, [esp + 0x10]
call fcn.00401700
mov esi, dword [esi]
cmp esi, ebx
je 0x4c24a0
test dword [esi], 0xffffff00
je 0x4c24a0
cmp byte [esi + 4], bl
jne 0x4c24ca
mov eax, 0xb
mov edi, 0x6a1db4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
call fcn.00459750
lea esi, [esp + 0x10]
lea eax, [ebp + 0x2c]
call fcn.004017d0
mov edi, esi
call fcn.00401700
xor eax, eax
mov edi, 0x67b348
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
call fcn.00459750
push 1
lea edx, [esp + 0x14]
push edx
push str.AppPath
mov ecx, str.SOFTWAREGooglePicasaPicasa2Runtime
mov eax, SysReAllocString
lea esi, [esp + 0x64]
call fcn.00409300
lea edi, [esp + 0x10]
call fcn.00401700
mov ecx, esi
call fcn.00409420
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp eax, dword [esi]
je 0x4c254b
lea edi, [ebp + 0x14]
call fcn.00401700
mov eax, dword [esi]
cmp eax, ebx
mov dword [edi], eax
je 0x4c254b
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x4c2544
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4c254b
mov eax, edi
call fcn.00459380
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x4c2573
test dword [eax], 0xffffff00
je 0x4c2573
cmp byte [eax + 4], bl
je 0x4c2573
cmp eax, ebx
je 0x4c2568
add eax, 4
jmp 0x4c256a
xor eax, eax
call fcn.0048a0b0
test al, al
jne 0x4c2580
cmp dword [ebp + 0x58], ebx
je 0x4c2955
mov byte [ebp + 0x57], 1
push ebx
call fcn.0061a6a4
add esp, 4
push eax
call fcn.0060914e
add esp, 4
xor eax, eax
mov edi, 0x67b348
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
call fcn.00459750
lea edx, [esp + 0x10]
push edx
push str.Preferences
lea eax, [esp + 0x48]
push eax
mov eax, str.ClientCrash
call fcn.00405f80
lea edi, [esp + 0x10]
call fcn.00401700
lea ecx, [esp + 0x40]
call fcn.00409420
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4c25ed
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x4c25ed
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [esp + 0x14]
lea eax, [ebp + 0x30]
call fcn.004017d0
mov edi, esi
call fcn.00401700
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x4c2614
test dword [eax], 0xffffff00
je 0x4c2614
cmp byte [eax + 4], bl
jne 0x4c2647
call fcn.0060915b
push eax
call fcn.0060915b
push eax
call fcn.0060915b
push eax
call fcn.0060915b
push eax
push str._x_x_x_x
lea esi, [ebp + 0x30]
call fcn.00407380
add esp, 0x14
mov ecx, esi
lea edx, [esp + 0x40]
call fcn.00406120
push ebx
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.004758d0
lea edx, [esp + 0x2c]
add esp, 0xc
push edx
call fcn.0061a6a4
lea eax, [esp + 0x24]
add esp, 4
push eax
call fcn.0061b19a
add esp, 4
push eax
push str._y_m_d__H_M_S
lea ecx, [esp + 0x14c8]
push 0xc8
push ecx
call fcn.006139fc
add esp, 0x10
lea edx, [esp + 0x1698]
push edx
push 0x104
mov byte [esp + 0x1590], bl
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x14c0]
mov dword [esp + 0x14], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4c26b5
sub eax, edx
lea edi, [esp + 0x14c0]
lea ecx, [esp + 0x14]
call fcn.00459750
mov eax, 1
mov edi, 0x6ac2dc
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
call fcn.00459750
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x24]
lea eax, [ebp + 0x20]
call fcn.0040cd40
add esp, 4
lea esi, [esp + 0x20]
call fcn.0040cd40
lea edi, [esp + 0x18]
call fcn.00401700
lea edi, [esp + 0x10]
mov dword [esp + 0x18], ebx
call fcn.00401700
lea edi, [esp + 0x14]
call fcn.00401700
lea eax, [esp + 0x1698]
lea edi, [esp + 0x70]
call fcn.00407270
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4c2746
lea edx, [eax + 4]
jmp 0x4c2748
xor edx, edx
xor ebx, ebx
lea esi, [esp + 0x70]
call fcn.0045bdd0
mov eax, str..dmp
mov edi, esi
call fcn.0045bc80
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4c276c
lea edi, [eax + 4]
jmp 0x4c276e
xor edi, edi
xor esi, esi
test edi, edi
mov dword [esp + 0x14], esi
je 0x4c2798
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c2780
sub eax, edx
lea ecx, [esp + 0x14]
call fcn.00459750
mov esi, dword [esp + 0x14]
cmp dword [ebp + 0xc], esi
lea edi, [ebp + 0xc]
je 0x4c27d0
call fcn.00401700
test esi, esi
mov dword [edi], esi
je 0x4c27d0
movzx edx, byte [esi]
cmp edx, 0x80
jae 0x4c27c9
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4c27d0
mov eax, edi
call fcn.00459380
lea edi, [esp + 0x14]
call fcn.00401700
mov eax, str..dat
lea edi, [esp + 0x70]
call fcn.0045bc80
mov edi, dword [esp + 0x70]
test edi, edi
je 0x4c27f4
add edi, 4
jmp 0x4c27f6
xor edi, edi
xor esi, esi
test edi, edi
mov dword [esp + 0x14], esi
je 0x4c281d
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c2805
sub eax, edx
lea ecx, [esp + 0x14]
call fcn.00459750
mov esi, dword [esp + 0x14]
cmp dword [ebp + 0x10], esi
lea ebx, [ebp + 0x10]
je 0x4c2856
mov edi, ebx
call fcn.00401700
test esi, esi
mov dword [ebx], esi
je 0x4c2856
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x4c284f
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4c2856
mov eax, ebx
call fcn.00459380
lea edi, [esp + 0x14]
call fcn.00401700
push 0x4c2c30
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c2888
lea ecx, [eax + 4]
test ecx, ecx
je 0x4c2888
test eax, eax
je 0x4c2884
add eax, 4
jmp 0x4c288d
xor eax, eax
jmp 0x4c288d
mov eax, 0x67b348
push eax
push str._dump__d___s_
lea esi, [ebp + 0x40]
call fcn.00407380
mov eax, dword [ebx]
add esp, 8
test eax, eax
je 0x4c28b8
lea ecx, [eax + 4]
test ecx, ecx
je 0x4c28b8
test eax, eax
je 0x4c28b4
add eax, 4
jmp 0x4c28bd
xor eax, eax
jmp 0x4c28bd
mov eax, 0x67b348
push eax
push str._i___s_
mov eax, esi
call fcn.00407360
lea eax, [ebp + 0x34]
push eax
call fcn.0046e390
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 0x4c], eax
call fcn.0060915b
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
sub ecx, edx
jne 0x4c28fa
mov byte [ebp + 0x55], cl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
xor esi, esi
push ecx
mov eax, str.FullProcessDump
mov dword [esp + 0x20], esi
call fcn.00406220
lea eax, [esp + 0x28]
call fcn.004029c0
lea edi, [esp + 0x30]
mov byte [ebp + 0x54], al
call fcn.00401700
lea edi, [esp + 0x2c]
mov dword [esp + 0x30], esi
call fcn.00401700
lea ecx, [esp + 0x70]
mov byte [ebp + 0x44], 1
call fcn.00401770
lea edi, [esp + 0x1c]
call fcn.00401700
lea esi, [esp + 0x40]
call fcn.00402980
lea esi, [esp + 0x58]
call fcn.00402980
lea ecx, [esp + 0xa98]
call fcn.00401770
mov ecx, dword [esp + 0x17a4]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00607d6d
add esp, 0x179c
ret 8