Function at 0x4262e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45656e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x478024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xe8]
push edi
call fcn.00407510
mov byte [ebp - 4], 1
call fcn.00403950
mov ecx, eax
test ecx, ecx
je 0x4267db
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 3
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jle 0x426443
push 0x3f
push eax
call fcn.00439cf5
mov esi, eax
add esp, 8
test esi, esi
je 0x426443
sub esi, dword [edi]
sar esi, 1
test esi, esi
jle 0x426443
push esi
push ebx
lea eax, [ebp - 0xe0]
mov ecx, edi
push eax
call fcn.0040b990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
push eax
call fcn.00407c70
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0xe0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4263dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
sub eax, esi
push eax
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.0040b990
push eax
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xe4], 1
call fcn.00407c70
mov ebx, 1
mov dword [ebp - 0xe4], ebx
and ebx, 0xfffffffe
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0xe0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426443
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c
push dword [ebp - 0xe8]
call fcn.00439dde
mov ecx, dword [ebp - 0xe8]
add esp, 8
test eax, eax
je 0x426467
sub eax, ecx
sar eax, 1
jns 0x4265d2
mov esi, 0x469a24
nop dword [eax]
movzx eax, word [esi]
push eax
push ecx
call fcn.00439dde
mov ecx, dword [ebp - 0xe8]
add esp, 8
test eax, eax
je 0x426491
sub eax, ecx
sar eax, 1
jns 0x4265d2
add esi, 2
cmp esi, 0x469a2a
jl 0x426470
mov byte [ebp - 4], 8
lea eax, [ebp - 0xdc]
push eax
or ebx, 2
mov dword [ebp - 0x11c], 0
push 0x64
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xe4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
xor esi, esi
nop word [eax + eax]
lea ebx, [ebp - 0xdc]
lea ebx, [ebx + esi*2]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x426539
push ebx
lea ecx, [ebp - 0xe0]
call fcn.00404120
mov byte [ebp - 4], 9
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040b890
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0xe0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426539
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, edi
jae 0x426550
nop dword [eax]
cmp word [ebp + esi*2 - 0xdc], 0
je 0x426550
inc esi
cmp esi, edi
jb 0x426540
inc esi
cmp esi, edi
jb 0x4264e0
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0xf4]
call fcn.004178f0
and dword [ebp - 0xe4], 0xfffffffd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call fcn.0040b7f0
mov eax, dword [ebp - 0xf0]
xor esi, esi
mov ebx, eax
mov dword [ebp - 0x108], ebx
test ebx, ebx
jle 0x4265de
cmp esi, eax
jge 0x4267ea
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp - 0x104], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x42666d
cmp ecx, dword [edi]
jne 0x42666d
lock inc dword [eax]
jmp 0x4266a2
push edi
lea ecx, [ebp - 0xf4]
call fcn.0040b890
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0xf8], 0
mov byte [ebp - 4], 0xe
mov ebx, dword [ebp + 0xc]
test bl, bl
je 0x42661e
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
movzx ecx, byte [ebp - 0xf8]
test eax, eax
mov edx, 1
cmovne ecx, edx
mov byte [ebp - 0xf8], cl
mov eax, dword [ebp - 0xf0]
xor esi, esi
mov edi, eax
test edi, edi
jle 0x426734
cmp esi, eax
jge 0x4267ea
mov eax, dword [ebp - 0xf4]
push dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x110]
push ebx
lea eax, [eax + esi*4]
push eax
call fcn.00426800
test eax, eax
je 0x426730
inc esi
cmp esi, edi
jge 0x426734
mov eax, dword [ebp - 0xf0]
jmp 0x426630
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x4267e5
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
lea ecx, [edi + 0x10]
mov edx, dword [ebx]
inc edx
push edx
push dword [ebp - 0x104]
call fcn.00403f60
mov ebx, dword [ebp - 0x108]
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xe0]
mov eax, dword [ebp - 0xe8]
push dword [eax - 0xc]
push eax
call fcn.00403530
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0xe0]
push dword [eax - 0xc]
push eax
call fcn.00403530
cmp esi, dword [ebp - 0xf0]
jge 0x4267ea
mov eax, dword [ebp - 0xf4]
lea ecx, [eax + esi*4]
lea eax, [ebp - 0xe0]
push eax
call fcn.00407c70
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0xe0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42671c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, ebx
jge 0x4265de
mov eax, dword [ebp - 0xf0]
jmp 0x426591
xor esi, esi
jmp 0x426739
mov esi, 1
mov byte [ebp - 4], 3
cmp byte [ebp - 0xf8], 0
je 0x426766
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
movzx ecx, byte [ebp - 0xf8]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [ebp - 0xf8], cl
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x100]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42678a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xe8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4267a9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.0040b7f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438889
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404020
call fcn.00403ea0
push 1
push 0xc000008c
call fcn.0040ce70
int3