Function at 0x449257
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x3a0
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
push 0x30
mov eax, 0x4b103c
call fcn.00476610
mov eax, dword [ebp + 0x3ac]
mov edi, dword [ebp + 0x3b0]
mov ecx, dword [ebp + 0x3b8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x3b4]
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp edi, esi
je 0x4494c3
cmp eax, esi
je 0x4494c3
mov ecx, edi
call fcn.0045f93b
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.0045f44d
mov ecx, edi
mov ebx, eax
call fcn.0045f406
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.0045f3cd
push 0x4f9e18
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], esi
call fcn.0040284b
xor eax, eax
push 0xc6
mov word [ebp + 0x2d0], ax
lea eax, [ebp + 0x2d2]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00475570
mov edi, 0xc8
push edi
lea eax, [ebp + 0x208]
push esi
push eax
call fcn.00475570
add esp, 0x18
cmp ebx, esi
je 0x44933d
mov eax, dword [ebx]
push edi
lea ecx, [ebp + 0x208]
push ecx
push ebx
call dword [eax + 0x60]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x44935b
mov edx, dword [ebp - 0x2c]
movzx edx, word [edx]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
shrd eax, edx, 0x14
shr edx, 0x14
mov dword [ebp - 0x38], eax
lea ebx, [ebp - 0x10]
lea edi, [ebp - 0x20]
call fcn.004479b5
test eax, eax
je 0x4493b9
cmp dword [ebp - 0x20], esi
je 0x4493b9
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x10], esi
je 0x4493b9
push dword [ebp - 0x10]
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
je 0x4493b9
push 0x104
lea ecx, [ebp]
push ecx
push esi
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4493b9
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, esi
je 0x4493b9
push eax
lea ecx, [ebp - 0x1c]
call fcn.004027b6
mov ecx, dword [ebp - 0x28]
call fcn.00430793
mov ecx, dword [ebp - 0x18]
mov ebx, eax
call fcn.0045f4e8
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
call fcn.0043081b
mov dword [ebp - 0x20], eax
mov eax, dword [0x4bdcac]
mov dword [ebp + 0x398], eax
mov eax, dword [0x4bdcb0]
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp - 0x2c]
mov ax, word [eax]
push 0x64
mov word [ebp + 0x398], ax
lea eax, [ebp + 0x2d0]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor edi, edi
cmp dword [ebp - 0x30], esi
je 0x449429
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
mov ecx, dword [ebp - 0x18]
call fcn.0045f422
push eax
lea ecx, [ebp - 0x18]
call fcn.00403c96
push dword [ebp - 0x20]
lea eax, [ebp + 0x2d0]
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
push ebx
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push eax
push dword [ebp - 0x34]
lea eax, [ebp + 0x208]
push eax
push ebx
push str.extVER:_sOS:_sX64:_dFS:_sFD:_uST:_dTE:_dSD:_dSP:_dMg:_d
push dword [ebp - 0x14]
call fcn.00403b60
add esp, 0x30
cmp edi, esi
je 0x44948d
mov ecx, dword [ebp - 0x14]
push str.MF:
call fcn.00403b3b
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00403b3b
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 0xc], esi
je 0x4494ae
mov ecx, dword [ebp - 0x14]
push str.TP:
call fcn.00403b3b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.00403c7e
lea ecx, [ebx - 0x10]
call fcn.00402870
lea ecx, [edi - 0x10]
call fcn.00402870
xor eax, eax
inc eax
jmp 0x4494c5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x3a4
leave
ret 0x10