Function at 0x420c80
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4628d1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480810]
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 0x472ecc
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.0042f9e8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420cf8
push 0x80004005
call fcn.0040a150
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.0042f9e8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420d2a
push 0x80004005
call fcn.0040a150
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.0042f9e8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420d59
push 0x80004005
call fcn.0040a150
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 0x472ed0
push edx
call fcn.0040a2f0
push esi
lea eax, [esp + 0x2c]
push 0x472ed0
push eax
call fcn.0040a2f0
add esp, 0x18
push edi
push 0x46df44
lea ecx, [esp + 0x20]
call fcn.0040a260
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 0x420ec6
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
jmp 0x420dd4
mov ecx, dword [esp + 0x30]
test edx, edx
jl 0x420f93
cmp edx, eax
jg 0x420f93
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 0x420e1b
push edi
lea ecx, [esp + 0x1c]
call fcn.0040a3a0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test edi, edi
mov al, byte [esp + 0x17]
mov byte [ebx + esi], al
jl 0x420f93
cmp edi, dword [esi - 8]
jg 0x420f93
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
cmp dword [esi - 0xc], 0xf
je 0x420ec6
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
cmp edx, eax
jge 0x420e98
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 0x420e7b
push edi
lea ecx, [esp + 0x1c]
call fcn.0040a3a0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test edi, edi
mov byte [esi + ebp], bl
jl 0x420f93
cmp edi, dword [esi - 8]
jg 0x420f93
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
jmp 0x420eb0
push 1
push 0x46e278
lea ecx, [esp + 0x20]
call fcn.00408f10
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 0x420dd0
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 0x420ee8
push edi
lea ecx, [esp + 0x1c]
call fcn.0040a3a0
mov esi, dword [esp + 0x18]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.0044a0e9
push eax
call fcn.00409eb0
add esp, 0xc
test edi, edi
jl 0x420f93
cmp edi, dword [esi - 8]
jg 0x420f93
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
lea edi, [esp + 0x18]
call fcn.0041adc0
mov ebx, edi
call fcn.0041ad40
mov ebp, dword [esp + 0x48]
push 0x46df44
mov ecx, ebp
call fcn.0040a820
push str.LA3KS6JDH4FG0QPWO9EI1RUTY8Z4MX2NC7BV
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], 1
call fcn.0040a820
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 0x421008
cmp eax, edx
jle 0x420ff6
test edx, edx
jl 0x420f93
cmp edx, eax
jg 0x420f93
movsx eax, byte [edx + ebx]
cmp eax, 0x40
jle 0x420f81
cmp eax, 0x5b
jl 0x420f89
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x420ff6
cmp eax, 0x40
jle 0x420f9d
sub eax, 0x37
jmp 0x420fa0
push 0x80070057
call fcn.0040a150
sub eax, 0x30
test eax, eax
jl 0x420f93
mov ecx, dword [esp + 0x2c]
cmp eax, dword [ecx - 0xc]
jg 0x420f93
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 0x420fd6
push esi
mov ecx, ebp
call fcn.0040a3a0
mov edx, dword [esp + 0x20]
test esi, esi
mov eax, dword [ebp]
mov byte [eax + edi], bl
jl 0x420f93
mov eax, dword [ebp]
cmp esi, dword [eax - 8]
jg 0x420f93
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 0x420f6b
lea ecx, [esp + 0x30]
push 0x472ed4
push ecx
mov ecx, ebp
call fcn.00408dd0
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 0x4210cd
cmp dword [edi + 0xc], 0
jl 0x4210c1
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x4210c1
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x421065
cmp eax, dword [esi]
jne 0x421065
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42109c
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 0x42107e
call fcn.00409d10
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.00448ee3
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x4210b5
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 0x4210cd
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebp
call fcn.0040a260
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 0x4210f2
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 0x421117
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 0x42113c
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 0x421161
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 0x421182
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