Function at 0x431054
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2250
call fcn.004501f0
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x38], eax
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
push edi
call fcn.0043065f
mov esi, eax
test esi, esi
js 0x43150b
push 0x7d
pop eax
cmp word [edi], ax
je 0x43150b
xor eax, eax
push 0x401fbc
inc eax
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x401f90
sbb esi, esi
inc esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4310cb
test esi, esi
je 0x43116d
push edi
mov ecx, ebx
call fcn.0043065f
mov esi, eax
test esi, esi
js 0x43150b
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x43116f
push 0x5c
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.00432889
pop ecx
pop ecx
test eax, eax
jne 0x4314fe
push edi
mov ecx, ebx
call fcn.0042f78c
test eax, eax
je 0x43112d
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.00430c88
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp - 4], esi
je 0x431163
push edi
mov ecx, ebx
call fcn.0043065f
mov esi, eax
test esi, esi
js 0x4314f9
push edi
mov ecx, ebx
call fcn.004327c7
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.0042f85e
test esi, esi
js 0x43150b
jmp 0x4314a5
lea ecx, [ebp - 0x1c]
call fcn.0042f85e
jmp 0x43116f
xor esi, esi
push 0x401fa8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x431194
push edi
mov ecx, ebx
mov dword [ebp + 8], esi
call fcn.0043065f
mov esi, eax
test esi, esi
js 0x43150b
push 0x401f88
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43127c
lea eax, [ebp - 0x2250]
mov ecx, ebx
push eax
call fcn.0043065f
mov esi, eax
test esi, esi
js 0x43150b
push edi
mov ecx, ebx
call fcn.0043065f
mov esi, eax
test esi, esi
js 0x43150b
push 0x3d
pop eax
cmp word [edi], ax
jne 0x431506
cmp dword [ebp + 0x10], 0
je 0x43121a
mov eax, dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2250]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042ed62
mov esi, eax
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
jmp 0x431151
cmp dword [ebp + 0x14], 0
jne 0x43126f
cmp dword [ebp + 8], 0
je 0x43126f
xor eax, eax
lea ecx, [ebp - 0x44]
push 0x20006
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
call fcn.004307de
test eax, eax
jne 0x43151e
lea eax, [ebp - 0x2250]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x431267
cmp eax, 2
jne 0x43151e
lea ecx, [ebp - 0x44]
call fcn.0042f85e
push edi
mov ecx, ebx
call fcn.004327c7
jmp 0x431083
push 0x5c
push edi
call fcn.00432889
pop ecx
pop ecx
test eax, eax
jne 0x431506
cmp dword [ebp + 0x10], eax
je 0x43130d
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push 0x2001f
push edi
push esi
call fcn.004307de
test eax, eax
je 0x4312d9
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x10]
call fcn.004307de
test eax, eax
je 0x4312d9
xor eax, eax
lea ecx, [ebp - 0x10]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.0042f96e
test eax, eax
jne 0x4313ee
push edi
mov ecx, ebx
call fcn.0043065f
mov esi, eax
test esi, esi
js 0x43150b
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4314a5
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042ed62
mov esi, eax
jmp 0x431156
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x431327
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.004307de
jmp 0x43132a
push 2
pop eax
push 1
test eax, eax
mov dword [ebp - 4], eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
lea eax, [ebp - 0x250]
push edi
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.00451e17
push eax
call fcn.0042f5a5
add esp, 0x14
mov ecx, ebx
push edi
call fcn.0043065f
mov esi, eax
test esi, esi
js 0x43150b
push edi
mov ecx, ebx
call fcn.004327c7
mov esi, eax
test esi, esi
js 0x43150b
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4313d0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x38]
jne 0x431386
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x4313d0
push dword [ebp + 0x14]
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp - 0x10]
push edi
call fcn.00431054
mov esi, eax
test esi, esi
jns 0x4313be
cmp dword [ebp + 0x14], 0
je 0x43150b
push edi
mov ecx, ebx
call fcn.0043065f
mov esi, eax
test esi, esi
js 0x43150b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x48]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x43108d
test eax, eax
je 0x4313fc
test ecx, ecx
jne 0x43108d
push eax
call fcn.0042f615
pop ecx
mov esi, eax
jmp 0x43150b
test ecx, ecx
je 0x431442
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0042ff06
test eax, eax
je 0x431442
lea eax, [ebp - 0x250]
mov ecx, ebx
push eax
call fcn.0042f78c
test eax, eax
je 0x43108d
cmp dword [ebp + 8], 0
je 0x43108d
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x10]
call fcn.00430c88
jmp 0x43108d
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0042ff06
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.0042f85e
test eax, eax
jne 0x4313ee
cmp dword [ebp + 8], eax
je 0x43108d
cmp dword [ebp - 4], eax
jne 0x43108d
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x250]
push eax
call fcn.0042f9df
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
test eax, eax
jne 0x431531
lea ecx, [ebp - 0x34]
call fcn.0042f85e
cmp dword [ebp + 0x10], 0
je 0x43108d
push 0x7b
pop eax
cmp word [edi], ax
jne 0x43108d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x38]
jne 0x4314c0
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x43108d
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push edi
call fcn.00431054
mov esi, eax
test esi, esi
js 0x43150b
mov ecx, ebx
jmp 0x43107d
lea ecx, [ebp - 0x1c]
jmp 0x43152a
lea ecx, [ebp - 0x1c]
call fcn.0042f85e
mov esi, 0x80020009
lea ecx, [ebp - 0x10]
call fcn.0042f85e
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.0042f615
pop ecx
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.0042f85e
jmp 0x43150b
push eax
call fcn.0042f615
pop ecx
lea ecx, [ebp - 0x34]
jmp 0x431528