Function at 0x426411
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x42b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x424]
push ebx
push eax
push ebx
mov edi, 0x20006
mov dword [ebp - 0x420], ebx
push edi
push ebx
push ebx
push ebx
push 0x403130
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x424], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x427678
push esi
xor edx, edx
lea ecx, [ebp - 0x414]
push 0x103
inc edx
call fcn.00425381
mov esi, 0x104
test eax, eax
je 0x426524
lea eax, [ebp - 0x414]
test eax, eax
je 0x42649e
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push ecx
lea eax, [ebp - 0x428]
mov edx, esi
push eax
lea ecx, [ebp - 0x414]
call fcn.00418514
test eax, eax
js 0x426524
mov eax, dword [ebp - 0x428]
mov edx, esi
push ecx
push 0x4011e8
push ecx
lea ecx, [ebp - 0x414]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.00418577
test eax, eax
js 0x426524
lea ecx, [ebp - 0x414]
call fcn.00425077
test eax, eax
je 0x426524
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4264f2
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x414]
push eax
push 1
push ebx
push 0x403118
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
lea eax, [ebp - 0x41c]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push 0x403074
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x426ada
mov edi, ebx
mov eax, dword [edi + 0x42b310]
test eax, eax
je 0x426ab8
push eax
mov edx, 0x103
lea ecx, [ebp - 0x20c]
call fcn.00418392
test eax, eax
js 0x426ab8
lea esi, [ebp - 0x20c]
push 0x409338
mov eax, esi
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x426597
xor eax, eax
mov word [ebx], ax
add ebx, 2
xor ecx, ecx
lea eax, [ebp - 0x418]
push ecx
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x426a8d
mov edx, dword [edi + 0x42b314]
test edx, edx
je 0x426602
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x4265ce
sub ecx, esi
xor esi, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push esi
push 0x4030a4
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x426604
xor esi, esi
lea eax, [edi + 0x42b34c]
cmp dword [eax], 0
je 0x42662b
cmp dword [eax], 0xffffffff
je 0x42662b
push 4
push eax
push 4
push esi
push 0x409360
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [edi + 0x42b350]
cmp dword [eax], 0
je 0x426652
cmp dword [eax], 0xffffffff
je 0x426652
push 4
push eax
push 4
push esi
push 0x409370
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [edi + 0x42b354]
test edx, edx
je 0x426693
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426661
sub ecx, esi
xor esi, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push esi
push 0x404418
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [edi + 0x42b318]
test eax, eax
je 0x42675b
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
push dword [0x42c790]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x42675b
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4266cb
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push 0x4065ec
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [edi + 0x42b318]
lea eax, [ebp - 0x20c]
push 0x406840
push 0x103
push eax
call fcn.00418481
add esp, 0x10
test eax, eax
js 0x42675b
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x426729
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push 0x406618
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [edi + 0x42b348]
test ecx, ecx
je 0x4267b1
push esi
push ecx
lea edx, [ebp - 0x20c]
call fcn.0042834b
test eax, eax
js 0x4267b1
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x42677f
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push 0x4065cc
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [edi + 0x42b31c]
test edx, edx
je 0x4267f4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x4267c0
sub ecx, esi
xor esi, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push esi
push 0x406650
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x426805
push 0x406650
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [edi + 0x42b320]
test edx, edx
je 0x426834
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426814
sub ecx, esi
sar ecx, 1
xor esi, esi
lea eax, [ecx*2 + 2]
push eax
push edx
jmp 0x42683b
push 8
push 0x403f1c
push 1
push esi
push 0x403f24
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [edi + 0x42b324]
test eax, eax
je 0x4268b1
push 0x404488
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x426874
push 0x14
push 0x40444c
jmp 0x42689d
mov edx, dword [edi + 0x42b324]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x42687f
sub ecx, esi
sar ecx, 1
xor esi, esi
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push esi
push 0x406594
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [edi + 0x42b338]
test edx, edx
je 0x4268f2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x4268c0
sub ecx, esi
xor esi, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push esi
push 0x401058
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [edi + 0x42b328]
test edx, edx
je 0x426933
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426901
sub ecx, esi
xor esi, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push esi
push 0x40653c
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [edi + 0x42b32c]
test edx, edx
je 0x426974
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426942
sub ecx, esi
xor esi, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push esi
push 0x409388
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [edi + 0x42b334]
test edx, edx
je 0x4269b5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426983
sub ecx, esi
xor esi, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push esi
push 0x406670
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [edi + 0x42b330]
test eax, eax
je 0x426a17
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
push dword [0x42c790]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x426a17
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4269e5
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push 0x4093b0
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [edi + 0x42b344]
test ecx, ecx
je 0x426a70
push 1
push ecx
lea edx, [ebp - 0x20c]
call fcn.0042834b
test eax, eax
js 0x426a81
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x426a3c
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x426a81
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [edi + 0x42b310]
mov edx, 0x103
lea ecx, [ebp - 0x20c]
mov esi, ebx
call fcn.00418392
test eax, eax
js 0x426ab8
test ebx, ebx
je 0x426ab8
push 0x409338
push ebx
jmp 0x426581
add edi, 0x48
cmp edi, 0xa68
jb 0x42654c
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov edi, 0x20006
push ebx
lea eax, [ebp - 0x41c]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push 0x406438
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x426dad
mov esi, ebx
mov eax, dword [esi + 0x42bea0]
test eax, eax
je 0x426d8b
push eax
mov edx, 0x103
lea ecx, [ebp - 0x20c]
call fcn.00418392
test eax, eax
js 0x426d8b
lea edi, [ebp - 0x20c]
push 0x409338
mov eax, edi
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x426b4d
xor eax, eax
mov word [ebx], ax
add ebx, 2
xor ecx, ecx
lea eax, [ebp - 0x418]
push ecx
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x426d60
mov edx, dword [esi + 0x42bea4]
test edx, edx
je 0x426bb8
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426b84
sub ecx, edi
xor edi, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push edi
push 0x4066f4
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x426bba
xor edi, edi
mov edx, dword [esi + 0x42bea8]
test edx, edx
je 0x426bfb
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426bc9
sub ecx, edi
xor edi, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push edi
push 0x40671c
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi + 0x42beac]
test edx, edx
je 0x426c3c
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426c0a
sub ecx, edi
xor edi, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push edi
push 0x4066d8
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi + 0x42beb4]
test edx, edx
je 0x426c6b
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426c4b
sub ecx, edi
sar ecx, 1
xor edi, edi
lea eax, [ecx*2 + 2]
push eax
push edx
jmp 0x426c72
push 8
push 0x403f1c
push 1
push edi
push 0x403f24
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi + 0x42beb0]
test edx, edx
je 0x426cc7
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x426c95
sub ecx, edi
xor edi, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push edi
push 0x401058
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esi + 0x42beb8]
test ecx, ecx
je 0x426d20
push 1
push ecx
lea edx, [ebp - 0x20c]
call fcn.0042834b
test eax, eax
js 0x426d31
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x426cec
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push edi
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x426d31
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [esi + 0x42bebc], edi
jne 0x426d54
push 6
push 0x4093e4
push 1
push edi
push 0x4093ec
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi + 0x42bea0]
mov edx, 0x103
lea ecx, [ebp - 0x20c]
mov edi, ebx
call fcn.00418392
test eax, eax
js 0x426d8b
test ebx, ebx
je 0x426d8b
push 0x409338
push ebx
jmp 0x426b37
add esi, 0x20
cmp esi, 0x420
jb 0x426b02
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov edi, 0x20006
push ebx
lea eax, [ebp - 0x41c]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push 0x406450
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x426fc2
mov eax, dword [0x42b2d0]
test eax, eax
je 0x426fb6
push eax
mov edx, 0x103
lea ecx, [ebp - 0x20c]
call fcn.00418392
test eax, eax
js 0x426fb6
lea edi, [ebp - 0x20c]
push 0x409338
mov eax, edi
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x426e1d
xor eax, eax
mov word [esi], ax
add esi, 2
push ebx
lea eax, [ebp - 0x418]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x426f86
mov edx, dword [0x42b2d4]
test edx, edx
je 0x426e7e
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x426e52
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push 0x406758
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [0x42b2d8]
test edx, edx
je 0x426eb9
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x426e8d
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push 0x404130
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [0x42b2dc]
test ecx, ecx
je 0x426f12
push 1
push ecx
lea edx, [ebp - 0x20c]
call fcn.0042834b
test eax, eax
js 0x426f23
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x426ede
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x426f23
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [0x42b2e0]
test ecx, ecx
je 0x426f7a
push 1
push ecx
lea edx, [ebp - 0x20c]
call fcn.0042834b
test eax, eax
js 0x426f7a
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x426f48
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push 0x4025d8
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x42b2d0]
mov edx, 0x103
lea ecx, [ebp - 0x20c]
mov edi, esi
call fcn.00418392
test eax, eax
js 0x426fb1
test esi, esi
je 0x426fb1
push 0x409338
push esi
jmp 0x426e07
mov edi, 0x20006
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0x41c]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push 0x406464
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4271ba
mov esi, ebx
mov eax, dword [esi + 0x42b2e4]
test eax, eax
je 0x4271a2
push ebx
lea ecx, [ebp - 0x418]
push ecx
push ebx
push edi
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4271a2
mov eax, dword [esi + 0x42b2e8]
test eax, eax
je 0x427078
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
push dword [0x42c790]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x427078
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42704a
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esi + 0x42b2ec]
test ecx, ecx
je 0x4270cf
push 1
push ecx
lea edx, [ebp - 0x20c]
call fcn.0042834b
test eax, eax
js 0x4270cf
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42709d
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push 0x4041c8
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi + 0x42b2f0]
test edx, edx
je 0x427111
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4270de
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push 0x403f24
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, 0x20006
jmp 0x42712c
push 8
push 0x403f1c
push 1
push ebx
push 0x403f24
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esi + 0x42b2f4]
test ecx, ecx
je 0x427185
push 1
push ecx
lea edx, [ebp - 0x20c]
call fcn.0042834b
test eax, eax
js 0x427196
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x427151
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x427196
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0x14
cmp esi, 0x28
jb 0x426fea
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0x41c]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push 0x409400
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42766b
push 0x40
mov esi, ebx
pop edi
mov eax, dword [esi + 0x42b010]
test eax, eax
je 0x427650
push ebx
lea ecx, [ebp - 0x418]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x427650
mov eax, dword [esi + 0x42b014]
test eax, eax
je 0x427374
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
push dword [0x42c790]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x427374
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x427251
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, 0x103
mov word [ebp - 0x20c], di
lea ecx, [ebp - 0x20a]
call fcn.00424ce1
test eax, eax
je 0x427374
push ecx
lea eax, [ebp - 0x428]
mov edi, 0x104
push eax
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.00418514
test eax, eax
js 0x427374
mov eax, dword [ebp - 0x428]
mov edx, edi
push ecx
push 0x406648
push ecx
lea ecx, [ebp - 0x20c]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.00418577
test eax, eax
js 0x427374
lea eax, [ebp - 0x20c]
push 0x2d
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x427374
lea ecx, [ebp - 0x20c]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x427307
push dword [esi + 0x42b014]
sub ecx, edi
mov eax, 0x103
sar ecx, 1
sub eax, ecx
push 0x406840
push eax
lea eax, [edx + 2]
push eax
call fcn.00418481
add esp, 0x10
test eax, eax
js 0x427374
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x427342
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push 0x40933c
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [esi + 0x42b018]
test edi, edi
je 0x4274d8
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [0x42c790]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x4274d8
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4273ac
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push 0x409410
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x40
pop eax
mov edx, 0x103
mov word [ebp - 0x20c], ax
lea ecx, [ebp - 0x20a]
call fcn.00424ce1
test eax, eax
je 0x4274d8
push ecx
lea eax, [ebp - 0x42c]
mov edx, 0x104
push eax
lea ecx, [ebp - 0x20c]
call fcn.00418514
test eax, eax
js 0x4274d8
mov eax, dword [ebp - 0x42c]
mov edx, 0x104
push ecx
push 0x406648
push ecx
lea ecx, [ebp - 0x20c]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.00418577
test eax, eax
js 0x4274d8
lea eax, [ebp - 0x20c]
push 0x2d
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x4274d8
lea ecx, [ebp - 0x20c]
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x420]
jne 0x42746a
sub ecx, ebx
mov eax, 0x103
push edi
sar ecx, 1
sub eax, ecx
push 0x406840
push eax
lea eax, [edx + 2]
push eax
call fcn.00418481
add esp, 0x10
xor ebx, ebx
test eax, eax
js 0x4274d8
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4274a6
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push 0x409428
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi + 0x42b01c]
test edx, edx
je 0x427513
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4274e7
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push 0x403074
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi + 0x42b020]
test edx, edx
je 0x42754e
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x427522
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push 0x406438
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi + 0x42b024]
test edx, edx
je 0x427589
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42755d
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push 0x406450
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi + 0x42b028]
test edx, edx
je 0x4275c6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x427598
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push 0x406464
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4275d7
push 0x406464
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esi + 0x42b02c]
test ecx, ecx
je 0x427630
push 1
push ecx
lea edx, [ebp - 0x20c]
call fcn.0042834b
test eax, eax
js 0x427641
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4275fc
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push ebx
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x427641
push 0x406578
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
pop edi
add esi, 0x20
cmp esi, 0x2c0
jb 0x4271e5
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00429770
mov esp, ebp
pop ebp
ret