Function at 0x403175
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49dc71
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00484010
mov eax, dword [0x4c3204]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x4c3204]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, esi
mov dword [esp + 0x2280], edi
call fcn.0040304f
mov ebx, eax
cmp ebx, edi
jl 0x4035be
cmp word [esi], 0x7d
je 0x4035bc
jmp 0x403203
xor edi, edi
push 0x4a9184
push esi
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
neg eax
sbb ebx, ebx
push 0x4a91a8
inc ebx
push esi
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x403238
cmp ebx, edi
je 0x4032e2
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0040304f
mov ebx, eax
cmp ebx, edi
jl 0x4035ab
cmp dword [ebp + 0x10], edi
je 0x4032e2
push 0x5c
mov eax, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.004026a5
pop ecx
test eax, eax
jne 0x4036fa
push esi
call fcn.00402d23
test eax, eax
je 0x4032a4
mov eax, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00402e03
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
cmp dword [esp + 0x28], edi
je 0x4032de
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0040304f
mov ebx, eax
cmp ebx, edi
jl 0x4035ab
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.00402cc6
mov ebx, eax
test ebx, ebx
js 0x4035ab
and dword [esp + 0x34], 0
jmp 0x4036a1
mov dword [esp + 0x34], edi
push 0x4a9194
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x40330b
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x2c], edi
call fcn.0040304f
mov ebx, eax
cmp ebx, edi
jl 0x4035ab
push 0x4a91c0
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x403433
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x26c]
call fcn.0040304f
mov ebx, eax
cmp ebx, edi
jl 0x4035ab
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0040304f
mov ebx, eax
cmp ebx, edi
jl 0x4035ab
cmp word [esi], 0x3d
jne 0x4036fa
cmp dword [ebp + 0x10], edi
je 0x4033b2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2280], 1
mov dword [esp + 0x4c], eax
push esi
lea eax, [esp + 0x270]
push eax
lea edx, [esp + 0x54]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call fcn.00402863
mov ebx, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
cmp ebx, edi
jl 0x403714
mov byte [esp + 0x2280], 0
mov dword [esp + 0x50], edi
jmp 0x4036a3
cmp dword [ebp + 0x14], edi
jne 0x403419
cmp dword [esp + 0x2c], edi
je 0x403419
push edi
push dword [esp + 0x28]
mov eax, 0x20006
lea ebx, [esp + 0x48]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.00402db1
test eax, eax
jne 0x40372f
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x26c]
push eax
push edi
call dword [sym.imp.ADVAPI32.DLL_RegDeleteValueW]
test eax, eax
je 0x403404
cmp eax, 2
jne 0x40371d
test edi, edi
je 0x403414
push edi
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.00402cc6
mov ebx, eax
test ebx, ebx
js 0x4035ab
jmp 0x4036eb
push 0x5c
mov eax, esi
call fcn.004026a5
pop ecx
test eax, eax
jne 0x4036fa
cmp dword [ebp + 0x10], edi
je 0x4034c6
push esi
push dword [esp + 0x28]
mov eax, 0x2001f
lea ebx, [esp + 0x20]
call fcn.00402db1
test eax, eax
je 0x403488
push esi
push dword [esp + 0x28]
mov eax, 0x20019
call fcn.00402db1
test eax, eax
je 0x403488
push esi
push dword [esp + 0x28]
mov eax, ebx
call fcn.0040273e
test eax, eax
jne 0x403750
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0040304f
mov ebx, eax
test ebx, ebx
js 0x4035ab
cmp word [esi], 0x3d
jne 0x4036a1
mov ecx, dword [esp + 0x14]
push esi
push 0
lea edx, [esp + 0x20]
call fcn.00402863
mov ebx, eax
test ebx, ebx
js 0x4035ab
jmp 0x4036a1
cmp dword [ebp + 0x14], edi
jne 0x4034e6
push esi
push dword [esp + 0x28]
mov eax, 0x20019
lea ebx, [esp + 0x20]
call fcn.00402db1
mov dword [esp + 0x28], eax
xor edi, edi
jmp 0x4034ee
mov dword [esp + 0x28], 2
cmp dword [esp + 0x28], edi
je 0x4034fb
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.0047712b
push eax
call fcn.00402c8e
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, esi
call fcn.0040304f
mov ebx, eax
cmp ebx, edi
jl 0x4035ab
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.00402cc6
mov ebx, eax
test ebx, ebx
js 0x4035ab
cmp word [esi], 0x7b
jne 0x40357e
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x40357e
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x20]
push esi
call fcn.00403175
mov ebx, eax
test ebx, ebx
jns 0x40356d
cmp dword [ebp + 0x14], 0
je 0x4035ab
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0040304f
mov ebx, eax
test ebx, ebx
js 0x4035ab
cmp dword [esp + 0x28], 2
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x14], eax
je 0x4036eb
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, edi
je 0x4035e4
cmp dword [esp + 0x3c], edi
jne 0x4036eb
call fcn.00403040
mov ebx, eax
cmp dword [esp + 0x18], 0
je 0x4035bc
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.00475a38
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x3c], edi
je 0x403626
push dword [esp + 0x18]
call fcn.00402f34
test eax, eax
je 0x403626
lea eax, [esp + 0x64]
push eax
call fcn.00402d23
test eax, eax
je 0x4036eb
cmp dword [esp + 0x2c], edi
je 0x4036eb
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402e03
jmp 0x4036eb
push dword [esp + 0x18]
call fcn.00402f34
mov dword [esp + 0x28], eax
xor eax, eax
cmp dword [esp + 0x18], edi
je 0x403649
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp eax, edi
jne 0x40375c
cmp dword [esp + 0x2c], edi
je 0x4036eb
cmp dword [esp + 0x28], edi
jne 0x4036eb
mov eax, dword [esp + 0x24]
and dword [esp + 0x5c], edi
and dword [esp + 0x60], edi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x64]
push eax
lea edi, [esp + 0x5c]
call fcn.00402fd2
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
cmp eax, ecx
jne 0x4035a4
and dword [esp + 0x5c], ecx
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x4036eb
cmp word [esi], 0x7b
jne 0x4036eb
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x4036eb
mov ecx, dword [esp + 0x14]
push edi
push dword [ebp + 0x10]
push dword [esp + 0x20]
push esi
call fcn.00403175
mov ebx, eax
cmp ebx, edi
jl 0x4035ab
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0040304f
mov ebx, eax
cmp ebx, edi
jl 0x4035ab
cmp word [esi], 0x7d
jne 0x403201
jmp 0x4035ab
cmp dword [esp + 0x18], edi
je 0x40370a
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, 0x80020009
jmp 0x4035be
cmp dword [esp + 0x18], edi
jmp 0x4035b0
call fcn.00403040
mov ebx, eax
test edi, edi
je 0x4035ab
push edi
jmp 0x403745
call fcn.00403040
cmp dword [esp + 0x40], 0
mov ebx, eax
je 0x4035ab
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
jmp 0x4035ab
call fcn.00403040
cmp dword [esp + 0x18], 0
jmp 0x403765
call fcn.00403040
cmp dword [esp + 0x18], edi
mov esi, eax
je 0x403773
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, esi
jmp 0x4035be