Function at 0x403110
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c9f7
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.0040bd10
mov eax, dword [0x4133e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x2254], edx
call fcn.00401b70
mov esi, eax
cmp esi, ebx
jge 0x40318c
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2220], ebx
jmp 0x40388c
cmp word [edi], 0x7d
je 0x403864
jmp 0x4031a0
mov esi, dword [0x40e0f8]
push str.Delete
push edi
mov dword [ebp - 0x2228], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x4031d3
test ebx, ebx
je 0x4032f7
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401b70
mov esi, eax
test esi, esi
jl 0x403864
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4032f9
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
mov byte [ebp - 4], 1
push 0x5c
push edi
call fcn.00401ac0
add esp, 8
test eax, eax
jne 0x4037ba
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401cf0
test eax, eax
je 0x403251
mov eax, dword [ebp - 0x222c]
push edi
lea ecx, [ebp - 0x2238]
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], esi
call fcn.00401ed0
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
cmp ebx, esi
je 0x4032eb
mov ebx, dword [ebp - 0x221c]
push edi
mov ecx, ebx
call fcn.00401b70
mov esi, eax
test esi, esi
jl 0x4037e5
push edi
mov ecx, ebx
call fcn.00401d80
mov esi, eax
test esi, esi
jl 0x4037e5
mov byte [ebp - 4], 0
mov dword [ebp - 0x2234], 0
cmp word [edi], 0x7b
jne 0x4032dc
push edi
call dword [0x40e110]
cmp eax, 1
jne 0x4032dc
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
push 0
push edx
push eax
push edi
call fcn.00403110
mov esi, eax
test esi, esi
jl 0x403864
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401b70
mov esi, eax
test esi, esi
jl 0x403864
cmp word [edi], 0x7d
jne 0x4031a0
jmp 0x403864
mov byte [ebp - 4], 0
mov dword [ebp - 0x2234], esi
jmp 0x4032f9
xor esi, esi
push str.NoRemove
push edi
call dword [0x40e0f8]
test eax, eax
jne 0x403327
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2228], eax
call fcn.00401b70
mov esi, eax
test esi, esi
jl 0x403864
xor esi, esi
mov ebx, dword [ebp - 0x222c]
push 0x40e4d4
push edi
call dword [0x40e0f8]
test eax, eax
jne 0x403472
lea ecx, [ebp - 0x2218]
push ecx
mov ecx, dword [ebp - 0x221c]
call fcn.00401b70
mov esi, eax
test esi, esi
jl 0x403864
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401b70
mov esi, eax
test esi, esi
jl 0x403864
cmp word [edi], 0x3d
jne 0x4037c9
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x4033e4
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x222c]
push edi
lea eax, [ebp - 0x2218]
push eax
lea ecx, [ebp - 0x2240]
push ecx
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2240], edx
mov dword [ebp - 0x223c], ebx
call fcn.00402d50
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
jl 0x4037f1
mov byte [ebp - 4], bl
mov dword [ebp - 0x223c], ebx
jmp 0x403291
cmp dword [ebp + 0x14], ebx
jne 0x40345d
cmp dword [ebp - 0x2228], ebx
je 0x40345d
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x222c]
push 0x20006
push ebx
push edx
lea ecx, [ebp - 0x2250]
call fcn.004016b0
cmp eax, ebx
jne 0x403814
mov esi, dword [ebp - 0x2250]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [0x40e018]
cmp eax, ebx
je 0x403442
cmp eax, 2
jne 0x403814
mov byte [ebp - 4], 0
cmp esi, ebx
je 0x403457
push esi
call dword [0x40e01c]
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401d80
mov esi, eax
cmp esi, ebx
jmp 0x4032d6
push 0x5c
push edi
call fcn.00401ac0
add esp, 8
test eax, eax
jne 0x4037c9
cmp dword [ebp + 0x10], esi
je 0x4035a2
lea ecx, [ebp - 0x2228]
push ecx
push 0x2001f
push esi
push edi
push ebx
mov dword [ebp - 0x2228], esi
call dword [0x40e020]
cmp eax, esi
jne 0x4034e2
mov ecx, dword [ebp - 0x2224]
xor eax, eax
cmp ecx, esi
je 0x4034c6
push ecx
call dword [0x40e01c]
mov dword [ebp - 0x2224], esi
mov edx, dword [ebp - 0x2228]
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x2224], edx
mov dword [ebp - 0x2220], esi
cmp eax, esi
je 0x40355e
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2224]
call fcn.004016b0
cmp eax, esi
je 0x40355e
lea eax, [ebp - 0x2258]
push eax
lea ecx, [ebp - 0x2228]
push ecx
push esi
push 0x2001f
push esi
push esi
push esi
push edi
push ebx
mov dword [ebp - 0x2228], esi
call dword [section..rdata]
cmp eax, esi
jne 0x40382b
mov ecx, dword [ebp - 0x2224]
xor eax, eax
cmp ecx, esi
je 0x40353e
push ecx
call dword [0x40e01c]
mov dword [ebp - 0x2224], esi
mov edx, dword [ebp - 0x2228]
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x2224], edx
mov dword [ebp - 0x2220], esi
cmp eax, esi
jne 0x40382b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401b70
mov esi, eax
test esi, esi
jl 0x403864
cmp word [edi], 0x3d
jne 0x403291
mov ecx, dword [ebp - 0x221c]
push edi
push 0
lea eax, [ebp - 0x2224]
push eax
call fcn.00402d50
mov esi, eax
test esi, esi
jl 0x403864
jmp 0x403291
cmp dword [ebp + 0x14], esi
jne 0x40369d
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2224]
call fcn.004016b0
mov ebx, eax
mov dword [ebp - 0x2230], eax
cmp ebx, esi
je 0x4035d0
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call dword [0x40e25c]
push eax
call fcn.00401410
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.00401b70
mov esi, eax
test esi, esi
jl 0x403864
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401d80
mov esi, eax
test esi, esi
jl 0x403864
cmp word [edi], 0x7b
jne 0x40366f
push edi
call dword [0x40e110]
cmp eax, 1
jne 0x40366f
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
push ebx
push 0
push edx
push edi
call fcn.00403110
mov esi, eax
test esi, esi
jge 0x403653
test ebx, ebx
je 0x403864
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401b70
mov esi, eax
test esi, esi
jl 0x403864
mov ebx, dword [ebp - 0x2230]
mov eax, dword [ebp - 0x2254]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x4032dc
test ebx, ebx
je 0x4036b2
test eax, eax
jne 0x4032dc
push ebx
call fcn.00401520
add esp, 4
mov esi, eax
jmp 0x403864
mov dword [ebp - 0x2230], 2
mov ebx, dword [ebp - 0x2230]
jmp 0x4035c9
mov ebx, dword [ebp - 0x2224]
test eax, eax
je 0x40370a
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.00401d30
test eax, eax
je 0x40370a
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x221c]
call fcn.00401cf0
test eax, eax
je 0x4032dc
cmp dword [ebp - 0x2228], 0
je 0x4032dc
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2224]
call fcn.00401ed0
jmp 0x4032dc
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.00401d30
mov dword [ebp - 0x2230], eax
xor eax, eax
test ebx, ebx
je 0x403733
push ebx
call dword [0x40e01c]
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
test eax, eax
jne 0x40382b
cmp dword [ebp - 0x2228], eax
je 0x4032dc
cmp dword [ebp - 0x2230], eax
jne 0x4032dc
xor ebx, ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x222c]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x2248]
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], ebx
call fcn.00401640
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp eax, ebx
jne 0x40384a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2248]
call fcn.00401eb0
jmp 0x4032dc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2238]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2224]
call fcn.00401eb0
mov eax, 0x80020009
jmp 0x40388c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2238]
jmp 0x40385f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2240]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2224]
call fcn.00401eb0
jmp 0x40388a
push eax
call fcn.00401520
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2250]
jmp 0x40385f
push eax
call fcn.00401520
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2224]
call fcn.00401eb0
jmp 0x40388a
push eax
call fcn.00401520
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2248]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2224]
xor edi, edi
cmp eax, edi
je 0x403884
push eax
call dword [0x40e01c]
mov dword [ebp - 0x2224], edi
mov dword [ebp - 0x2220], edi
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 - 0x10]
xor ecx, ebp
call fcn.0040bc2a
mov esp, ebp
pop ebp
ret 0x10