Function at 0x10041610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096237
mov eax, dword fs:[0]
push eax
mov eax, 0x1784
call fcn.1006f8b0
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x16c0], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x16bc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x16d0], eax
xor eax, eax
push 0x1046
push eax
mov word [ebp - 0x1684], ax
lea eax, [ebp - 0x1682]
push eax
mov dword [ebp - 0x16cc], 0
call fcn.1006ff30
mov ecx, dword [edi + 0x10]
add esp, 0xc
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
lea ecx, [ebp - 0x16d8]
push ecx
lea ecx, [ebp - 0x16d4]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xc]
push dword [ebp - 0x16d8]
xor eax, eax
xorps xmm0, xmm0
push dword [ebp - 0x16d4]
mov word [ebp - 0x24], ax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x24]
push str._d._d
push eax
movdqu xmmword [ebp - 0x22], xmm0
call fcn.10022f40
mov ecx, dword [edi + 0x10]
add esp, 0x10
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov edi, dword [edi + 8]
mov esi, eax
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
push eax
push dword [ebp - 0x16d0]
lea eax, [ebp - 0x1684]
push dword [ebp - 0x16bc]
push edi
push str._s_driver.php_v_sp_ssb_spb_sos_s
push eax
call fcn.10040e70
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x63c], ax
lea eax, [ebp - 0x63a]
push eax
call fcn.1006ff30
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x434], ax
lea eax, [ebp - 0x432]
push eax
call fcn.1006ff30
add esp, 0x38
lea eax, [ebp - 0x434]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x63c]
push eax
push 0
push 0x100a3104
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [ebp - 0x16c0]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
lea ecx, [ebp - 0x63c]
push ecx
lea ecx, [ebp - 0x1684]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx]
call eax
test eax, eax
je 0x10041a9a
push 1
lea ecx, [ebp - 0x1790]
call fcn.1001b270
push 0x40
push 1
lea eax, [ebp - 0x63c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1790]
call fcn.10042280
lea ecx, [ebp - 0x16c8]
call fcn.100186c0
lea eax, [ebp - 0x1790]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x16c8]
call fcn.10018be0
push 0x100a315c
push str.driverInfo
lea ecx, [ebp - 0x16c8]
call fcn.10018840
mov ecx, eax
call fcn.10018840
mov ecx, eax
call fcn.10018930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x16b4]
mov dword [ebp - 0x16a0], 0xf
mov dword [ebp - 0x16a4], 0
mov byte [ebp - 0x16b4], 0
call fcn.10006bc0
push str.param
push str.driverInfo
lea ecx, [ebp - 0x16c8]
mov byte [ebp - 4], 2
call fcn.10018840
mov ecx, eax
call fcn.10018840
mov ecx, eax
call fcn.10018930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x169c]
mov dword [ebp - 0x1688], 0xf
mov dword [ebp - 0x168c], 0
mov byte [ebp - 0x169c], 0
call fcn.10006bc0
push str.type
push str.driverInfo
lea ecx, [ebp - 0x16c8]
mov byte [ebp - 4], 3
call fcn.10018840
mov ecx, eax
call fcn.10018840
mov ecx, eax
call fcn.10018a00
lea ecx, [ebp - 0x1790]
mov dword [ebp - 0x16bc], eax
call fcn.1001b420
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp dword [ebp - 0x16a0], 0x10
lea ecx, [ebp - 0x16b4]
mov edx, eax
cmovae ecx, dword [ebp - 0x16b4]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esi + 0x10]
mov edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp dword [ebp - 0x1688], 0x10
lea ecx, [ebp - 0x169c]
mov edx, eax
cmovae ecx, dword [ebp - 0x169c]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
call eax
mov esi, eax
test edi, edi
je 0x10041a07
test esi, esi
je 0x100419fe
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10041940
sub eax, edx
sar eax, 1
je 0x100419fe
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push 0
push 0x100a3104
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebp - 0x16c0]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, eax
mov edx, dword [eax]
push edi
mov eax, dword [edx]
call eax
test eax, eax
je 0x100419fe
lea ecx, [ebp - 0x16b5]
call fcn.10006d00
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x16bc], eax
lea ecx, [ebp - 0x16b5]
push esi
sete al
push eax
mov eax, dword [ebp - 0x16c0]
push dword [eax + 0xc]
lea eax, [ebp - 0x22c]
push eax
call fcn.10043ab0
lea ecx, [ebp - 0x16b5]
mov dword [ebp - 0x16cc], eax
mov byte [ebp - 4], 3
call fcn.100024d0
push edi
call fcn.1006da71
add esp, 4
test esi, esi
je 0x10041a14
push esi
call fcn.1006da71
add esp, 4
cmp dword [ebp - 0x1688], 0x10
jb 0x10041a2b
push dword [ebp - 0x169c]
call fcn.100070d0
add esp, 4
cmp dword [ebp - 0x16a0], 0x10
mov dword [ebp - 0x1688], 0xf
mov dword [ebp - 0x168c], 0
mov byte [ebp - 0x169c], 0
jb 0x10041a5d
push dword [ebp - 0x16b4]
call fcn.100070d0
add esp, 4
lea ecx, [ebp - 0x16c8]
mov dword [ebp - 0x16a0], 0xf
mov dword [ebp - 0x16a4], 0
mov byte [ebp - 0x16b4], 0
mov byte [ebp - 4], 0
call fcn.10018830
lea ecx, [ebp - 0x1790]
call fcn.100191c0
mov eax, dword [ebp - 0x16cc]
jmp 0x10041a9c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8