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

Disassembly:
push 0xffffffffffffffff
push 0x472206
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d68]
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 0x42ca70
cmp eax, ebp
je 0x42ca70
mov ecx, esi
call fcn.0043c330
mov ecx, esi
mov ebx, eax
call fcn.0043bea0
mov ecx, esi
mov edi, eax
call fcn.0043be10
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.0043bd90
mov edx, dword [0x48f014]
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.00457170
push 0xc8
lea eax, [esp + 0x11c]
push ebp
push eax
call fcn.00457170
add esp, 0x18
test edi, edi
je 0x42c87c
mov ecx, dword [edi]
mov eax, dword [ecx + 0x50]
push 0xc8
lea edx, [esp + 0x110]
push edx
push edi
call eax
mov ecx, dword [edi]
mov edx, dword [ecx + 0x44]
push edi
call edx
mov ebp, eax
test ebx, ebx
je 0x42c89b
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.0042a840
test eax, eax
je 0x42c90a
cmp dword [esp + 0x2c], 0
je 0x42c90a
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], 1
test eax, eax
je 0x42c90a
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x42c90a
push 0x104
lea ecx, [esp + 0x1d8]
push ecx
push 0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x42c90a
lea edx, [esp + 0x1d4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x42c90a
push eax
lea ecx, [esp + 0x20]
call fcn.0041c500
mov ecx, dword [esp + 0x28]
call fcn.00419e90
xor edi, edi
mov ebx, eax
cmp ebp, edi
jne 0x42c930
lea eax, [esp + 0x18]
push eax
call fcn.004054d0
add esp, 4
test eax, eax
jne 0x42c930
mov dword [esp + 0x18], edi
mov edx, dword [0x47a7a4]
mov ecx, dword [0x47a7a0]
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 0x42c978
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
mov ecx, esi
call fcn.0043be50
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
jl 0x42c997
lea ecx, [esi - 0xc]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42c9af
mov edx, dword [0x48f014]
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.0041c500
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.0041e4d0
add esp, 0x2c
test edi, edi
je 0x42ca05
push str.MF:
mov ecx, ebx
call fcn.0041ab60
push edi
mov ecx, ebx
call fcn.0041ab60
mov edi, dword [esp + 0x1c]
cmp dword [edi - 8], 0
je 0x42ca27
push 0x47a710
mov ecx, ebx
call fcn.0041ab60
mov eax, dword [edi - 8]
push edi
push eax
mov ecx, ebx
call fcn.0041a790
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x48f010]
je 0x42ca4b
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x42ca4b
push esi
call fcn.00457d84
add esp, 4
lea edx, [edi - 0xc]
cmp edx, dword [0x48f010]
je 0x42ca69
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x42ca69
push esi
call fcn.00457d84
add esp, 4
mov eax, 1
jmp 0x42ca72
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.0045715c
add esp, 0x3d8
ret 0x10