Function at 0x41a9c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2ac
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xa4], 0x53474c
mov dword [ebp - 0xa0], 0x53c09c
mov dword [ebp - 0x9c], ebp
mov dword [ebp - 0x94], esp
mov dword [ebp - 0x9c], 0x41b212
mov dword [ebp - 0xb8], 1
lea eax, [ebp - 0xc0]
call fcn.005353b5
mov dword [esp], str.kernel32.dll
call sub.KERNEL32.DLL_GetModuleHandleA
sub esp, 4
mov ecx, dword [ebp + 8]
test eax, eax
je 0x41b131
mov dword [ebp - 0xb8], 2
mov dword [esp], eax
mov dword [esp + 4], str.GetLogicalDriveStringsA
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41b152
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xb8], 3
mov dword [esp], 5
call fcn.0051c414
mov dword [ebp - 0x30], eax
mov ecx, eax
add ecx, 5
mov dword [ebp - 0x28], ecx
mov byte [eax + 4], 0x64
mov dword [eax], 0x65786946
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xb8], 4
mov dword [esp], 9
call fcn.0051c414
mov dword [ebp - 0x20], eax
mov ecx, eax
add ecx, 9
mov dword [ebp - 0x18], ecx
mov byte [eax + 8], 0x65
mov dword [eax + 4], 0x6c626176
mov dword [eax], 0x6f6d6552
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0xb8], 5
mov cl, byte [ebp - 0x68]
mov byte [esp + 0xc], cl
mov dword [esp + 8], eax
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.00412174
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41ab64
mov ecx, dword [ebp - 0x18]
sub ecx, eax
cmp ecx, 0x1000
jb 0x41ab47
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41ab98
mov ecx, dword [ebp - 0x28]
sub ecx, eax
cmp ecx, 0x1000
jb 0x41ab7b
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xb8], 0x13
lea eax, [ebp - 0x2a0]
mov dword [esp + 4], eax
mov dword [esp], 0x104
call dword [ebp - 0x14]
sub esp, 8
test eax, eax
je 0x41b069
mov dword [ebp - 0xb8], 6
mov dword [esp], 0x1c
call fcn.0051c414
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0xf
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov byte [edx + 4], 0
mov dword [ebp - 0xb8], 7
mov dword [esp], eax
mov dword [esp + 4], 0x53be4e
call fcn.00403830
cmp byte [ebp - 0x2a0], 0
je 0x41b01e
lea eax, [ebp - 0x2a0]
nop dword [eax + eax]
mov dword [ebp - 0xb8], 8
mov dword [ebp - 0x14], eax
mov dword [esp], eax
call sub.KERNEL32.DLL_GetDriveTypeA
sub esp, 4
cmp eax, 2
je 0x41ad50
cmp eax, 3
mov esi, dword [ebp - 0x14]
jne 0x41b001
mov dword [ebp - 0xd0], 0xf
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xe4], 0
mov dword [ebp - 0xb8], 9
mov dword [esp + 4], esi
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00403830
mov dword [ebp - 0xb8], 0xa
lea eax, [ebp - 0xe8]
mov dword [esp], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x53be43
call fcn.00411ed0
mov esi, eax
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov ecx, dword [esi + 0x18]
cmp ecx, 0xf
ja 0x41ae03
mov edi, dword [esi + 0x14]
mov ebx, esi
add ebx, 4
mov eax, edi
inc eax
je 0x41ae34
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
lea eax, [ebp - 0x64]
mov dword [esp], eax
mov dword [ebp - 0xc4], ecx
call fcn.0052455c
mov ecx, dword [ebp - 0xc4]
jmp 0x41ae40
mov dword [ebp - 0xd0], 0xf
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xe4], 0
mov dword [ebp - 0xb8], 0xe
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00403830
mov dword [ebp - 0xb8], 0xf
lea eax, [ebp - 0xe8]
mov dword [esp], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x53be43
call fcn.00411ed0
mov esi, eax
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov ecx, dword [esi + 0x18]
cmp ecx, 0xf
ja 0x41ae1a
mov edi, dword [esi + 0x14]
mov ebx, esi
add ebx, 4
mov eax, edi
inc eax
je 0x41aec4
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
lea eax, [ebp - 0x64]
mov dword [esp], eax
mov dword [ebp - 0xc4], ecx
call fcn.0052455c
mov ecx, dword [ebp - 0xc4]
jmp 0x41aed0
mov ebx, esi
add ebx, 4
mov eax, dword [esi + 4]
mov dword [ebp - 0x64], eax
mov dword [esi + 4], 0
mov edi, dword [esi + 0x14]
jmp 0x41ae40
mov ebx, esi
add ebx, 4
mov eax, dword [esi + 4]
mov dword [ebp - 0x64], eax
mov dword [esi + 4], 0
mov edi, dword [esi + 0x14]
jmp 0x41aed0
mov edi, 0xffffffff
nop dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [ebx], 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xb8], 0xb
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [ebp - 0x164]
mov dword [esp], eax
call fcn.00441330
mov dword [ebp - 0xb8], 0xc
lea eax, [ebp - 0x164]
mov dword [esp + 8], eax
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0040e8c8
mov dword [ebp - 0xb8], 0xd
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.00419d84
jmp 0x41af52
mov edi, 0xffffffff
nop dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [ebx], 0
mov ecx, dword [ebp - 0x74]
add ecx, 0x10
mov dword [ebp - 0xb8], 0x10
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [ebp - 0x164]
mov dword [esp], eax
call fcn.00441330
mov dword [ebp - 0xb8], 0x11
lea eax, [ebp - 0x164]
mov dword [esp + 8], eax
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0040e8c8
mov dword [ebp - 0xb8], 0x12
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.00419d84
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x14]
jb 0x41af74
mov eax, dword [ebp - 0x30]
inc ecx
cmp ecx, 0x1000
jb 0x41af6c
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0x10
jb 0x41afab
mov eax, dword [ebp - 0x160]
inc ecx
cmp ecx, 0x1000
jb 0x41afa3
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x41afca
mov eax, dword [ebp - 0x64]
inc ecx
cmp ecx, 0x1000
jb 0x41afc2
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0x10
jb 0x41b001
mov eax, dword [ebp - 0xe4]
inc ecx
cmp ecx, 0x1000
jb 0x41aff9
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov dword [esp], esi
call fcn.0052488c
cmp byte [esi + eax + 1], 0
lea eax, [esi + eax + 1]
jne 0x41ac60
cmp dword [ebp - 0x10], 0
je 0x41b069
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
cmp ecx, 0x10
jb 0x41b043
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
inc ecx
cmp ecx, 0x1000
jb 0x41b03b
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0xf
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0051a4c8
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0xc], eax
mov eax, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov esi, dword [ebp - 0x74]
test esi, esi
lea ebx, [ebp - 0xc0]
mov edi, ebx
je 0x41b172
mov ebx, edi
mov edi, dword [ebp - 0x70]
cmp esi, edi
je 0x41b0fe
nop word cs:[eax + eax]
mov eax, dword [esi + 4]
test eax, eax
je 0x41b0f4
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp ecx, 0x1000
jb 0x41b0d7
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
add esi, 0x10
cmp edi, esi
jne 0x41b0c0
mov esi, dword [ebp - 0x74]
mov edi, ebx
mov eax, dword [ebp - 0x6c]
sub eax, esi
cmp eax, 0x1000
jb 0x41b10f
mov esi, dword [esi - 4]
mov dword [esp], esi
call fcn.0051a4c8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp + 8]
jmp 0x41b172
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
lea ebx, [ebp - 0xc0]
mov edi, ebx
mov eax, ecx
jmp 0x41b172
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
lea ebx, [ebp - 0xc0]
mov edi, ebx
mov ebx, eax
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x41b1fd
mov edi, dword [ebp - 0x44]
cmp esi, edi
je 0x41b1cb
nop word cs:[eax + eax]
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x41b1af
mov eax, dword [esi + 4]
inc ecx
cmp ecx, 0x1000
jb 0x41b1a7
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0051a4c8
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
add esi, 0x1c
cmp edi, esi
jne 0x41b190
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x40]
sub eax, esi
cmp eax, 0x1000
lea edi, [ebp - 0xc0]
jb 0x41b1e0
mov esi, dword [esi - 4]
mov dword [esp], esi
call fcn.0051a4c8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [esp], edi
call fcn.005353d6
mov eax, ebx
add esp, 0x2ac
pop esi
pop edi
pop ebx
pop ebp
ret