Function at 0x4d0155
Capabilities:
Get common file path

Disassembly:
push 0x2e4
mov eax, 0x507c2c
call fcn.004ec79c
mov esi, 0x104
push esi
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.drivers_
lea eax, [ebp - 0x124]
push esi
push eax
call fcn.004eb9d5
add esp, 0xc
lea eax, [ebp - 0x124]
mov esi, 0x573594
push eax
mov ecx, esi
call fcn.004061ef
call fcn.0041fc2f
xor ebx, ebx
cmp eax, ebx
je 0x4d01b1
push str.avgtpx64.sys
jmp 0x4d01b6
push str.avgtpx86.sys
push esi
call fcn.0040875a
cmp dword [0x5735ac], 0x10
mov eax, dword [0x573598]
jae 0x4d01cf
mov eax, 0x573598
push 3
push eax
lea eax, [ebp - 0x2f0]
lea ecx, [ebp - 0x2ec]
push eax
mov dword [ebp - 0x2f0], ecx
call fcn.00408b5f
mov dword [ebp - 4], ebx
push dword [ebp - 0x2f0]
lea esi, [ebp - 0x15c]
call fcn.004076aa
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2f0], eax
je 0x4d021c
push dword [ebp - 0x2f0]
call fcn.004e735e
pop ecx
call fcn.00411dd9
cmp byte [eax], bl
jne 0x4d02ab
lea eax, [ebp - 0x1ec]
push eax
call fcn.004071c6
lea eax, [ebp - 0x15c]
push eax
push ecx
push 0x525218
push ecx
lea eax, [ebp - 0x1e4]
push str.CDriverHelper::SetPath___path
push eax
mov byte [ebp - 4], 3
call fcn.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00405173
pop ecx
pop ecx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.0040574e
lea edi, [ebp - 0x140]
mov byte [ebp - 4], 4
call fcn.00405549
push ebx
push 1
mov esi, edi
call fcn.0040754f
lea eax, [ebp - 0x1ec]
mov byte [ebp - 4], 2
call fcn.00405a60
jmp 0x4d03f2
lea eax, [ebp - 0x1e4]
push eax
mov byte [ebp - 4], 5
call fcn.00405430
mov byte [ebp - 4], 6
call fcn.00411dd9
lea ecx, [ebp - 0x140]
call fcn.00405346
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], 8
jb 0x4d02de
mov esi, dword [eax + 4]
jmp 0x4d02e1
lea esi, [eax + 4]
lea eax, [ebp - 0x1e4]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CDriverHelper::SetPath___path
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x525218
push eax
call fcn.004058d5
pop ecx
pop ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
call fcn.00405173
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp - 0x140]
mov byte [ebp - 4], 6
call fcn.0040754f
lea eax, [ebp - 0x164]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 8
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x4d03a6
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040532c
push 0x112
push 0x546638
push eax
push esi
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 9
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push ebx
push 1
lea esi, [ebp - 0x140]
call fcn.0040754f
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 5
call fcn.0040539b
jmp 0x4d03f2
push ebx
push 1
lea esi, [ebp - 0x15c]
call fcn.0040754f
call fcn.004ec7f8
ret