Function at 0x4034e5
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.00407110
push 0xffffffffffffffff
push 0x40860e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x412014]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push edi
mov dword [ebp - 4], eax
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039f9
push 0x7d
pop eax
cmp word [edi], ax
je 0x4039f9
xor eax, eax
inc eax
push 0x40a6b0
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x40a658
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x403592
test esi, esi
je 0x403631
push edi
mov ecx, ebx
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039f9
xor esi, esi
cmp dword [ebp + 0x221c], esi
je 0x403633
push 0x5c
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call fcn.00403cf5
pop ecx
pop ecx
test eax, eax
jne 0x4039ec
push edi
mov ecx, ebx
call fcn.00402855
test eax, eax
je 0x4035f1
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
push edi
mov dword [ebp - 0x30], eax
call fcn.00403031
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x14], esi
je 0x403627
push edi
mov ecx, ebx
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039e7
push edi
mov ecx, ebx
call fcn.00403c6e
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.00402913
test esi, esi
js 0x4039f9
jmp 0x403981
lea ecx, [ebp - 0x30]
call fcn.00402913
jmp 0x403633
xor esi, esi
push 0x40a688
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403658
push edi
mov ecx, ebx
mov dword [ebp - 0x18], esi
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039f9
push 0x40a63c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40374e
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039f9
push edi
mov ecx, ebx
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039f9
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4039f4
cmp dword [ebp + 0x221c], 0
je 0x4036ec
xor eax, eax
mov ecx, ebx
inc eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp]
push edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00402329
mov esi, eax
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
test esi, esi
js 0x403a34
mov byte [ebp - 4], al
jmp 0x40397c
cmp dword [ebp + 0x2220], 0
jne 0x403741
cmp dword [ebp - 0x18], 0
je 0x403741
xor eax, eax
lea ecx, [ebp - 0x50]
push 0x20006
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
call fcn.00402d8d
test eax, eax
jne 0x403a28
lea eax, [ebp]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x403739
cmp eax, 2
jne 0x403a28
lea ecx, [ebp - 0x50]
call fcn.00402913
push edi
mov ecx, ebx
call fcn.00403c6e
jmp 0x4039d0
push 0x5c
push edi
call fcn.00403cf5
pop ecx
pop ecx
test eax, eax
jne 0x4039f4
cmp dword [ebp + 0x221c], eax
je 0x4037e2
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push 0x2001f
push edi
push esi
call fcn.00402d8d
test eax, eax
je 0x4037ae
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.00402d8d
test eax, eax
je 0x4037ae
xor eax, eax
lea ecx, [ebp - 0x24]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.0040292d
test eax, eax
jne 0x4038cb
push edi
mov ecx, ebx
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039f9
push 0x3d
pop eax
cmp word [edi], ax
jne 0x403981
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402329
mov esi, eax
jmp 0x40361a
cmp dword [ebp + 0x2220], 0
jne 0x4037fe
push 0x20019
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.00402d8d
jmp 0x403801
push 2
pop eax
mov ecx, dword [ebp + 0x2220]
test eax, eax
push 1
mov dword [ebp - 0x14], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp + 0x2000]
push edi
push 0x104
push eax
mov dword [ebp - 0x34], ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.004027d7
add esp, 0x14
mov ecx, ebx
push edi
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039f9
push edi
mov ecx, ebx
call fcn.00403c6e
mov esi, eax
test esi, esi
js 0x4039f9
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4038ae
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x38]
jne 0x403864
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x4038ae
push dword [ebp - 0x34]
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp - 0x24]
push edi
call fcn.004034e5
mov esi, eax
test esi, esi
jns 0x40389c
cmp dword [ebp - 0x34], 0
je 0x4039f9
push edi
mov ecx, ebx
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039f9
mov eax, dword [ebp - 0x14]
cmp eax, 2
je 0x4039d6
test eax, eax
je 0x4038d9
cmp dword [ebp + 0x2220], 0
jne 0x4039d6
push eax
call fcn.00402826
pop ecx
mov esi, eax
jmp 0x4039f9
cmp dword [ebp + 0x2220], 0
je 0x403924
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.00402b7d
test eax, eax
je 0x403924
lea eax, [ebp + 0x2000]
mov ecx, ebx
push eax
call fcn.00402855
test eax, eax
je 0x4039d6
cmp dword [ebp - 0x18], 0
je 0x4039d6
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.00403031
jmp 0x4039d6
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.00402b7d
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.00402913
test eax, eax
jne 0x4038cb
cmp dword [ebp - 0x18], eax
je 0x4039d6
cmp dword [ebp - 0x14], eax
jne 0x4039d6
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x2000]
push eax
call fcn.0040299c
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
test eax, eax
jne 0x403a3b
lea ecx, [ebp - 0x5c]
call fcn.00402913
cmp dword [ebp + 0x221c], 0
je 0x4039d6
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4039d6
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x38]
jne 0x403997
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x4039d9
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x221c]
push dword [ebp - 0x24]
push edi
call fcn.004034e5
mov esi, eax
test esi, esi
js 0x4039f9
push edi
mov ecx, ebx
call fcn.00402c61
mov esi, eax
test esi, esi
js 0x4039f9
xor eax, eax
inc eax
push 0x7d
pop ecx
cmp word [edi], cx
jne 0x403563
jmp 0x4039f9
lea ecx, [ebp - 0x30]
jmp 0x403a34
lea ecx, [ebp - 0x30]
call fcn.00402913
mov esi, 0x80020009
lea ecx, [ebp - 0x24]
call fcn.00402913
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 + 0x2208]
xor ecx, ebp
call fcn.00407028
add ebp, 0x220c
leave
ret 0x10
push eax
call fcn.00402826
pop ecx
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.00402913
jmp 0x4039f9
push eax
call fcn.00402826
pop ecx
lea ecx, [ebp - 0x5c]
jmp 0x403a32