Function at 0x10003100
Capabilities:
Delete registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100094e6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.10009340
mov eax, dword [0x1000e018]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x1000e018]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x60], ecx
push edi
mov ecx, eax
mov dword [esp + 0x2284], 0
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003791
cmp word [edi], 0x7d
je 0x10003780
jmp 0x100031a0
push str.Delete
push edi
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100031d1
test ebx, ebx
je 0x100032ca
mov ecx, dword [esp + 0x14]
push edi
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003780
cmp dword [ebp + 0x10], 0
je 0x100032ca
movzx eax, word [edi]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov ecx, edi
test ax, ax
je 0x10003232
cmp ax, 0x5c
je 0x1000322a
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x10003211
jmp 0x10003232
test ecx, ecx
jne 0x10003729
mov esi, 0x1000a738
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10003289
add esi, 4
cmp esi, str.RegOpenKeyTransactedW
jl 0x10003237
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.10002d20
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x100032c2
mov ebx, dword [esp + 0x14]
push edi
mov ecx, ebx
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003739
push edi
mov ecx, ebx
call fcn.10002bc0
mov esi, eax
test esi, esi
js 0x10003739
mov dword [esp + 0x2c], 0
jmp 0x100034ee
mov dword [esp + 0x2c], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x100032f4
push edi
mov ecx, ebx
mov dword [esp + 0x38], eax
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003780
push 0x1000a62c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10003442
lea eax, [esp + 0x26c]
push eax
mov ecx, ebx
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003780
push edi
mov ecx, ebx
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003780
cmp word [edi], 0x3d
jne 0x10003732
cmp dword [ebp + 0x10], 0
je 0x100033af
mov eax, dword [esp + 0x18]
mov byte [esp + 0x2280], 1
mov dword [esp + 0x38], eax
push edi
lea eax, [esp + 0x270]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.10002740
mov esi, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
test esi, esi
js 0x10003744
mov byte [esp + 0x2280], 0
mov dword [esp + 0x3c], 0
jmp 0x100034ee
cmp dword [ebp + 0x14], 0
jne 0x1000342b
cmp dword [esp + 0x34], 0
je 0x1000342b
push 0x20006
push 0
push dword [esp + 0x20]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call fcn.10002c70
test eax, eax
jne 0x1000374f
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x26c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10003410
cmp eax, 2
jne 0x1000374f
test esi, esi
je 0x10003423
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
push edi
mov ecx, ebx
call fcn.10002bc0
mov esi, eax
test esi, esi
js 0x10003780
jmp 0x1000371d
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x10003471
lea esp, [esp]
cmp ax, 0x5c
je 0x10003469
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x10003450
jmp 0x10003471
test ecx, ecx
jne 0x10003732
cmp dword [ebp + 0x10], 0
je 0x1000354a
mov esi, dword [esp + 0x18]
push 0x2001f
push edi
push esi
lea ecx, [esp + 0x28]
call fcn.10002c70
test eax, eax
je 0x100034bd
push 0x20019
push edi
push esi
lea ecx, [esp + 0x28]
call fcn.10002c70
test eax, eax
je 0x100034bd
sub esp, 0x14
lea ecx, [esp + 0x30]
push edi
push esi
call fcn.10002420
test eax, eax
jne 0x10003777
push edi
mov ecx, ebx
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003780
cmp word [edi], 0x3d
jne 0x100034ee
push edi
push 0
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.10002740
mov esi, eax
test esi, esi
js 0x10003780
cmp word [edi], 0x7b
jne 0x1000371d
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003500
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x1000371d
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x24]
push edi
call fcn.10003100
mov esi, eax
test esi, esi
js 0x10003780
push edi
mov ecx, ebx
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003780
jmp 0x1000371d
cmp dword [ebp + 0x14], 0
jne 0x1000356b
push 0x20019
push edi
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.10002c70
mov ebx, eax
test ebx, ebx
jne 0x10003570
jmp 0x10003577
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x6c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcsncpy_s]
push eax
call fcn.10002b20
mov ecx, dword [esp + 0x28]
add esp, 0x14
push edi
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003780
mov ecx, dword [esp + 0x14]
push edi
call fcn.10002bc0
mov esi, eax
test esi, esi
js 0x10003780
cmp word [edi], 0x7b
jne 0x10003611
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100035c6
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10003611
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x24]
push edi
call fcn.10003100
mov esi, eax
test esi, esi
jns 0x100035fd
cmp dword [ebp + 0x14], 0
je 0x10003780
mov ecx, dword [esp + 0x14]
push edi
call fcn.10002f70
mov esi, eax
test esi, esi
js 0x10003780
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x1000371d
test ebx, ebx
je 0x10003634
test eax, eax
jne 0x1000371d
mov ecx, ebx
jmp 0x10003779
test eax, eax
je 0x10003675
push dword [esp + 0x1c]
call fcn.10002e70
test eax, eax
je 0x10003675
lea eax, [esp + 0x64]
push eax
call fcn.10002c30
test eax, eax
je 0x1000371d
cmp dword [esp + 0x34], 0
je 0x1000371d
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
call fcn.10002d20
jmp 0x1000371d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x78]
push eax
push 0
push 0
push 0
push dword [esp + 0x48]
mov dword [esp + 0x8c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x100036ab
xor ebx, ebx
jmp 0x100036b5
xor eax, eax
cmp eax, dword [esp + 0x5c]
sbb ebx, ebx
neg ebx
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
je 0x100036cc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test eax, eax
jne 0x10003777
cmp dword [esp + 0x34], eax
je 0x1000371d
test ebx, ebx
jne 0x1000371d
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call fcn.10002ee0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
test eax, eax
jne 0x10003763
lea ecx, [esp + 0x50]
call fcn.10002ec0
cmp word [edi], 0x7d
jne 0x100031a0
jmp 0x10003780
lea ecx, [esp + 0x28]
call fcn.10002ec0
mov esi, 0x80020009
jmp 0x10003780
lea ecx, [esp + 0x28]
call fcn.10002ec0
jmp 0x10003780
lea ecx, [esp + 0x38]
call fcn.10002ec0
jmp 0x10003780
mov ecx, eax
call fcn.10002f60
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.10002ec0
jmp 0x10003780
mov ecx, eax
call fcn.10002f60
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.10002ec0
jmp 0x10003780
mov ecx, eax
call fcn.10002f60
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000378f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.100087c4
mov esp, ebp
pop ebp
ret 0x10