Function at 0x7d6a30
Capabilities:
Get disk information
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x8c
push 0
push 0
dec ecx
jne 0x7d6a38
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x7d6e02
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040a790
mov dl, 1
mov eax, dword [0x47e80c]
call fcn.004a2178
mov ebx, eax
push 0
push 1
push 0
push 2
push 0
push edi
call sub.KERNEL32.DLL_CreateFileMappingW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x7d6dab
xor edx, edx
push ebp
push 0x7d6da4
push dword fs:[edx]
mov dword fs:[edx], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x7d6d8d
xor edx, edx
push ebp
push 0x7d6d86
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x104
call sub.KERNEL32.DLL_GetCurrentProcess
lea ecx, [ebp - 0x22a]
mov edx, dword [ebp - 0x14]
call fcn.00416f48
test eax, eax
je 0x7d6d6f
lea eax, [ebp - 4]
mov edx, 0x400
call fcn.0040b754
mov edi, dword [ebp - 4]
test edi, edi
je 0x7d6afd
sub edi, 4
mov eax, dword [edi]
shr eax, 1
mov edi, eax
mov eax, 1
mov edx, dword [ebp - 4]
dec eax
add eax, eax
jb 0x7d6b13
test edx, edx
je 0x7d6b13
cmp eax, dword [edx - 4]
jb 0x7d6b18
call fcn.004089ac
shr eax, 1
inc eax
lea eax, [edx + eax*2 - 2]
push eax
test edi, edi
jns 0x7d6b29
call fcn.004089ac
push edi
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
test eax, eax
jns 0x7d6b38
call fcn.004089ac
test eax, eax
je 0x7d6d6f
lea edx, [ebp - 4]
xchg edx, eax
call fcn.0040b754
jmp 0x7d6bc3
lea eax, [ebp - 0x43c]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b678
mov edx, dword [ebp - 0x43c]
lea eax, [ebp - 0x438]
call fcn.0040b8f0
mov edx, dword [ebp - 0x438]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x7d6e14
call fcn.0040bf14
test eax, eax
jle 0x7d6bbb
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x7d6e14
call fcn.0040bf14
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.0040b6c4
jmp 0x7d6bc3
lea eax, [ebp - 4]
call fcn.0040a7d8
lea eax, [ebp - 0x448]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b678
mov edx, dword [ebp - 0x448]
lea eax, [ebp - 0x444]
call fcn.0040b8f0
mov eax, dword [ebp - 0x444]
lea edx, [ebp - 0x440]
call fcn.00423774
cmp dword [ebp - 0x440], 0
jne 0x7d6b4b
mov eax, dword [0x7d6e18]
mov dword [ebp - 0xe], eax
mov ax, word [0x7d6e1c]
mov word [ebp - 0xa], ax
mov byte [ebp - 0x19], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x7d6d57
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x44c]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x44c]
mov edx, 1
dec edx
test eax, eax
je 0x7d6c63
cmp edx, dword [eax - 4]
jb 0x7d6c68
call fcn.004089ac
inc edx
movzx eax, word [eax + edx*2 - 2]
mov word [ebp - 0xe], ax
push 0x208
lea eax, [ebp - 0x432]
push eax
lea eax, [ebp - 0xe]
push eax
call sub.KERNEL32.DLL_QueryDosDeviceW
test eax, eax
je 0x7d6d4b
lea eax, [ebp - 0x432]
call fcn.0040acac
mov edi, eax
lea eax, [ebp - 0x450]
lea edx, [ebp - 0x22a]
mov ecx, 0x105
call fcn.0040b8b4
mov eax, dword [ebp - 0x450]
push eax
lea eax, [ebp - 0x454]
lea edx, [ebp - 0x432]
mov ecx, 0x104
call fcn.0040b8b4
mov eax, dword [ebp - 0x454]
mov ecx, 1
pop edx
call fcn.0040be44
dec eax
jne 0x7d6d4b
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x22a]
call fcn.0040acac
sub eax, edi
push eax
lea eax, [ebp - 0x45c]
lea edx, [ebp - 0x22a]
mov ecx, 0x105
call fcn.0040b8b4
mov eax, dword [ebp - 0x45c]
lea edx, [edi + 1]
pop ecx
call fcn.0040bc34
mov eax, dword [ebp - 0x458]
push eax
lea eax, [ebp - 0x460]
lea edx, [ebp - 0xe]
mov ecx, 3
call fcn.0040b8b4
mov edx, dword [ebp - 0x460]
mov eax, esi
pop ecx
call fcn.0040ba64
mov byte [ebp - 0x19], 1
jmp 0x7d6d57
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x7d6c3e
cmp byte [ebp - 0x19], 0
jne 0x7d6d6f
mov eax, esi
lea edx, [ebp - 0x22a]
mov ecx, 0x105
call fcn.0040b8b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7d6d8d
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7d6dab
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7d6e09
lea eax, [ebp - 0x460]
mov edx, 6
call fcn.0040a7f0
lea eax, [ebp - 0x448]
call fcn.0040a7d8
lea eax, [ebp - 0x444]
mov edx, 2
call fcn.0040a7f0
lea eax, [ebp - 0x43c]
call fcn.0040a7d8
lea eax, [ebp - 0x438]
call fcn.0040a790
lea eax, [ebp - 4]
call fcn.0040a7d8
ret