Function at 0x4316e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0xa8], eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov word [ecx + 0x34], 0x101
lea eax, [ecx + 0x3c]
movups xmmword [ecx + 0x3c], xmm0
mov dword [esp + 0x10], ecx
mov dword [ecx + 0x38], eax
xor eax, eax
dec eax
lea esi, [esp + 0x50]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push esi
call fcn.004d4db0
add esp, 4
mov dl, byte [esi + 0xb]
test dl, dl
mov eax, dword [esi + 4]
movzx ebx, dl
mov ecx, ebx
cmovs ecx, eax
test ecx, ecx
je 0x4317ec
test dl, dl
jns 0x431756
mov esi, dword [esp + 0x50]
cmp byte [esi], 0x7b
je 0x4317ec
lea edi, [esp + 0x54]
lea ebx, [esp + 0x50]
lea esi, [esp + 0x28]
push ebx
push 0x5064fb
push esi
call fcn.0043f8f0
add esp, 0xc
mov ecx, esi
push 0x5064f9
call fcn.0046c900
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 7]
mov dword [esp + 0x3b], edx
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 0xb]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
cmp byte [ebx + 0xb], 0
jns 0x4317b9
push dword [esp + 0x50]
mov ebx, edx
call fcn.00489982
mov edx, ebx
add esp, 4
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3b]
mov dword [edi + 3], ecx
mov dword [edi], eax
mov byte [esp + 0x5b], dl
cmp byte [esp + 0x33], 0
jns 0x4317e5
push dword [esp + 0x28]
call fcn.00489982
add esp, 4
mov dl, byte [esp + 0x5b]
mov eax, dword [esp + 0x54]
movzx ebx, dl
test dl, dl
jns 0x4317f8
mov esi, dword [esp + 0x50]
mov ebx, eax
jmp 0x4317fc
lea esi, [esp + 0x50]
cmp ebx, 0x7ffffff0
jae 0x431d3d
cmp ebx, 5
jae 0x43181a
lea eax, [esp + 0x28]
mov byte [eax + 0xb], bl
test ebx, ebx
jne 0x43183e
jmp 0x43184f
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.00489952
add esp, 4
mov dword [esp + 0x28], eax
or edi, 0x80000000
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
xor ecx, ecx
movsx edx, byte [esi + ecx]
mov word [eax], dx
add eax, 2
inc ecx
cmp ebx, ecx
jne 0x431840
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0x14]
mov word [eax], 0
cmp byte [esp + 0x33], 0
jns 0x431868
mov eax, dword [esp + 0x28]
jmp 0x43186c
lea eax, [esp + 0x28]
push edi
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
cmp byte [esp + 0x33], 0
jns 0x431889
push dword [esp + 0x28]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x43189c
push dword [esp + 0x50]
call fcn.00489982
add esp, 4
test esi, esi
jns 0x4318df
xorps xmm0, xmm0
mov eax, dword [esp + 0x10]
movups xmmword [eax + 0x14], xmm0
lea esi, [esp + 0x50]
mov ecx, esi
push 0xf1
push str.Impl
push 2
call fcn.004b83c0
lea ecx, [esp + 0x8c]
push 0x5063cd
push str.uid_not_found__use_empty
call fcn.004b45d0
mov ecx, esi
call fcn.004374c0
mov esi, dword [esp + 0x10]
lea eax, [esi + 0x24]
mov dword [esp + 0xc], eax
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ebx, [esp + 0x50]
mov ecx, ebx
mov edx, edi
call fcn.00431e10
lea edi, [esp + 0x28]
mov ecx, edi
push 0x50444b
call fcn.004b43f0
mov ecx, esi
push ebx
push edi
call fcn.00431d60
cmp byte [edi + 0xb], 0
jns 0x431929
push dword [esp + 0x28]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x43193c
push dword [esp + 0x50]
call fcn.00489982
add esp, 4
mov ecx, ebx
mov edx, dword [esp + 0xc]
call fcn.00431e10
mov ecx, edi
push str.report_id
call fcn.004b43f0
mov ecx, esi
push ebx
push edi
call fcn.00431d60
cmp byte [esp + 0x33], 0
jns 0x43196f
push dword [esp + 0x28]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431982
push dword [esp + 0x50]
call fcn.00489982
add esp, 4
mov ecx, ebx
push 0x504457
call fcn.004b43f0
mov ecx, edi
push 0x5063d8
call fcn.004b43f0
mov ecx, esi
push ebx
push edi
call fcn.00431d60
cmp byte [esp + 0x33], 0
jns 0x4319b6
push dword [esp + 0x28]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x4319c9
push dword [esp + 0x50]
call fcn.00489982
add esp, 4
mov ecx, ebx
push str.Win32
call fcn.004b43f0
mov ecx, edi
push str.plat
call fcn.004b43f0
mov ecx, esi
push ebx
push edi
call fcn.00431d60
cmp byte [esp + 0x33], 0
jns 0x4319fd
push dword [esp + 0x28]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431a10
push dword [esp + 0x50]
call fcn.00489982
add esp, 4
mov ecx, ebx
push 0x5063e7
call fcn.004b43f0
mov ecx, edi
push str.prod
call fcn.004b43f0
mov ecx, esi
push ebx
push edi
call fcn.00431d60
cmp byte [esp + 0x33], 0
jns 0x431a44
push dword [esp + 0x28]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431a57
push dword [esp + 0x50]
call fcn.00489982
add esp, 4
cmp byte [esi + 0x35], 0
mov eax, 0x5063f3
mov edx, 0x5059f9
cmove edx, eax
mov ecx, ebx
push edx
call fcn.004b43f0
mov ecx, edi
push str.gzip_enabled
call fcn.004b43f0
mov ecx, esi
push ebx
push edi
call fcn.00431d60
cmp byte [esp + 0x33], 0
jns 0x431a98
push dword [esp + 0x28]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431aab
push dword [esp + 0x50]
call fcn.00489982
add esp, 4
xorps xmm0, xmm0
movups xmmword [esp + 0x8e], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
push 0x27
push ebx
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp eax, 0x27
jne 0x431b2a
cmp word [esp + 0x50], 0x7b
jne 0x431b2a
cmp word [esp + 0x9a], 0x7d
jne 0x431b2a
lea edi, [esp + 0x52]
push 0x50
call fcn.00489952
add esp, 4
mov esi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0x80000028
mov dword [esp + 0x2c], 0x24
push 0x48
push edi
push eax
call fcn.0048cc70
add esp, 0xc
mov word [esi + 0x48], 0
jmp 0x431b38
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov esi, 0x208
push esi
call fcn.00489952
add esp, 4
mov edi, eax
push esi
push 0
push eax
call fcn.0048d770
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec eax
cmp eax, 0x102
ja 0x431b86
mov edx, esi
add edx, esi
js 0x431d46
mov ebx, edx
sar ebx, 1
cmp ebx, 4
ja 0x431b96
lea eax, [esp + 0x18]
mov byte [eax + 0xb], bl
jmp 0x431bcf
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
jmp 0x431beb
mov dword [esp + 0xc], edx
lea eax, [ebx + 8]
and eax, 0xfffffff8
js 0x431d4f
mov dword [esp + 0x14], eax
add eax, eax
push eax
call fcn.00489952
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
or ecx, 0x80000000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0xc]
lea ecx, [edi + esi*2]
cmp ecx, edi
je 0x431be6
lea esi, [eax + esi*2]
push edx
push edi
push eax
call fcn.0048cc70
add esp, 0xc
mov eax, esi
mov word [eax], 0
push edi
call fcn.00489982
add esp, 4
lea ecx, [esp + 0x18]
push 0x503808
call fcn.0043f8c0
mov edx, dword [eax + 8]
lea ecx, [esp + 0x38]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xor esi, esi
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
movzx eax, byte [esp + 0x33]
test al, al
cmovs eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
cmovs edx, dword [esp + 0x28]
push eax
push edx
call fcn.0046cc40
mov edx, dword [eax + 8]
lea ecx, [esp + 0x50]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
mov dword [eax], esi
mov dword [eax + 8], esi
mov dword [eax + 4], esi
push 0x506406
call fcn.0043f8c0
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 7]
mov dword [esp + 0x4b], edx
mov dword [esp + 0x48], ecx
mov bl, byte [eax + 0xb]
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [eax + 8], esi
mov esi, dword [esp + 0x10]
cmp byte [esi + 0xb], 0
jns 0x431c8d
push dword [esi]
call fcn.00489982
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4b]
mov dword [esi + 4], eax
mov dword [esi + 7], ecx
mov byte [esi + 0xb], bl
cmp byte [esp + 0x5b], 0
jns 0x431cb3
push dword [esp + 0x50]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x43], 0
jns 0x431cc6
push dword [esp + 0x38]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x23], 0
jns 0x431cd9
push dword [esp + 0x18]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x431cec
push dword [esp + 0x28]
call fcn.00489982
add esp, 4
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x431d1f
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
je 0x431d1f
push 0x431ef0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [esi + 0x48], eax
mov dword [0x523f08], esi
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.0048a678
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x28]
call fcn.004c9f10
lea ecx, [esp + 0x18]
call fcn.004c9f10
call fcn.0049d800
int3