Function at 0x43c690
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a25e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax + 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x43c73d
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push eax
mov dword [ebp - 0x14], eax
call esi
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 1
call fcn.00425590
mov ebx, dword [ebp - 0x14]
add esp, 4
push ebx
mov dword [ebp - 0x18], ebx
call esi
lea esi, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00426df0
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 4]
cmp eax, 3
jge 0x43c752
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c71e
mov ebx, dword [edi + 8]
mov esi, 0x4da170
call fcn.00432310
mov ebx, dword [ebp - 0x14]
push ebx
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c73d
mov ebx, dword [ebx + 8]
mov edi, dword [ebp - 0x14]
mov esi, 0x4da170
call fcn.00432310
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [edi + 0xc]
lea esi, [edi + 0xc]
cmp ax, 0x5c
je 0x43c765
cmp ax, 0x2f
jne 0x43c790
lea edx, [ebp - 0x18]
push edx
call fcn.004240f0
add esp, 4
cmp eax, 2
je 0x43c79a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004021e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004021e0
jmp 0x43c73d
movzx eax, word [edi + 0xe]
cmp ax, 0x3a
jmp 0x43c774
cmp dword [edi + 4], 3
jne 0x43c7f1
movzx eax, word [edi + 0xe]
cmp ax, 0x3a
jne 0x43c7f1
movzx eax, word [edi + 0x10]
call fcn.0040e4e0
test al, al
je 0x43c7f1
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
lea ecx, [ebp - 0x18]
setne bl
mov byte [ebp - 4], 1
call fcn.004021e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004021e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4bf064
lea eax, [ebp + 8]
push eax
mov esi, 1
call fcn.00419c10
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 8]
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00424ed0
add esp, 4
mov byte [ebp - 4], 5
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c841
mov ebx, dword [esi + 8]
mov edi, esi
mov esi, 0x4da170
call fcn.00432310
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
call fcn.0043c590
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add esp, 4
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c879
mov ebx, dword [esi + 8]
mov edi, esi
mov esi, 0x4da170
call fcn.00432310
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c898
mov ebx, dword [edi + 8]
mov esi, 0x4da170
call fcn.00432310
mov ebx, dword [ebp - 0x14]
push ebx
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c8b7
mov ebx, dword [ebx + 8]
mov edi, dword [ebp - 0x14]
mov esi, 0x4da170
call fcn.00432310
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4