Function at 0x42cb90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4c9100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x238], edi
mov eax, dword [edi]
push dword [eax]
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
lea ecx, [ebp - 0x224]
call fcn.0042bfb0
mov edi, dword [edi + 4]
mov esi, eax
cmp edi, esi
je 0x42cc10
mov ecx, edi
call fcn.0042d390
mov ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x224]
call fcn.0042d390
mov ecx, dword [ebp - 0x238]
mov eax, dword [ecx + 4]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x23c], eax
cmp esi, eax
je 0x42ce68
nop word [eax + eax]
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x42ce83
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42cc5d
mov eax, dword [esi]
push 1
push 0x4bf434
push ecx
push eax
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x230]
call fcn.0042a7a0
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
mov ecx, dword [ebp - 0x21c]
mov edi, eax
cmp ecx, 7
jbe 0x42ccd5
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42cccb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ce88
push ecx
push edx
call fcn.0046160b
add esp, 8
cmp edi, 4
jne 0x42ce59
cmp dword [esi + 0x14], 7
mov eax, esi
mov dword [ebp - 0x234], 0x104
jbe 0x42ccf2
mov eax, dword [esi]
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x42ce59
mov dword [ebp - 0x220], eax
xorps xmm0, xmm0
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
movups xmmword [ebp - 0x230], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42cd30
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00429720
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
push ecx
mov edi, dword [eax + 8]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x42cd7e
mov ecx, eax
call fcn.0042d2e0
add dword [edi + 4], 0x18
jmp 0x42cd86
push eax
mov ecx, edi
call fcn.0042e240
mov edi, dword [ebp - 0x238]
lea ecx, [ebp - 0x254]
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x230]
push eax
call fcn.0042d2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
mov edi, dword [edi + 0xc]
push ecx
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x42cdce
mov edx, eax
call fcn.0042e6e0
add esp, 4
add dword [edi + 4], 8
jmp 0x42cdd6
push eax
mov ecx, edi
call fcn.0042e030
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x240]
cmp ecx, 7
jbe 0x42ce16
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42ce0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ce88
push ecx
push edx
call fcn.0046160b
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x42ce59
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42ce4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ce88
push ecx
push edx
call fcn.0046160b
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x23c]
jne 0x42cc40
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.004615cd
mov esp, ebp
pop ebp
ret
call fcn.00422c40
call fcn.004834cf
int3