Function at 0x431950
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 [0x521014]
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.004d69c0
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 0x431a5c
test dl, dl
jns 0x4319c6
mov esi, dword [esp + 0x50]
cmp byte [esi], 0x7b
je 0x431a5c
lea edi, [esp + 0x54]
lea ebx, [esp + 0x50]
lea esi, [esp + 0x28]
push ebx
push 0x50900b
push esi
call fcn.00440300
add esp, 0xc
mov ecx, esi
push 0x509009
call fcn.0046cfd0
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 0x431a29
push dword [esp + 0x50]
mov ebx, edx
call fcn.0048b376
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 0x431a55
push dword [esp + 0x28]
call fcn.0048b376
add esp, 4
mov dl, byte [esp + 0x5b]
mov eax, dword [esp + 0x54]
movzx ebx, dl
test dl, dl
jns 0x431a68
mov esi, dword [esp + 0x50]
mov ebx, eax
jmp 0x431a6c
lea esi, [esp + 0x50]
cmp ebx, 0x7ffffff0
jae 0x431fad
cmp ebx, 5
jae 0x431a8a
lea eax, [esp + 0x28]
mov byte [eax + 0xb], bl
test ebx, ebx
jne 0x431aae
jmp 0x431abf
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.0048b346
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 0x431ab0
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0x14]
mov word [eax], 0
cmp byte [esp + 0x33], 0
jns 0x431ad8
mov eax, dword [esp + 0x28]
jmp 0x431adc
lea eax, [esp + 0x28]
push edi
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
cmp byte [esp + 0x33], 0
jns 0x431af9
push dword [esp + 0x28]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431b0c
push dword [esp + 0x50]
call fcn.0048b376
add esp, 4
test esi, esi
jns 0x431b4f
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.004b9b40
lea ecx, [esp + 0x8c]
push 0x508edd
push str.uid_not_found__use_empty
call fcn.004b5d50
mov ecx, esi
call fcn.004379a0
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.00432080
lea edi, [esp + 0x28]
mov ecx, edi
push 0x506f7b
call fcn.004b5b10
mov ecx, esi
push ebx
push edi
call fcn.00431fd0
cmp byte [edi + 0xb], 0
jns 0x431b99
push dword [esp + 0x28]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431bac
push dword [esp + 0x50]
call fcn.0048b376
add esp, 4
mov ecx, ebx
mov edx, dword [esp + 0xc]
call fcn.00432080
mov ecx, edi
push str.report_id
call fcn.004b5b10
mov ecx, esi
push ebx
push edi
call fcn.00431fd0
cmp byte [esp + 0x33], 0
jns 0x431bdf
push dword [esp + 0x28]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431bf2
push dword [esp + 0x50]
call fcn.0048b376
add esp, 4
mov ecx, ebx
push 0x506f87
call fcn.004b5b10
mov ecx, edi
push 0x508ee8
call fcn.004b5b10
mov ecx, esi
push ebx
push edi
call fcn.00431fd0
cmp byte [esp + 0x33], 0
jns 0x431c26
push dword [esp + 0x28]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431c39
push dword [esp + 0x50]
call fcn.0048b376
add esp, 4
mov ecx, ebx
push str.Win32
call fcn.004b5b10
mov ecx, edi
push str.plat
call fcn.004b5b10
mov ecx, esi
push ebx
push edi
call fcn.00431fd0
cmp byte [esp + 0x33], 0
jns 0x431c6d
push dword [esp + 0x28]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431c80
push dword [esp + 0x50]
call fcn.0048b376
add esp, 4
mov ecx, ebx
push 0x508ef7
call fcn.004b5b10
mov ecx, edi
push str.prod
call fcn.004b5b10
mov ecx, esi
push ebx
push edi
call fcn.00431fd0
cmp byte [esp + 0x33], 0
jns 0x431cb4
push dword [esp + 0x28]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431cc7
push dword [esp + 0x50]
call fcn.0048b376
add esp, 4
cmp byte [esi + 0x35], 0
mov eax, 0x508f03
mov edx, 0x5084ff
cmove edx, eax
mov ecx, ebx
push edx
call fcn.004b5b10
mov ecx, edi
push str.gzip_enabled
call fcn.004b5b10
mov ecx, esi
push ebx
push edi
call fcn.00431fd0
cmp byte [esp + 0x33], 0
jns 0x431d08
push dword [esp + 0x28]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x431d1b
push dword [esp + 0x50]
call fcn.0048b376
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 0x431d9a
cmp word [esp + 0x50], 0x7b
jne 0x431d9a
cmp word [esp + 0x9a], 0x7d
jne 0x431d9a
lea edi, [esp + 0x52]
push 0x50
call fcn.0048b346
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.0048e490
add esp, 0xc
mov word [esi + 0x48], 0
jmp 0x431da8
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.0048b346
add esp, 4
mov edi, eax
push esi
push 0
push eax
call fcn.0048ef90
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec eax
cmp eax, 0x102
ja 0x431df6
mov edx, esi
add edx, esi
js 0x431fb6
mov ebx, edx
sar ebx, 1
cmp ebx, 4
ja 0x431e06
lea eax, [esp + 0x18]
mov byte [eax + 0xb], bl
jmp 0x431e3f
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
jmp 0x431e5b
mov dword [esp + 0xc], edx
lea eax, [ebx + 8]
and eax, 0xfffffff8
js 0x431fbf
mov dword [esp + 0x14], eax
add eax, eax
push eax
call fcn.0048b346
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 0x431e56
lea esi, [eax + esi*2]
push edx
push edi
push eax
call fcn.0048e490
add esp, 0xc
mov eax, esi
mov word [eax], 0
push edi
call fcn.0048b376
add esp, 4
lea ecx, [esp + 0x18]
push 0x506338
call fcn.00440280
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.0046d310
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 0x508f16
call fcn.00440280
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 0x431efd
push dword [esi]
call fcn.0048b376
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 0x431f23
push dword [esp + 0x50]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x43], 0
jns 0x431f36
push dword [esp + 0x38]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x23], 0
jns 0x431f49
push dword [esp + 0x18]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x431f5c
push dword [esp + 0x28]
call fcn.0048b376
add esp, 4
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x431f8f
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
je 0x431f8f
push 0x432170
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [esi + 0x48], eax
mov dword [0x525ff8], esi
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.0048b980
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x28]
call fcn.004cb7c0
lea ecx, [esp + 0x18]
call fcn.004cb7c0
call fcn.0049f050
int3