Function at 0x426c30
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x46eac1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e820]
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 0x48031c
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.0043adc8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x426ca8
push 0x80004005
call fcn.0040fef0
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.0043adc8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x426cda
push 0x80004005
call fcn.0040fef0
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.0043adc8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x426d09
push 0x80004005
call fcn.0040fef0
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 0x480320
push edx
call fcn.00410070
push esi
lea eax, [esp + 0x2c]
push 0x480320
push eax
call fcn.00410070
add esp, 0x18
push edi
push 0x47b3d4
lea ecx, [esp + 0x20]
call fcn.0040ffe0
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 0x426e76
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
jmp 0x426d84
mov ecx, dword [esp + 0x30]
test edx, edx
jl 0x426f43
cmp edx, eax
jg 0x426f43
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 0x426dcb
push edi
lea ecx, [esp + 0x1c]
call fcn.00410120
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test edi, edi
mov al, byte [esp + 0x17]
mov byte [ebx + esi], al
jl 0x426f43
cmp edi, dword [esi - 8]
jg 0x426f43
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
cmp dword [esi - 0xc], 0xf
je 0x426e76
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
cmp edx, eax
jge 0x426e48
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 0x426e2b
push edi
lea ecx, [esp + 0x1c]
call fcn.00410120
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test edi, edi
mov byte [esi + ebp], bl
jl 0x426f43
cmp edi, dword [esi - 8]
jg 0x426f43
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
jmp 0x426e60
push 1
push 0x47b718
lea ecx, [esp + 0x20]
call fcn.0040ecb0
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 0x426d80
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 0x426e98
push edi
lea ecx, [esp + 0x1c]
call fcn.00410120
mov esi, dword [esp + 0x18]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.00455439
push eax
call fcn.0040fc50
add esp, 0xc
test edi, edi
jl 0x426f43
cmp edi, dword [esi - 8]
jg 0x426f43
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
lea edi, [esp + 0x18]
call fcn.00420ec0
mov ebx, edi
call fcn.00420e40
mov ebp, dword [esp + 0x48]
push 0x47b3d4
mov ecx, ebp
call fcn.00410560
push str.LA3KS6JDH4FG0QPWO9EI1RUTY8Z4MX2NC7BV
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], 1
call fcn.00410560
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 0x426fb8
cmp eax, edx
jle 0x426fa6
test edx, edx
jl 0x426f43
cmp edx, eax
jg 0x426f43
movsx eax, byte [edx + ebx]
cmp eax, 0x40
jle 0x426f31
cmp eax, 0x5b
jl 0x426f39
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x426fa6
cmp eax, 0x40
jle 0x426f4d
sub eax, 0x37
jmp 0x426f50
push 0x80070057
call fcn.0040fef0
sub eax, 0x30
test eax, eax
jl 0x426f43
mov ecx, dword [esp + 0x2c]
cmp eax, dword [ecx - 0xc]
jg 0x426f43
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 0x426f86
push esi
mov ecx, ebp
call fcn.00410120
mov edx, dword [esp + 0x20]
test esi, esi
mov eax, dword [ebp]
mov byte [eax + edi], bl
jl 0x426f43
mov eax, dword [ebp]
cmp esi, dword [eax - 8]
jg 0x426f43
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 0x426f1b
lea ecx, [esp + 0x30]
push 0x480324
push ecx
mov ecx, ebp
call fcn.0041bff0
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 0x42707d
cmp dword [edi + 0xc], 0
jl 0x427071
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x427071
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x427015
cmp eax, dword [esi]
jne 0x427015
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42704c
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 0x42702e
call fcn.0040fab0
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.00454237
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x427065
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 0x42707d
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebp
call fcn.0040ffe0
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 0x4270a2
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 0x4270c7
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 0x4270ec
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 0x427111
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 0x427132
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