Function at 0x4674c0
Capabilities:
Get disk information
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a21b4
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x4c3008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x470], eax
mov edi, ecx
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x478], edi
mov dword [ebp - 0x4b4], edi
xor ecx, ecx
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], cx
mov dword [ebp - 4], 1
test eax, eax
jne 0x46759b
movups xmm0, xmmword [ebp - 0x43c]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
movups xmmword [edi], xmm0
mov word [ebp - 0x43c], ax
movq xmm0, qword [ebp - 0x42c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x474], 1
mov byte [ebp - 4], cl
mov dword [ebp - 0x42c], ecx
jmp 0x467d19
push 0xc
xor eax, eax
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
lea ecx, [ebp - 0x4b0]
push str.Kernel32.dll
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 7
mov word [ebp - 0x4b0], ax
call fcn.00402760
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4b0]
push eax
call fcn.00472930
mov ecx, eax
call fcn.004729f0
mov esi, eax
mov dword [ebp - 0x478], esi
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x49c]
cmp edx, 8
jb 0x467643
mov ecx, dword [ebp - 0x4b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467639
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x467639
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
add esp, 8
xor eax, eax
mov dword [ebp - 0x4a0], 0
push 9
mov dword [ebp - 0x488], eax
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x484], eax
push str.Psapi.dll
mov dword [ebp - 0x49c], 7
mov word [ebp - 0x4b0], ax
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
call fcn.00402760
mov byte [ebp - 4], 3
lea eax, [ebp - 0x498]
push eax
call fcn.00472930
mov ecx, eax
call fcn.004729f0
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x484]
cmp edx, 8
jb 0x4676fe
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4676ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4676ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
mov eax, dword [ebp - 0x46c]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], cx
test eax, eax
je 0x467cd6
test esi, esi
je 0x467cd6
lea ecx, [ebp - 0x130]
call fcn.004662b0
cmp dword [ebp - 0x12c], 6
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jb 0x4677ea
push str.QueryFullProcessImageNameW
push esi
call eax
mov esi, eax
test esi, esi
je 0x4677e5
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x440], 0x208
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push dword [ebp - 0x470]
call esi
test eax, eax
je 0x4677e5
mov eax, dword [ebp - 0x440]
cmp eax, 0x208
jae 0x4677ba
add eax, eax
cmp eax, 0x412
jae 0x467d49
xor ecx, ecx
mov word [ebp + eax - 0x424], cx
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4677c3
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.00402760
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x42c], 0
jne 0x467c07
push str.GetProcessImageFileNameW
push dword [ebp - 0x46c]
call eax
mov esi, eax
test esi, esi
jne 0x467821
push str.GetProcessImageFileNameW
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x467898
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x208
push eax
push dword [ebp - 0x470]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x467898
add eax, eax
cmp eax, 0x412
jae 0x467d49
xor ecx, ecx
mov word [ebp + eax - 0x424], cx
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467876
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.00402760
cmp dword [ebp - 0x42c], 0
je 0x467b60
push 0x410
call fcn.00495a65
push 0x410
push 0
push eax
mov dword [ebp - 0x440], eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x444], 0
movq qword [ebp - 0x44c], xmm0
add esp, 0x10
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44c]
call fcn.00470920
mov esi, dword [ebp - 0x44c]
xor ecx, ecx
mov dword [ebp - 0x468], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x448]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x467b36
xor edi, edi
mov dword [ebp - 0x47c], edi
nop dword [eax]
add edi, esi
cmp dword [edi + 0x10], 3
jb 0x46796a
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 8
jb 0x467954
mov eax, dword [edi]
cmp word [eax + 4], 0x5c
jne 0x46796a
mov eax, edi
cmp ecx, 8
jb 0x467964
mov eax, dword [edi]
xor ecx, ecx
mov word [eax + 4], cx
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x467974
mov eax, dword [edi]
mov esi, dword [ebp - 0x440]
push 0x208
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x46798e
mov word [esi], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x467991
sub esi, ecx
sar esi, 1
je 0x4679d3
cmp esi, dword [ebp - 0x42c]
jae 0x4679d3
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
push esi
cmovae eax, dword [ebp - 0x43c]
push dword [ebp - 0x440]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x467a18
mov ecx, dword [ebp - 0x448]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x44c]
sub ecx, esi
mov edi, dword [ebp - 0x47c]
inc dword [ebp - 0x468]
add edi, 0x18
imul ecx
mov dword [ebp - 0x47c], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x468], eax
jb 0x467940
jmp 0x467b30
xor eax, eax
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 7
mov word [ebp - 0x464], ax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x43c]
cmp dword [ebp - 0x428], 8
cmovae eax, dword [ebp - 0x43c]
cmp dword [edi + 0x14], 8
jb 0x467a69
mov edi, dword [edi]
lea eax, [eax + esi*2]
push eax
push edi
lea eax, [ebp - 0x464]
push str._s_s
push eax
call fcn.0046a310
movups xmm0, xmmword [ebp - 0x464]
add esp, 0x10
movups xmm2, xmmword [ebp - 0x43c]
movq xmm1, qword [ebp - 0x42c]
movups xmmword [ebp - 0x43c], xmm0
movq xmm0, qword [ebp - 0x454]
movups xmmword [ebp - 0x4cc], xmm2
movq qword [ebp - 0x4bc], xmm1
movq qword [ebp - 0x42c], xmm0
movups xmmword [ebp - 0x464], xmm2
movq qword [ebp - 0x454], xmm1
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4b8]
cmp edx, 8
jb 0x467b13
mov ecx, dword [ebp - 0x4cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467b09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x467b09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
add esp, 8
xor eax, eax
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 7
mov word [ebp - 0x464], ax
mov edi, dword [ebp - 0x480]
push dword [ebp - 0x440]
call fcn.0049580a
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44c]
call fcn.00404a10
cmp dword [ebp - 0x42c], 0
jne 0x467c07
push str.GetModuleFileNameExW
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x467b8e
push str.GetModuleFileNameExW
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x467c07
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x208
push eax
push 0
push dword [ebp - 0x470]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x467c07
add eax, eax
cmp eax, 0x412
jae 0x467d49
xor ecx, ecx
mov word [ebp + eax - 0x424], cx
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467be5
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.00402760
lea edx, [ebp - 0x43c]
lea ecx, [ebp - 0x498]
call fcn.0046b880
mov esi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x43c]
cmp eax, esi
je 0x467c59
mov ecx, eax
call fcn.004026f0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x43c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x42c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x484]
cmp edx, 8
jb 0x467c9f
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467c95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x467c95
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495334
add esp, 8
movups xmm0, xmmword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 7
movups xmmword [edi], xmm0
mov word [ebp - 0x498], ax
movq xmm0, qword [ebp - 0x42c]
mov dword [ebp - 0x42c], eax
jmp 0x467cee
movups xmm0, xmmword [ebp - 0x43c]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x42c]
mov dword [ebp - 0x42c], ecx
xor eax, eax
mov dword [ebp - 0x474], 1
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
mov byte [ebp - 4], al
mov dword [ebp - 0x42c], eax
xor eax, eax
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004952f3
mov esp, ebp
pop ebp
ret
call fcn.0049595c
int3