Function at 0x7dde6435
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, 0x7dde69b0
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], 0x7dde699c
mov dword [ebp - 0x660], 0x7dde6990
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 0x7dde650e
movzx edx, word [ebx]
cmp dx, word [ebp - 0x654]
jbe 0x7dde674f
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 0x7dde6699
push 1
push ebx
lea eax, [ebp - 0x664]
push eax
call esi
test al, al
je 0x7dde6745
mov ebx, dword [ebx + 4]
cmp word [ebx + 0xa], 0x3a
jne 0x7dde6745
mov ax, word [ebx + 8]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0xc]
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x7dde654d
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.7dd9b6e7
test eax, eax
jne 0x7dde6577
call fcn.7dd711c7
mov dword [ebp - 0x640], eax
jmp 0x7dde674f
lea eax, [ebp - 0x218]
push 0x7dde68cc
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
jne 0x7dde65e4
mov ax, word [ebp - 0xc]
cmp ax, word [ebp - 0x1e4]
jne 0x7dde65e4
push 0x3a
pop eax
cmp ax, word [ebp - 0x1e2]
jne 0x7dde65e4
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 0x7dde65e4
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 0x7dde6814
lea eax, [ebp - 0x218]
push 0x7dde6904
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
je 0x7dde68a6
mov eax, ecx
push 0x7dde6928
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
je 0x7dde68a6
mov eax, ecx
push 0x7dde6944
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
je 0x7dde68a6
mov eax, ecx
push 0x7dde6964
push eax
call sub.ntdll.dll_wcsstr
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
cmp ecx, eax
jne 0x7dde674f
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 0x7dde668d
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
jmp 0x7dde656c
mov esi, dword [ebp - 0x63c]
lea eax, [ebp - 0x636]
cmp dword [ebp - 0x644], 0xffffffff
mov dword [ebp - 0x648], eax
je 0x7dde6814
or dword [ebp - 0x644], 0xffffffff
lea ebx, [eax - 2]
push 0x7dde6984
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 0x7dde6681
push 0x5c
pop eax
cmp ax, word [ebx]
je 0x7dde6766
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 0x7dde67b2
cmp ebx, 0xc0000034
je 0x7dde680e
push ebx
jmp 0x7dde6682
xor eax, eax
cmp ax, word [ebp - 0x424]
je 0x7dde680e
lea eax, [ebp - 0x424]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x7dde67c6
sub eax, edx
sar eax, 1
lea esi, [eax + eax]
cmp esi, 6
jb 0x7dde6745
push 0x5c
pop eax
cmp ax, word [ebp - 0x424]
jne 0x7dde6745
cmp ax, word [ebp - 0x422]
jne 0x7dde6745
lea eax, [ebp - 0x420]
mov dword [ebp - 0x648], eax
sub esi, 4
jmp 0x7dde6814
mov eax, dword [ebp - 0x648]
mov ecx, eax
test esi, esi
jbe 0x7dde6839
xor edi, edi
movzx edx, word [ecx]
cmp dx, 0x5c
je 0x7dde6839
push 0x2e
pop ebx
cmp bx, dx
je 0x7dde6745
inc ecx
inc ecx
inc edi
inc edi
cmp edi, esi
jb 0x7dde681c
sub ecx, eax
movzx edi, cx
mov word [ebp - 0x64a], cx
mov word [ebp - 0x64c], cx
cmp edi, esi
jae 0x7dde674f
cmp cx, 0x1e
ja 0x7dde674f
mov ebx, dword [ebp - 0x65c]
mov ecx, dword [ebx]
add ecx, ecx
lea edx, [edi + 2]
cmp edx, ecx
jbe 0x7dde687e
mov dword [ebp - 0x640], 0x6f
jmp 0x7dde674f
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 0x7dde674f
push dword [ebp - 0x65c]
push dword [ebp - 0x658]
call sym.KERNEL32.dll_GetComputerNameW
test eax, eax
je 0x7dde6567
and dword [ebp - 0x640], 0
jmp 0x7dde674f