Function at 0x404434
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x40c058]
and dword [ebp - 0x70], 0
push esi
push edi
mov edi, dword [ebp + 0x1a8]
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1b4]
push edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], eax
call fcn.0040400e
mov esi, eax
test esi, esi
jge 0x404480
lea ecx, [ebp - 0x70]
call fcn.00404a3d
mov eax, esi
jmp 0x40498f
push ebx
jmp 0x4045c1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x40140c
push edi
mov dword [ebp - 0x78], 1
call esi
mov ebx, eax
neg ebx
push 0x401420
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x4044b6
test ebx, ebx
je 0x4045e4
mov ecx, dword [ebp - 0x74]
push edi
call fcn.0040400e
mov esi, eax
test esi, esi
jl 0x40497d
cmp dword [ebp + 0x1b0], 0
je 0x4045e4
and dword [ebp + 0x1a8], 0
mov cl, byte [edi]
mov eax, edi
jmp 0x4044f1
cmp cl, 0x5c
je 0x4044f7
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x4044e3
jmp 0x4044ff
test eax, eax
jne 0x4049a6
mov esi, 0x40133c
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40453b
add esi, 4
cmp esi, 0x40136c
jl 0x404504
mov eax, dword [ebp + 0x1ac]
push edi
lea ecx, [ebp + 0x1a8]
mov dword [ebp + 0x1a8], eax
call fcn.00404b1e
and dword [ebp + 0x1a8], 0
test ebx, ebx
je 0x4045cf
mov ecx, dword [ebp - 0x74]
push edi
call fcn.0040400e
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x4049e0
mov ecx, dword [ebp - 0x74]
push edi
call fcn.00404abe
mov esi, eax
cmp esi, ebx
jl 0x4049e0
cmp dword [ebp + 0x1a8], ebx
je 0x40457f
push dword [ebp + 0x1a8]
call dword [entry0]
cmp byte [edi], 0x7b
jne 0x4045c1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x4045c1
mov ecx, dword [ebp - 0x74]
push 0
push dword [ebp + 0x1b0]
push dword [ebp - 0x70]
push edi
call fcn.00404434
mov esi, eax
test esi, esi
jl 0x40497d
mov ecx, dword [ebp - 0x74]
push edi
call fcn.0040400e
mov esi, eax
test esi, esi
jl 0x40497d
cmp byte [edi], 0x7d
jne 0x404486
jmp 0x40497d
cmp dword [ebp + 0x1a8], 0
je 0x4045e4
push dword [ebp + 0x1a8]
call dword [entry0]
push 0x401414
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40460a
mov ecx, dword [ebp - 0x74]
and dword [ebp - 0x78], eax
push edi
call fcn.0040400e
mov esi, eax
test esi, esi
jl 0x40497d
push 0x40142c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404704
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040400e
mov esi, eax
test esi, esi
jl 0x40497d
mov ecx, dword [ebp - 0x74]
push edi
call fcn.0040400e
mov esi, eax
test esi, esi
jl 0x40497d
cmp byte [edi], 0x3d
jne 0x4049f6
xor ebx, ebx
cmp dword [ebp + 0x1b0], ebx
je 0x40468f
mov eax, dword [ebp + 0x1ac]
mov ecx, dword [ebp - 0x74]
mov dword [ebp + 0x1a8], eax
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1a8]
push eax
call fcn.00404bc9
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x1a8], ebx
jl 0x404a05
jmp 0x40457f
cmp dword [ebp + 0x1b4], ebx
jne 0x4046f2
cmp dword [ebp - 0x78], ebx
je 0x4046f2
push 0x20006
push ebx
push dword [ebp + 0x1ac]
lea ecx, [ebp + 0x1a8]
mov dword [ebp + 0x1a8], ebx
call fcn.00404a54
cmp eax, ebx
jne 0x4049d7
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x4046de
cmp eax, 2
jne 0x4049d7
cmp dword [ebp + 0x1a8], ebx
je 0x4046f2
push dword [ebp + 0x1a8]
call dword [entry0]
mov ecx, dword [ebp - 0x74]
push edi
call fcn.00404abe
mov esi, eax
cmp esi, ebx
jmp 0x4045bb
mov cl, byte [edi]
mov eax, edi
jmp 0x404718
cmp cl, 0x5c
je 0x40471e
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x40470a
jmp 0x404726
test eax, eax
jne 0x4049f6
xor esi, esi
cmp dword [ebp + 0x1b0], esi
je 0x4047e4
mov esi, 0x2001f
push esi
push edi
push dword [ebp + 0x1ac]
lea ecx, [ebp - 0x70]
call fcn.00404a54
test eax, eax
je 0x4047aa
push 0x20019
push edi
push dword [ebp + 0x1ac]
lea ecx, [ebp - 0x70]
call fcn.00404a54
test eax, eax
je 0x4047aa
lea eax, [ebp - 0x80]
push eax
xor ebx, ebx
lea eax, [ebp - 0x78]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x1ac]
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4049fc
xor eax, eax
cmp dword [ebp - 0x70], ebx
je 0x40479c
push dword [ebp - 0x70]
call dword [entry0]
cmp eax, ebx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x70], ecx
jne 0x4049fc
mov ecx, dword [ebp - 0x74]
push edi
call fcn.0040400e
mov esi, eax
test esi, esi
jl 0x40497d
cmp byte [edi], 0x3d
jne 0x40457f
mov ecx, dword [ebp - 0x74]
push edi
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.00404bc9
mov esi, eax
test esi, esi
jl 0x40497d
jmp 0x40457f
cmp dword [ebp + 0x1b4], esi
jne 0x404808
push 0x20019
push edi
push dword [ebp + 0x1ac]
lea ecx, [ebp - 0x70]
call fcn.00404a54
mov dword [ebp + 0x1a8], eax
jmp 0x404812
mov dword [ebp + 0x1a8], 2
cmp dword [ebp + 0x1a8], esi
je 0x404824
mov dword [ebp + 0x1b4], 1
push 0x104
push edi
lea eax, [ebp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ebx, dword [ebp - 0x74]
push edi
mov ecx, ebx
call fcn.0040400e
mov esi, eax
test esi, esi
jl 0x40497d
push edi
mov ecx, ebx
call fcn.00404abe
mov esi, eax
test esi, esi
jl 0x40497d
cmp byte [edi], 0x7b
jne 0x4048a7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x4048a7
push dword [ebp + 0x1b4]
mov ecx, ebx
push 0
push dword [ebp - 0x70]
push edi
call fcn.00404434
mov esi, eax
test esi, esi
jge 0x404895
cmp dword [ebp + 0x1b4], 0
je 0x40497d
push edi
mov ecx, ebx
call fcn.0040400e
mov esi, eax
test esi, esi
jl 0x40497d
cmp dword [ebp + 0x1a8], 2
mov eax, dword [ebp - 0x7c]
mov dword [ebp + 0x1b4], eax
je 0x4045c1
xor ebx, ebx
cmp dword [ebp + 0x1a8], ebx
je 0x4048da
cmp eax, ebx
jne 0x4045c1
mov ecx, dword [ebp + 0x1a8]
jmp 0x404976
cmp dword [ebp - 0x7c], ebx
je 0x404933
push dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
call fcn.00404a89
test eax, eax
je 0x404933
mov ebx, 0x40133c
push dword [ebx]
lea eax, [ebp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4045c1
add ebx, 4
cmp ebx, 0x40136c
jl 0x4048f3
cmp dword [ebp - 0x78], 0
je 0x4045c1
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp - 0x70]
call fcn.00404b1e
jmp 0x4045c1
cmp dword [ebp - 0x70], ebx
je 0x40494f
push dword [ebp - 0x70]
mov ebx, dword [entry0]
call ebx
and dword [ebp - 0x70], 0
test eax, eax
jne 0x404a0d
cmp dword [ebp - 0x78], 0
je 0x4045c1
lea eax, [ebp + 0x98]
push eax
push dword [ebp + 0x1ac]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x4045c1
mov ecx, eax
call fcn.00404a2a
mov esi, eax
cmp dword [ebp - 0x70], 0
je 0x40498c
push dword [ebp - 0x70]
call dword [entry0]
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
call fcn.0040a1ae
add ebp, 0x1a0
leave
ret 0x10
xor esi, esi
cmp dword [ebp + 0x1a8], esi
je 0x4049c2
push dword [ebp + 0x1a8]
call dword [entry0]
mov dword [ebp + 0x1a8], esi
cmp dword [ebp - 0x70], esi
je 0x4049d0
push dword [ebp - 0x70]
call dword [entry0]
mov eax, 0x80020009
jmp 0x40498e
mov ecx, eax
call fcn.00404a2a
mov esi, eax
cmp dword [ebp + 0x1a8], ebx
je 0x40497d
push dword [ebp + 0x1a8]
call dword [entry0]
jmp 0x40497d
cmp dword [ebp - 0x70], 0
jmp 0x4049c5
mov ecx, eax
call fcn.00404a2a
mov esi, eax
cmp dword [ebp - 0x70], ebx
jmp 0x404981
mov ecx, eax
call fcn.00404a2a
cmp dword [ebp - 0x70], 0
mov esi, eax
je 0x40498c
push dword [ebp - 0x70]
call ebx
jmp 0x40498c