Function at 0x41d438
Capabilities:
Get disk information

Disassembly:
push 0x894
mov eax, 0x45848c
call fcn.0044730c
xor eax, eax
mov edi, 0x208
push edi
mov word [ebp - 0x220], ax
xor ebx, ebx
lea eax, [ebp - 0x21e]
push ebx
push eax
call fcn.00427b40
add esp, 0xc
xor eax, eax
push edi
mov word [ebp - 0x430], ax
lea eax, [ebp - 0x42e]
push ebx
push eax
call fcn.00427b40
add esp, 0xc
xor eax, eax
push edi
mov word [ebp - 0x848], ax
lea eax, [ebp - 0x846]
push ebx
push eax
call fcn.00427b40
add esp, 0xc
xor eax, eax
push 0x206
mov word [ebp - 0x638], ax
lea eax, [ebp - 0x636]
push ebx
push eax
call fcn.00427b40
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x860], 0x40f438
mov dword [ebp - 0x85c], ebx
cmp eax, ebx
je 0x41d4dd
push eax
lea ecx, [ebp - 0x860]
call fcn.0041db2e
mov dword [ebp - 4], ebx
mov edi, dword [0x46512c]
jmp 0x41d502
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x890]
push eax
call dword [0x4650f8]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x890]
push eax
call edi
test eax, eax
jne 0x41d4e8
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0xd7
push dword [esi + 4]
call dword [0x46510c]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov edi, 0x105
push edi
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0042324c
add esp, 0x24
lea eax, [ebp - 0x848]
push eax
call fcn.00413535
lea eax, [ebp - 0x848]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x864], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x430]
push edi
push eax
call fcn.0042250d
add esp, 0xc
cmp dword [esi + 0x5c], ebx
je 0x41d5c3
lea eax, [ebp - 0x430]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d594
sub eax, edx
lea ecx, [esi + 0x3c]
sar eax, 1
cmp dword [ecx + 0x14], 8
jb 0x41d5ae
mov ecx, dword [ecx]
mov edx, 0x104
sub edx, eax
push edx
push ecx
lea eax, [ebp - 0x430]
push eax
call fcn.0041128f
cmp dword [ebp - 0x864], 5
jne 0x41d6bd
mov eax, dword [esi + 0x58]
xor edi, edi
dec eax
mov dword [ebp - 0x864], ebx
je 0x41d5e6
dec eax
jne 0x41d5ff
push ebx
push ebx
push ebx
jmp 0x41d5ea
push ebx
push ebx
push 1
lea ecx, [ebp - 0x220]
call fcn.00411d1c
mov edi, eax
cmp edi, ebx
jne 0x41d6bd
mov eax, dword [esi + 0x58]
dec eax
je 0x41d60d
dec eax
jne 0x41d623
push ebx
push ebx
push ebx
jmp 0x41d611
push ebx
push ebx
push 1
lea ecx, [ebp - 0x430]
call fcn.00411d1c
mov edi, eax
jmp 0x41d6b5
cmp dword [ebp - 0x864], 0x3e8
jge 0x41d6bd
jmp 0x41d64f
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x890]
push eax
call dword [0x4650f8]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x890]
push eax
call dword [0x46512c]
test eax, eax
jne 0x41d635
mov eax, dword [esi + 0x58]
dec eax
je 0x41d673
dec eax
jne 0x41d684
push ebx
push ebx
push ebx
jmp 0x41d677
push ebx
push ebx
push 1
lea ecx, [ebp - 0x220]
call fcn.00411d1c
mov edi, eax
cmp edi, ebx
jne 0x41d6a7
mov eax, dword [esi + 0x58]
dec eax
je 0x41d696
dec eax
jne 0x41d6a7
push ebx
push ebx
push ebx
jmp 0x41d69a
push ebx
push ebx
push 1
lea ecx, [ebp - 0x430]
call fcn.00411d1c
mov edi, eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x864]
cmp edi, ebx
je 0x41d623
mov eax, dword [esi + 0x58]
xor edi, edi
dec eax
je 0x41d6fc
dec eax
jne 0x41d73d
push 0x104
lea eax, [ebp - 0x638]
push eax
push ebx
lea ecx, [ebp - 0x220]
call fcn.00411d1c
cmp eax, ebx
jne 0x41d7c7
cmp dword [esi + 0x5c], ebx
je 0x41d73d
push 0x104
lea eax, [ebp - 0x638]
push eax
push ebx
jmp 0x41d730
push 0x104
lea eax, [ebp - 0x638]
push eax
push 1
lea ecx, [ebp - 0x220]
call fcn.00411d1c
cmp eax, ebx
jne 0x41d7c7
cmp dword [esi + 0x5c], ebx
je 0x41d73d
push 0x104
lea eax, [ebp - 0x638]
push eax
push 1
lea ecx, [ebp - 0x430]
call fcn.00411d1c
mov edi, eax
cmp dword [esi + 0x58], 2
jne 0x41d80b
lea ebx, [ebp - 0x220]
call fcn.0041d0f9
push 0x104
lea eax, [ebp - 0x638]
push eax
push 0
mov ecx, ebx
call fcn.00411d1c
test eax, eax
je 0x41d81c
mov eax, ebx
push eax
lea ecx, [esi + 0x20]
call fcn.00410cec
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x85c]
mov dword [ebp - 0x860], 0x40f438
test eax, eax
je 0x41d97a
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x85c]
test ecx, ecx
je 0x41d7bb
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [ebp - 0x85c], 0
jmp 0x41d97a
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.00410cec
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x85c]
mov dword [ebp - 0x860], 0x40f438
cmp eax, ebx
je 0x41d97a
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x41d963
cmp dword [esi + 0x5c], ebx
je 0x41d81e
cmp edi, ebx
je 0x41d81e
lea eax, [ebp - 0x430]
jmp 0x41d7cd
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x8a0]
call fcn.0042e933
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x874]
call fcn.0042e933
mov byte [ebp - 4], 2
mov ecx, 0x40df5c
lea eax, [ebp - 0x638]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d86f
cmp dx, bx
je 0x41d86b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d86f
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41d849
xor eax, eax
jmp 0x41d874
sbb eax, eax
sbb eax, 0xffffffff
mov edi, 0x4644c0
cmp eax, ebx
jne 0x41d8c7
mov eax, dword [esi + 0x58]
dec eax
je 0x41d88e
dec eax
jne 0x41d8a3
push edi
push 0x1058
jmp 0x41d894
push edi
push 0x1059
lea eax, [ebp - 0x874]
push eax
call fcn.0042e9a1
add esp, 0xc
mov eax, dword [ebp - 0x870]
cmp eax, ebx
jne 0x41d8b2
mov eax, 0x40df5c
push eax
lea eax, [ebp - 0x638]
push 0x104
push eax
call fcn.0042250d
add esp, 0xc
push edi
lea eax, [ebp - 0x8a0]
push 0x1003
push eax
call fcn.0042e9a1
mov eax, dword [ebp - 0x85c]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
add esp, 0xc
cmp eax, ebx
je 0x41d908
push dword [eax + 4]
call edi
mov ecx, dword [ebp - 0x85c]
cmp ecx, ebx
je 0x41d902
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebp - 0x85c], ebx
mov eax, dword [ebp - 0x89c]
cmp eax, ebx
jne 0x41d917
mov eax, 0x40df5c
push ebx
push eax
lea eax, [ebp - 0x638]
push eax
push dword [esi + 4]
call dword [0x465128]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x874]
call fcn.0042e991
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x8a0]
call fcn.0042e991
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x85c]
mov dword [ebp - 0x860], 0x40f438
cmp eax, ebx
je 0x41d97a
push dword [eax + 4]
call edi
mov ecx, dword [ebp - 0x85c]
cmp ecx, ebx
je 0x41d974
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebp - 0x85c], ebx
xor eax, eax
call fcn.0044739e
ret