Function at 0x4638a0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494cff
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x4c9070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x4c4], edi
mov dword [ebp - 0x490], str.win32:__boot
mov dword [ebp - 0x488], 0xa
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], str.win32:__modules
mov dword [ebp - 0x478], 0xc8
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], str.win32:__autoruns
mov dword [ebp - 0x468], 0xc8
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], str.win32:__services
mov dword [ebp - 0x458], 0x32
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], str.win32:__coms
mov dword [ebp - 0x448], 0x14
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], str.win32:__critarea
mov dword [ebp - 0x438], 0x3e8
mov dword [ebp - 0x434], 0
mov dword [ebp - method.CQuaranTreat.virtual_16], 0x4af8c4
nop dword [eax]
cmp dword [eax*8 + 0x4c98e0], 0
je 0x4639b7
inc eax
cmp eax, 0x3a
jb 0x4639a0
mov eax, str.HRAPP
jmp 0x4639be
mov eax, dword [eax*8 + 0x4c98e4]
mov esi, dword [sym.imp.HipsDB.dll_Ordinal_13]
push eax
call esi
add esp, 4
mov dword [ebp - 0x4cc], eax
mov dword [ebp - method.CQuaranTreat.virtual_16], 0x4af8dc
mov dword [ebp - 4], 0
xor eax, eax
cmp dword [eax*8 + 0x4c98e0], 0x12
je 0x4639fa
inc eax
cmp eax, 0x3a
jb 0x4639e3
mov eax, str.HRAPP
jmp 0x463a01
mov eax, dword [eax*8 + 0x4c98e4]
push eax
call esi
add esp, 4
mov dword [ebp - 0x4d4], eax
push 0
push str.UpdateRestartDaemon
lea ecx, [ebp - 0x4d4]
mov byte [ebp - 4], 1
call fcn.00425270
test eax, eax
je 0x463a60
push str.GlobalHuorong::hr_update
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x463a4e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x65f
jmp 0x4642fa
push 0
push str.UpdateRestartDaemon
lea ecx, [ebp - 0x4d4]
call fcn.00425360
mov esi, dword [ebp + 8]
cmp esi, 2
jne 0x463a74
test edi, edi
jne 0x463a74
lea esi, [edi + 0x57]
jmp 0x4642fa
mov eax, dword [ebx + 0x3e8]
and eax, dword [ebx + 0x3ec]
cmp eax, 0xffffffff
je 0x463aa4
mov eax, dword [0x4d5b90]
cmp eax, 8
je 0x463a9d
test eax, eax
je 0x463a9d
mov esi, 0xaa
jmp 0x4642fa
mov ecx, ebx
call fcn.00464350
mov dword [ebx + 0x438], 0
mov ecx, ebx
mov dword [0x4d5b90], 0
push esi
mov dword [ebx + 0x3f0], 0
mov dword [ebx + 0x3f4], 0
call fcn.00464930
test eax, eax
jne 0x463ae0
lea esi, [eax + 0xd]
jmp 0x4642fa
cmp dword [ebx + 0x400], 0
jne 0x463af3
mov esi, 0xd
jmp 0x4642fa
mov esi, dword [ebx + 0x3f8]
mov edi, dword [sym.imp.jansson.dll_json_delete]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x463b1f
lea eax, [esi + 4]
push eax
call ecx
test eax, eax
jne 0x463b19
push esi
call edi
add esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov esi, dword [ebx + 0x3fc]
test esi, esi
je 0x463b39
lea eax, [esi + 4]
push eax
call ecx
test eax, eax
jne 0x463b39
push esi
call edi
add esp, 4
mov esi, dword [sym.imp.jansson.dll_json_array]
call esi
mov dword [ebx + 0x3f8], eax
call esi
mov esi, dword [ebp + 8]
mov dword [ebx + 0x3fc], eax
test esi, esi
je 0x463b5f
cmp esi, 1
jne 0x463eec
lea edi, [ebp - 0x488]
mov dword [ebp - 0x4bc], 6
mov dword [ebp - 0x4b8], edi
push dword [edi - 8]
call dword [sym.imp.jansson.dll_json_string]
add esp, 4
push eax
push dword [ebx + 0x3f8]
call dword [sym.imp.jansson.dll_json_array_append_new]
mov esi, dword [edi]
mov edi, dword [edi + 4]
push edi
push esi
push str.weight
push dword [ebx + 0x3f4]
push dword [ebx + 0x3f0]
push str.start
push str.s:I__s:I
call dword [sym.imp.jansson.dll_json_pack]
add esp, 0x24
push eax
push dword [ebx + 0x3fc]
call dword [sym.imp.jansson.dll_json_array_append_new]
add esp, 8
add dword [ebx + 0x3f0], esi
adc dword [ebx + 0x3f4], edi
mov edi, dword [ebp - 0x4b8]
add edi, 0x10
sub dword [ebp - 0x4bc], 1
mov dword [ebp - 0x4b8], edi
jne 0x463b75
mov esi, dword [ebp + 8]
cmp esi, 1
jne 0x463eec
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046ea70
add esp, 0xc
call fcn.004546f0
test eax, eax
je 0x463c23
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov edi, eax
jmp 0x463c25
xor edi, edi
mov dword [ebp - 0x4c4], edi
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea esi, [ebp - 0x218]
mov ecx, esi
mov dword [ebp - 0x4bc], esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463c52
sub ecx, edx
sar ecx, 1
je 0x463ed5
call fcn.00404a20
test eax, eax
je 0x463f0a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b4], eax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x4b4]
movlpd qword [ebp - 0x4f0], xmm0
push str._c:_
push eax
call fcn.00409370
mov esi, dword [ebp - 0x4b4]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x463cf1
push 0
push str.isScanNetworkDrive
lea ecx, [ebp - 0x4cc]
call fcn.00425270
test eax, eax
je 0x463e68
lea ecx, [ebp - 0x4b4]
call fcn.0045baa0
mov esi, dword [ebp - 0x4b4]
test eax, eax
jne 0x463d0c
jmp 0x463e68
cmp eax, 3
je 0x463d0c
mov eax, dword [ebp - 0x4bc]
mov cx, word [eax]
call fcn.0045b950
test eax, eax
je 0x463e68
push 0xfde9
lea eax, [ebp - 0x4ac]
push esi
lea ecx, [ebp - 0x4b0]
mov dword [ebp - 0x4b0], eax
call fcn.00404030
push dword [ebp - 0x4b0]
call dword [sym.imp.jansson.dll_json_string]
mov ecx, dword [ebp - 0x4b0]
lea edx, [ebp - 0x4ac]
add esp, 4
mov dword [ebp - 0x4b8], eax
cmp ecx, edx
je 0x463d5d
push ecx
call fcn.00471958
mov eax, dword [ebp - 0x4b8]
add esp, 4
push eax
push dword [ebx + 0x3f8]
call dword [sym.imp.jansson.dll_json_array_append_new]
add esp, 8
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x105
mov dword [ebp - 0x4c8], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x4c0]
push eax
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x463dec
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x4e0]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x463dec
mov ecx, dword [ebp - 0x4e0]
sub ecx, dword [ebp - 0x4e8]
mov eax, dword [ebp - 0x4dc]
sbb eax, dword [ebp - 0x4e4]
shrd ecx, eax, 0x16
shr eax, 0x16
mov dword [ebp - 0x4b4], ecx
mov dword [ebp - 0x4b8], eax
jmp 0x463e04
mov eax, dword [ebp - 0x4ec]
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4b4], eax
push dword [ebp - 0x4c8]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [ebp - 0x4b8]
push dword [ebp - 0x4b4]
push str.weight
push dword [ebx + 0x3f4]
push dword [ebx + 0x3f0]
push str.start
push str.s:I__s:I
call dword [sym.imp.jansson.dll_json_pack]
add esp, 0x1c
push eax
push dword [ebx + 0x3fc]
call dword [sym.imp.jansson.dll_json_array_append_new]
mov eax, dword [ebp - 0x4b4]
add esp, 8
add dword [ebx + 0x3f0], eax
mov eax, dword [ebp - 0x4b8]
adc dword [ebx + 0x3f4], eax
mov ecx, dword [ebp - 0x4bc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463e71
mov eax, dword [ebp - 0x4bc]
sub ecx, edx
sar ecx, 1
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [eax + ecx*2]
add eax, 2
mov dword [ebp - 0x4bc], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x463eae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4bc]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463ec0
sub ecx, edx
sar ecx, 1
jne 0x463c67
mov byte [ebp - 4], 1
test edi, edi
je 0x4641ac
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x4641ac
cmp esi, 2
jne 0x4641af
mov dword [ebp - 0x4bc], 0
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x463f14
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b8], eax
mov byte [ebp - 4], 4
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x463f3b
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b4], eax
mov byte [ebp - 4], 5
call fcn.004546f0
test eax, eax
je 0x463f61
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov edi, eax
jmp 0x463f63
xor edi, edi
mov dword [ebp - 0x4c8], edi
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x4c4]
test edx, edx
jne 0x463f7b
xor ecx, ecx
jmp 0x463f8f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463f80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4b8]
call fcn.004046a0
lea eax, [ebp - 0x4bc]
or esi, 0xffffffff
push eax
push 0x4aeda0
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x4b8]
call fcn.0042f5c0
push eax
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 7
call fcn.0040a720
mov byte [ebp - 4], 6
mov eax, esi
mov edx, dword [ebp - 0x4c4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463fee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4b4]
mov edx, dword [esi - 0xc]
test edx, edx
je 0x464165
lea eax, [edx - 1]
test eax, eax
js 0x4641c2
cmp eax, edx
jg 0x4641c2
cmp word [esi + eax*2], 0x2a
jne 0x464063
add edx, 0xffffffff
mov dword [ebp - 0x4c0], edx
js 0x4641c2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x464051
push edx
lea ecx, [ebp - 0x4b4]
call fcn.00404530
mov esi, dword [ebp - 0x4b4]
mov edx, dword [ebp - 0x4c0]
cmp edx, dword [esi - 8]
jg 0x4641c2
xor eax, eax
mov dword [esi - 0xc], edx
mov word [esi + edx*2], ax
lea ecx, [ebp - 0x4b4]
call fcn.0045baa0
mov esi, dword [ebp - 0x4b4]
push 2
push str._UNC_
push esi
call fcn.004774d7
add esp, 0xc
test eax, eax
jne 0x4640b4
push 8
push str._UNC_
push esi
call fcn.004774d7
add esp, 0xc
test eax, eax
je 0x4640b4
push 0x4ad3ec
push 2
lea ecx, [ebp - 0x4b4]
call fcn.00435580
mov esi, dword [ebp - 0x4b4]
push 0xfde9
lea eax, [ebp - 0x4ac]
push esi
lea ecx, [ebp - 0x4b0]
mov dword [ebp - 0x4b0], eax
call fcn.00404030
push dword [ebp - 0x4b0]
call dword [sym.imp.jansson.dll_json_string]
mov ecx, dword [ebp - 0x4b0]
lea edx, [ebp - 0x4ac]
add esp, 4
mov dword [ebp - 0x4c0], eax
cmp ecx, edx
je 0x464105
push ecx
call fcn.00471958
mov eax, dword [ebp - 0x4c0]
add esp, 4
push eax
push dword [ebx + 0x3f8]
call dword [sym.imp.jansson.dll_json_array_append_new]
push 0
push 0x64
push str.weight
push dword [ebx + 0x3f4]
push dword [ebx + 0x3f0]
push str.start
push str.s:I__s:I
call dword [sym.imp.jansson.dll_json_pack]
add esp, 0x24
push eax
push dword [ebx + 0x3fc]
call dword [sym.imp.jansson.dll_json_array_append_new]
add esp, 8
add dword [ebx + 0x3f0], 0x64
adc dword [ebx + 0x3f4], 0
cmp dword [ebp - 0x4bc], 0
jge 0x463f9c
test edi, edi
je 0x46416f
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
or edi, 0xffffffff
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46418d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4b8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4641ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
xor eax, eax
cmp dword [eax*8 + 0x4cb2c0], esi
je 0x4641cc
inc eax
cmp eax, 3
jb 0x4641b1
jmp 0x4641f9
push 0x80070057
call fcn.00404ad0
mov edx, dword [eax*8 + 0x4cb2c4]
test edx, edx
jne 0x4641db
xor ecx, ecx
jmp 0x4641ec
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4641e0
sub ecx, esi
mov esi, dword [ebp + 8]
push ecx
push edx
lea ecx, [ebx + 0x404]
call fcn.00403450
cmp dword [ebp - 0x4cc], 0
mov dword [ebx + 0x408], esi
je 0x464270
push 0xfde9
lea eax, [ebp - 0x4ac]
push str.Treatment
lea ecx, [ebp - 0x4b0]
mov dword [ebp - 0x4b0], eax
call fcn.00404030
mov byte [ebp - 4], 8
lea edx, [ebp - 0x4c0]
mov ecx, dword [ebp - 0x4cc]
push edx
push dword [ebp - 0x4b0]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4b0]
lea eax, [ebp - 0x4ac]
cmp ecx, eax
je 0x464264
push ecx
call fcn.00471958
add esp, 4
test esi, esi
je 0x464270
mov eax, dword [ebp - 0x4c0]
jmp 0x46427f
mov eax, dword [ebp - 0x4d0]
lea ecx, [ebp - 0x4d0]
call dword [eax + 0x18]
push eax
push ecx
push dword [ebx + 0x400]
mov ecx, 0x4d1720
push dword [ebx + 0x3fc]
push dword [ebx + 0x3f8]
push dword [ebx + 0x404]
call fcn.0045a190
mov dword [ebx + 0x3e8], eax
and eax, edx
mov dword [ebx + 0x3ec], edx
cmp eax, 0xffffffff
je 0x4642e1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4642e1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4642e1
or dword [ebx + 0x428], 2
mov dword [ebx + 0x40c], 0xffffffff
mov eax, dword [ebx + 0x3e8]
xor ecx, ecx
and eax, dword [ebx + 0x3ec]
mov esi, 0x65f
cmp eax, 0xffffffff
cmovne esi, ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4d4]
test ecx, ecx
je 0x46430c
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x4cc]
test ecx, ecx
je 0x464321
mov edx, dword [ecx]
call dword [edx]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046be2f
mov esp, ebp
pop ebp
ret 8