Function at 0x403d70
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.00408790
push 0xffffffffffffffff
push 0x41b5e0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x42a094]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x40438d
cmp word [edi], 0x7d
je 0x40437d
lea esp, [esp]
push str.Delete
push edi
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x41c678
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x403e30
test ebx, ebx
je 0x403f1e
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x40437d
cmp dword [ebp + 0x221c], 0
je 0x403f1e
movzx eax, word [edi]
mov ecx, edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
test ax, ax
je 0x403e91
nop
cmp ax, 0x5c
je 0x403e89
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x403e70
jmp 0x403e91
test ecx, ecx
jne 0x404325
mov esi, 0x41c710
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x403ee0
add esi, 4
cmp esi, 0x41c740
jl 0x403e96
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00403940
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x403f17
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push edi
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x404334
push edi
mov ecx, ebx
call fcn.00405910
mov esi, eax
test esi, esi
js 0x404334
mov dword [ebp - 0x2c], 0
jmp 0x404126
mov dword [ebp - 0x2c], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x10]
test eax, eax
jne 0x403f46
push edi
mov ecx, ebx
mov dword [ebp - 0x24], eax
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x40437d
push 0x41c670
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404074
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x40437d
push edi
mov ecx, ebx
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x40437d
cmp word [edi], 0x3d
jne 0x40432d
cmp dword [ebp + 0x221c], 0
je 0x403feb
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov dword [ebp - 0x40], eax
lea eax, [ebp]
push edi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.00401d40
mov esi, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
test esi, esi
js 0x40433e
mov byte [ebp - 4], 0
mov dword [ebp - 0x3c], 0
jmp 0x404126
cmp dword [ebp + 0x2220], 0
jne 0x40405d
cmp dword [ebp - 0x24], 0
je 0x40405d
push 0x20006
push 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.004034c0
test eax, eax
jne 0x404348
mov esi, dword [ebp - 0x4c]
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x404044
cmp eax, 2
jne 0x404348
test esi, esi
je 0x404056
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
push edi
mov ecx, ebx
call fcn.00405910
mov esi, eax
test esi, esi
js 0x40437d
jmp 0x404319
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x4040a1
mov edi, edi
cmp ax, 0x5c
je 0x404099
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x404080
jmp 0x4040a1
test ecx, ecx
jne 0x40432d
cmp dword [ebp + 0x221c], 0
je 0x404181
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push 0x2001f
push edi
push esi
call fcn.004034c0
test eax, eax
je 0x4040f6
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.004034c0
test eax, eax
je 0x4040f6
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.00402860
test eax, eax
jne 0x404372
push edi
mov ecx, ebx
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x40437d
cmp word [edi], 0x3d
jne 0x404126
push edi
push 0
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00401d40
mov esi, eax
test esi, esi
js 0x40437d
cmp word [edi], 0x7b
jne 0x404319
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404135
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x404319
push 0
push dword [ebp + 0x221c]
mov ecx, ebx
push dword [ebp - 0x20]
push edi
call fcn.00403d70
mov esi, eax
test esi, esi
js 0x40437d
push edi
mov ecx, ebx
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x40437d
jmp 0x404319
mov esi, dword [ebp + 0x2220]
test esi, esi
jne 0x4041a0
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.004034c0
mov ebx, eax
jmp 0x4041a5
mov ebx, 2
mov dword [ebp - 0x34], esi
test ebx, ebx
je 0x4041b3
mov dword [ebp - 0x34], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.0040c735
push eax
call fcn.00402440
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x40437d
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00405910
mov esi, eax
test esi, esi
js 0x40437d
cmp word [edi], 0x7b
jne 0x404249
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404201
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x404249
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x20]
push edi
call fcn.00403d70
mov esi, eax
test esi, esi
jns 0x404236
cmp dword [ebp - 0x34], 0
je 0x40437d
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004032e0
mov esi, eax
test esi, esi
js 0x40437d
cmp ebx, 2
je 0x404319
test ebx, ebx
je 0x404269
cmp dword [ebp + 0x2220], 0
jne 0x404319
push ebx
jmp 0x404373
cmp dword [ebp + 0x2220], 0
mov ebx, dword [ebp - 0x10]
je 0x4042b0
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.00403010
test eax, eax
je 0x4042b0
lea eax, [ebp + 0x2000]
mov ecx, ebx
push eax
call fcn.00402640
test eax, eax
je 0x404319
cmp dword [ebp - 0x24], 0
je 0x404319
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x20]
call fcn.00403940
jmp 0x404319
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.00403010
mov ecx, dword [ebp - 0x20]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x4042d1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
test eax, eax
jne 0x404372
cmp dword [ebp - 0x24], eax
je 0x404319
test ebx, ebx
jne 0x404319
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x2000]
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call fcn.00402950
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
test eax, eax
jne 0x40435d
lea ecx, [ebp - 0x58]
call fcn.00401830
cmp word [edi], 0x7d
jne 0x403e00
jmp 0x40437d
lea ecx, [ebp - 0x30]
call fcn.00401830
mov esi, 0x80020009
jmp 0x40437d
lea ecx, [ebp - 0x30]
call fcn.00401830
jmp 0x40437d
lea ecx, [ebp - 0x40]
call fcn.00401830
jmp 0x40437d
push eax
call fcn.00402500
add esp, 4
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.00401830
jmp 0x40437d
push eax
call fcn.00402500
add esp, 4
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00401830
jmp 0x40437d
push eax
call fcn.00402500
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40438b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.0040874b
lea esp, [ebp + 0x220c]
pop ebp
ret 0x10