Function at 0x4351c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x619490]
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 0x5ed5ad
mov dword [ebp - 0x1d0], esi
movlpd qword [ebp - 0x1d8], xmm0
movlpd qword [ebp - 0x1c8], xmm0
mov byte [esi], 0
call fcn.00404a30
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 0x5ed5ad
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1a4], 0xf
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 0x1b8], 0
call fcn.00404a30
or eax, 0xffffffff
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1a8]
sub eax, ecx
cmp eax, 1
jbe 0x43545d
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x43545d
mov edx, dword [ebp - 0x1a4]
cmp edx, esi
jae 0x4352cd
push ecx
push esi
lea ecx, [ebp - 0x1b8]
call fcn.00404fb0
jmp 0x4352ea
test esi, esi
jne 0x4352f8
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 0x435330
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 0x5f1228
lea ecx, [ebp - 0x1b8]
call fcn.00404500
cmp dword [ebp - 0x1a4], 0x10
lea esi, [ebp - 0x1b8]
cmovae esi, dword [ebp - 0x1b8]
mov eax, esi
lea edx, [eax + 1]
jmp 0x435360
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435360
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 0x435387
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 0x435413
cmp eax, 3
jne 0x435413
lea eax, [ebp - 0x1c8]
mov cl, bl
push eax
lea edx, [ebp - 0x1d8]
call fcn.00434fe0
mov ecx, dword [ebp - 0x1c4]
add esp, 4
cmp ecx, dword [edi + 4]
jl 0x435413
mov eax, dword [ebp - 0x1c8]
jg 0x4353f0
cmp eax, dword [edi]
jbe 0x435413
mov esi, dword [ebp - 0x1bc]
mov dword [edi], eax
lea eax, [ebp - 0x1b8]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x435419
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004045f0
jmp 0x435419
mov esi, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1a4], 0x10
jb 0x435434
push dword [ebp - 0x1b8]
call fcn.0043dd17
add esp, 4
inc bl
cmp bl, 0x5a
jle 0x435260
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.00565bf6
mov esp, ebp
pop ebp
ret
push 0x5ed64c
call fcn.00586d20
int3