Function at 0x423c00
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a07bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4d0554]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x88], ecx
mov edi, dword [ebp + 0x10]
movups xmm0, xmmword [0x4b68d4]
push 0x10000
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], edi
movups xmmword [ebp - 0x24], xmm0
mov dword [edi], 0
mov dword [ebp - 4], 0
call fcn.00439c25
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x84], esi
test esi, esi
je 0x423f9b
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x44]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x68], edi
cmp edi, 0xffffffff
jne 0x423cc0
push esi
call fcn.00439c20
add esp, 4
jmp 0x423fa1
mov dword [ebp - 0x80], 0
nop word [eax + eax]
push 0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x50], 1
push eax
push 0x10000
push esi
push 0xc
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x423f67
xor ecx, ecx
cmp byte [esi + 0x18], 7
sete cl
mov dword [ebp - 0x60], ecx
jne 0x423f6b
push 0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x5c], 0
push eax
push 0x10000
push esi
push 0xc
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], 0
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x423f67
cmp byte [esi + 0xa], 0
je 0x423f67
mov eax, dword [esi + 0xc]
test eax, eax
je 0x423f67
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
add eax, esi
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041dad0
test eax, eax
je 0x423f1e
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041ca60
mov eax, dword [ebp - 0x6c]
cmp dword [eax - 0xc], 0
jge 0x423dab
or ecx, 0xffffffff
jmp 0x423dcb
push str.EPSON
push eax
call fcn.0046ade9
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x6c]
test ecx, ecx
jne 0x423dc7
or ecx, 0xffffffff
jmp 0x423dcb
sub ecx, eax
sar ecx, 1
xor edx, edx
mov dword [ebp - 0x70], ecx
test ecx, ecx
sete dl
mov dword [ebp - 0x60], edx
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423df0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x7c]
test edi, edi
jle 0x423e35
mov esi, dword [ebp - 0x74]
mov eax, dword [esi]
test eax, eax
je 0x423e16
push eax
call fcn.00439c20
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x423e2d
push eax
call fcn.00439c20
add esp, 4
mov dword [esi + 4], 0
add esi, 0xc
sub edi, 1
jne 0x423e01
push dword [ebp - 0x74]
call fcn.00439c20
add esp, 4
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x70], 0
jne 0x423f6b
lea ecx, [ebp - 0xac]
call fcn.00445f35
mov dword [ebp - 4], 3
call fcn.0043a11f
mov ecx, eax
test ecx, ecx
je 0x423fc1
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x60], eax
movzx eax, word [ebp + 8]
push 0x4b4144
push eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push str._c:_s
push eax
call fcn.00420820
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0xac]
add esp, 0x10
push 0
push esi
call fcn.00446040
mov edi, eax
cmp edi, 1
jne 0x423ecd
mov ecx, dword [ebp - 0x88]
push esi
call fcn.00423fd0
test eax, eax
je 0x423ed6
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
jmp 0x423ed6
mov eax, dword [ebp - 0x64]
mov dword [eax], 2
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423ef2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0xffffffff
call fcn.00445f6d
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp eax, 1
jge 0x423f77
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x68]
jmp 0x423cd0
mov edi, dword [ebp - 0x7c]
test edi, edi
jle 0x423f5c
mov esi, dword [ebp - 0x74]
mov eax, dword [esi]
test eax, eax
je 0x423f3d
push eax
call fcn.00439c20
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x423f54
push eax
call fcn.00439c20
add esp, 4
mov dword [esi + 4], 0
add esi, 0xc
sub edi, 1
jne 0x423f28
push dword [ebp - 0x74]
call fcn.00439c20
add esp, 4
xor edi, edi
jmp 0x423f6e
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov dword [eax], 2
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x84]
call fcn.00439c20
add esp, 4
mov eax, edi
jmp 0x423fa3
mov dword [edi], 2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00468009
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0041d300
int3