Function at 0x469c34
Capabilities:
Get disk information
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
push 0x4ad290
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
movsx cx, byte [eax]
or dword [ebp - 0x60], 0xffffffff
or dword [ebp - 0x5c], 0xffffffff
xor esi, esi
mov si, word [eax]
mov word [eax], cx
push 0x64
lea ecx, [ebp - 0x3c]
mov edi, esi
and edi, 0x100
mov dword [ebp - 0x68], edi
call fcn.00435d80
xor ebx, ebx
xor al, al
cmp edi, ebx
je 0x469c81
inc al
test si, 0x200
je 0x469c8a
or al, 1
push dword [ebp + 8]
or al, 1
mov byte [ebp - 0x78], al
call fcn.00433a90
test ax, ax
pop ecx
je 0x469ca7
mov esi, 0x40000000
jmp 0x46a123
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov eax, dword [0x49daac]
mov esi, 0x49daa4
lea edi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x58], eax
mov eax, dword [0x49dab0]
push 0x10c288
lea ecx, [ebp - 0x18]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x54], eax
call fcn.00435c56
mov edi, dword [ebp - 0x18]
push 0x288
lea esi, [edi + 0x100000]
push ebx
push esi
call fcn.0047fd70
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
push 1
push edi
push esi
setne byte [ebp - 1]
mov word [eax], bx
call fcn.0044614d
mov al, byte [ebp - 1]
add esp, 0x18
neg al
mov edi, 0x3e80
mov dword [ebp - 0x24], ebx
sbb eax, eax
and eax, edi
mov esi, eax
xor eax, eax
cmp byte [ebp - 1], bl
mov dword [ebp - 0xc], esi
sete al
cmp esi, edi
lea eax, [eax + eax - 1]
mov dword [ebp - 0x40], eax
jge 0x46a119
shl eax, 8
mov dword [ebp - 0x64], eax
lea eax, [esi + 1]
shl eax, 8
mov dword [ebp - 0x30], eax
cmp esi, ebx
jl 0x46a119
push esi
lea eax, [ebp - 0x210]
push 0x49b3e8
push eax
call dword [sym.imp.USER32.DLL_wsprintfW]
add esp, 0xc
push ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x10]
call fcn.004045f9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, dword [ebp - 0x10]
cmp edi, ebx
je 0x46a0d9
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x24], ebx
call fcn.0043af3c
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x70], edx
push edi
mov dword [ebp - 0x38], ebx
call fcn.00433ed8
mov esi, eax
add esp, 0x18
cmp esi, ebx
je 0x46a0e2
xor eax, eax
cmp dword [esi], 1
push edi
sete al
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x4c], eax
call fcn.00433ad8
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
add eax, 0x100288
cmp dword [ebp - 0x2c], ebx
lea edx, [eax + ecx*2]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x48], edx
je 0x469e0f
push ebx
push ebx
push ebx
push ecx
push dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0043a849
add esp, 0x1c
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x38]
neg al
lea edx, [ecx - 1]
sbb eax, eax
and eax, edx
cmp eax, ecx
mov dword [ebp - 0x34], eax
jge 0x46a0e2
mov edi, dword [ebp - 0x40]
lea edi, [edi + edi*8]
shl edi, 4
lea eax, [eax + eax*8]
shl eax, 4
lea esi, [eax + esi + 0x48]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x44], esi
cmp dword [ebp - 0x2c], ebx
je 0x469e50
mov dword [ebp - 8], 0xff07
jmp 0x469e57
movzx eax, byte [esi + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x2c], ebx
movsx eax, word [esi]
mov dword [ebp - 0x14], eax
jne 0x469e7f
cmp dword [ebp - 8], ebx
je 0x46a0c0
cmp dword [ebp - 8], 5
je 0x46a0c0
cmp dword [ebp - 8], 0xf
je 0x46a0c0
cmp dword [esi - 4], ebx
jg 0x469eba
jl 0x469e8f
cmp dword [esi - 8], 0x200
ja 0x469eba
test byte [ebp - 8], 0x10
je 0x46a0c0
push ebx
push ebx
push 1
push 1
push ebx
push eax
mov eax, dword [ebp - 0x18]
push dword [ebp - 0xc]
add eax, 0x100000
push eax
call fcn.00433b19
add esp, 0x20
jmp 0x46a0c0
mov eax, dword [esi - 0x10]
cmp eax, dword [ebp - 0x74]
mov ecx, dword [esi - 0xc]
jne 0x469ece
cmp ecx, dword [ebp - 0x70]
je 0x46a0c0
cmp eax, dword [ebp - 0x60]
jne 0x469edc
cmp ecx, dword [ebp - 0x5c]
je 0x46a0c0
or dword [ebp - 0x28], 0xffffffff
xor ecx, ecx
mov edi, dword [ebp - 0x18]
movsx eax, cx
add edi, 0x100000
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
mov edx, dword [eax + 4]
cmp edx, dword [ebp - 0xc]
jne 0x469f03
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
je 0x469f0c
inc ecx
cmp cx, 0x1a
jl 0x469ee2
jmp 0x469f0f
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
je 0x469f2e
push dword [ebp - 0x6c]
add esi, 0xffffffe8
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push esi
call fcn.0043a6c9
add esp, 0x10
jmp 0x469f44
mov eax, dword [ebp - 0x34]
cmp eax, 3
jg 0x469f39
inc eax
jmp 0x469f41
cdq
push 4
pop ecx
idiv ecx
add eax, ecx
movsx eax, ax
cmp word [ebp - 0x28], bx
mov dword [ebp - 0x1c], eax
jge 0x469fe2
movsx eax, word [ebp - 0x14]
push eax
movsx eax, word [ebp - 0xc]
push eax
push 0x49c704
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.DLL_wsprintfW]
mov esi, dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
add esp, 0x10
call esi
mov edi, eax
call esi
push ebx
push 0xffffffffffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 0xc
push eax
call fcn.00433a01
mov ecx, dword [ebp + 8]
mov word [ebp - 0x58], ax
mov esi, dword [ebp - 0x58]
mov word [ecx], ax
add esp, 0x10
or ecx, 0xffffffff
cmp ax, bx
mov word [ebp - 0x80], ax
mov dword [ebp - 0x20], esi
je 0x469fc1
push dword [ebp - 0x78]
lea eax, [ebp - 0x58]
push ebx
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x3c]
call fcn.0043a153
add esp, 0x14
mov ecx, eax
push ecx
push edi
push dword [ebp - 0x1c]
movzx eax, si
push dword [ebp - 0xc]
mov edi, 0x4acf10
push eax
push 0x49da50
push edi
call fcn.0040cde2
add esp, 0x1c
jmp 0x469ff9
movsx eax, word [ebp - 0x28]
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*2]
mov ax, word [edi + eax*8 + 0x10]
mov word [ecx], ax
mov edi, 0x4acf10
cmp word [ebp - 0x28], bx
jge 0x46a01d
cmp dword [ebp - 0x68], ebx
je 0x46a01d
test byte [ebp - 8], 0x10
je 0x46a01d
cmp dword [ebp - 8], 0x10
je 0x46a01d
cmp word [ebp - 0x20], bx
mov dword [ebp - 0x14], 1
jne 0x46a020
mov dword [ebp - 0x14], ebx
movzx eax, byte [ebp - 8]
mov esi, dword [ebp - 0x1c]
push dword [ebp + 8]
shl esi, 0x10
or esi, eax
call fcn.0047f7b4
test eax, eax
pop ecx
je 0x46a0ad
cmp dword [ebp - 0x14], ebx
je 0x46a09f
mov eax, dword [ebp - 8]
and eax, 0xffffffef
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x148]
push dword [ebp - 0xc]
push 0x49da18
push eax
call dword [sym.imp.USER32.DLL_wsprintfW]
add esp, 0x14
push ebx
lea eax, [ebp - 0x140]
push eax
mov ecx, edi
call fcn.0045269f
push dword [ebp - 8]
lea eax, [ebp - 0x148]
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push 0x49d9e8
push eax
call dword [sym.imp.USER32.DLL_wsprintfW]
add esp, 0x14
push ebx
lea eax, [ebp - 0x140]
push eax
mov ecx, edi
call fcn.0045269f
or esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp ax, bx
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
jne 0x46a107
mov eax, dword [ebp - 0x20]
cmp ax, bx
je 0x46a0ba
call fcn.0043221c
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x40]
add esi, edi
cmp eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], esi
jl 0x469e42
jmp 0x46a0e2
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x20
jge 0x46a111
lea ecx, [ebp - 0x10]
call fcn.00402b27
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x64]
add dword [ebp - 0x30], eax
cmp esi, 0x3e80
mov dword [ebp - 0xc], esi
jl 0x469d3f
jmp 0x46a119
lea ecx, [ebp - 0x10]
call fcn.00402b27
jmp 0x46a11b
lea ecx, [ebp - 0x10]
call fcn.00402b27
xor esi, esi
lea ecx, [ebp - 0x18]
call fcn.0043092f
lea ecx, [ebp - 0x3c]
call fcn.0043092f
push 0x4ad290
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret