Function at 0x42db00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2258
call fcn.00472110
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.0042f610
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42db44
mov eax, dword [ebp - 4]
jmp 0x42df00
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2258]
push eax
call fcn.00431af0
add esp, 8
test eax, eax
jne 0x42db6d
push 0x20f
mov ecx, dword [ebp - 0x20]
call fcn.0042ed10
jmp 0x42df00
mov ecx, dword [ebp - 0x20]
call fcn.00431180
lea ecx, [ebp - 0x2258]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0042f610
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42db95
mov eax, dword [ebp - 4]
jmp 0x42df00
movzx edx, word [ebp - 0x18]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x13
jg 0x42dbc1
cmp dword [ebp - 0x1c], 0x13
je 0x42dd0f
cmp dword [ebp - 0x1c], 8
je 0x42dbcf
cmp dword [ebp - 0x1c], 0x11
je 0x42dd8f
jmp 0x42dec9
cmp dword [ebp - 0x1c], 0x4008
je 0x42dbec
jmp 0x42dec9
push 1
lea eax, [ebp - 0x2258]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00431090
mov dword [ebp - 0x10], eax
jmp 0x42dec9
lea edx, [ebp - 0x2258]
push edx
call fcn.00553b5f
add esp, 4
add eax, 2
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x258]
call fcn.0042c790
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x258]
call fcn.0042df40
lea ecx, [ebp - 0x258]
call fcn.0042cf20
test eax, eax
je 0x42dcf8
lea ecx, [ebp - 0x258]
call fcn.0042cf20
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 0x42dcc2
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 0x42dc99
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx]
cmp edx, 0x30
jne 0x42dc99
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 0x42dcb7
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 0x42dc4c
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.0042cf20
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00430ff0
mov dword [ebp - 0x10], eax
jmp 0x42dcff
mov dword [ebp - 0x10], 0xe
lea ecx, [ebp - 0x258]
call fcn.0042cc20
jmp 0x42dec9
call fcn.004176f0
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x28]
call fcn.0042c660
push 0x400
lea ecx, [ebp - 0x2258]
push ecx
call fcn.00431350
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 0x42dd67
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x28]
call fcn.0042cb40
mov eax, dword [ebp - 0x40]
jmp 0x42df00
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00430fa0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
call fcn.0042cb40
jmp 0x42dec9
lea ecx, [ebp - 0x2258]
push ecx
call fcn.00553b5f
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
and edx, 1
je 0x42ddb3
mov eax, 0x80004005
jmp 0x42df00
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x154]
call fcn.0042c770
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x154]
call fcn.0042df10
lea ecx, [ebp - 0x154]
call fcn.0042cf10
test eax, eax
jne 0x42de01
mov dword [ebp - 0x48], 0x80004005
lea ecx, [ebp - 0x154]
call fcn.0042cc00
mov eax, dword [ebp - 0x48]
jmp 0x42df00
mov ecx, dword [ebp - 0x30]
push ecx
push 0
lea ecx, [ebp - 0x154]
call fcn.0042cf10
push eax
call fcn.00537020
add esp, 0xc
mov dword [ebp - 0x14], 0
jmp 0x42de2d
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
jge 0x42de87
lea ecx, [ebp - 0x154]
call fcn.0042cf10
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.0042e430
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 0x42de24
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x154]
call fcn.0042cf10
push eax
push 3
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0042cf40
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x154]
call fcn.0042cc00
jmp 0x42dec9
cmp dword [ebp - 0x10], 0
je 0x42dee4
mov dword [ebp - 0x4c], 0x204
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042e320
add esp, 4
jmp 0x42df00
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.0042f610
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42defe
mov eax, dword [ebp - 4]
jmp 0x42df00
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc