Function at 0x10004370
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x100375c6
mov eax, dword fs:[0]
push eax
mov eax, 0x1140
mov dword fs:[0], esp
call fcn.10024c40
push ebx
push ebp
xor ebp, ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x116c]
mov edi, dword [esp + 0x1160]
push edi
mov dword [esp + 0x115c], ebp
mov dword [esp + 0x48], eax
call fcn.10002b10
mov esi, eax
cmp esi, ebp
jl 0x100049db
cmp byte [edi], 0x7d
je 0x100049d9
jmp 0x100043e4
mov ebx, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x100398c8
push edi
mov dword [esp + 0x2c], 1
call esi
mov ebp, eax
neg ebp
push 0x100398a8
sbb ebp, ebp
push edi
inc ebp
call esi
test eax, eax
je 0x10004415
test ebp, ebp
je 0x10004517
push edi
mov ecx, ebx
call fcn.10002b10
mov esi, eax
test esi, esi
jl 0x100049ca
xor esi, esi
cmp dword [esp + 0x1168], esi
je 0x10004519
mov cl, byte [edi]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov eax, edi
test cl, cl
je 0x10004462
cmp cl, 0x5c
je 0x1000445a
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x10004446
jmp 0x10004462
cmp eax, esi
jne 0x1000494f
push edi
mov ecx, ebx
call fcn.10002c40
test eax, eax
je 0x1000448f
mov ecx, dword [esp + 0x1164]
mov dword [esp + 0x1c], ecx
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], esi
call fcn.100033c0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
cmp ebp, esi
je 0x10004511
push edi
mov ecx, ebx
call fcn.10002b10
mov esi, eax
test esi, esi
jl 0x10004968
push edi
mov ecx, ebx
call fcn.10002cd0
mov esi, eax
test esi, esi
jl 0x10004968
mov dword [esp + 0x20], 0
cmp byte [edi], 0x7b
jne 0x10004503
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x10004503
mov ecx, dword [esp + 0x1168]
mov edx, dword [esp + 0x10]
push 0
push ecx
push edx
push edi
mov ecx, ebx
call fcn.10004370
mov esi, eax
test esi, esi
jl 0x100049ca
push edi
mov ecx, ebx
call fcn.10002b10
mov esi, eax
test esi, esi
jl 0x100049ca
cmp byte [edi], 0x7d
jne 0x100043e0
jmp 0x100049ca
mov dword [esp + 0x20], esi
jmp 0x10004519
xor esi, esi
push 0x100398b8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10004541
push edi
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.10002b10
mov esi, eax
test esi, esi
jl 0x100049ca
xor esi, esi
push 0x100398a0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000465d
lea edx, [esp + 0x150]
push edx
mov ecx, ebx
call fcn.10002b10
mov esi, eax
test esi, esi
jl 0x100049ca
push edi
mov ecx, ebx
call fcn.10002b10
mov esi, eax
test esi, esi
jl 0x100049ca
cmp byte [edi], 0x3d
jne 0x10004958
xor ebp, ebp
cmp dword [esp + 0x1168], ebp
je 0x100045e3
mov eax, dword [esp + 0x1164]
push edi
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebx
mov byte [esp + 0x1164], 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
call fcn.10003fc0
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
jl 0x1000496e
mov byte [esp + 0x1158], 0
mov dword [esp + 0x34], ebp
jmp 0x100044bf
cmp dword [esp + 0x116c], ebp
jne 0x1000464c
cmp dword [esp + 0x24], ebp
je 0x1000464c
mov eax, dword [esp + 0x1164]
push 0x20006
push ebp
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call fcn.10002730
cmp eax, ebp
jne 0x10004982
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x150]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebp
je 0x10004639
cmp eax, 2
jne 0x10004982
cmp esi, ebp
je 0x10004648
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
push edi
mov ecx, ebx
call fcn.10002cd0
mov esi, eax
cmp esi, ebp
jmp 0x100044fd
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x10004681
cmp cl, 0x5c
je 0x10004679
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x10004665
jmp 0x10004681
cmp eax, esi
jne 0x10004958
cmp dword [esp + 0x1168], esi
je 0x1000477e
mov eax, dword [esp + 0x1164]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push esi
push edi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x100046d1
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, esi
je 0x100046c1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x10004745
mov edx, dword [esp + 0x1164]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.10002730
test eax, eax
je 0x10004745
mov edx, dword [esp + 0x1164]
lea eax, [esp + 0x48]
push eax
xor ebp, ebp
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0x2001f
push ebp
push ebp
push ebp
push edi
push edx
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
cmp esi, ebp
jne 0x1000498e
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebp
je 0x1000472f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
cmp eax, ebp
jne 0x1000498e
push edi
mov ecx, ebx
call fcn.10002b10
mov esi, eax
test esi, esi
jl 0x100049ca
cmp byte [edi], 0x3d
jne 0x100044bf
push edi
push 0
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.10003fc0
mov esi, eax
test esi, esi
jl 0x100049ca
jmp 0x100044bf
cmp dword [esp + 0x116c], esi
jne 0x10004872
mov eax, dword [esp + 0x1164]
push 0x20019
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.10002730
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, esi
je 0x100047b7
mov dword [esp + 0x116c], 1
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x54]
push 0x104
push ecx
call fcn.1002489c
push eax
call fcn.10002530
add esp, 0x14
push edi
mov ecx, ebx
call fcn.10002b10
mov esi, eax
test esi, esi
jl 0x100049ca
push edi
mov ecx, ebx
call fcn.10002cd0
mov esi, eax
test esi, esi
jl 0x100049ca
cmp byte [edi], 0x7b
jne 0x10004842
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x10004842
mov ebp, dword [esp + 0x116c]
mov edx, dword [esp + 0x10]
push ebp
push 0
push edx
push edi
mov ecx, ebx
call fcn.10004370
mov esi, eax
test esi, esi
jge 0x1000482c
test ebp, ebp
je 0x100049ca
push edi
mov ecx, ebx
call fcn.10002b10
mov esi, eax
test esi, esi
jl 0x100049ca
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x116c], eax
cmp ebp, 2
je 0x10004503
test ebp, ebp
je 0x10004883
test eax, eax
jne 0x10004503
push ebp
call fcn.10002620
add esp, 4
mov esi, eax
jmp 0x100049ca
mov dword [esp + 0x18], 2
mov ebp, dword [esp + 0x18]
jmp 0x100047ac
test eax, eax
je 0x100048c9
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebx
call fcn.10002c80
test eax, eax
je 0x100048c9
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.10002c40
test eax, eax
je 0x10004503
cmp dword [esp + 0x24], 0
je 0x10004503
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x14]
call fcn.100033c0
jmp 0x10004503
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push eax
call fcn.10002c80
xor ebp, ebp
mov ebx, eax
cmp dword [esp + 0x10], ebp
je 0x100048f6
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebp, ebp
jne 0x100049a2
cmp dword [esp + 0x24], ebp
je 0x10004503
test ebx, ebx
jne 0x10004503
mov edx, dword [esp + 0x1164]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
call fcn.100026a0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp eax, ebx
jne 0x100049b6
lea ecx, [esp + 0x38]
call fcn.100033a0
jmp 0x10004503
lea ecx, [esp + 0x1c]
call fcn.100033a0
lea ecx, [esp + 0x10]
call fcn.100033a0
mov eax, 0x80020009
jmp 0x100049db
lea ecx, [esp + 0x1c]
jmp 0x100049c5
lea ecx, [esp + 0x30]
call fcn.100033a0
lea ecx, [esp + 0x10]
call fcn.100033a0
jmp 0x100049d9
push eax
call fcn.10002620
lea ecx, [esp + 0x2c]
jmp 0x100049c0
lea ecx, [esp + 0x10]
call fcn.100033a0
push esi
call fcn.10002620
add esp, 4
jmp 0x100049db
lea ecx, [esp + 0x10]
call fcn.100033a0
push ebp
call fcn.10002620
add esp, 4
jmp 0x100049db
push eax
call fcn.10002620
lea ecx, [esp + 0x3c]
add esp, 4
mov esi, eax
call fcn.100033a0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100049d9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x1150]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114c
ret 0x10