Function at 0x455ac1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
push edi
lea ecx, [ebp - 0x54]
call fcn.0042c9fa
lea eax, [ebp + 8]
push eax
call fcn.0042609c
xor ebx, ebx
pop ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x24], ebx
xor esi, esi
mov dword [ebp - 0x44], ebx
jmp 0x455be4
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x482014
call fcn.0042c7e8
add esp, 0xc
test al, al
jne 0x455be0
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x482010
call fcn.0042c7e8
add esp, 0xc
test al, al
jne 0x455be0
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x481264
call fcn.0042c7e8
add esp, 0xc
test al, al
jne 0x455bda
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x47b404
call fcn.0042c7e8
add esp, 0xc
test al, al
jne 0x455bda
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x47d49c
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x455b86
mov dword [ebp - 0x44], 1
jmp 0x455be4
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x48200c
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x455ba3
or dword [ebp - 0x24], 0x10
jmp 0x455be4
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:N
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x455bbf
push 0x20
pop esi
jmp 0x455be4
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:_N
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x455bf0
push 0x60
jmp 0x455bbc
or dword [ebp - 8], 1
jmp 0x455be4
or dword [ebp - 8], 2
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x455afe
or dword [ebp - 0x24], esi
lea ecx, [ebp - 0x40]
call fcn.0042aeb8
mov esi, 0x47a8e8
push esi
lea ecx, [ebp - 0x1c]
call fcn.00434695
push esi
lea ecx, [ebp - 4]
call fcn.00434695
push esi
lea ecx, [ebp - 0x10]
call fcn.00434695
push 1
push 0x2c
pop esi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0043e2e9
push ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.0042d669
mov eax, dword [ebp - 0x40]
add esp, 0xc
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x14], eax
jne 0x455c9e
movzx eax, word [eax]
cmp ax, bx
je 0x455c9e
mov ecx, eax
mov eax, ecx
call fcn.00426083
test al, al
jne 0x455c9e
cmp cx, 0x40
jne 0x455c6a
mov dword [ebp - 0x34], 1
jmp 0x455c8f
cmp cx, 0x24
jne 0x455c79
mov dword [ebp - 0x34], 3
jmp 0x455c8f
cmp cx, 0x5c
jne 0x455c85
or dword [ebp - 0xc], 1
jmp 0x455c8f
cmp cx, 0x21
jne 0x455c9e
or dword [ebp - 0xc], 2
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
cmp cx, bx
jne 0x455c50
lea eax, [ebp - 0x14]
push eax
call fcn.0042609c
cmp dword [ebp - 0xc], ebx
pop ecx
je 0x455cbc
mov eax, dword [ebp - 0x14]
jmp 0x455cb4
inc eax
inc eax
cmp word [eax], 0x5c
je 0x455cb2
jmp 0x455cd4
cmp dword [ebp - 8], ebx
jne 0x455cd1
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call fcn.0040cf55
pop ecx
pop ecx
jmp 0x455cdd
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.004346c9
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x455d06
add dword [ebp + 8], 2
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0043e2e9
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.0042d669
add esp, 0xc
cmp dword [ebp - 8], ebx
jne 0x455d34
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x455d34
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0x28]
push eax
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0043e2e9
push eax
call fcn.0042d84d
add esp, 0xc
cmp dword [ebp - 0x28], ebx
jg 0x455d40
mov dword [ebp - 0x28], 0xfffffff8
mov eax, dword [ebp + 8]
cmp word [eax], si
je 0x455d50
xor esi, esi
inc esi
jmp 0x456001
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.0042609c
pop ecx
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00409fd6
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
je 0x455d7f
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
jmp 0x455d84
mov dword [ebp + 0x10], ebx
mov eax, ebx
cmp word [esi], bx
jne 0x455da0
cmp eax, ebx
je 0x455da0
mov dx, word [edi + 0x52]
cmp dx, word [eax]
jne 0x455da0
push ebx
push ebx
push ecx
mov ecx, edi
call fcn.004299ca
push 0x32a
lea ecx, [ebp - 0x3c]
call fcn.0042aed6
mov eax, dword [ebp - 0x3c]
and word [edi + 0x7a], 0x8b
add eax, 4
mov dword [ebp - 0x18], ebx
cmp word [esi], bx
mov dword [ebp - 0x2c], eax
mov dword [ebp + 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x48], ebx
jne 0x455de5
cmp dword [ebp + 0x10], ebx
je 0x455de5
mov ax, word [edi + 0x52]
mov ecx, dword [ebp + 0x10]
cmp ax, word [ecx]
mov dword [ebp - 0x20], pe_nt_image_headers32
je 0x455de8
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
je 0x455e04
mov eax, dword [ebp - 0x10]
cmp word [eax], bx
jne 0x455e04
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], 1
je 0x455e07
mov dword [ebp - 0x38], ebx
test byte [ebp - 8], 2
je 0x455f17
mov esi, 0x49062c
push esi
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xffffffffffffffff
push ebx
push dword [ebp - 4]
mov ecx, edi
call fcn.0040f7cf
cmp eax, ebx
jne 0x455e44
push esi
mov dword [ebp - 0x48], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x455fcc
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.00409fd6
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x2c]
mov dword [ebp + 8], esi
mov dword [ebp - 0x24], ebx
jmp 0x455f01
test byte [edi + 0x7a], 0xef
jne 0x455f0a
lea eax, [ebp + 8]
mov dword [ebp - 0x44], esi
call fcn.00403aff
mov esi, dword [ebp + 8]
mov ax, word [esi]
push dword [ebp - 0x44]
mov word [esi], bx
push dword [ebp - 0x1c]
mov ecx, edi
mov word [ebp - 0x34], ax
call fcn.00429dbf
cmp word [ebp - 0x34], 0xd
jne 0x455ea7
cmp word [esi + 2], 0xa
jne 0x455ead
add esi, 4
jmp 0x455eaf
cmp word [ebp - 0x34], bx
je 0x455eb2
inc esi
inc esi
mov dword [ebp + 8], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x20], ebx
je 0x455ed9
mov eax, dword [ebp + 0x10]
add eax, 2
push 0x47a8e8
mov dword [ebp - 0x30], eax
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0044f9e2
jmp 0x455ef0
mov eax, dword [ebp - 0x10]
cmp word [eax], bx
je 0x455ef0
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0041ff01
mov ax, word [edi + 0x7a]
test ah, 1
je 0x455f01
and ax, 0xfeff
mov word [edi + 0x7a], ax
cmp word [esi], bx
jne 0x455e65
lea ecx, [ebp - 0x24]
call fcn.0042602e
jmp 0x455fcc
cmp dword [ebp - 8], 1
jne 0x456032
mov eax, dword [ebp - 4]
mov esi, eax
mov dword [ebp - 0x2c], ebx
cmp word [eax], bx
mov dword [ebp + 8], esi
je 0x455fcc
test byte [edi + 0x7a], 0xef
jne 0x455fcc
lea eax, [ebp + 8]
push eax
call fcn.00403adb
mov eax, dword [ebp + 8]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00409fd6
lea eax, [ebp + 8]
push eax
call fcn.0042609c
pop ecx
push dword [ebp - 0x2c]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.00429dbf
inc dword [ebp - 0x14]
cmp dword [ebp - 0x20], ebx
je 0x455f98
mov eax, dword [ebp + 0x10]
add eax, 2
push 0x47a8e8
mov dword [ebp - 0x30], eax
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0044f9e2
jmp 0x455faf
mov eax, dword [ebp - 0x10]
cmp word [eax], bx
je 0x455faf
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0041ff01
mov ax, word [edi + 0x7a]
test ah, 1
je 0x455fc0
and ax, 0xfeff
mov word [edi + 0x7a], ax
mov esi, dword [ebp + 8]
cmp word [esi], bx
jne 0x455f35
lea ecx, [ebp - 0x2c]
call fcn.0042602e
and word [edi + 0x7a], 0x8b
cmp dword [ebp - 0x38], ebx
je 0x455fee
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push edi
call fcn.0042ccbb
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0042602e
lea ecx, [ebp - 0x3c]
call fcn.0042602e
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x10]
call fcn.0042602e
lea ecx, [ebp - 4]
call fcn.0042602e
lea ecx, [ebp - 0x1c]
call fcn.0042602e
lea ecx, [ebp - 0x40]
call fcn.0042602e
lea ecx, [ebp - 0x54]
call fcn.0042602e
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp - 4]
call fcn.0040ca55
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.004346c9
mov ecx, dword [ebp - 4]
cmp word [ecx], bx
je 0x455fd4
cmp dword [ebp - 0xc], ebx
je 0x4560ae
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
mov word [esi + 2], bx
mov word [esi], bx
push esi
mov word [eax + 2], bx
push 0x324
mov word [eax], bx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov al, byte [ebp - 0xc]
and al, 2
mov byte [ebp + 0xb], al
mov eax, esi
cmp word [eax], bx
mov dword [ebp - 8], esi
je 0x456096
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x456083
cmp byte [ebp + 0xb], bl
je 0x4560a6
mov eax, dword [ebp - 8]
mov dword [ebp + 8], eax
jmp 0x456155
mov esi, dword [ebp - 0x2c]
jmp 0x456158
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], ebx
jne 0x4560cd
mov eax, dword [ebp - 0x10]
cmp word [eax], bx
jne 0x4560cd
cmp dword [ebp - 0x38], ebx
je 0x455fd4
cmp dword [ebp - 0x44], ebx
je 0x4560f1
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov ax, word [ecx]
cmp ax, bx
je 0x4560f1
cmp word [ecx + 2], 0x3a
jne 0x4560f1
push eax
call fcn.004662a2
test eax, eax
pop ecx
je 0x45614c
lea ecx, [ebp - 8]
call fcn.0042aeb8
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
call fcn.004334dc
add esp, 0xc
push dword [ebp + 0x14]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x24]
mov ecx, edi
or eax, dword [ebp - 0x34]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.004556bf
add dword [ebp - 0x14], eax
mov ax, word [edi + 0x7a]
test ah, 1
je 0x456144
and ax, 0xfeff
mov word [edi + 0x7a], ax
lea ecx, [ebp - 8]
call fcn.0042602e
cmp dword [ebp - 0xc], ebx
je 0x455fd4
mov esi, dword [ebp + 8]
cmp word [esi], bx
je 0x455fd4
cmp dword [ebp - 0x28], ebx
je 0x455fd4
test byte [edi + 0x7a], 0xef
jne 0x455fd4
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x18]
call fcn.00409fd6
push dword [ebp - 4]
lea ecx, [ebp - 0x18]
call fcn.0042af26
test byte [ebp - 0xc], 2
je 0x4561ad
dec esi
dec esi
jmp 0x4561a0
add esi, 0xfffffffe
cmp word [esi], bx
je 0x4560b7
cmp esi, dword [ebp - 0x2c]
mov dword [ebp + 8], esi
ja 0x456194
jmp 0x4560b7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2 + 2]
mov dword [ebp + 8], eax
jmp 0x4560b7