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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583384
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x478], esi
mov edi, ecx
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x468], edi
mov dword [ebp - 0x49c], edi
mov ecx, 0x6355a1
mov dword [ebp - 0x47c], 0
call fcn.00561ea5
lea eax, [ebp - 0x440]
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov dword [ebp - 4], 5
test esi, esi
jne 0x492477
lea eax, [ebp - 0x440]
mov ecx, edi
push eax
call fcn.00409fb0
mov dword [ebp - 0x47c], 1
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x440]
call fcn.00404570
mov dword [ebp - 4], esi
lea eax, [ebp - 0x440]
mov dword [ebp - 0x468], eax
jmp 0x492a55
push str.Kernel32.dll
lea ecx, [ebp - 0x4b4]
call fcn.00403ed0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x4b4]
push eax
call fcn.004a75d0
mov ecx, eax
call fcn.004a76c0
mov esi, eax
mov dword [ebp - 0x468], esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4b4]
call fcn.00404570
mov byte [ebp - 4], 5
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x498]
push str.Psapi.dll
call fcn.00403ed0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x498]
push eax
call fcn.004a75d0
mov ecx, eax
call fcn.004a76c0
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x498]
call fcn.00404570
mov byte [ebp - 4], 5
lea eax, [ebp - 0x498]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x474], 0
je 0x492a18
test esi, esi
je 0x492a18
lea ecx, [ebp - 0x130]
call fcn.0049a820
cmp dword [ebp - 0x12c], 6
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jb 0x4925ed
push str.QueryFullProcessImageNameW
push esi
call eax
mov esi, eax
test esi, esi
je 0x4925e8
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x428], 0x208
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push dword [ebp - 0x478]
call esi
test eax, eax
je 0x4925e8
mov eax, dword [ebp - 0x428]
cmp eax, 0x208
jae 0x4925bd
add eax, eax
cmp eax, 0x412
jae 0x492a79
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 0x4925c6
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00404640
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x430], 0
jne 0x492995
push 0x5ce560
push dword [ebp - 0x474]
call eax
mov esi, eax
test esi, esi
jne 0x492624
push 0x5ce560
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4926a2
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 - 0x478]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x4926a2
add eax, eax
cmp eax, 0x412
jae 0x492a79
xor ecx, ecx
mov word [ebp + eax - 0x424], cx
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492680
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00404640
cmp dword [ebp - 0x430], 0
je 0x4928ee
push 0x410
call fcn.0052ffb8
push 0x410
push 0
push eax
mov dword [ebp - 0x428], 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], 0x18
lea ecx, [ebp - 0x44c]
call fcn.0049d820
mov esi, dword [ebp - 0x44c]
xor ecx, ecx
mov dword [ebp - 0x470], 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 0x4928c4
xor edi, edi
mov dword [ebp - 0x46c], edi
add edi, esi
cmp dword [edi + 0x10], 3
jb 0x49276d
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x492758
mov eax, dword [edi]
cmp word [eax + 4], 0x5c
jne 0x49276d
push 2
mov ecx, edi
call fcn.00409ed0
xor ecx, ecx
mov word [eax], cx
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x492777
mov eax, dword [edi]
mov esi, dword [ebp - 0x428]
push 0x208
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x492791
mov word [esi], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x492794
sub esi, ecx
sar esi, 1
je 0x4927d6
cmp esi, dword [ebp - 0x430]
jae 0x4927d6
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
push esi
cmovae eax, dword [ebp - 0x440]
push dword [ebp - 0x428]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x49281b
mov ecx, dword [ebp - 0x448]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x44c]
sub ecx, esi
mov edi, dword [ebp - 0x46c]
inc dword [ebp - 0x470]
add edi, 0x18
imul ecx
mov dword [ebp - 0x46c], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x470], eax
jb 0x492746
jmp 0x4928be
lea ecx, [ebp - 0x464]
call fcn.00403f80
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
cmovae eax, dword [ebp - 0x440]
cmp dword [edi + 0x14], 8
jb 0x492846
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.0048dd40
movups xmm0, xmmword [ebp - 0x464]
add esp, 0x10
movups xmm1, xmmword [ebp - 0x440]
movq xmm2, qword [ebp - 0x430]
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [ebp - 0x454]
movq qword [ebp - 0x430], xmm0
movups xmmword [ebp - 0x464], xmm1
movq qword [ebp - 0x454], xmm2
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x464]
call fcn.00404570
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x464]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 0x18
mov edi, dword [ebp - 0x480]
push dword [ebp - 0x428]
call fcn.0052fc78
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44c]
call fcn.0040b6e0
cmp dword [ebp - 0x430], 0
jne 0x492995
push str.GetModuleFileNameExW
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x49291c
push str.GetModuleFileNameExW
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x492995
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 - 0x478]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x492995
add eax, eax
cmp eax, 0x412
jae 0x492a79
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 0x492973
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00404640
lea edx, [ebp - 0x440]
lea ecx, [ebp - 0x498]
call fcn.0048fc50
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x440]
push eax
call fcn.00403e50
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x498]
call fcn.00404570
mov byte [ebp - 4], 5
lea eax, [ebp - 0x498]
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x440]
push eax
mov ecx, edi
call fcn.00409fb0
mov dword [ebp - 0x47c], 1
mov dword [ebp - 4], 0x27
lea ecx, [ebp - 0x440]
call fcn.00404570
mov dword [ebp - 4], 0
lea eax, [ebp - 0x440]
mov dword [ebp - 0x468], eax
jmp 0x492a55
lea eax, [ebp - 0x440]
mov ecx, edi
push eax
call fcn.00409fb0
mov dword [ebp - 0x47c], 1
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x440]
call fcn.00404570
mov dword [ebp - 4], 0
lea eax, [ebp - 0x440]
mov dword [ebp - 0x468], eax
mov dword [ebp - 4], 0
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.0052f553
mov esp, ebp
pop ebp
ret
call fcn.0052fda7
int3