Function at 0x403f20
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40f3c6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.0040d400
mov eax, dword [0x415060]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x415060]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov edx, dword [ebp + 0x14]
mov eax, ebx
mov edi, ecx
mov dword [esp + 0x2280], esi
mov dword [esp + 0x38], edx
call fcn.00403d70
mov edi, eax
cmp edi, esi
jl 0x404568
cmp word [ebx], 0x7d
je 0x404566
lea esp, [esp]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x41260c
push ebx
mov dword [esp + 0x3c], 1
call edi
neg eax
push 0x4125d8
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x403fdf
test esi, esi
je 0x404113
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.00403d70
mov edi, eax
test edi, edi
js 0x404557
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x404113
movzx ecx, word [ebx]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov eax, ebx
cmp cx, dx
je 0x404036
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x40402e
push eax
call edi
movzx ecx, word [eax]
test cx, cx
jne 0x40401b
jmp 0x404036
test eax, eax
jne 0x404535
mov edi, 0x4127d0
jmp 0x404040
mov eax, dword [edi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x404081
add edi, 4
cmp edi, 0x412800
jl 0x404040
mov ecx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x28], ecx
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00403ad0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
test esi, esi
je 0x40410b
mov esi, dword [esp + 0x10]
mov eax, ebx
mov edi, esi
call fcn.00403d70
mov edi, eax
test edi, edi
js 0x40454e
push ebx
mov ecx, esi
call fcn.00403960
mov edi, eax
test edi, edi
js 0x40454e
mov dword [esp + 0x2c], 0
cmp word [ebx], 0x7b
jne 0x4040fc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4040fc
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00403f20
mov edi, eax
test edi, edi
js 0x404557
mov eax, ebx
mov edi, esi
call fcn.00403d70
mov edi, eax
test edi, edi
js 0x404557
cmp word [ebx], 0x7d
jne 0x403fb0
jmp 0x404557
mov dword [esp + 0x2c], 0
push 0x4125f4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40413c
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, ebx
call fcn.00403d70
mov edi, eax
test edi, edi
js 0x404557
push 0x4125cc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40426b
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x26c]
call fcn.00403d70
mov edi, eax
test edi, edi
js 0x404557
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.00403d70
mov edi, eax
test edi, edi
js 0x404557
cmp word [ebx], 0x3d
jne 0x40453e
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4041eb
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x26c]
mov byte [esp + 0x2280], 1
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.00403430
mov edi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp edi, esi
jl 0x40458e
mov byte [esp + 0x2280], 0
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x10]
jmp 0x4040ba
cmp dword [ebp + 0x14], esi
jne 0x404252
cmp dword [esp + 0x34], esi
je 0x404252
mov edx, dword [esp + 0x24]
push esi
push edx
lea eax, [esp + 0x60]
push eax
mov eax, 0x20006
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.00403a10
cmp eax, esi
jne 0x4045a2
mov edi, dword [esp + 0x58]
lea ecx, [esp + 0x26c]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x40423f
cmp eax, 2
jne 0x4045a2
cmp edi, esi
je 0x40424e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov ecx, dword [esp + 0x10]
push ebx
call fcn.00403960
mov edi, eax
cmp edi, esi
jl 0x404557
jmp 0x4040fc
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x404294
cmp cx, 0x5c
je 0x40428c
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x404275
jmp 0x404294
test eax, eax
jne 0x40453e
cmp dword [ebp + 0x10], 0
je 0x404324
mov esi, dword [esp + 0x24]
push ebx
push esi
lea edx, [esp + 0x20]
push edx
mov eax, 0x2001f
call fcn.00403a10
test eax, eax
je 0x4042e4
push ebx
push esi
lea eax, [esp + 0x20]
push eax
mov eax, 0x20019
call fcn.00403a10
test eax, eax
je 0x4042e4
lea ecx, [esp + 0x18]
push ecx
mov eax, ebx
mov ecx, esi
call fcn.00403280
mov edi, eax
test edi, edi
jne 0x4045af
mov esi, dword [esp + 0x10]
mov eax, ebx
mov edi, esi
call fcn.00403d70
mov edi, eax
test edi, edi
js 0x404557
cmp word [ebx], 0x3d
jne 0x4040ba
push 0
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
mov edx, esi
call fcn.00403430
mov edi, eax
test edi, edi
js 0x404557
jmp 0x4040ba
cmp dword [ebp + 0x14], 0
jne 0x40437c
mov eax, dword [esp + 0x24]
push ebx
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, 0x20019
call fcn.00403a10
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x404350
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
push 0x104
push edx
call fcn.00405a31
add esp, 0x10
cmp eax, 0x50
ja case.0x404375.1
movzx eax, byte [eax + 0x404618]
jmp dword [eax*4 + 0x404608]
mov dword [esp + 0x14], 2
mov esi, dword [esp + 0x14]
jmp 0x404349
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.00403d70
mov edi, eax
test edi, edi
js 0x404557
mov ecx, dword [esp + 0x10]
push ebx
call fcn.00403960
mov edi, eax
test edi, edi
js 0x404557
cmp word [ebx], 0x7b
jne 0x404401
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x404401
mov esi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
push 0
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.00403f20
mov edi, eax
test edi, edi
jns 0x4043e8
test esi, esi
je 0x404557
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.00403d70
mov edi, eax
test edi, edi
js 0x404557
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x14], edx
cmp esi, 2
je 0x4040fc
test esi, esi
je 0x40442b
test edx, edx
jne 0x4040fc
mov eax, esi
call fcn.00403d60
mov edi, eax
jmp 0x404557
mov esi, dword [esp + 0x18]
test edx, edx
je 0x40446e
mov ecx, esi
call fcn.00403c20
test eax, eax
je 0x40446e
lea eax, [esp + 0x64]
push eax
call fcn.004039d0
test eax, eax
je 0x4040fc
cmp dword [esp + 0x34], 0
je 0x4040fc
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403ad0
jmp 0x4040fc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push esi
mov dword [esp + 0x44], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4044a4
mov dword [esp + 0x14], 0
jmp 0x4044b2
xor eax, eax
cmp eax, dword [esp + 0x14]
sbb eax, eax
neg eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x54], eax
test esi, esi
je 0x4044cf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x4045d5
cmp dword [esp + 0x34], eax
je 0x4040fc
cmp dword [esp + 0x14], eax
jne 0x4040fc
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x64]
xor esi, esi
push edx
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.00403c90
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp eax, esi
jne 0x4045ec
lea esi, [esp + 0x48]
call fcn.00403c70
jmp 0x4040fc
lea esi, [esp + 0x28]
call fcn.00403c70
lea esi, [esp + 0x18]
call fcn.00403c70
mov eax, 0x80020009
jmp 0x404568
lea esi, [esp + 0x28]
call fcn.00403c70
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404566
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.004058e8
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x3c]
call fcn.00403c70
lea esi, [esp + 0x18]
call fcn.00403c70
jmp 0x404566
call fcn.00403d60
mov edi, eax
lea esi, [esp + 0x58]
jmp 0x404552
lea esi, [esp + 0x18]
call fcn.00403c70
mov eax, edi
call fcn.00403d60
jmp 0x404568
push 0x8007000e
call fcn.00403890
push 0x80070057
call fcn.00403890
lea esi, [esp + 0x18]
call fcn.00403c70
mov eax, dword [esp + 0x54]
call fcn.00403d60
jmp 0x404568
call fcn.00403d60
mov edi, eax
lea esi, [esp + 0x48]
jmp 0x404552
push 0x80004005
call fcn.00403890
mov edi, edi
mov al, byte [ebx + 0x40]
add cl, al
inc ebp
inc eax
add bl, cl
inc ebp
inc eax
add ah, bh
inc ebp
inc eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3