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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
push 0
push 0
push 1
push 0
push 0
push 0
push str..SMARTVSD
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x43d9cb
push 0x104
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x18], eax
push 0x104
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
je 0x43d992
cmp dword [ebp - 0x1c], 0
je 0x43d992
push 0x104
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.SMARTVSD.VXD
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.IOSUBSYSSMARTVSD.VXD
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [ebp - 0x18], 0
je 0x43d9ab
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x1c], 0
je 0x43d9c4
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
jmp 0x43db85
push 0x21
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
push 0x210
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x43db46
cmp dword [ebp - 4], 0
je 0x43db46
mov dword [ebp - 0x10], 0
jmp 0x43da1c
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x10
jge 0x43db46
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x43db46
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov byte [edx + 0x20], cl
mov dword [ebp - 0x20], 0
push 0x210
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.0049ca10
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword [ecx], 0x200
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0x10]
mov byte [edx + 0xc], al
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0xc]
mov byte [edx + 5], 1
mov eax, dword [ebp - 0xc]
mov byte [eax + 6], 1
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 7], 0
mov edx, dword [ebp - 0xc]
mov byte [edx + 8], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 9], 0xa0
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0xa], 0xec
push 0
lea edx, [ebp - 0x20]
push edx
push 0x210
mov eax, dword [ebp - 4]
push eax
push 0x20
mov ecx, dword [ebp - 0xc]
push ecx
push 0x7c088
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x43dadb
jmp 0x43da13
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x14
mov ecx, dword [ebp - 0x24]
add ecx, 0x14
push ecx
call fcn.0043d870
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0049ca10
add esp, 0xc
push 0x14
mov ecx, dword [ebp - 0x24]
add ecx, 0x14
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00497ff0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.0043de50
add esp, 4
mov ecx, dword [ebp + 8]
movsx dx, byte [ecx]
movzx eax, dx
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x43db41
mov byte [ebp - 0x11], 1
jmp 0x43da13
cmp dword [ebp - 0xc], 0
je 0x43db5f
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 4], 0
je 0x43db78
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x11]
mov esp, ebp
pop ebp
ret