Function at 0x414230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fff4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x459074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00411e90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00411e90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00411e90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00411e90
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x452184
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], str.ByodRobotNest.sys
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], str.ByodRobot.dll
mov ecx, dword [ebp - 0x10]
call fcn.00415820
test eax, eax
je 0x4142f4
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], str.ByodRobotNest64.sys
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], str.ByodRobot64.dll
jmp 0x414308
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], str.ByodRobotNest32.sys
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], str.ByodRobot32.dll
mov dword [ebp - 0x14], 0x104
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00411f20
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00411eb0
mov dword [ebp - 0x14], 0x208
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00411f20
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x452200
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00411eb0
mov dword [ebp - 0x14], 0x208
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00411f20
mov dword [ebp - 0x18], eax
push str..._sys_
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0040a5b0
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00411eb0
push str.drivers_
mov edx, dword [ebp - 0x10]
add edx, 0x14
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00415b30
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00411db0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00411dd0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret