Function at 0x42ea60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2258
call fcn.0046ce90
mov dword [ebp - 0x20], ecx
xor eax, eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x2258]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004302c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42eaa4
mov eax, dword [ebp - 4]
jmp 0x42ee60
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2258]
push eax
call fcn.004325a0
add esp, 8
test eax, eax
jne 0x42eacd
push 0x20f
mov ecx, dword [ebp - 0x20]
call fcn.0042fb90
jmp 0x42ee60
mov ecx, dword [ebp - 0x20]
call fcn.00431dc0
lea ecx, [ebp - 0x2258]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004302c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42eaf5
mov eax, dword [ebp - 4]
jmp 0x42ee60
movzx edx, word [ebp - 0x18]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x13
jg 0x42eb21
cmp dword [ebp - 0x1c], 0x13
je 0x42ec6f
cmp dword [ebp - 0x1c], 8
je 0x42eb2f
cmp dword [ebp - 0x1c], 0x11
je 0x42ecef
jmp 0x42ee29
cmp dword [ebp - 0x1c], 0x4008
je 0x42eb4c
jmp 0x42ee29
push 1
lea eax, [ebp - 0x2258]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00422990
mov dword [ebp - 0x10], eax
jmp 0x42ee29
lea edx, [ebp - 0x2258]
push edx
call fcn.004bb901
add esp, 4
add eax, 2
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x258]
call fcn.0042dcc0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x258]
call fcn.0042eea0
lea ecx, [ebp - 0x258]
call fcn.0042e340
test eax, eax
je 0x42ec58
lea ecx, [ebp - 0x258]
call fcn.0042e340
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x2258]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
test eax, eax
je 0x42ec22
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x42ebf9
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx]
cmp edx, 0x30
jne 0x42ebf9
xor eax, eax
mov ecx, dword [ebp - 8]
mov word [ecx], ax
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0xc], eax
jmp 0x42ec17
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, 2
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x42ebac
xor ecx, ecx
mov edx, dword [ebp - 8]
mov word [edx], cx
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov word [edx], cx
lea ecx, [ebp - 0x258]
call fcn.0042e340
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00431ca0
mov dword [ebp - 0x10], eax
jmp 0x42ec5f
mov dword [ebp - 0x10], 0xe
lea ecx, [ebp - 0x258]
call fcn.0042e0f0
jmp 0x42ee29
call fcn.00414ee0
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x28]
call fcn.0042dbb0
push 0x400
lea ecx, [ebp - 0x2258]
push ecx
call fcn.00431f20
add esp, 8
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x44]
push edx
push 0
push 0
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42ecc7
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x28]
call fcn.0042e010
mov eax, dword [ebp - 0x40]
jmp 0x42ee60
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00431c50
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
call fcn.0042e010
jmp 0x42ee29
lea ecx, [ebp - 0x2258]
push ecx
call fcn.004bb901
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
and edx, 1
je 0x42ed13
mov eax, 0x80004005
jmp 0x42ee60
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x154]
call fcn.0042dca0
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x154]
call fcn.0042ee70
lea ecx, [ebp - 0x154]
call fcn.0042e330
test eax, eax
jne 0x42ed61
mov dword [ebp - 0x48], 0x80004005
lea ecx, [ebp - 0x154]
call fcn.0042e0d0
mov eax, dword [ebp - 0x48]
jmp 0x42ee60
mov ecx, dword [ebp - 0x30]
push ecx
push 0
lea ecx, [ebp - 0x154]
call fcn.0042e330
push eax
call fcn.0049ed70
add esp, 0xc
mov dword [ebp - 0x14], 0
jmp 0x42ed8d
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
jge 0x42ede7
lea ecx, [ebp - 0x154]
call fcn.0042e330
mov ecx, eax
mov eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [ebp + edx*2 - 0x2258]
push eax
call fcn.0042f370
add esp, 4
movzx edx, al
mov eax, dword [ebp - 0x14]
and eax, 1
mov ecx, 1
sub ecx, eax
shl ecx, 2
shl edx, cl
mov ecx, dword [ebp - 0x38]
movzx eax, byte [ecx]
or eax, edx
mov ecx, dword [ebp - 0x38]
mov byte [ecx], al
jmp 0x42ed84
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x154]
call fcn.0042e330
push eax
push 3
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0042e360
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x154]
call fcn.0042e0d0
jmp 0x42ee29
cmp dword [ebp - 0x10], 0
je 0x42ee44
mov dword [ebp - 0x4c], 0x204
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042f260
add esp, 4
jmp 0x42ee60
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.004302c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42ee5e
mov eax, dword [ebp - 4]
jmp 0x42ee60
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc