Function at 0x43f500
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x627490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1cc], 0
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5fa61d
mov dword [ebp - 0x1d0], esi
movlpd qword [ebp - 0x1d8], xmm0
movlpd qword [ebp - 0x1c8], xmm0
mov byte [esi], 0
call fcn.00404c00
mov dword [ebp - 4], 0
mov bl, 0x41
mov dword [ebp - 0x1cc], 1
mov dword [edi], 0
mov dword [edi + 4], 0
nop
push 0
push 0x5fa61d
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1a4], 0xf
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 0x1b8], 0
call fcn.00404c00
or eax, 0xffffffff
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1a8]
sub eax, ecx
cmp eax, 1
jbe 0x43f79d
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x43f79d
mov edx, dword [ebp - 0x1a4]
cmp edx, esi
jae 0x43f60d
push ecx
push esi
lea ecx, [ebp - 0x1b8]
call fcn.00405180
jmp 0x43f62a
test esi, esi
jne 0x43f638
cmp edx, 0x10
mov dword [ebp - 0x1a8], esi
lea eax, [ebp - 0x1b8]
cmovae eax, dword [ebp - 0x1b8]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1a8]
test esi, esi
mov edx, dword [ebp - 0x1a4]
setne al
test al, al
je 0x43f670
cmp edx, 0x10
lea eax, [ebp - 0x1b8]
cmovae eax, dword [ebp - 0x1b8]
mov byte [eax + ecx], bl
lea eax, [ebp - 0x1b8]
cmp dword [ebp - 0x1a4], 0x10
mov dword [ebp - 0x1a8], esi
cmovae eax, dword [ebp - 0x1b8]
mov byte [eax + esi], 0
push 2
push 0x5fe128
lea ecx, [ebp - 0x1b8]
call fcn.004046e0
cmp dword [ebp - 0x1a4], 0x10
lea esi, [ebp - 0x1b8]
cmovae esi, dword [ebp - 0x1b8]
mov eax, esi
lea edx, [eax + 1]
jmp 0x43f6a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f6a0
push 0
push 0
sub eax, edx
inc eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, esi
mov edx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x1c0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f6c7
sub ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x1a0]
push edx
push eax
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x43f753
cmp eax, 3
jne 0x43f753
lea eax, [ebp - 0x1c8]
mov cl, bl
push eax
lea edx, [ebp - 0x1d8]
call fcn.0043f310
mov ecx, dword [ebp - 0x1c4]
add esp, 4
cmp ecx, dword [edi + 4]
jl 0x43f753
mov eax, dword [ebp - 0x1c8]
jg 0x43f730
cmp eax, dword [edi]
jbe 0x43f753
mov esi, dword [ebp - 0x1bc]
mov dword [edi], eax
lea eax, [ebp - 0x1b8]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x43f759
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004047d0
jmp 0x43f759
mov esi, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1a4], 0x10
jb 0x43f774
push dword [ebp - 0x1b8]
call fcn.00448bc8
add esp, 4
inc bl
cmp bl, 0x5a
jle 0x43f5a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570aac
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.005929bb
int3