Function at 0x42d060
Capabilities:
Get disk information
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482076
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x3e0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3f0]
mov esi, dword [esp + 0x3f4]
mov ecx, dword [esp + 0x3fc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3f8]
xor ebp, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
cmp esi, ebp
je 0x42d360
cmp eax, ebp
je 0x42d360
mov ecx, esi
call fcn.0043ec90
mov ecx, esi
mov ebx, eax
call fcn.0043ec40
mov ecx, esi
mov edi, eax
call fcn.0043ea60
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.0043e9d0
mov edx, dword [0x4a4014]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
push 0xc6
push eax
lea edx, [esp + 0x4e]
xor ecx, ecx
push edx
mov dword [esp + 0x3f4], eax
mov word [esp + 0x50], cx
call fcn.00461950
push 0xc8
lea eax, [esp + 0x11c]
push ebp
push eax
call fcn.00461950
add esp, 0x18
test edi, edi
je 0x42d16c
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
push 0xc8
lea edx, [esp + 0x110]
push edx
push edi
call eax
mov ecx, dword [edi]
mov edx, dword [ecx + 0x48]
push edi
call edx
mov ebp, eax
test ebx, ebx
je 0x42d18b
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx]
mov eax, dword [ebx]
mov eax, dword [eax + 0x4c]
push edx
push ebx
call eax
shrd eax, edx, 0x14
shr edx, 0x14
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x3c]
lea edi, [esp + 0x2c]
call fcn.0042b470
test eax, eax
je 0x42d1fa
cmp dword [esp + 0x2c], 0
je 0x42d1fa
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], 1
test eax, eax
je 0x42d1fa
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x42d1fa
push 0x104
lea ecx, [esp + 0x1d8]
push ecx
push 0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x42d1fa
lea edx, [esp + 0x1d4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x42d1fa
push eax
lea ecx, [esp + 0x20]
call fcn.0041be90
mov ecx, dword [esp + 0x28]
call fcn.0041aca0
xor edi, edi
mov ebx, eax
cmp ebp, edi
jne 0x42d220
lea eax, [esp + 0x18]
push eax
call fcn.0042b0f0
add esp, 4
test eax, eax
jne 0x42d220
mov dword [esp + 0x18], edi
mov edx, dword [0x48b38c]
mov ecx, dword [0x48b388]
mov eax, dword [esp + 0x14]
push 0x64
mov dword [esp + 0x44], edx
lea edx, [esp + 0x48]
push edx
push edi
push edi
push edi
mov dword [esp + 0x50], ecx
mov cx, word [eax]
push edi
push edi
lea eax, [esp + 0x58]
push eax
mov word [esp + 0x5c], cx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x42d268
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
mov ecx, esi
call fcn.0043eaa0
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
jl 0x42d287
lea ecx, [esi - 0xc]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42d29f
mov edx, dword [0x4a4014]
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.0041be90
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x3c]
push ecx
push edx
push eax
lea ecx, [esp + 0x58]
push ecx
push ebp
lea edx, [esp + 0x128]
push edx
push esi
push str.extVER:_sOS:_sX64:_dFS:_sFD:_uST:_dTE:_dSD:_dSP:_d
push ebx
mov byte [esp + 0x414], 1
call fcn.0041d3c0
add esp, 0x2c
test edi, edi
je 0x42d2f5
push str.MF:
mov ecx, ebx
call fcn.0041b7c0
push edi
mov ecx, ebx
call fcn.0041b7c0
mov edi, dword [esp + 0x1c]
cmp dword [edi - 8], 0
je 0x42d317
push 0x48b2f8
mov ecx, ebx
call fcn.0041b7c0
mov eax, dword [edi - 8]
push edi
push eax
mov ecx, ebx
call fcn.0041b440
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a4010]
je 0x42d33b
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x42d33b
push esi
call fcn.00462471
add esp, 4
lea edx, [edi - 0xc]
cmp edx, dword [0x4a4010]
je 0x42d359
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x42d359
push esi
call fcn.00462471
add esp, 4
mov eax, 1
jmp 0x42d362
xor eax, eax
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.00461932
add esp, 0x3d8
ret 0x10