Function at 0x4a0e80
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5265f0]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x214]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
mov esi, ecx
push str._bInitDriver__path___s_n
push esi
mov dword [esp + 0x20], eax
call fcn.004a05b0
add esp, 0xc
lea edi, [esi + 4]
push edi
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
push str._bInitDriver__GetCurrentDirectory___s_n
push esi
call fcn.004a05b0
add esp, 0xc
push 0x200
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x18]
push edx
push str._bInitDriver__GetModuleFileName___s_n
push esi
call fcn.004a05b0
add esp, 0xc
mov ecx, esi
call fcn.004a0650
mov eax, dword [esi + 0xb68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4ef210
push 0
mov ecx, esi
mov dword [esi + 0xb68], 0
call fcn.004a0d30
push eax
push str._bInitDriver__m_hDriverMutex___X
push esi
mov dword [esi + 0xb68], eax
call fcn.004a05b0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0xc
cmp dword [esi + 0xb68], 0
jne 0x4a0f5f
call edi
push eax
push str.__err_d
push esi
call fcn.004a05b0
add esp, 0xc
push 0x4e2830
push esi
call fcn.004a05b0
mov ecx, dword [esp + 0x230]
add esp, 8
test ebp, ebp
mov dword [esi + 0x20c], ecx
lea ebx, [esi + 0x410]
je 0x4a0f95
push ebp
push 0x200
push ebx
call fcn.004c5045
add esp, 0xc
jmp 0x4a0fa1
push ebx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esi + 0xb50]
sub eax, 2
jne 0x4a0fed
cmp dword [esi + 0x20c], eax
je 0x4a0fed
push ebx
push str._scpuz134_
lea edx, [esp + 0x20]
push 0x200
push edx
call fcn.00422580
add esp, 0x10
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4a0fe6
call edi
cmp eax, 0xb7
jne 0x4a0fed
lea ecx, [esp + 0x18]
push ecx
jmp 0x4a0fee
push ebx
push 0x200
lea edi, [esi + 0x610]
push edi
call fcn.004c5045
add esp, 0xc
push edi
push str._bInitDriver__m_szPath_2___s_n
push esi
call fcn.004a05b0
push str.cpuz134
lea edi, [esi + 0xa10]
push pe_nt_image_headers32
push edi
call fcn.004c5045
mov eax, dword [esi + 0xb50]
add esp, 0x18
sub eax, 1
je 0x4a10be
sub eax, 1
je 0x4a104a
mov dword [esp + 0x10], 0x5002
xor edi, edi
jmp 0x4a10fe
push str.cpuz134
lea edx, [esi + 0xb10]
push 0x40
push edx
call fcn.004c5045
add esp, 0xc
cmp dword [esi + 0xb5c], 0
je 0x4a1070
push str._x64.sys
jmp 0x4a1085
cmp dword [esi + 0xb60], 0
je 0x4a1080
push str._ia64.sys
jmp 0x4a1085
push str._x32.sys
push pe_nt_image_headers32
push edi
call fcn.00422660
add esp, 0xc
push edi
push str._bInitDriver__m_szFilename___s_n
push esi
call fcn.004a05b0
add esp, 0xc
push 0x7d0
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004a08a0
mov ecx, esi
mov edi, eax
call fcn.004a0990
jmp 0x4a10fe
push str.cpuz.vxd
push pe_nt_image_headers32
push edi
call fcn.004c5045
push 0x4ef210
lea ecx, [esi + 0xb10]
push 0x40
push ecx
call fcn.004c5045
push edi
push str._bInitDriver__m_szFilename___s_n
push esi
call fcn.004a05b0
add esp, 0x24
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004a28d0
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
push str._bInitDriver__bInitDriver_returned__d_n
push esi
call fcn.004a05b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
mov dword [edx], ecx
jne 0x4a112d
push ebx
push 1
push 1
mov ecx, esi
call fcn.004a07c0
mov ecx, dword [esp + 0x218]
mov eax, edi
pop edi
mov dword [esi + 0xd78], ebx
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c2fd1
add esp, 0x20c
ret 0xc