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

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x56bbe0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
mov eax, dword [ebp + 0x198]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov ecx, dword [ebp + 0x19c]
push str._bInitDriver__path___s_n
push esi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
call fcn.0048800f
add esp, 0xc
lea ebx, [esi + 4]
push ebx
mov edi, 0x200
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
push str._bInitDriver__GetCurrentDirectory___s_n
push esi
call fcn.0048800f
add esp, 0xc
push edi
lea eax, [ebp - 0x74]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x74]
push eax
push str._bInitDriver__GetModuleFileName___s_n
push esi
call fcn.0048800f
add esp, 0xc
mov ecx, esi
call fcn.00488092
push dword [esi + 0xb68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x52a0d8
push ebx
mov ecx, esi
mov dword [esi + 0xb68], ebx
call fcn.0048868a
push eax
push str._bInitDriver__m_hDriverMutex___X
push esi
mov dword [esi + 0xb68], eax
call fcn.0048800f
add esp, 0xc
cmp dword [esi + 0xb68], ebx
jne 0x488867
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__err_d
push esi
call fcn.0048800f
add esp, 0xc
push 0x519a80
push esi
call fcn.0048800f
mov eax, dword [ebp + 0x1a0]
pop ecx
mov dword [esi + 0x20c], eax
pop ecx
lea eax, [esi + 0x410]
cmp dword [ebp - 0x7c], ebx
je 0x48889a
push dword [ebp - 0x7c]
push edi
push eax
call fcn.004aaf1c
add esp, 0xc
jmp 0x4888a2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esi + 0xb50]
dec eax
dec eax
jne 0x4888ee
cmp dword [esi + 0x20c], ebx
je 0x4888ee
lea eax, [esi + 0x410]
push eax
push str._scpuz136_
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.00404c23
add esp, 0x10
push ebx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4888e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4888ee
lea eax, [ebp - 0x74]
jmp 0x4888f4
lea eax, [esi + 0x410]
push eax
push edi
lea ebx, [esi + 0x610]
push ebx
call fcn.004aaf1c
add esp, 0xc
push ebx
push str._bInitDriver__m_szPath_2___s_n
push esi
call fcn.0048800f
push str.cpuz136
mov edi, 0x100
lea ebx, [esi + 0xa10]
push edi
push ebx
call fcn.004aaf1c
mov eax, dword [esi + 0xb50]
add esp, 0x18
dec eax
je 0x4889b8
dec eax
je 0x488949
mov dword [ebp - 0x78], 0x5002
xor edi, edi
jmp 0x4889f3
push str.cpuz136
lea eax, [esi + 0xb10]
push 0x40
push eax
call fcn.004aaf1c
add esp, 0xc
cmp dword [esi + 0xb5c], 0
je 0x48896f
push str._x64.sys
jmp 0x488984
cmp dword [esi + 0xb60], 0
je 0x48897f
push str._ia64.sys
jmp 0x488984
push str._x32.sys
push edi
push ebx
call fcn.00404cb7
add esp, 0xc
push ebx
push str._bInitDriver__m_szFilename___s_n
push esi
call fcn.0048800f
add esp, 0xc
push 0x7d0
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.0048828e
mov ecx, esi
mov edi, eax
call fcn.0048834e
jmp 0x4889f3
push str.cpuz.vxd
push edi
push ebx
call fcn.004aaf1c
push 0x52a0d8
lea eax, [esi + 0xb10]
push 0x40
push eax
call fcn.004aaf1c
push ebx
push str._bInitDriver__m_szFilename___s_n
push esi
call fcn.0048800f
add esp, 0x24
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.00489db6
mov edi, eax
push dword [ebp - 0x78]
push str._bInitDriver__bInitDriver_returned__d_n
push esi
call fcn.0048800f
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
add esp, 0xc
mov dword [ecx], eax
test edi, edi
jne 0x488a1c
push edi
push 1
push 1
mov ecx, esi
call fcn.004881d2
and dword [esi + 0xd78], 0
mov ecx, dword [ebp + 0x18c]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a9399
add ebp, 0x190
leave
ret 0xc