Function at 0x43f040
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b09fd
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 0x5fbf49
mov dword [ebp - 0x1d0], esi
movlpd qword [ebp - 0x1d8], xmm0
movlpd qword [ebp - 0x1c8], xmm0
mov byte [esi], 0
call fcn.00404ba0
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 0x5fbf4a
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1a4], 0xf
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 0x1b8], 0
call fcn.00404ba0
or eax, 0xffffffff
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1a8]
sub eax, ecx
cmp eax, 1
jbe 0x43f2dd
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x43f2dd
mov edx, dword [ebp - 0x1a4]
cmp edx, esi
jae 0x43f14d
push ecx
push esi
lea ecx, [ebp - 0x1b8]
call fcn.00405120
jmp 0x43f16a
test esi, esi
jne 0x43f178
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 0x43f1b0
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 0x5fd6b0
lea ecx, [ebp - 0x1b8]
call fcn.00404680
cmp dword [ebp - 0x1a4], 0x10
lea esi, [ebp - 0x1b8]
cmovae esi, dword [ebp - 0x1b8]
mov eax, esi
lea edx, [eax + 1]
jmp 0x43f1e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f1e0
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 0x43f207
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 0x43f293
cmp eax, 3
jne 0x43f293
lea eax, [ebp - 0x1c8]
mov cl, bl
push eax
lea edx, [ebp - 0x1d8]
call fcn.0043ee50
mov ecx, dword [ebp - 0x1c4]
add esp, 4
cmp ecx, dword [edi + 4]
jl 0x43f293
mov eax, dword [ebp - 0x1c8]
jg 0x43f270
cmp eax, dword [edi]
jbe 0x43f293
mov esi, dword [ebp - 0x1bc]
mov dword [edi], eax
lea eax, [ebp - 0x1b8]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x43f299
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404770
jmp 0x43f299
mov esi, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1a4], 0x10
jb 0x43f2b4
push dword [ebp - 0x1b8]
call fcn.00448708
add esp, 4
inc bl
cmp bl, 0x5a
jle 0x43f0e0
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.005705f2
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.005924dc
int3