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

Disassembly:
mov eax, 0x408e9b
call fcn.00408910
sub esp, 0x424
mov eax, dword [0x40b0d0]
and dword [ebp - 0x428], 0
push ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x424], ecx
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x430], eax
jmp 0x404187
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x401368
push edi
mov dword [ebp - 0x42c], 1
call esi
mov ebx, eax
neg ebx
push 0x40138c
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x403d7f
test ebx, ebx
je 0x403e0f
mov ecx, dword [ebp - 0x424]
push edi
call fcn.0040243f
mov esi, eax
test esi, esi
jl 0x4041df
cmp dword [ebp + 0x10], 0
je 0x403e0f
and dword [ebp + 8], 0
push 0x5c
push edi
call fcn.004023cd
test eax, eax
jne 0x40419f
mov ecx, dword [ebp - 0x424]
push edi
call fcn.00402545
test eax, eax
je 0x403dd2
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.00402ac9
and dword [ebp + 8], 0
test ebx, ebx
je 0x403e07
mov ecx, dword [ebp - 0x424]
push edi
call fcn.0040243f
mov esi, eax
test esi, esi
jl 0x4041d7
mov ecx, dword [ebp - 0x424]
push edi
call fcn.004025a6
lea ecx, [ebp + 8]
mov esi, eax
call fcn.004020ea
jmp 0x403fcf
lea ecx, [ebp + 8]
call fcn.004020ea
push 0x401378
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403e3b
mov ecx, dword [ebp - 0x424]
and dword [ebp - 0x42c], eax
push edi
call fcn.0040243f
mov esi, eax
test esi, esi
jl 0x4041df
push 0x4013a4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403f2e
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
call fcn.0040243f
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x4041df
mov ecx, dword [ebp - 0x424]
push edi
call fcn.0040243f
mov esi, eax
cmp esi, ebx
jl 0x4041df
cmp word [edi], 0x3d
jne 0x4041a7
cmp dword [ebp + 0x10], ebx
je 0x403ecb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x424]
mov dword [ebp + 8], eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.00403a08
mov esi, eax
cmp esi, ebx
mov dword [ebp + 8], ebx
lea ecx, [ebp + 8]
jl 0x4041da
mov byte [ebp - 4], bl
jmp 0x404147
cmp dword [ebp + 0x14], ebx
jne 0x403f19
cmp dword [ebp - 0x42c], ebx
je 0x403f19
push 0x20006
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
call fcn.0040214f
cmp eax, ebx
jne 0x4041cf
lea eax, [ebp - 0x420]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x403f11
cmp eax, 2
jne 0x4041cf
lea ecx, [ebp + 8]
call fcn.004020ea
mov ecx, dword [ebp - 0x424]
push edi
call fcn.004025a6
mov esi, eax
cmp esi, ebx
jmp 0x404191
push 0x5c
push edi
call fcn.004023cd
test eax, eax
jne 0x4041a7
cmp dword [ebp + 0x10], eax
je 0x403fdc
mov esi, 0x2001f
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x428]
call fcn.0040214f
test eax, eax
je 0x403f98
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x428]
call fcn.0040214f
test eax, eax
je 0x403f98
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x428]
call fcn.00402101
mov esi, eax
cmp esi, ebx
jne 0x4041ae
mov ecx, dword [ebp - 0x424]
push edi
call fcn.0040243f
mov esi, eax
test esi, esi
jl 0x4041df
cmp word [edi], 0x3d
jne 0x40414c
mov ecx, dword [ebp - 0x424]
push edi
push 0
lea eax, [ebp - 0x428]
push eax
call fcn.00403a08
mov esi, eax
test esi, esi
jl 0x4041df
jmp 0x40414c
cmp dword [ebp + 0x14], 0
jne 0x403ffa
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x428]
call fcn.0040214f
mov ebx, eax
jmp 0x403ffd
push 2
pop ebx
test ebx, ebx
je 0x404008
mov dword [ebp + 0x14], 1
push 0x104
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 0x424]
push edi
call fcn.0040243f
mov esi, eax
test esi, esi
jl 0x4041df
mov ecx, dword [ebp - 0x424]
push edi
call fcn.004025a6
mov esi, eax
test esi, esi
jl 0x4041df
cmp word [edi], 0x7b
jne 0x40408a
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp - 0x428]
push edi
call fcn.00403d0f
mov esi, eax
test esi, esi
jge 0x404074
cmp dword [ebp + 0x14], 0
je 0x4041df
mov ecx, dword [ebp - 0x424]
push edi
call fcn.0040243f
mov esi, eax
test esi, esi
jl 0x4041df
cmp ebx, 2
mov eax, dword [ebp - 0x430]
mov dword [ebp + 0x14], eax
je 0x404193
test ebx, ebx
je 0x4040b5
test eax, eax
jne 0x404193
push ebx
call fcn.00402023
mov esi, eax
jmp 0x4041df
test eax, eax
je 0x40410c
push dword [ebp - 0x428]
mov ecx, dword [ebp - 0x424]
call fcn.00402571
test eax, eax
je 0x40410c
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push eax
call fcn.00402545
test eax, eax
je 0x404193
cmp dword [ebp - 0x42c], 0
je 0x404193
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call fcn.00402ac9
jmp 0x404193
lea ecx, [ebp - 0x428]
call fcn.004020ea
mov ebx, eax
test ebx, ebx
jne 0x4041bc
cmp dword [ebp - 0x42c], eax
je 0x404193
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp + 8], ebx
test eax, eax
jne 0x4041cf
lea ecx, [ebp + 8]
call fcn.004020ea
cmp dword [ebp + 0x10], 0
je 0x404193
cmp word [edi], 0x7b
jne 0x404193
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x404193
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x428]
push edi
call fcn.00403d0f
mov esi, eax
test esi, esi
jl 0x4041df
mov ecx, dword [ebp - 0x424]
push edi
call fcn.0040243f
mov esi, eax
test esi, esi
jl 0x4041df
cmp word [edi], 0x7d
jne 0x403d4c
jmp 0x4041df
lea ecx, [ebp + 8]
call fcn.004020ea
mov esi, 0x80020009
jmp 0x4041df
lea ecx, [ebp - 0x428]
call fcn.004020ea
push esi
jmp 0x4041c8
lea ecx, [ebp - 0x428]
call fcn.004020ea
push ebx
call fcn.00402023
jmp 0x4041ec
push eax
call fcn.00402023
mov esi, eax
lea ecx, [ebp + 8]
call fcn.004020ea
lea ecx, [ebp - 0x428]
call fcn.004020ea
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0040873b
leave
ret 0x10