Function at 0x420e30
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x463021
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47e820]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0xa
xor edi, edi
push edi
push edi
push edi
lea eax, [esp + 0x38]
push eax
push 0xc
push edi
mov dword [esp + 0x5c], edi
push 0x470eec
mov dword [esp + 0x54], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp + 0x28]
mov esi, eax
xor eax, 0x19800204
xor esi, 0x73849287
mov dword [esp + 0x28], eax
call fcn.0042fdf3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420ea8
push 0x80004005
call fcn.0040aa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 1
call fcn.0042fdf3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420eda
push 0x80004005
call fcn.0040aa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x40], 2
call fcn.0042fdf3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420f09
push 0x80004005
call fcn.0040aa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x40], 3
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push 0x470ef0
push edx
call fcn.0040ab20
push esi
lea eax, [esp + 0x2c]
push 0x470ef0
push eax
call fcn.0040ab20
add esp, 0x18
push edi
push 0x46ee7c
lea ecx, [esp + 0x20]
call fcn.0040aa90
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
mov esi, dword [esp + 0x18]
xor edx, edx
cmp eax, edi
mov dword [esp + 0x20], edx
jle 0x421076
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
jmp 0x420f84
mov ecx, dword [esp + 0x30]
test edx, edx
jl 0x421143
cmp edx, eax
jg 0x421143
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi - 0xc]
lea ebp, [edx + eax]
mov cl, byte [ecx + ebp]
mov eax, dword [esi - 8]
mov byte [esp + 0x17], cl
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebx + 1]
sub eax, edi
or eax, ecx
jge 0x420fcb
push edi
lea ecx, [esp + 0x1c]
call fcn.0040abd0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test edi, edi
mov al, byte [esp + 0x17]
mov byte [ebx + esi], al
jl 0x421143
cmp edi, dword [esi - 8]
jg 0x421143
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
cmp dword [esi - 0xc], 0xf
je 0x421076
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
cmp edx, eax
jge 0x421048
mov bl, byte [ebp]
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x42102b
push edi
lea ecx, [esp + 0x1c]
call fcn.0040abd0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test edi, edi
mov byte [esi + ebp], bl
jl 0x421143
cmp edi, dword [esi - 8]
jg 0x421143
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
jmp 0x421060
push 1
push 0x46f1bc
lea ecx, [esp + 0x20]
call fcn.004097f0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov eax, dword [eax - 0xc]
add edx, 1
cmp edx, eax
mov dword [esp + 0x20], edx
jl 0x420f80
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x421098
push edi
lea ecx, [esp + 0x1c]
call fcn.0040abd0
mov esi, dword [esp + 0x18]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.0044c0d7
push eax
call fcn.0040a790
add esp, 0xc
test edi, edi
jl 0x421143
cmp edi, dword [esi - 8]
jg 0x421143
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
lea edi, [esp + 0x18]
call fcn.0041b680
mov ebx, edi
call fcn.0041b600
mov ebp, dword [esp + 0x48]
push 0x46ee7c
mov ecx, ebp
call fcn.0040aee0
push str.LA3KS6JDH4FG0QPWO9EI1RUTY8Z4MX2NC7BV
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], 1
call fcn.0040aee0
mov byte [esp + 0x40], 4
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
xor edx, edx
test eax, eax
mov dword [esp + 0x20], edx
jle 0x4211b8
cmp eax, edx
jle 0x4211a6
test edx, edx
jl 0x421143
cmp edx, eax
jg 0x421143
movsx eax, byte [edx + ebx]
cmp eax, 0x40
jle 0x421131
cmp eax, 0x5b
jl 0x421139
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x4211a6
cmp eax, 0x40
jle 0x42114d
sub eax, 0x37
jmp 0x421150
push 0x80070057
call fcn.0040aa40
sub eax, 0x30
test eax, eax
jl 0x421143
mov ecx, dword [esp + 0x2c]
cmp eax, dword [ecx - 0xc]
jg 0x421143
mov bl, byte [eax + ecx]
mov eax, dword [ebp]
mov edi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x421186
push esi
mov ecx, ebp
call fcn.0040abd0
mov edx, dword [esp + 0x20]
test esi, esi
mov eax, dword [ebp]
mov byte [eax + edi], bl
jl 0x421143
mov eax, dword [ebp]
cmp esi, dword [eax - 8]
jg 0x421143
mov ebx, dword [esp + 0x18]
mov dword [eax - 0xc], esi
mov eax, dword [ebp]
mov byte [esi + eax], 0
mov eax, dword [ebx - 0xc]
add edx, 1
cmp eax, edx
mov dword [esp + 0x20], edx
jg 0x42111b
lea ecx, [esp + 0x30]
push 0x470ef4
push ecx
mov ecx, ebp
call fcn.004167d0
add esp, 8
mov byte [esp + 0x40], 5
mov eax, dword [eax]
mov edi, dword [ebp]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x42127d
cmp dword [edi + 0xc], 0
jl 0x421271
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x421271
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x421215
cmp eax, dword [esi]
jne 0x421215
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42124c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x42122e
call fcn.0040a900
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00448dcb
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x421265
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0x10
mov dword [ebp], ebx
mov ebx, dword [esp + 0x18]
jmp 0x42127d
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebp
call fcn.0040aa90
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4212a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4212c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4212ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421311
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421332
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4