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

Disassembly:
push 0xffffffffffffffff
push 0x47f646
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
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 0x42dcd0
cmp eax, ebp
je 0x42dcd0
mov ecx, esi
call fcn.0043f760
mov ecx, esi
mov ebx, eax
call fcn.0043f6d0
mov ecx, esi
mov edi, eax
call fcn.0043f4f0
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.0043f460
mov edx, dword [0x4a1014]
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.00461880
push 0xc8
lea eax, [esp + 0x11c]
push ebp
push eax
call fcn.00461880
add esp, 0x18
test edi, edi
je 0x42dadc
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 0x42dafb
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.0042bdd0
test eax, eax
je 0x42db6a
cmp dword [esp + 0x2c], 0
je 0x42db6a
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], 1
test eax, eax
je 0x42db6a
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x42db6a
push 0x104
lea ecx, [esp + 0x1d8]
push ecx
push 0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x42db6a
lea edx, [esp + 0x1d4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x42db6a
push eax
lea ecx, [esp + 0x20]
call fcn.0041ca80
mov ecx, dword [esp + 0x28]
call fcn.0041b970
xor edi, edi
mov ebx, eax
cmp ebp, edi
jne 0x42db90
lea eax, [esp + 0x18]
push eax
call fcn.0042ba60
add esp, 4
test eax, eax
jne 0x42db90
mov dword [esp + 0x18], edi
mov edx, dword [0x488424]
mov ecx, dword [0x488420]
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 0x42dbd8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
mov ecx, esi
call fcn.0043f530
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
jl 0x42dbf7
lea ecx, [esi - 0xc]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42dc0f
mov edx, dword [0x4a1014]
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.0041ca80
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.0041dfb0
add esp, 0x2c
test edi, edi
je 0x42dc65
push str.MF:
mov ecx, ebx
call fcn.0041c3a0
push edi
mov ecx, ebx
call fcn.0041c3a0
mov edi, dword [esp + 0x1c]
cmp dword [edi - 8], 0
je 0x42dc87
push 0x488390
mov ecx, ebx
call fcn.0041c3a0
mov eax, dword [edi - 8]
push edi
push eax
mov ecx, ebx
call fcn.0041bff0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a1010]
je 0x42dcab
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x42dcab
push esi
call fcn.00461ef0
add esp, 4
lea edx, [edi - 0xc]
cmp edx, dword [0x4a1010]
je 0x42dcc9
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x42dcc9
push esi
call fcn.00461ef0
add esp, 4
mov eax, 1
jmp 0x42dcd2
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.00461862
add esp, 0x3d8
ret 0x10