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

Disassembly:
push 0xffffffffffffffff
push 0x427357
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x43bafc]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43bafc]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x260]
mov edi, dword [esp + 0x25c]
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x254], ebx
mov edx, dword [esp + 0x268]
push edi
mov dword [esp + 0x3c], edx
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jge 0x4077d5
mov dword [esp + 0x254], 0xffffffff
jmp 0x407e3f
cmp byte [edi], 0x7d
je 0x407e1f
mov edi, edi
mov esi, dword [0x42d184]
push str.Delete
push edi
mov dword [esp + 0x3c], 1
call esi
mov ebp, eax
neg ebp
push str.ForceRemove
sbb ebp, ebp
push edi
add ebp, 1
call esi
test eax, eax
je 0x407813
cmp ebp, ebx
je 0x40791b
mov ecx, dword [esp + 0x18]
push edi
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jl 0x407e1f
cmp dword [esp + 0x264], ebx
je 0x40791b
mov dword [esp + 0x24], ebx
mov byte [esp + 0x254], 1
mov cl, byte [edi]
cmp cl, bl
mov eax, edi
je 0x407864
cmp cl, 0x5c
je 0x40785c
push eax
call dword [0x42d4cc]
mov cl, byte [eax]
cmp cl, bl
jne 0x407848
jmp 0x407864
cmp eax, ebx
jne 0x407da4
mov ecx, dword [esp + 0x18]
push edi
call fcn.00406020
test eax, eax
je 0x407888
mov eax, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call fcn.004062f0
mov dword [esp + 0x24], ebx
cmp ebp, ebx
je 0x407914
mov ebp, dword [esp + 0x18]
push edi
mov ecx, ebp
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jl 0x407dcf
push edi
mov ecx, ebp
call fcn.004060b0
mov esi, eax
cmp esi, ebx
jl 0x407dcf
mov byte [esp + 0x254], bl
cmp byte [edi], 0x7b
jne 0x407906
push edi
call dword [0x42d188]
cmp eax, 1
jne 0x407906
mov eax, dword [esp + 0x264]
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edi
call fcn.00407750
mov esi, eax
cmp esi, ebx
jl 0x407e1f
mov ecx, dword [esp + 0x18]
push edi
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jl 0x407e1f
cmp byte [edi], 0x7d
jne 0x4077e0
jmp 0x407e1f
mov byte [esp + 0x254], bl
push str.NoRemove
push edi
call dword [0x42d184]
test eax, eax
jne 0x407943
mov ecx, dword [esp + 0x18]
push edi
mov dword [esp + 0x38], ebx
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jl 0x407e1f
push 0x42d64c
push edi
call dword [0x42d184]
test eax, eax
jne 0x407a76
lea ecx, [esp + 0x144]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jl 0x407e1f
mov ecx, dword [esp + 0x18]
push edi
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jl 0x407e1f
cmp byte [edi], 0x3d
jne 0x407db4
cmp dword [esp + 0x264], ebx
je 0x4079fa
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x254], 2
mov edx, dword [esp + 0x20]
push edi
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
call fcn.00407340
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x2c], ebx
jge 0x4078b8
mov byte [esp + 0x254], bl
lea ecx, [esp + 0x2c]
call fcn.004062d0
mov dword [esp + 0x254], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004062d0
jmp 0x407e3d
cmp dword [esp + 0x268], ebx
jne 0x407a67
cmp dword [esp + 0x34], ebx
je 0x407a67
mov dword [esp + 0x28], ebx
mov byte [esp + 0x254], 3
mov edx, dword [esp + 0x20]
push 0x20006
push ebx
push edx
lea ecx, [esp + 0x34]
call fcn.00405aa0
cmp eax, ebx
jne 0x407ddc
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x144]
push eax
push esi
call dword [section..rdata]
cmp eax, ebx
je 0x407a51
cmp eax, 2
jne 0x407ddc
mov byte [esp + 0x254], bl
cmp esi, ebx
je 0x407a67
push esi
call dword [0x42d024]
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x18]
push edi
call fcn.004060b0
jmp 0x4078fc
mov cl, byte [edi]
cmp cl, bl
mov eax, edi
je 0x407a9c
mov esi, dword [0x42d4cc]
cmp cl, 0x5c
je 0x407a94
push eax
call esi
mov cl, byte [eax]
cmp cl, bl
jne 0x407a84
jmp 0x407a9c
cmp eax, ebx
jne 0x407db4
cmp dword [esp + 0x264], ebx
je 0x407bb3
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebx
push edi
push edx
mov dword [esp + 0x30], ebx
call dword [0x42d01c]
cmp eax, ebx
jne 0x407aef
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x407add
push ecx
call dword [0x42d024]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
je 0x407b77
jmp 0x407af3
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push edi
push ebp
mov dword [esp + 0x30], ebx
call dword [0x42d01c]
cmp eax, ebx
jne 0x407b2f
xor eax, eax
cmp esi, ebx
je 0x407b23
push esi
call dword [0x42d024]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
je 0x407b77
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push edi
push ebp
mov dword [esp + 0x40], ebx
call dword [0x42d020]
cmp eax, ebx
jne 0x407df4
xor eax, eax
cmp esi, ebx
je 0x407b67
push esi
call dword [0x42d024]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
jne 0x407df4
mov ecx, dword [esp + 0x18]
push edi
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jl 0x407e1f
cmp byte [edi], 0x3d
jne 0x4078bf
mov ecx, dword [esp + 0x18]
push edi
push ebx
lea edx, [esp + 0x1c]
push edx
call fcn.00407340
mov esi, eax
cmp esi, ebx
jl 0x407e1f
jmp 0x4078bf
cmp dword [esp + 0x268], ebx
jne 0x407cd4
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push edi
push ecx
mov dword [esp + 0x30], ebx
call dword [0x42d01c]
cmp eax, ebx
jne 0x407bfc
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x407bf4
push ecx
call dword [0x42d024]
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
cmp eax, ebx
mov ebp, eax
mov dword [esp + 0x1c], ebp
je 0x407c11
mov dword [esp + 0x268], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x48]
push 0x104
push eax
call dword [0x42d254]
push eax
call fcn.00404b70
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push edi
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jl 0x407e1f
mov ecx, dword [esp + 0x18]
push edi
call fcn.004060b0
mov esi, eax
cmp esi, ebx
jl 0x407e1f
cmp byte [edi], 0x7b
jne 0x407ca4
push edi
call dword [0x42d188]
cmp eax, 1
jne 0x407ca4
mov ebp, dword [esp + 0x268]
mov ecx, dword [esp + 0x14]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x24]
push edi
call fcn.00407750
mov esi, eax
cmp esi, ebx
jge 0x407c8c
cmp ebp, ebx
je 0x407e1f
mov ecx, dword [esp + 0x18]
push edi
call fcn.00405ef0
mov esi, eax
cmp esi, ebx
jl 0x407e1f
mov ebp, dword [esp + 0x1c]
cmp ebp, 2
mov edx, dword [esp + 0x38]
mov dword [esp + 0x268], edx
je 0x407906
cmp ebp, ebx
je 0x407ce5
cmp edx, ebx
jne 0x407906
push ebp
call fcn.00405990
add esp, 4
mov esi, eax
jmp 0x407e1f
mov dword [esp + 0x1c], 2
mov ebp, dword [esp + 0x1c]
jmp 0x407c06
cmp edx, ebx
mov ebp, dword [esp + 0x14]
je 0x407d2e
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00406060
test eax, eax
je 0x407d2e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
call fcn.00406020
test eax, eax
je 0x407906
cmp dword [esp + 0x34], ebx
je 0x407906
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.004062f0
jmp 0x407906
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00406060
cmp ebp, ebx
mov dword [esp + 0x1c], eax
je 0x407d53
push ebp
call dword [0x42d024]
cmp eax, ebx
mov dword [esp + 0x14], ebx
jne 0x407df4
cmp dword [esp + 0x34], ebx
je 0x407906
cmp dword [esp + 0x1c], ebx
jne 0x407906
mov dword [esp + 0x30], ebx
mov byte [esp + 0x254], 4
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
mov dword [esp + 0x38], eax
call dword [0x42d004]
cmp eax, ebx
mov dword [esp + 0x30], ebx
jne 0x407e04
mov byte [esp + 0x254], bl
lea ecx, [esp + 0x30]
call fcn.004062d0
jmp 0x407906
mov byte [esp + 0x254], bl
lea ecx, [esp + 0x24]
call fcn.004062d0
mov dword [esp + 0x254], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004062d0
mov eax, 0x80020009
jmp 0x407e3f
mov byte [esp + 0x254], bl
lea ecx, [esp + 0x24]
jmp 0x407e1a
push eax
call fcn.00405990
add esp, 4
mov esi, eax
mov byte [esp + 0x254], bl
lea ecx, [esp + 0x28]
jmp 0x407e1a
push eax
call fcn.00405990
add esp, 4
mov esi, eax
jmp 0x4079e1
push eax
call fcn.00405990
add esp, 4
mov esi, eax
mov byte [esp + 0x254], bl
lea ecx, [esp + 0x30]
call fcn.004062d0
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x407e3d
push eax
call dword [0x42d024]
mov dword [esp + 0x14], ebx
mov eax, esi
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.00425c88
add esp, 0x244
ret 0x10