Function at 0x40ef99
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4209ba
call fcn.00412bcc
sub esp, 0xce4
and dword [esp + 0x40], 0
and dword [esp], 0
push ebx
push ebp
push esi
push edi
xorps xmm0, xmm0
push str.iphlpapi.dll
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.GetAdaptersInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
call fcn.00411263
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 3
pop ebp
cmp eax, ebp
jae 0x40effb
lea eax, [esp + 0x4cc]
push eax
push 0x104
call ebx
call fcn.00411263
cmp eax, ebp
jae 0x40f017
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test esi, esi
je 0x40f2e2
test edi, edi
je 0x40f2e2
call fcn.00411263
cmp eax, ebp
jae 0x40f043
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, 0x288
push eax
mov dword [esp + 0x24], eax
call fcn.00414fbd
mov esi, eax
pop ecx
test esi, esi
je 0x40f2e2
lea eax, [esp + 0x20]
push eax
push esi
call edi
cmp eax, 0x6f
jne 0x40f085
push esi
call fcn.00414f85
push dword [esp + 0x24]
call fcn.00414fbd
pop ecx
mov esi, eax
pop ecx
lea eax, [esp + 0x20]
push eax
push esi
call edi
test eax, eax
jne 0x40f2d1
call fcn.00411263
cmp eax, ebp
jae 0x40f0a5
lea eax, [esp + 0xb8]
push eax
push 0x104
call ebx
mov edi, esi
test esi, esi
je 0x40f2d1
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
cmp dword [edi + 0x1a0], 6
jne 0x40f2ae
cmp dword [edi + 0x190], 6
jne 0x40f2ae
lea eax, [edi + 0x10c]
push eax
lea ecx, [esp + 0x30]
call fcn.004013ed
mov dword [esp + 0xcfc], 1
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmovae ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
cmp dword [esp + 0x40], 0x10
push 0x4134cb
push edx
push eax
lea ecx, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
push ecx
lea eax, [esp + 0x64]
push eax
call fcn.00404cf5
mov ebx, str.bluetooth
push ebx
call fcn.00412340
add esp, 0x18
lea ecx, [esp + 0x2c]
push eax
push 0
push ebx
call fcn.0040525b
cmp eax, 0xffffffff
jne 0x40f29d
mov ebx, str.virtual
push ebx
call fcn.00412340
pop ecx
push eax
push 0
push ebx
lea ecx, [esp + 0x38]
call fcn.0040525b
cmp eax, 0xffffffff
jne 0x40f29d
mov ebx, str.vmware
push ebx
call fcn.00412340
pop ecx
push eax
push 0
push ebx
lea ecx, [esp + 0x38]
call fcn.0040525b
cmp eax, 0xffffffff
jne 0x40f29d
push 4
lea ebx, [edi + 0x194]
push ebx
push 0x4242f8
call fcn.004135ad
add esp, 0xc
test eax, eax
je 0x40f29d
push 4
push ebx
push 0x424300
call fcn.004135ad
add esp, 0xc
test eax, eax
je 0x40f29d
call fcn.00411263
cmp eax, 3
jae 0x40f1eb
push str.730730
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
je 0x40f1eb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x10]
and dword [esp + 0x24], 0
test ecx, ecx
je 0x40f22c
lea eax, [esp + 0x58]
mov dword [esp + 0x18], eax
push 6
push ebx
push eax
call fcn.004135ad
add esp, 0xc
test eax, eax
je 0x40f279
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc edx
add eax, 6
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
cmp edx, ecx
jb 0x40f200
mov eax, ecx
imul eax, eax, 6
push 6
lea eax, [esp + eax + 0x5c]
inc ecx
push ebx
push eax
mov dword [esp + 0x1c], ecx
call fcn.00411c60
add esp, 0xc
call fcn.00411263
cmp eax, 3
jae 0x40f263
lea eax, [esp + 0x8e0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebp
push dword [esp + 0x18]
push 6
push ebx
call fcn.004078c1
add esp, 0x10
mov dword [esp + 0x14], eax
mov ebp, edx
cmp dword [esp + 0x10], 0x10
je 0x40f2ba
call fcn.00411263
cmp eax, 3
jae 0x40f29d
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0xcfc], 0
lea ecx, [esp + 0x2c]
call fcn.004015ab
mov edi, dword [edi]
test edi, edi
jne 0x40f0bb
jmp 0x40f2cb
mov byte [esp + 0xcfc], 0
lea ecx, [esp + 0x2c]
call fcn.004015ab
mov ebx, dword [esp + 0x14]
jmp 0x40f2d9
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push esi
call fcn.00414f85
pop ecx
jmp 0x40f2ea
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push ebp
push ebx
lea eax, [esp + 0x18]
push 4
push eax
call fcn.004078c1
mov ecx, dword [0x42e66c]
and dword [esp + 0x38], 0
add esp, 0x10
lea esi, [ecx + 0xe4]
xor ebp, ebp
push esi
inc ebp
push ebp
mov edi, eax
mov ebx, edx
call fcn.00404c3d
xor edx, edx
push edx
push edx
push edx
push edx
lea ecx, [esp + 0x38]
push ecx
push edx
push edx
push 0x424308
call dword [eax]
test eax, eax
je 0x40f347
push ebx
push edi
lea eax, [esp + 0x30]
push 4
push eax
call fcn.004078c1
add esp, 0x10
mov edi, eax
mov ebx, edx
push ebx
push edi
push str._I64u
push dword [esp + 0xd14]
call fcn.0040743b
add esp, 0x10
and dword [esp + 0xcfc], 0
mov ecx, dword [esp + 0xcf4]
pop edi
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0xd04]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret