Function at 0x404240
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.00407240
push 0xffffffffffffffff
push 0x40e798
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x416188]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp + 0x2220]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x2214]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4042f1
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a60
mov eax, dword [ebp - 0xb0]
jmp 0x404c39
mov eax, dword [ebp + 0x2214]
movzx ecx, word [eax]
cmp ecx, 0x7d
je 0x404c1b
mov dword [ebp - 0x2c], 1
mov edx, dword [0x40f2b0]
push edx
mov eax, dword [ebp + 0x2214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40432b
mov dword [ebp - 0x58], 1
jmp 0x404332
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov edx, dword [0x40f27c]
push edx
mov eax, dword [ebp + 0x2214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40435a
cmp dword [ebp - 0x5c], 0
je 0x404534
mov ecx, dword [ebp + 0x2214]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x404377
jmp 0x404c1b
cmp dword [ebp + 0x221c], 0
je 0x404534
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x2214]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x28], 0
jne 0x4043bc
mov dword [ebp - 0x60], 0
jmp 0x4043f5
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
test ecx, ecx
je 0x4043ef
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
mov ecx, 0x5c
movzx edx, cx
cmp eax, edx
jne 0x4043e0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
jmp 0x4043ef
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x28], eax
jmp 0x4043bc
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0
je 0x40442b
mov dword [ebp - 0x98], 0x80020009
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402a60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a60
mov eax, dword [ebp - 0x98]
jmp 0x404c39
mov dword [ebp - 0x44], 0
jmp 0x40443d
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xc
jge 0x40446a
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx*4 + 0x40f2c4]
push edx
mov eax, dword [ebp + 0x2214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404468
mov dword [ebp - 0x68], 0
jmp 0x404471
jmp 0x404434
mov dword [ebp - 0x68], 1
cmp dword [ebp - 0x68], 0
je 0x4044bf
xor ecx, ecx
jne 0x404477
mov edx, dword [ebp + 0x2218]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 0x2214]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403b40
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x5c], 0
je 0x404528
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4044ee
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402a60
jmp 0x404c1b
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00405120
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x404517
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402a60
jmp 0x404c1b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402a60
jmp 0x404b72
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402a60
mov ecx, dword [0x40f298]
push ecx
mov edx, dword [ebp + 0x2214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404570
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x404570
jmp 0x404c1b
mov ecx, dword [0x40f270]
push ecx
mov edx, dword [ebp + 0x2214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404789
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4045a6
jmp 0x404c1b
mov ecx, dword [ebp + 0x2214]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4045c3
jmp 0x404c1b
mov edx, dword [ebp + 0x2214]
movzx eax, word [edx]
cmp eax, 0x3d
je 0x4045f5
mov dword [ebp - 0xa0], 0x80020009
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a60
mov eax, dword [ebp - 0xa0]
jmp 0x404c39
cmp dword [ebp + 0x221c], 0
je 0x4046b9
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
xor ecx, ecx
jne 0x40461b
mov edx, dword [ebp + 0x2218]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 0x2214]
push eax
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00401c80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x10], 0
jge 0x4046a3
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00402a60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a60
mov eax, dword [ebp - 0xa8]
jmp 0x404c39
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00402a60
jmp 0x404b72
cmp dword [ebp + 0x2220], 0
jne 0x404767
cmp dword [ebp - 0x2c], 0
je 0x404767
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
push 0x20006
push 0
mov edx, dword [ebp + 0x2218]
push edx
lea ecx, [ebp - 0x74]
call fcn.004034c0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x404743
xor eax, eax
jne 0x404704
lea ecx, [ebp]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x404741
cmp dword [ebp - 0x14], 2
je 0x404741
mov eax, dword [ebp - 0x14]
push eax
call fcn.004027c0
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x74]
call fcn.00402a60
jmp 0x404c1b
jmp 0x40475f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004027c0
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x74]
call fcn.00402a60
jmp 0x404c1b
lea ecx, [ebp - 0x74]
call fcn.00402a60
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00405120
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x404784
jmp 0x404c1b
jmp 0x4042f1
push 0x5c
mov eax, dword [ebp + 0x2214]
push eax
call fcn.00405260
add esp, 8
test eax, eax
je 0x4047c2
mov dword [ebp - 0x84], 0x80020009
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a60
mov eax, dword [ebp - 0x84]
jmp 0x404c39
cmp dword [ebp + 0x221c], 0
je 0x4048c2
push 0x2001f
mov ecx, dword [ebp + 0x2214]
push ecx
mov edx, dword [ebp + 0x2218]
push edx
lea ecx, [ebp - 0x24]
call fcn.004034c0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40486f
push 0x20019
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp + 0x2218]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004034c0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40486f
push 0
push 0
push 0x2001f
push 0
push 0
mov edx, dword [ebp + 0x2214]
push edx
mov eax, dword [ebp + 0x2218]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402ab0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40486f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004027c0
add esp, 4
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a60
mov eax, dword [ebp - 0xb8]
jmp 0x404c39
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x40488c
jmp 0x404c1b
mov eax, dword [ebp + 0x2214]
movzx ecx, word [eax]
cmp ecx, 0x3d
jne 0x4048bd
mov edx, dword [ebp + 0x2214]
push edx
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00401c80
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4048bd
jmp 0x404c1b
jmp 0x404b72
cmp dword [ebp + 0x2220], 0
jne 0x4048eb
push 0x20019
mov ecx, dword [ebp + 0x2214]
push ecx
mov edx, dword [ebp + 0x2218]
push edx
lea ecx, [ebp - 0x24]
call fcn.004034c0
mov dword [ebp - 0x14], eax
jmp 0x4048f2
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], 0
je 0x404902
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
mov eax, dword [ebp + 0x2214]
push eax
push 0x104
lea ecx, [ebp + 0x2000]
push ecx
call fcn.00406a97
add esp, 0x10
push eax
call fcn.004026d0
add esp, 4
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x404945
jmp 0x404c1b
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00405120
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x404962
jmp 0x404c1b
mov ecx, dword [ebp + 0x2214]
movzx edx, word [ecx]
cmp edx, 0x7b
jne 0x404a0d
mov eax, dword [ebp + 0x2214]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x30]
mov ax, word [edx]
mov word [ebp - 0x52], ax
add dword [ebp - 0x30], 2
cmp word [ebp - 0x52], 0
jne 0x404989
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xc0]
sar ecx, 1
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 1
jne 0x404a0d
mov edx, dword [ebp + 0x2220]
push edx
mov eax, dword [ebp + 0x221c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00404240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4049f0
cmp dword [ebp + 0x2220], 0
jne 0x4049f0
jmp 0x404c1b
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x404a0d
jmp 0x404c1b
mov ecx, dword [ebp - 0x90]
mov dword [ebp + 0x2220], ecx
cmp dword [ebp - 0x14], 2
jne 0x404a24
jmp 0x4042f1
cmp dword [ebp - 0x14], 0
je 0x404a4e
cmp dword [ebp + 0x2220], 0
je 0x404a3a
jmp 0x4042f1
mov edx, dword [ebp - 0x14]
push edx
call fcn.004027c0
add esp, 4
mov dword [ebp - 0x10], eax
jmp 0x404c1b
cmp dword [ebp + 0x2220], 0
je 0x404aa0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00402ec0
test eax, eax
je 0x404aa0
lea edx, [ebp + 0x2000]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00402860
test eax, eax
je 0x404a9b
cmp dword [ebp - 0x2c], 0
je 0x404a9b
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.00403b40
jmp 0x4042f1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00402ec0
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x24]
call fcn.00402a60
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x404afb
mov eax, dword [ebp - 0x14]
push eax
call fcn.004027c0
add esp, 4
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a60
mov eax, dword [ebp - 0xac]
jmp 0x404c39
cmp dword [ebp - 0x2c], 0
je 0x404b72
cmp dword [ebp - 0x9c], 0
jne 0x404b72
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp + 0x2218]
push ecx
lea ecx, [ebp - 0x80]
call fcn.00402830
lea edx, [ebp + 0x2000]
push edx
lea ecx, [ebp - 0x80]
call fcn.00402ba0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x80]
call fcn.00402c50
cmp dword [ebp - 0x14], 0
je 0x404b6a
mov eax, dword [ebp - 0x14]
push eax
call fcn.004027c0
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x80]
call fcn.00402a60
jmp 0x404c1b
lea ecx, [ebp - 0x80]
call fcn.00402a60
cmp dword [ebp + 0x221c], 0
je 0x404c16
mov ecx, dword [ebp + 0x2214]
movzx edx, word [ecx]
cmp edx, 0x7b
jne 0x404c16
mov eax, dword [ebp + 0x2214]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x34]
mov ax, word [edx]
mov word [ebp - 0x54], ax
add dword [ebp - 0x34], 2
cmp word [ebp - 0x54], 0
jne 0x404ba6
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0xbc]
sar ecx, 1
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], 1
jne 0x404c16
push 0
mov edx, dword [ebp + 0x221c]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x2214]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00404240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x404bfc
jmp 0x404c1b
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403240
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x404c16
jmp 0x404c1b
jmp 0x4042f1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a60
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.00406dec
add ebp, 0x220c
mov esp, ebp
pop ebp
ret 0x10