Function at 0x40b2c6
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1154
call fcn.00415ad0
mov eax, dword [0x418010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x111c], 0
and dword [ebp - 0x1118], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1124], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x1134], eax
push edi
mov eax, ebx
mov dword [ebp - 0x1114], ecx
call fcn.0040b1c9
mov edi, eax
test edi, edi
jmp 0x40b865
mov edi, dword [fcn.004011d0]
push 0x40425c
push ebx
mov dword [ebp - 0x1130], 1
call edi
mov esi, eax
neg esi
push 0x404270
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x40b350
xor edi, edi
cmp esi, edi
je 0x40b414
mov ecx, dword [ebp - 0x1114]
mov eax, ebx
call fcn.0040b1c9
mov edi, eax
xor eax, eax
cmp edi, eax
jl 0x40b8bf
cmp dword [ebp + 0x10], eax
je 0x40b412
mov dword [ebp - 0x112c], eax
mov dword [ebp - 0x1128], eax
push 0x5c
mov eax, ebx
call fcn.0040a9b5
test eax, eax
jne 0x40b872
push ebx
call fcn.0040af90
test eax, eax
je 0x40b3c5
mov eax, dword [ebp - 0x1124]
xor edi, edi
push ebx
lea ecx, [ebp - 0x112c]
mov dword [ebp - 0x112c], eax
mov dword [ebp - 0x1128], edi
call fcn.0040b00e
mov dword [ebp - 0x112c], edi
mov dword [ebp - 0x1128], edi
test esi, esi
je 0x40b407
mov ecx, dword [ebp - 0x1114]
mov eax, ebx
call fcn.0040b1c9
mov edi, eax
test edi, edi
jl 0x40b884
mov ecx, dword [ebp - 0x1114]
mov esi, ebx
call fcn.0040af2d
lea ecx, [ebp - 0x112c]
mov edi, eax
call fcn.0040b133
test edi, edi
jl 0x40b8bf
jmp 0x40b820
lea ecx, [ebp - 0x112c]
call fcn.0040b133
xor edi, edi
push 0x404264
push ebx
call dword [fcn.004011d0]
test eax, eax
jne 0x40b443
mov ecx, dword [ebp - 0x1114]
mov eax, ebx
mov dword [ebp - 0x1130], edi
call fcn.0040b1c9
mov edi, eax
test edi, edi
jl 0x40b8bf
xor edi, edi
push 0x40427c
push ebx
call dword [fcn.004011d0]
test eax, eax
jne 0x40b55f
mov ecx, dword [ebp - 0x1114]
lea eax, [ebp - 0x1110]
call fcn.0040b1c9
mov edi, eax
xor esi, esi
cmp edi, esi
jl 0x40b8bf
mov ecx, dword [ebp - 0x1114]
mov eax, ebx
call fcn.0040b1c9
mov edi, eax
cmp edi, esi
jl 0x40b8bf
cmp byte [ebx], 0x3d
jne 0x40b87d
cmp dword [ebp + 0x10], esi
je 0x40b4ea
mov eax, dword [ebp - 0x1124]
mov ecx, dword [ebp - 0x1114]
mov dword [ebp - 0x113c], eax
push ebx
lea eax, [ebp - 0x1110]
push eax
lea edx, [ebp - 0x113c]
mov dword [ebp - 0x1138], esi
call fcn.0040ab01
lea ecx, [ebp - 0x113c]
mov edi, eax
mov dword [ebp - 0x113c], esi
mov dword [ebp - 0x1138], esi
call fcn.0040b133
cmp edi, esi
jl 0x40b8bf
jmp 0x40b822
cmp dword [ebp + 0x14], esi
jne 0x40b54d
cmp dword [ebp - 0x1130], esi
je 0x40b54d
push 0x20006
push esi
push dword [ebp - 0x1124]
lea ecx, [ebp - 0x1144]
mov dword [ebp - 0x1144], esi
mov dword [ebp - 0x1140], esi
call fcn.0040afc6
cmp eax, esi
jne 0x40b88c
lea eax, [ebp - 0x1110]
push eax
push dword [ebp - 0x1144]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, esi
je 0x40b542
cmp eax, 2
jne 0x40b88c
lea ecx, [ebp - 0x1144]
call fcn.0040b133
mov ecx, dword [ebp - 0x1114]
mov esi, ebx
call fcn.0040af2d
jmp 0x40b312
push 0x5c
mov eax, ebx
call fcn.0040a9b5
test eax, eax
jne 0x40b87d
cmp dword [ebp + 0x10], edi
je 0x40b642
mov esi, 0x2001f
push esi
push ebx
push dword [ebp - 0x1124]
lea ecx, [ebp - 0x111c]
call fcn.0040afc6
test eax, eax
je 0x40b607
push 0x20019
push ebx
push dword [ebp - 0x1124]
lea ecx, [ebp - 0x111c]
call fcn.0040afc6
test eax, eax
je 0x40b607
lea eax, [ebp - 0x1150]
push eax
lea eax, [ebp - 0x1120]
push eax
push edi
push esi
push edi
push edi
push edi
push ebx
push dword [ebp - 0x1124]
mov dword [ebp - 0x1120], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
cmp esi, edi
jne 0x40b899
lea ecx, [ebp - 0x111c]
call fcn.0040b133
mov esi, eax
mov eax, dword [ebp - 0x1120]
mov dword [ebp - 0x111c], eax
mov dword [ebp - 0x1118], edi
cmp esi, edi
jne 0x40b899
mov ecx, dword [ebp - 0x1114]
mov eax, ebx
call fcn.0040b1c9
mov edi, eax
test edi, edi
jl 0x40b8bf
cmp byte [ebx], 0x3d
jne 0x40b820
mov ecx, dword [ebp - 0x1114]
push ebx
push 0
lea edx, [ebp - 0x111c]
call fcn.0040ab01
mov edi, eax
jmp 0x40b3fa
cmp dword [ebp + 0x14], edi
jne 0x40b666
push 0x20019
push ebx
push dword [ebp - 0x1124]
lea ecx, [ebp - 0x111c]
call fcn.0040afc6
mov dword [ebp - 0x1120], eax
jmp 0x40b670
mov dword [ebp - 0x1120], 2
cmp dword [ebp - 0x1120], edi
je 0x40b67f
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x110]
push 0x104
push eax
call dword [0x401274]
add esp, 0x10
push eax
call fcn.0040964e
mov ecx, dword [ebp - 0x1114]
mov eax, ebx
call fcn.0040b1c9
mov edi, eax
test edi, edi
jl 0x40b8bf
mov ecx, dword [ebp - 0x1114]
mov esi, ebx
call fcn.0040af2d
mov edi, eax
test edi, edi
jl 0x40b8bf
cmp byte [ebx], 0x7b
jne 0x40b71a
push ebx
call dword [fcn.004010a4]
cmp eax, 1
jne 0x40b71a
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1114]
push 0
push dword [ebp - 0x111c]
push ebx
call fcn.0040b2c6
mov edi, eax
test edi, edi
jge 0x40b703
cmp dword [ebp + 0x14], 0
je 0x40b8bf
mov ecx, dword [ebp - 0x1114]
mov eax, ebx
call fcn.0040b1c9
mov edi, eax
test edi, edi
jl 0x40b8bf
mov eax, dword [ebp - 0x1134]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x1120]
cmp eax, 2
je 0x40b867
test eax, eax
je 0x40b74f
cmp dword [ebp - 0x1134], 0
jne 0x40b867
call fcn.0040b1b5
mov edi, eax
jmp 0x40b8bf
cmp dword [ebp - 0x1134], 0
je 0x40b79f
push dword [ebp - 0x111c]
call fcn.0040b0f7
test eax, eax
je 0x40b79f
lea eax, [ebp - 0x110]
push eax
call fcn.0040af90
test eax, eax
je 0x40b867
cmp dword [ebp - 0x1130], 0
je 0x40b867
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x111c]
call fcn.0040b00e
jmp 0x40b867
push dword [ebp - 0x111c]
call fcn.0040b0f7
lea ecx, [ebp - 0x111c]
mov dword [ebp - 0x1120], eax
call fcn.0040b133
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x40b899
cmp dword [ebp - 0x1130], eax
je 0x40b867
cmp dword [ebp - 0x1120], eax
jne 0x40b867
mov ecx, dword [ebp - 0x1124]
mov dword [ebp - 0x1148], eax
lea eax, [ebp - 0x110]
push eax
lea esi, [ebp - 0x114c]
mov dword [ebp - 0x114c], ecx
call fcn.0040b155
and dword [ebp - 0x114c], 0
and dword [ebp - 0x1148], 0
test eax, eax
jne 0x40b8ad
mov ecx, esi
call fcn.0040b133
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x40b867
cmp byte [ebx], 0x7b
jne 0x40b867
push ebx
call dword [fcn.004010a4]
cmp eax, 1
jne 0x40b867
mov ecx, dword [ebp - 0x1114]
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x111c]
push ebx
call fcn.0040b2c6
mov edi, eax
cmp edi, esi
jl 0x40b8bf
mov ecx, dword [ebp - 0x1114]
mov eax, ebx
call fcn.0040b1c9
mov edi, eax
cmp edi, esi
jl 0x40b8bf
cmp byte [ebx], 0x7d
jne 0x40b31b
jmp 0x40b8bf
lea ecx, [ebp - 0x112c]
call fcn.0040b133
mov edi, 0x80020009
jmp 0x40b8bf
lea ecx, [ebp - 0x112c]
jmp 0x40b8ba
call fcn.0040b1b5
lea ecx, [ebp - 0x1144]
jmp 0x40b8b8
lea ecx, [ebp - 0x111c]
call fcn.0040b133
mov eax, esi
call fcn.0040b1b5
jmp 0x40b8cc
call fcn.0040b1b5
lea ecx, [ebp - 0x114c]
mov edi, eax
call fcn.0040b133
lea ecx, [ebp - 0x111c]
call fcn.0040b133
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412315
leave
ret 0x10