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

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x10037a48
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x60]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call fcn.1000e8a0
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.1001c920
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 4
cmp ecx, 3
je 0x1000948a
cmp esi, ebx
je 0x1000946b
mov edx, dword [ebp - 0x30]
push edx
mov eax, esi
call fcn.10004050
mov eax, dword [ebp - 0x54]
push eax
call fcn.100269ba
add esp, 8
mov ecx, dword [ebp - 0x60]
push ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call fcn.100269ba
add esp, 4
mov eax, 0x57
jmp 0x10009767
mov eax, 8
cmp dword [esi + 0x18], eax
jb 0x1000949c
mov edx, dword [esi + 4]
mov dword [ebp - 0x24], edx
jmp 0x100094a2
lea ecx, [esi + 4]
mov dword [ebp - 0x24], ecx
cmp dword [esi + 0x34], eax
jb 0x100094af
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x28], ebx
jmp 0x100094b7
lea edx, [esi + 0x20]
mov dword [ebp - 0x28], edx
mov ebx, edx
cmp dword [esi + 0x50], eax
jb 0x100094c1
mov esi, dword [esi + 0x3c]
jmp 0x100094c4
add esi, 0x3c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
push ebx
mov byte [ebp - 4], 1
push 0x80000003
mov dword [ebp - 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
je 0x1000951d
call fcn.1001af90
push ebx
push edi
push str.____RegCreateKeyEx_error__code__08x__Path:_s
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], edi
call fcn.10028c35
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
push 0xf013f
push 0
push ebx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x10009564
call fcn.1001af90
push ebx
push edi
push 0x10040450
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], edi
call fcn.10028c35
xor edx, edx
push 0x206
push edx
lea eax, [ebp + 0x20a]
push eax
mov word [ebp + 0x208], dx
call fcn.100285e0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp + 2]
push edx
mov word [ebp], cx
call fcn.100285e0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
add esp, 0x18
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 0x208]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 2
push esi
push 0
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x2c], 0x208
call ebx
mov edi, eax
test edi, edi
je 0x100095f2
call fcn.1001af90
push esi
push edi
push str.RegGetValue_get.Src_Regist_ImagePath_value_error:_08x__s
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 0x48], edi
call fcn.10028c35
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 2
push esi
push 0
push edx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x2c], 0x208
call ebx
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x10009646
call fcn.1001af90
push esi
push edi
push str.RegGetValue_get_Dst_Regist_ImagePath_value_error:_08x__s
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], edi
call fcn.10028c35
lea ecx, [ebp + 0x208]
push ecx
lea edx, [ebp]
push edx
call fcn.10026f4b
add esp, 8
test eax, eax
jne 0x1000966e
push 0x10049464
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], ebx
call fcn.10028c35
call fcn.1001af90
lea ecx, [ebp]
push ecx
lea edx, [ebp + 0x208]
push edx
push esi
push str.KeyValueCheckUpdate_Value:_s_not_same__Src:_s__Dst:_s
mov ecx, eax
call fcn.1001b3f0
lea eax, [ebp + 0x208]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10009697
sub eax, edx
mov edx, dword [ebp - 0x1c]
sar eax, 1
add eax, eax
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x208]
push ecx
push edx
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
cmp edi, ebx
je 0x100096ed
call fcn.1001af90
push esi
push edi
push str.RegGetValue_Set_Dst_Regist_ImagePath_value_error:_08x__s
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x38], edi
call fcn.10028c35
mov dword [ebp - 4], ebx
jmp 0x1000971e
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1000972f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10009740
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
push edi
push str.KeyValueCheckUpdate_dwRlt:_08x_Src:_s_Dst:_s
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
lea esi, [ebp - 0x60]
call fcn.10003d90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x414
mov esp, ebp
pop ebp
ret