Function at 0x10023c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
mov eax, dword [0x1003b270]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x484], eax
push esi
xor eax, eax
test ebx, ebx
push edi
je 0x10023e71
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push eax
push eax
push 1
push eax
push eax
push eax
push str..Smartvsd
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
mov dword [esp + 0xc], edi
je 0x10023d4e
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x18
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0x74080
push edi
call esi
test eax, eax
je 0x10023d47
mov edx, dword [esp + 0x18]
test dl, 1
je 0x10023d47
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov ecx, 0x104
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov dword [esp + 0x48], eax
mov al, byte [ebp + 0xc]
mov cl, al
and cl, 1
or cl, 0xfa
shl cl, 4
mov byte [esp + 0x35], cl
mov edi, 0x10
mov cl, al
sar edi, cl
test edx, edi
jne 0x10023d4e
mov edi, dword [esp + 0xc]
push 0
lea edx, [esp + 0x14]
push edx
push 0x410
mov byte [esp + 0x44], al
lea eax, [esp + 0x84]
push eax
push 0x20
lea ecx, [esp + 0x40]
push ecx
push 0x7c088
push edi
mov byte [esp + 0x56], 0xec
mov byte [esp + 0x51], 1
mov byte [esp + 0x52], 1
mov dword [esp + 0x4c], 0x200
call esi
test eax, eax
jne 0x10023d65
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x48c]
call fcn.1001590b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov byte [esp + 0x60], 0
lea eax, [esp + 0x4d]
mov esi, 0xa
lea ebx, [ebx]
mov cl, byte [eax - 1]
mov dl, byte [eax]
mov byte [eax - 1], dl
mov byte [eax], cl
add eax, 2
dec esi
jne 0x10023db0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, 0xa
lea esi, [esp + 0xbe]
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x74], 0
lea eax, [esp + 0x4d]
mov esi, 0x14
mov cl, byte [eax - 1]
mov dl, byte [eax]
mov byte [eax - 1], dl
mov byte [eax], cl
add eax, 2
dec esi
jne 0x10023e04
lea esi, [esp + 0x4c]
xor ecx, ecx
mov eax, ebx
sub esi, ebx
mov edi, edi
cmp byte [eax], 0x20
jne 0x10023e31
mov dl, byte [esi + eax]
inc ecx
mov byte [eax], dl
inc eax
cmp ecx, 0xc
jl 0x10023e20
mov ecx, 0xa
lea esi, [esp + 0xb6]
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x74], 0
lea eax, [esp + 0x4d]
mov esi, 0x14
mov cl, byte [eax - 1]
mov dl, byte [eax]
mov byte [eax - 1], dl
mov byte [eax], cl
add eax, 2
dec esi
jne 0x10023e51
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x48c]
call fcn.1001590b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8