Function at 0x1001e4d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x90], 0
mov eax, dword [0x1006d7cc]
mov dword [ebp - 0x84], eax
mov ecx, dword [0x1006d7d0]
mov dword [ebp - 0x80], ecx
mov edx, dword [0x1006d7d4]
mov dword [ebp - 0x7c], edx
mov ax, word [0x1006d7d8]
mov word [ebp - 0x78], ax
mov cl, byte [0x1006d7da]
mov byte [ebp - 0x76], cl
push 0x31
push 0
lea edx, [ebp - 0x75]
push edx
call fcn.10033d10
add esp, 0xc
push 0x40
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.10033d10
add esp, 0xc
mov byte [ebp - 0x85], 0
mov dword [ebp - 0xc4], 0
push str._INF__UpdateDosDriveOffset__Start
call fcn.100098e0
add esp, 4
lea ecx, [ebp - 0x90]
push ecx
push 0xf003f
push 0
push 0x1006d800
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x1001e8ad
mov dword [ebp - 0x8c], 2
jmp 0x1001e5ad
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 0x1a
jge 0x1001e739
mov dword [ebp - 0x9c], 0x40
mov eax, dword [ebp - 0x8c]
add eax, 0x41
mov ecx, 1
imul edx, ecx, 0xc
mov byte [ebp + edx - 0x84], al
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0xac]
push edx
push 0
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x1001e70a
mov edx, 1
shl edx, 2
mov eax, dword [ebp + edx - 0x44]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp + edx - 0x40]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x98]
shr edx, 9
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb4]
cmp edx, dword [ebp + 0xc]
jne 0x1001e708
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp + 0x10]
jne 0x1001e708
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov dword [ebp + edx - 0x44], eax
push 0
push 0x200
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.10055010
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
mov eax, 1
shl eax, 2
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x44], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp + eax - 0x40], edx
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 3
push 0
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x8c]
add ecx, 0x41
mov byte [ebp - 0x85], cl
movsx edx, byte [ebp - 0x85]
push edx
push str._INF__UpdateDosDriveOffset__Set_Drive___c
call fcn.100098e0
add esp, 8
jmp 0x1001e739
jmp 0x1001e72f
mov eax, 1
imul ecx, eax, 0xc
movsx edx, byte [ebp + ecx - 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERR__UpdateDosDriveOffset__GetLastError_d__RegQueryValueEx___c
call fcn.100098e0
add esp, 0xc
call fcn.1000a2a0
jmp 0x1001e59e
movsx eax, byte [ebp - 0x85]
test eax, eax
je 0x1001e74c
movzx ecx, byte [ebp + 0x1c]
test ecx, ecx
jne 0x1001e756
jmp 0x1001e8ad
mov dword [ebp - 0x8c], 2
jmp 0x1001e771
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 0x1a
jge 0x1001e8ad
mov dword [ebp - 0x9c], 0x40
mov eax, dword [ebp - 0x8c]
add eax, 0x41
mov ecx, 1
imul edx, ecx, 0xc
mov byte [ebp + edx - 0x84], al
mov eax, 1
imul ecx, eax, 0xc
movsx edx, byte [ebp + ecx - 0x84]
movsx eax, byte [ebp - 0x85]
cmp edx, eax
jne 0x1001e7bd
jmp 0x1001e762
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0xac]
push eax
push 0
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x1001e8a8
mov eax, 1
shl eax, 2
mov ecx, dword [ebp + eax - 0x44]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp + eax - 0x40]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x98]
shr eax, 9
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
xor edx, edx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp + 0x14]
jne 0x1001e8a8
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [ebp + 0x18]
jne 0x1001e8a8
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ebp + eax - 0x44], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x98], xmm0
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 0x98]
mov dword [ebp + edx - 0x44], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp + edx - 0x40], ecx
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0x44]
push eax
push 3
push 0
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x1001e8ad
jmp 0x1001e762
cmp dword [ebp - 0x90], 0
je 0x1001e8c3
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str._SUC__UpdateDosDriveOffset__End
call fcn.100098e0
add esp, 4
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret 0x18