Function at 0x42c430
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4bde
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x2d8
mov eax, dword [0x4c9100]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.0042c1a0
xorps xmm0, xmm0
mov dword [ebp - 0x290], 0
lea ecx, [ebp - 0x298]
movq qword [ebp - 0x298], xmm0
call fcn.0042bfb0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x234], xmm0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x238]
mov byte [ebp - 0x2b5], 0
push eax
push 4
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 2
push eax
push 0x12
push 0xfffffffffffffffc
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42cb4b
jmp 0x42c51d
cmp dword [ebp - 0x2b4], 2
sete byte [ebp - 0x2b5]
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [ebp - 0x28c], xmm0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x298]
mov edi, dword [ebp - 0x294]
cmp esi, edi
je 0x42c96f
nop dword [eax]
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x42cb6d
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42c59d
mov eax, dword [esi]
push 1
push 0x4bf434
push ecx
push eax
push ecx
push dword [ebp - 0x238]
lea ecx, [ebp - 0x2b0]
call fcn.0042a7a0
cmp dword [ebp - 0x29c], 7
lea eax, [ebp - 0x2b0]
cmova eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
xor ecx, ecx
mov dword [ebp - 0x23c], 7
movups xmmword [ebp - 0x250], xmm0
mov word [ebp - 0x250], cx
mov byte [ebp - 4], 6
mov dword [ebp - 0x2b4], 0x104
cmp eax, 4
jne 0x42c7f8
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42c61b
mov eax, dword [esi]
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x42c84e
mov dword [ebp - 0x258], eax
xorps xmm0, xmm0
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x228]
movups xmmword [ebp - 0x268], xmm0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c657
sub eax, edx
lea ecx, [ebp - 0x268]
sar eax, 1
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00429720
mov byte [ebp - 4], 7
xorps xmm0, xmm0
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x280], xmm0
cmp eax, 2
jb 0x42cb68
add eax, 0xfffffffe
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x254], 7
lea eax, [ebp - 0x268]
cmova eax, dword [ebp - 0x268]
push ecx
add eax, 4
lea ecx, [ebp - 0x280]
push eax
call fcn.00429720
push 8
sub esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x280]
call fcn.0042d740
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x26c]
movq qword [ebp - 0x2c8], xmm0
movq qword [ebp - 0x240], xmm0
movups xmmword [ebp - 0x2d8], xmm1
movups xmmword [ebp - 0x250], xmm1
cmp ecx, 7
jbe 0x42c76b
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c761
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cb83
push ecx
push edx
call fcn.0046160b
add esp, 8
cmp dword [ebp - 0x2c4], 7
lea eax, [ebp - 0x250]
mov ecx, dword [ebp - 0x2c8]
cmova eax, dword [ebp - 0x2d8]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x42c7ae
dec ecx
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ecx
cmova eax, dword [ebp - 0x250]
xor edx, edx
mov word [eax + ecx*2], dx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x254]
cmp ecx, 7
jbe 0x42c84e
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c7ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cb83
push ecx
push edx
call fcn.0046160b
add esp, 8
jmp 0x42c84e
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 4
jb 0x42cb6d
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42c815
mov eax, dword [esi]
push ecx
push eax
push 4
push str.__
push ecx
push dword [ebp - 0x238]
lea ecx, [ebp - 0x2d8]
call fcn.0042a7a0
movups xmm0, xmmword [ebp - 0x2d8]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [ebp - 0x2c8]
movq qword [ebp - 0x240], xmm0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0042d2e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2d8]
mov eax, dword [ebp - 0x230]
push ecx
cmp eax, dword [ebp - 0x22c]
je 0x42c88c
mov edx, eax
call fcn.0042e5e0
add esp, 4
add dword [ebp - 0x230], 8
jmp 0x42c898
push eax
lea ecx, [ebp - 0x234]
call fcn.0042de20
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c4]
cmp ecx, 7
jbe 0x42c8dc
mov edx, dword [ebp - 0x2d8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c8d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cb83
push ecx
push edx
call fcn.0046160b
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x42c920
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c916
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cb83
push ecx
push edx
call fcn.0046160b
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x29c]
cmp ecx, 7
jbe 0x42c964
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c95a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cb83
push ecx
push edx
call fcn.0046160b
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x42c580
cmp byte [ebp - 0x2b5], 0
mov byte [ebp - 4], 0xa
je 0x42ca72
call fcn.0042b610
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0
movq qword [ebp - 0x274], xmm0
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x274]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x234]
push 0x10
mov dword [ebp - 0x254], eax
call fcn.004615db
movups xmm0, xmmword [ebp - 0x260]
add esp, 4
mov dword [ebp - 0x238], eax
movups xmmword [eax], xmm0
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0xc
push ecx
push 0
push eax
push 0x42e7e0
push 0
push 0
call fcn.00487e7d
add esp, 0x18
mov dword [ebp - 0x2c0], eax
test eax, eax
je 0x42cb72
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xd
call fcn.0042b060
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x2bc], 0
jne 0x42cb63
lea ecx, [ebp - 0x274]
call fcn.0042d390
jmp 0x42ca72
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x230]
mov esi, dword [ebp - 0x234]
cmp esi, edi
je 0x42ca9e
nop dword [eax]
mov ecx, esi
call fcn.0042b060
add esi, 8
cmp esi, edi
jne 0x42ca90
lea ecx, [ebp - 0x28c]
call fcn.0042d390
mov edx, dword [ebp - 0x234]
test edx, edx
je 0x42cb22
mov ecx, dword [ebp - 0x230]
mov eax, edx
cmp eax, ecx
je 0x42cad1
nop
cmp dword [eax + 4], 0
jne 0x42cb63
add eax, 8
cmp eax, ecx
jne 0x42cac0
mov ecx, dword [ebp - 0x22c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x42cafa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cb83
push ecx
push edx
call fcn.0046160b
add esp, 8
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x298]
call fcn.0042d390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004615cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x2e8]
call fcn.0042b570
push 0x4c73d8
mov eax, ecx
push eax
call fcn.004796a1
call fcn.00487f0e
call fcn.00429400
call fcn.00422c40
push 6
mov dword [ebp - 0x2bc], 0
call fcn.004635c6
call fcn.004834cf
int3