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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push edi
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.004906c0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.004906c0
add esp, 0x18
mov dword [ebp - 0x614], 0x41
lea eax, [ebp - 0x610]
xor edi, edi
push eax
push 0x4bcab0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44f035
push esi
lea eax, [ebp - 0x618]
mov dword [ebp - 0x618], 0x200
push eax
lea eax, [ebp - 0x204]
push eax
push edi
push edi
push 0x4bcb24
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.00491b65
lea ecx, [ebp - 0x204]
add esp, 8
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ee27
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x44eef7
mov edi, edi
movzx eax, word [ebp + esi*2 - 0x204]
mov ecx, 0x7a
sub ecx, eax
mov word [ebp - 0x614], ax
xor eax, eax
mov dword [ebp - 0x618], 0x208
cmp ecx, 1
setg al
or edi, eax
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x60c]
push eax
push 0
push 0
lea eax, [ebp - 0x614]
push eax
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44eed2
lea eax, [ebp - 0x60c]
push 0x5c
push eax
call fcn.0049130d
add esp, 8
test eax, eax
je 0x44eebe
lea eax, [ebp - 0x60c]
push 0x5c
push eax
call fcn.0049130d
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x60c]
push eax
push ebx
call fcn.00491646
add esp, 8
test eax, eax
je 0x44ef3c
lea eax, [ebp - 0x204]
inc esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44eee0
sub eax, edx
sar eax, 1
cmp esi, eax
jl 0x44ee40
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x402]
push 0xff
push eax
call fcn.004911bd
xor eax, eax
add esp, 0xc
mov word [ebp - 0x3d0], ax
xor edx, edx
lea ecx, [ecx]
mov eax, 1
mov ecx, edx
shl eax, cl
test edi, eax
je 0x44ef59
inc edx
cmp edx, 0x1a
jl 0x44ef20
mov ax, word [ebp - 0x404]
jmp 0x44ef5c
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret
lea eax, [edx + 0x61]
movzx ecx, ax
cmp edx, 0x1a
movzx eax, word [ebp - 0x1d2]
mov esi, ebx
cmove ecx, eax
mov word [ebp - 0x404], cx
mov word [ebp - 0x614], cx
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44ef80
sub esi, ecx
sar esi, 1
add esi, 3
lea eax, [esi + esi]
push eax
call fcn.0048fb2f
push ebx
push 0x4bcb34
mov edi, eax
push esi
push edi
call fcn.00492202
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44efb2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
lea eax, [ebp - 0x614]
push eax
push dword [ebp - 0x610]
call esi
lea ecx, [ebp - 0x404]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44eff0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x404]
push eax
push 1
push 0
push 0x4bcb24
push dword [ebp - 0x610]
call esi
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0048faf7
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret