Function at 0x7dde62c3
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68c
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x644], eax
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp - 0x658], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x65c], eax
pop eax
push 0x12
mov word [ebp - 0x654], ax
pop eax
push 8
mov word [ebp - 0x652], ax
pop eax
push 0xa
mov esi, 0x7dde6840
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x664], ax
pop eax
mov word [ebp - 0x662], ax
push 0
lea eax, [ebp - 0x64c]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push eax
mov dword [ebp - 0x640], 0xa1
mov dword [ebp - 0x650], 0x7dde682c
mov dword [ebp - 0x660], 0x7dde6820
call edi
mov esi, dword [sym.imp.ntdll.dll_RtlPrefixString]
push 1
push ebx
lea eax, [ebp - 0x654]
push eax
call esi
test al, al
je 0x7dde639c
movzx edx, word [ebx]
cmp dx, word [ebp - 0x654]
jbe 0x7dde65dd
movzx ecx, word [ebp - 0x654]
mov esi, dword [ebx + 4]
mov eax, ecx
shr eax, 1
lea eax, [esi + eax*2]
movzx esi, dx
sub esi, ecx
jmp 0x7dde6527
push 1
push ebx
lea eax, [ebp - 0x664]
push eax
call esi
test al, al
je 0x7dde65d3
mov ebx, dword [ebx + 4]
cmp word [ebx + 0xa], 0x3a
jne 0x7dde65d3
mov ax, word [ebx + 8]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0xc]
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x7dde63db
mov eax, 0xffe0
add word [ebp - 0xc], ax
mov esi, 0x105
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.7dd9b6f7
test eax, eax
jne 0x7dde6405
call fcn.7dd711c7
mov dword [ebp - 0x640], eax
jmp 0x7dde65dd
lea eax, [ebp - 0x218]
push 0x7dde675c
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
jne 0x7dde6472
mov ax, word [ebp - 0xc]
cmp ax, word [ebp - 0x1e4]
jne 0x7dde6472
push 0x3a
pop eax
cmp ax, word [ebp - 0x1e2]
jne 0x7dde6472
lea eax, [ebp - 0x1e0]
push 0x5c
push eax
call sub.ntdll.dll_wcschr
pop ecx
pop ecx
mov dword [ebp - 0x648], eax
test eax, eax
je 0x7dde6472
inc eax
inc eax
mov ecx, eax
lea edx, [ebp - 0x218]
sub ecx, edx
sar ecx, 1
sub esi, ecx
mov dword [ebp - 0x648], eax
add esi, esi
jmp 0x7dde66a2
lea eax, [ebp - 0x218]
push 0x7dde6794
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
je 0x7dde6734
mov eax, ecx
push 0x7dde67b8
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
je 0x7dde6734
mov eax, ecx
push 0x7dde67d4
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
je 0x7dde6734
mov eax, ecx
push 0x7dde67f4
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
jne 0x7dde65dd
push 9
push 0x218
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 0x644]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jge 0x7dde651b
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
jmp 0x7dde63fa
mov esi, dword [ebp - 0x63c]
lea eax, [ebp - 0x636]
cmp dword [ebp - 0x644], 0xffffffff
mov dword [ebp - 0x648], eax
je 0x7dde66a2
or dword [ebp - 0x644], 0xffffffff
lea ebx, [eax - 2]
push 0x7dde6814
lea eax, [ebp - 0x68c]
push eax
call edi
xor edi, edi
push edi
push edi
push 0xa0
push 3
push 7
push 0x80
lea eax, [ebp - 0x68c]
mov dword [ebp - 0x67c], eax
push edi
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x684]
push eax
push 0x100000
lea eax, [ebp - 0x644]
push eax
mov dword [ebp - 0x684], 0x18
mov dword [ebp - 0x680], edi
mov dword [ebp - 0x678], 0x40
mov dword [ebp - 0x674], edi
mov dword [ebp - 0x670], edi
call dword [sym.imp.ntdll.dll_NtCreateFile]
cmp eax, edi
jl 0x7dde650f
push 0x5c
pop eax
cmp ax, word [ebx]
je 0x7dde65f4
push dword [ebp - 0x644]
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [ebp - 0x640], 0xa1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x640]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7dd71442
leave
ret 0x10
push 0x20a
lea eax, [ebp - 0x424]
push eax
lea eax, [esi + 2]
push eax
push ebx
push 0x600c0
lea eax, [ebp - 0x66c]
push eax
push edi
push edi
push edi
push dword [ebp - 0x644]
call dword [sym.imp.ntdll.dll_NtFsControlFile]
push dword [ebp - 0x644]
mov ebx, eax
call dword [sym.imp.ntdll.dll_NtClose]
cmp ebx, edi
jge 0x7dde6640
cmp ebx, 0xc0000034
je 0x7dde669c
push ebx
jmp 0x7dde6510
xor eax, eax
cmp ax, word [ebp - 0x424]
je 0x7dde669c
lea eax, [ebp - 0x424]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x7dde6654
sub eax, edx
sar eax, 1
lea esi, [eax + eax]
cmp esi, 6
jb 0x7dde65d3
push 0x5c
pop eax
cmp ax, word [ebp - 0x424]
jne 0x7dde65d3
cmp ax, word [ebp - 0x422]
jne 0x7dde65d3
lea eax, [ebp - 0x420]
mov dword [ebp - 0x648], eax
sub esi, 4
jmp 0x7dde66a2
mov eax, dword [ebp - 0x648]
mov ecx, eax
test esi, esi
jbe 0x7dde66c7
xor edi, edi
movzx edx, word [ecx]
cmp dx, 0x5c
je 0x7dde66c7
push 0x2e
pop ebx
cmp bx, dx
je 0x7dde65d3
inc ecx
inc ecx
inc edi
inc edi
cmp edi, esi
jb 0x7dde66aa
sub ecx, eax
movzx edi, cx
mov word [ebp - 0x64a], cx
mov word [ebp - 0x64c], cx
cmp edi, esi
jae 0x7dde65dd
cmp cx, 0x1e
ja 0x7dde65dd
mov ebx, dword [ebp - 0x65c]
mov ecx, dword [ebx]
add ecx, ecx
lea edx, [edi + 2]
cmp edx, ecx
jbe 0x7dde670c
mov dword [ebp - 0x640], 0x6f
jmp 0x7dde65dd
mov esi, dword [ebp - 0x658]
push edi
push eax
push esi
call sub.ntdll.dll_memcpy
mov eax, edi
shr eax, 1
xor ecx, ecx
add esp, 0xc
and dword [ebp - 0x640], ecx
mov dword [ebx], eax
mov word [esi + eax*2], cx
jmp 0x7dde65dd
push dword [ebp - 0x65c]
push dword [ebp - 0x658]
call sym.KERNEL32.dll_GetComputerNameW
test eax, eax
je 0x7dde63f5
and dword [ebp - 0x640], 0
jmp 0x7dde65dd