Function at 0x418fe0
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x14c4]
mov eax, 0x14c4
call fcn.00461df0
push 0xffffffffffffffff
push 0x484669
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4b7b70]
xor eax, ebp
mov dword [ebp + 0x14c0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14d4]
mov ebx, dword [ebp + 0x14cc]
mov edx, dword [ebp + 0x14d8]
mov edi, dword [ebp + 0x14d0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14dc]
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebx + 0x5a7]
xor esi, esi
sub eax, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], esi
jne 0x419193
cmp dword [ebx + 0x5ac], esi
jl 0x419193
jg 0x41907f
cmp dword [ebx + 0x5a8], esi
jbe 0x419193
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
call fcn.00417ba0
test eax, eax
jne 0x419118
push 2
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x4bc81c
call fcn.0042d450
mov edi, eax
push 0x4c
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x4bc81c
mov dword [ebp - 4], esi
call fcn.0042d450
mov edi, dword [edi]
mov eax, dword [eax]
push 0x40
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4190e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41988b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41988b
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebx + 0x5ac]
jl 0x419193
jg 0x419130
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebx + 0x5a8]
jb 0x419193
cmp byte [ebx + 0x430], 0
je 0x419146
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x410], 1
push 2
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x4bc81c
call fcn.0042d450
mov edi, eax
push 0x4d
lea edx, [ebp - 0x48]
push edx
mov ecx, 0x4bc81c
mov dword [ebp - 4], 1
call fcn.0042d450
mov ecx, dword [edi]
mov edx, dword [eax]
push 0x40
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x48]
call fcn.00411220
lea ecx, [ebp - 0x28]
call fcn.00411220
jmp 0x41988b
lea ecx, [ebp]
call fcn.0040f4b0
lea esi, [ebx + 0x3e]
mov dword [ebp - 4], 2
test esi, esi
jne 0x4191ad
xor eax, eax
jmp 0x4191dc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cmp eax, 0x3fffffff
mov dword [ebp - 0x14], eax
jle 0x4191c3
xor eax, eax
jmp 0x4191dc
mov eax, dword [ebp - 0x14]
add eax, eax
call fcn.00460c90
mov ecx, dword [ebp - 0x14]
mov eax, esp
push 3
push ecx
push esi
push eax
call fcn.0040f3e0
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x30]
push ecx
push 0
push eax
lea ecx, [ebp]
call fcn.00410420
test eax, eax
je 0x419205
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x427], edx
mov dword [ebx + 0x42b], eax
xor edx, edx
cmp dword [ebx + 0x427], edx
je 0x4197ee
cmp dword [ebx + 0x42b], edx
je 0x4197ee
movzx eax, byte [ebx + 0x326]
cmp eax, 0xb
ja case.0x419236.4
movzx ecx, byte [eax + 0x4198d4]
jmp dword [ecx*4 + 0x4198bc]
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f4e0
mov eax, 1
jmp 0x41988d
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp + 0x108e]
push eax
mov word [ebp + 0x108c], dx
call fcn.00460000
add esp, 0xc
push 0x200
lea ecx, [ebp + 0x108c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040f460
lea edi, [ebx + 0x5b5]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x419336
xor edx, edx
push 0x1fe
push edx
lea eax, [ebp + 0xe8e]
push eax
mov word [ebp + 0xe8c], dx
call fcn.00460000
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.004111f0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
push 0x100
lea edx, [ebp + 0xe8c]
push edx
push 0x49be80
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
push str._08u
push ecx
call fcn.004135e0
add esp, 0xc
push edi
lea ecx, [ebp - 0x10]
call fcn.00410e70
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x41932d
call fcn.00411220
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f4e0
mov eax, 1
jmp 0x41988d
mov byte [ebp - 4], 2
call fcn.00411220
test esi, esi
jne 0x41933f
mov dword [ebp - 0x10], esi
jmp 0x419371
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x41935a
mov dword [ebp - 0x10], 0
jmp 0x419371
lea eax, [edi + edi]
call fcn.00460c90
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040f3e0
mov dword [ebp - 0x10], eax
lea edi, [ebx + 0x304]
test edi, edi
jne 0x41937f
xor eax, eax
jmp 0x4193a8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x419392
xor eax, eax
jmp 0x4193a8
lea esi, [eax + eax]
mov eax, esi
call fcn.00460c90
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040f420
mov edx, dword [ebp - 0x10]
push 0
push 0
push 0
push edx
xor edx, edx
cmp byte [ebx + 0x326], 5
lea ecx, [ebp + 0x108c]
sete dl
push ecx
push eax
lea ecx, [ebp + 0x450]
push edx
push 0
call fcn.00423010
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x450]
call fcn.00447abb
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x450]
cmp eax, 1
je 0x4193fc
call fcn.00418360
jmp case.0x419236.4
call fcn.00418360
jmp case.0x419236.0
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax]
mov esi, 0xffff
mov ecx, 3
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
cmp si, ax
je 0x419427
movzx ecx, ax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
cmp ecx, edx
jbe 0x41952b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x419440
cmp dword [ebp - 0x10], 0
jne case.0x419236.0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xe0]
call fcn.00428bd0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 6
call fcn.00447abb
cmp eax, 1
jne 0x419576
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor esi, esi
test ecx, ecx
jle 0x4194e4
mov edx, dword [ebp - 0x5c]
push edx
push esi
mov ecx, edi
call fcn.00416dc0
push eax
call ebx
test eax, eax
jne 0x4194bd
mov eax, dword [ebp - 0x54]
push eax
push esi
mov ecx, edi
call fcn.00416dc0
add eax, 0x42
push eax
call ebx
test eax, eax
je 0x4194dd
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
cmp esi, ecx
jl 0x419494
jmp 0x4194e4
mov dword [ebp - 0x10], 1
inc dword [ebp - 0x14]
cmp dword [ebp - 0x10], 0
jne 0x419506
mov ecx, dword [ebp - 0x2c]
movzx eax, word [ecx]
mov edx, 0xffff
cmp dx, ax
je 0x419506
test ax, ax
jbe 0x419506
dec eax
mov word [ecx], ax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.00418420
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jb 0x419440
cmp dword [ebp - 0x10], 0
jne case.0x419236.0
push 1
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x4bc81c
call fcn.0042d450
mov esi, eax
push 0x14
lea edx, [ebp - 0x4c]
push edx
mov ecx, 0x4bc81c
mov byte [ebp - 4], 7
call fcn.0042d450
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x4c]
call fcn.00411220
lea ecx, [ebp - 0x1c]
call fcn.00411220
jmp case.0x419236.4
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.00418420
jmp case.0x419236.4
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp + 0x108e]
push ecx
mov word [ebp + 0x108c], ax
call fcn.00460000
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 0x200
lea edx, [ebp + 0x108c]
push edx
call fcn.0040f460
test esi, esi
jne 0x4195c5
mov dword [ebp - 0x14], esi
jmp 0x4195f7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x4195e0
mov dword [ebp - 0x14], 0
jmp 0x4195f7
lea eax, [ebx + ebx]
call fcn.00460c90
mov eax, esp
push 3
push ebx
push esi
push eax
call fcn.0040f3e0
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x18]
add ebx, 0x304
jne 0x419606
xor eax, eax
jmp 0x41962f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x419619
xor eax, eax
jmp 0x41962f
lea esi, [eax + eax]
mov eax, esi
call fcn.00460c90
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040f420
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
push ecx
push edi
push 1
push edx
lea ecx, [ebp + 0x108c]
push ecx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp byte [eax + 0x326], 0xb
lea ecx, [ebp + 0x450]
sete dl
push edx
push 0
call fcn.00423010
mov byte [ebp - 4], 8
jmp 0x4193d8
mov ecx, dword [ebp - 0x1c]
push 0x30
lea edx, [ebp + 0x148d]
push 0
push edx
mov dword [ecx], 1
mov byte [ebp + 0x148c], 0
call fcn.00460000
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp + 0xa8e]
push ecx
mov word [ebp + 0xa8c], ax
call fcn.00460000
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp + 0x68e]
push eax
mov word [ebp + 0x68c], dx
call fcn.00460000
add esp, 0x24
push 0x200
lea ecx, [ebp + 0x68c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040f460
push 0x48aba8
lea edx, [ebp + 0x68c]
push edx
lea eax, [ebp + 0xa8c]
push 0x48a788
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp + 0x148c]
push ecx
lea edx, [ebp + 0xa8c]
push edx
call fcn.00416260
add esp, 0x18
test eax, eax
je 0x4197a3
mov edi, dword [ebp - 0x34]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x63e7063f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4197a3
xor ebx, ebx
test eax, eax
jle 0x4197a3
lea eax, [ebp + 0x148c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41974f
xor eax, eax
jmp 0x419769
lea eax, [esi + esi]
call fcn.00460c90
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x148c]
push ecx
push eax
call fcn.0040f3e0
push eax
push ebx
mov ecx, edi
call fcn.00416e00
add eax, 0x42
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je case.0x419236.0
mov edi, dword [ebp - 0x34]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x63e7063f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jl 0x419733
push 1
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x4bc81c
call fcn.0042d450
mov esi, eax
push 0x37
lea edx, [ebp - 0x20]
push edx
mov ecx, 0x4bc81c
mov byte [ebp - 4], 9
call fcn.0042d450
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x20]
call fcn.00411220
lea ecx, [ebp - 0x24]
call fcn.00411220
jmp case.0x419236.4
cmp byte [ebx + 0x430], 0
je 0x419804
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x410], 1
push 2
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x4bc81c
call fcn.0042d450
mov esi, eax
push 0x32
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x4bc81c
mov byte [ebp - 4], 3
call fcn.0042d450
mov esi, dword [esi]
mov eax, dword [eax]
push 0x40
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419859
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg case.0x419236.4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f4e0
xor eax, eax
lea esp, [ebp - 0xf0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x14c0]
xor ecx, ebp
call fcn.00460c80
add ebp, 0x14c4
mov esp, ebp
pop ebp
ret 0x14