Function at 0x464e2e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x2ac
push ebx
push esi
push edi
push 0x4e3d84
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0x7c]
mov eax, ecx
shr eax, 0x12
xor edx, edx
inc edx
and eax, edx
mov dword [ebp + 0x44], eax
mov eax, ecx
and eax, 0x200000
mov dword [ebp + 0x4c], eax
mov eax, ecx
mov ebx, ecx
mov esi, ecx
mov edi, ecx
and eax, 0x100000
and ecx, 0xc000ffff
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x7c], ecx
mov ecx, dword [eax]
xor eax, eax
shr ebx, 0x10
shr esi, 0x13
shr edi, 0x11
and ebx, edx
and esi, edx
and edi, edx
mov word [ecx], ax
push 0x1100d8
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x58], eax
call fcn.00446437
mov eax, dword [ebp + 0x50]
add eax, 0x100010
lea ecx, [eax + 0xc000]
and word [ecx], 0
mov dword [ebp + 0x30], eax
lea eax, [ecx + 0xc8]
shl ebx, 0xb
add ebx, eax
shl esi, 0xb
add esi, ebx
shl edi, 0xb
add edi, esi
push 0x20
pop edx
mov word [edi], dx
mov word [esi], dx
mov word [ebx], dx
mov word [eax], dx
xor edx, edx
mov word [edi + 2], dx
mov word [esi + 2], dx
mov word [ebx + 2], dx
mov dword [ebp + 0x38], eax
mov word [eax + 2], dx
mov eax, dword [ebp + 0x7c]
cmp eax, edx
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], edi
jl 0x464f12
mov dword [ebp + 0x68], eax
jmp 0x464f22
mov dword [ebp + 0x68], edx
cmp dword [ebp + 0x68], 0x3e80
jge 0x4652ea
push dword [ebp + 0x68]
push str..PhysicalDrive_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0x40], eax
je 0x464f5b
cmp dword [ebp + 0x7c], eax
jl 0x464f5b
mov eax, dword [ebp + 0x38]
push 0x4c8078
push 0x13
add eax, 2
push eax
push dword [ebp + 0x68]
call fcn.004553e7
add esp, 0x10
xor eax, eax
cmp dword [ebp + 0x3c], eax
je 0x464f7d
cmp dword [ebp + 0x7c], eax
jl 0x464f7d
push 0x4c8078
push 0x14
lea eax, [ebx + 2]
push eax
push dword [ebp + 0x68]
call fcn.004553e7
add esp, 0x10
xor eax, eax
cmp dword [ebp + 0x34], eax
mov dword [ebp + 0x6c], eax
je 0x464f91
cmp dword [ebp + 0x7c], eax
mov dword [ebp + 0x5c], 1
jge 0x464f94
mov dword [ebp + 0x5c], eax
push eax
push 0x20000000
push 3
push eax
mov eax, dword [ebp + 0x5c]
neg eax
sbb eax, eax
and eax, 0x40000000
push 3
add eax, 0x80000000
push eax
push dword [ebp + 0x60]
lea ecx, [ebp + 0x6c]
call fcn.00405c6d
xor eax, eax
cmp dword [ebp + 0x5c], eax
je 0x464fd8
push eax
lea eax, [esi + 2]
push eax
push dword [ebp + 0x68]
push dword [ebp + 0x6c]
call fcn.00455e68
add esp, 0x10
xor eax, eax
cmp dword [ebp + 0x44], eax
je 0x464ff8
cmp dword [ebp + 0x7c], eax
jl 0x464ffd
push 1
lea eax, [edi + 2]
push eax
push dword [ebp + 0x68]
push dword [ebp + 0x6c]
call fcn.00455e68
add esp, 0x10
xor eax, eax
cmp dword [ebp + 0x7c], eax
jge 0x465049
cmp dword [ebp + 0x6c], eax
je 0x465029
push dword [ebp + 0x68]
mov dword [ebp + 0x58], eax
push 0x4c9a18
push dword [ebp + 0x60]
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0x78]
add esp, 0xc
push dword [ebp + 0x60]
call fcn.004465fa
inc dword [ebp + 0x64]
jmp 0x465036
inc dword [ebp + 0x58]
cmp dword [ebp + 0x58], 0x20
jge 0x4652e2
lea ecx, [ebp + 0x6c]
call fcn.00402d2b
inc dword [ebp + 0x68]
mov ecx, dword [ebp + 0x60]
jmp 0x464f15
cmp dword [ebp + 0x6c], eax
je 0x4652e2
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 0x50]
push 0xc0
push 0
push esi
mov dword [ebp + 0x7c], esi
call fcn.004b4520
and dword [ebp + 0x60], 0
lea eax, [ebp + 0x60]
push eax
push esi
push dword [ebp + 0x6c]
call fcn.00443c2d
add esp, 0x18
test eax, eax
je 0x465087
mov dword [ebp + 0x7c], eax
mov esi, 0x4d06a8
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x27
xor eax, eax
pop ecx
lea edi, [ebp - 0xbe]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x7c]
stosw word es:[edi], ax
mov eax, dword [ecx]
test eax, eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x5c], 0x4d06a0
jne 0x4650be
mov dword [ebp + 0x5c], 0x4d0698
cmp eax, 1
jne 0x4650ca
mov dword [ebp + 0x5c], 0x4d0690
test eax, eax
jne 0x4650e5
push dword [ecx + 8]
lea eax, [ebp - 0xc4]
push str._08lX
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x4650fc
cmp eax, 1
jne 0x4650ff
push 0
add ecx, 8
push ecx
lea eax, [ebp - 0xc4]
push eax
call fcn.00443abf
add esp, 0xc
and dword [ebp - 0x20], 0
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x6c]
push edi
lea esi, [ebp - 0x20]
call fcn.00443a3f
mov dword [esp], 0x200
push edi
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edx
call fcn.004438ac
cmp dword [ebp + 0x64], 1
pop ecx
sete byte [ebp + 0x58]
xor esi, esi
cmp byte [ebp + 0x58], 0
pop ecx
mov dword [ebp + 0x28], eax
je 0x46515c
push esi
push esi
push esi
push esi
push esi
push eax
mov eax, dword [ebp + 0x7c]
push dword [eax + 0x28]
lea eax, [ebp + 0x6c]
push dword [ebp + 0x30]
push eax
call fcn.0044b37e
add esp, 0x24
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x64]
lea eax, [ebp + 0x2c]
push dword [ebp + 0x28]
mov dword [ebp + 8], esi
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x60]
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x58]
add eax, 0x30
push eax
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x30], esi
call fcn.0044b664
push edi
push esi
mov byte [ebp + 0x57], al
call fcn.004484dc
mov ecx, dword [ebp + 0x78]
add esp, 0x28
push 0xc8
mov dword [ebp + 0x28], eax
call fcn.004465d3
push 0x800
push 1
push esi
push edi
call fcn.0044b51c
add esp, 0x10
cmp eax, 0xc
mov byte [ebp + 0x7f], 0x3f
jne 0x4651c9
mov byte [ebp + 0x7f], 0x46
jmp 0x4651d2
cmp eax, 0xb
jne 0x4651d2
mov byte [ebp + 0x7f], 0x52
cmp dword [ebp + 0x4c], esi
mov word [ebp - 0x144], si
je 0x465217
or dword [ebp + 0x48], 0xffffffff
or dword [ebp + 0x4c], 0xffffffff
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x64]
push eax
push edi
mov dword [ebp + 0x64], esi
call fcn.00456af2
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
push dword [ebp + 0x64]
push edx
push eax
lea eax, [ebp - 0x144]
push str.__I64d__u__I64d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x28
push dword [ebp + 0x18]
lea eax, [ebp - 0x1c0]
push dword [ebp + 0x14]
push eax
call fcn.004a129d
push dword [ebp - 0x1c]
lea eax, [ebp - 0x23c]
push dword [ebp - 0x20]
push eax
call fcn.004a129d
add esp, 0x18
cmp dword [ebp + 0x10], esi
mov ecx, str.__2d__14s__14s__6lu__4lu__4lu__4lu__s__2d__s__c_s
jne 0x46524d
mov ecx, str._2d__14s__14s__6lu__4lu__4lu__4lu__s__2d__s__c_s
lea edx, [ebp - 0x144]
push edx
movsx edx, byte [ebp + 0x7f]
push edx
push dword [ebp + 0x5c]
mov edi, dword [ebp + 0x78]
push dword [ebp + 0x28]
mov eax, dword [edi]
lea edx, [ebp - 0xc4]
push edx
push dword [ebp - 0x18]
lea edx, [ebp - 0x23c]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edx
lea edx, [ebp - 0x1c0]
push edx
push dword [ebp + 0x68]
push ecx
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x38
cmp dword [ebp + 0x40], esi
mov dword [ebp + 0x64], eax
je 0x4652a5
push dword [ebp + 0x38]
mov ecx, edi
call fcn.004465fa
cmp dword [ebp + 0x3c], esi
je 0x4652b2
push ebx
mov ecx, edi
call fcn.004465fa
cmp dword [ebp + 0x34], esi
je 0x4652c1
push dword [ebp + 0x20]
mov ecx, edi
call fcn.004465fa
cmp dword [ebp + 0x44], esi
je 0x4652d0
push dword [ebp + 0x1c]
mov ecx, edi
call fcn.004465fa
cmp byte [ebp + 0x57], 0
jl 0x4652e2
push 0x4d0590
mov ecx, edi
call fcn.004465fa
lea ecx, [ebp + 0x6c]
call fcn.00402d2b
mov eax, dword [ebp + 0x78]
push dword [eax]
call fcn.004111a0
pop ecx
lea ecx, [ebp + 0x50]
call fcn.0043fe25
pop edi
mov eax, 0x4e3d84
test eax, eax
pop esi
pop ebx
je 0x465310
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x64]
add ebp, 0x70
leave
ret