Function at 0x42ae7d
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
mov ecx, 0x104
mov dword [ebp - 0x854], eax
push ecx
push eax
mov dword [ebp - 0x648], eax
xor ebx, ebx
lea eax, [ebp - 0x850]
mov dword [ebp - 0x640], ecx
inc ebx
mov esi, edx
push eax
mov byte [ebp - 0x644], bl
call sub.msvcrt.dll_memset
add esp, 0xc
mov byte [ebp - 0x42c], bl
mov ecx, 0x104
xor eax, eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x428], ecx
push ecx
push eax
lea eax, [ebp - 0x638]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov byte [ebp - 0x214], bl
mov ecx, 0x104
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], ecx
push ecx
push eax
lea eax, [ebp - 0x420]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x850]
add esp, 0xc
cmp byte [ebp - 0x644], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.0040e3f0
test eax, eax
js 0x42b179
xor eax, eax
lea ecx, [ebp - 0x638]
cmp byte [ebp - 0x42c], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.0040e3f0
test eax, eax
js 0x42b179
xor eax, eax
lea ecx, [ebp - 0x420]
cmp byte [ebp - 0x214], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.0040e3f0
test eax, eax
js 0x42b179
push esi
lea ecx, [ebp - 0x850]
call fcn.0040a641
mov ecx, dword [ebp - 0x648]
mov edx, ecx
test ecx, ecx
jne 0x42afbc
lea edx, [ebp - 0x850]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x854]
jne 0x42afbf
mov eax, dword [ebp - 0x218]
sub edx, esi
sar edx, 1
test eax, eax
jne 0x42afe2
lea eax, [ebp - 0x420]
test ecx, ecx
jne 0x42afec
lea ecx, [ebp - 0x850]
push dword [ebp - 0x210]
inc edx
push eax
call fcn.00407d65
test al, al
jne 0x42b006
xor eax, eax
mov ebx, eax
jmp 0x42b185
push 0x40250c
lea ecx, [ebp - 0x420]
call fcn.0041232c
mov ecx, dword [ebp - 0x430]
test ecx, ecx
jne 0x42b026
lea ecx, [ebp - 0x638]
mov eax, dword [ebp - 0x218]
test eax, eax
jne 0x42b036
lea eax, [ebp - 0x420]
xor esi, esi
lea edx, [ebp - 0x85c]
push esi
push esi
push esi
push esi
push edx
push dword [ebp - 0x428]
push ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumeInformationW]
test eax, eax
jne 0x42b076
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x90
jne 0x42b069
mov ebx, esi
jmp 0x42b185
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
jmp 0x42b17e
mov eax, dword [ebp - 0x218]
mov ecx, eax
test eax, eax
jne 0x42b088
lea ecx, [ebp - 0x420]
cmp word [ecx], 0x5c
jne 0x42b0ad
test eax, eax
jne 0x42b098
lea eax, [ebp - 0x420]
mov ecx, eax
jmp 0x42b0a1
mov ecx, eax
add eax, 2
cmp word [eax], si
jne 0x42b09c
xor eax, eax
mov word [ecx], ax
jmp 0x42b0bd
test eax, eax
jne 0x42b0b7
lea eax, [ebp - 0x420]
xor ecx, ecx
mov word [eax + 2], cx
mov eax, dword [ebp - 0x430]
mov ecx, eax
test eax, eax
jne 0x42b0cf
lea ecx, [ebp - 0x638]
cmp word [ecx], si
je 0x42b102
test eax, eax
jne 0x42b0de
lea eax, [ebp - 0x638]
mov ecx, dword [ebp - 0x218]
test ecx, ecx
jne 0x42b0ee
lea ecx, [ebp - 0x420]
push eax
push ecx
push 2
push 0x235f
push edi
call fcn.004282ea
add esp, 0x14
jmp 0x42b122
mov eax, dword [ebp - 0x218]
test eax, eax
jne 0x42b112
lea eax, [ebp - 0x420]
push eax
push ebx
push 0x235e
push edi
call fcn.004282ea
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x42b187
mov eax, dword [ebp - 0x85c]
test eax, eax
jne 0x42b13a
cmp dword [ebp - 0x858], eax
je 0x42b187
movzx eax, ax
push eax
movzx eax, word [ebp - 0x85a]
push eax
push 0x403b50
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.00409abf
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
push ebx
push 0x235b
push edi
call fcn.004282ea
add esp, 0x10
mov esi, eax
jmp 0x42b187
xor eax, eax
push eax
push 8
call fcn.004078e4
pop ecx
pop ecx
mov esi, ebx
mov eax, dword [ebp - 0x218]
xor ebx, ebx
mov dword [ebp - 0x218], ebx
test eax, eax
je 0x42b1a1
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x430], ebx
test eax, eax
je 0x42b1b9
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [ebp - 0x648]
mov dword [ebp - 0x648], ebx
test eax, eax
je 0x42b1d1
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416b50
leave
ret