Function at 0x44b980
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push 0
push 1
push 0
xor bl, bl
push 0
push 0
push str..SMARTVSD
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x44ba4e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x104
push 8
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
push 0x104
push 8
mov ebx, eax
call edi
push eax
call esi
mov edi, eax
test ebx, ebx
je 0x44ba2d
test edi, edi
je 0x44ba17
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
push ebx
call esi
push 0x104
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.SMARTVSD.VXD
push ebx
call esi
push str.IOSUBSYSSMARTVSD.VXD
push edi
call esi
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call ebx
jmp 0x44ba39
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x44ba45
push edi
push 0
call esi
push eax
call ebx
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x21
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
push 0x210
push 8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x44bb8b
test esi, esi
je 0x44bb77
mov ecx, dword [ebp - 4]
xor ebx, ebx
lea ecx, [ecx]
test cl, cl
jne 0x44bb74
xorps xmm0, xmm0
movq qword [edi], xmm0
movq qword [edi + 8], xmm0
push 0x210
movq qword [edi + 0x10], xmm0
push 0
movq qword [edi + 0x18], xmm0
push esi
mov byte [edi + 0x20], cl
mov dword [ebp - 0xc], 0
call fcn.00426af0
add esp, 0xc
lea eax, [ebp - 0xc]
push 0
push eax
push 0x210
push esi
push 0x20
push edi
push 0x7c088
push dword [ebp - 8]
mov dword [edi], 0x200
mov byte [edi + 0xc], bl
mov dword [edi + 4], 0x10100
mov word [edi + 8], 0xa000
mov byte [edi + 0xa], 0xec
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44bb67
lea eax, [esi + 0x24]
mov dword [ebp - 0x10], eax
inc eax
mov esi, 0xa
nop
mov dl, byte [eax - 1]
mov cl, byte [eax]
mov byte [eax - 1], cl
mov byte [eax], dl
lea eax, [eax + 2]
dec esi
jne 0x44bb10
push dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00426af0
push 0x14
push dword [ebp - 0x10]
push esi
call fcn.00421db0
push esi
call fcn.0044c030
movsx ax, byte [esi]
movzx eax, ax
add esp, 0x1c
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x14]
movzx ecx, cl
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 4], ecx
jmp 0x44bb6a
mov ecx, dword [ebp - 4]
inc ebx
cmp ebx, 0x10
jl 0x44ba90
mov ebx, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44bb91
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test esi, esi
je 0x44bba1
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret