Function at 0x1001d1c0
Capabilities:
Get disk information
Print debug messages
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x10036d94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x134]
push esi
push edi
push eax
push 0x20019
mov esi, ecx
mov dword [ebp - 0x14c], ebx
push 0
push 0x10005bac
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, 1
mov byte [esi], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x12c], 0x10005c24
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], 0x10c
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x130], 0x10005bac
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1001d270
push 0xffffffffffffffff
push 0x10005c24
push 0x10d
push esi
call dword [sym.imp.msvcrt.dll_strncpy_s]
add esp, 0x10
xor ecx, ecx
xor eax, eax
xor edi, edi
jmp 0x1001d536
lea eax, [ebp - 0x138]
mov dword [ebp - 0x148], 0
push eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x144], 0
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x140], 0
push eax
push 0
push 0x10005bd4
push dword [ebp - 0x134]
mov dword [ebp - 0x138], 4
mov dword [ebp - 0x13c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001d2e8
cmp dword [ebp - 0x13c], 4
jne 0x1001d2e8
cmp dword [ebp - 0x140], eax
setne al
mov dword [ebp - 0x11c], eax
jmp 0x1001d2f2
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x118]
call fcn.1001d000
test eax, eax
je 0x1001d393
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x12c], eax
call fcn.1001bd92
test eax, eax
jne 0x1001d3f5
mov eax, dword [ebp - 0x144]
cmp eax, 0x112
jae 0x1001d553
lea ecx, [ebp - 0x134]
mov byte [ebp + eax - 0x118], 0
call fcn.1001d160
test eax, eax
jne 0x1001d3f5
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x1001d393
mov byte [ebp + eax - 0x118], 0x2a
inc eax
cmp eax, 0x112
jae 0x1001d553
lea ecx, [ebp - 0x134]
mov byte [ebp + eax - 0x118], 0
call fcn.1001d160
test eax, eax
jne 0x1001d3f5
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x12c], 0x10005bdc
call fcn.1001d160
test eax, eax
jne 0x1001d3f5
push 0xffffffffffffffff
push 0x10005c24
push 0x10d
push esi
mov dword [ebp - 0x12c], 0x10005c24
mov dword [ebp - 0x120], eax
call dword [sym.imp.msvcrt.dll_strncpy_s]
add esp, 0x10
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x120]
xor edi, edi
mov dword [ebp - 0x134], 0
jmp 0x1001d4d5
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x134], 0
mov byte [esi + 0x10d], 0
test ecx, ecx
je 0x1001d4d5
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d425
sub ecx, edx
cmp ecx, 3
jb 0x1001d4cd
mov al, byte [esi]
cmp al, 0x2e
je 0x1001d46b
cmp al, 0x5c
je 0x1001d4ac
cmp al, 0x2f
je 0x1001d4ac
cmp byte [esi + 1], 0x3a
je 0x1001d4ac
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x10e
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
jmp 0x1001d485
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x10e
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x1001d4cd
cmp eax, 0x10e
jae 0x1001d4cd
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
mov byte [ebp - 7], 0
push eax
push 0x10e
push esi
call dword [sym.imp.msvcrt.dll_strncpy_s]
add esp, 0x10
mov bl, byte [esi + 3]
push esi
mov byte [esi + 3], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor ecx, ecx
mov byte [esi + 3], bl
mov ebx, dword [ebp - 0x14c]
cmp eax, 3
sete cl
jmp 0x1001d4cf
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x1001d536
push 0x10005be4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10005bf0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10005bf4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10005c00
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x120]
mov dword [ebx], eax
mov eax, edi
mov dword [0x10037164], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100313a0
mov esp, ebp
pop ebp
ret 8
call fcn.1003155f
int3