Function at 0x101e7d9
Capabilities:
Delete file
Delete registry key
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x1027018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0x50]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x58]
mov esi, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0x5c]
mov ecx, ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x218], edi
call fcn.0101d394
test eax, eax
jne 0x101e8b8
mov dword [ebp - 0x21c], 0x8007000e
jmp 0x101ee51
cmp dword [ebx + 0x1c], 7
jge 0x101e8cd
mov dword [ebp - 0x21c], 0x8007139f
jmp 0x101ee51
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x101ee47
cmp esi, edi
je 0x101ee47
mov eax, dword [ebx + 0x24]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x101e909
cmp dx, di
je 0x101e905
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x101e909
add ecx, 4
add eax, 4
cmp dx, di
jne 0x101e8e3
xor eax, eax
jmp 0x101e90e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x101e921
mov dword [ebp - 0x21c], 0x80070005
jmp 0x101ee51
lea eax, [ebp - 0x240]
push eax
call fcn.01023c03
mov dword [ebp - 0x21c], eax
cmp eax, edi
jne 0x101ee51
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x228]
push eax
push 0x2001f
push edi
mov esi, 0x1001708
push esi
push dword [ebp - 0x240]
call ebx
test eax, eax
je 0x101e97c
lea eax, [ebp - 0x228]
push eax
push esi
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, edi
jne 0x101ed60
lea eax, [ebp - 0x210]
push eax
push 0x2001f
push edi
push dword [ebp - 0x24c]
push dword [ebp - 0x228]
call ebx
test eax, eax
je 0x101e9bc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x24c]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, edi
jne 0x101ed60
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x23c], edi
je 0x101e9f7
push dword [ebp - 0x23c]
call ebx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x23c]
push 1
push edi
push edi
push dword [ebp - 0x210]
call esi
cmp eax, edi
jne 0x101ed60
push 4
lea eax, [ebp + 0x18]
push eax
push 4
push edi
push 0x10016e4
push dword [ebp - 0x210]
call esi
cmp eax, edi
jne 0x101ed60
push 0xc
push 0x10016d8
push 1
push edi
push 0x10016c4
push dword [ebp - 0x210]
call esi
cmp eax, edi
jne 0x101ed60
cmp dword [ebp - 0x238], edi
je 0x101ea5c
push 4
push dword [ebp - 0x238]
push 4
push edi
push 0x10016b4
push dword [ebp - 0x210]
call esi
cmp eax, edi
jne 0x101ed60
lea eax, [ebp - 0x214]
push eax
push 0x2001f
push edi
push 0x100168c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x101ea9e
lea eax, [ebp - 0x214]
push eax
push 0x100168c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, edi
jne 0x101ed60
cmp dword [ebp - 0x220], edi
je 0x101ead1
push dword [ebp - 0x220]
call ebx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x220]
push 1
push edi
push 0x1001678
push dword [ebp - 0x214]
call esi
cmp eax, edi
jne 0x101ed60
cmp dword [ebp + 0x24], edi
jne 0x101ed77
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x238]
push eax
push edi
push 0x1001670
push dword [ebp - 0x214]
mov dword [ebp - 0x220], 0x103
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101eb5a
cmp dword [ebp - 0x230], edi
je 0x101eb34
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x101eb5a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x230], edi
jne 0x101eb5a
push 0x1001670
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x238]
push eax
push edi
push 0x1001668
push dword [ebp - 0x214]
mov dword [ebp - 0x220], 0x103
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101ebda
cmp dword [ebp - 0x22c], edi
je 0x101ebb4
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x101ebda
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x22c], edi
jne 0x101ebe2
push 0x1001668
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 0x22c], edi
je 0x101ec0d
push dword [ebp - 0x22c]
call ebx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x22c]
push 1
push edi
push 0x1001668
push dword [ebp - 0x214]
call esi
cmp eax, edi
jne 0x101ed60
cmp dword [ebp - 0x230], edi
je 0x101ec40
push dword [ebp - 0x230]
call ebx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x230]
push 1
push edi
push 0x1001670
push dword [ebp - 0x214]
call esi
cmp eax, edi
jne 0x101ed60
lea eax, [ebp - 0x218]
push eax
push 0x2001f
push edi
push 0x1001644
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x101ec82
lea eax, [ebp - 0x218]
push eax
push 0x1001644
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, edi
jne 0x101ed60
push 0x1001620
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x250]
call ebx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x250]
push 1
push edi
push edi
push dword [ebp - 0x218]
call esi
cmp eax, edi
jne 0x101ed60
cmp dword [ebp + 0x24], edi
jne 0x101ee51
cmp dword [ebp - 0x248], edi
je 0x101ecf2
push dword [ebp - 0x248]
call ebx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x248]
push 1
push edi
push 0x1001604
push dword [ebp - 0x218]
call esi
cmp eax, edi
jne 0x101ed60
cmp dword [ebp - 0x244], edi
je 0x101ed21
push dword [ebp - 0x244]
call ebx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x244]
push 1
push edi
push 0x10015f8
push dword [ebp - 0x218]
call esi
cmp eax, edi
jne 0x101ed60
lea eax, [ebp - 0x224]
push eax
push 0x2001f
push edi
mov esi, 0x10015e4
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x101edd4
lea eax, [ebp - 0x224]
push eax
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, edi
je 0x101edd4
jle 0x101ed6c
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
jmp 0x101ee51
lea eax, [ebp - 0x218]
push eax
push 0x2001f
push edi
push 0x1001620
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x101edb5
lea eax, [ebp - 0x218]
push eax
push 0x1001620
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, edi
jne 0x101ed60
push 4
lea eax, [ebp + 0x30]
push eax
push 4
push edi
push 0x10015d0
push dword [ebp - 0x218]
call esi
cmp eax, edi
jne 0x101ed60
jmp 0x101ec93
push dword [ebp - 0x260]
mov ecx, dword [ebp - 0x234]
push dword [ebp - 0x264]
push dword [ebp + 0x40]
push dword [ebp - 0x224]
call fcn.0101d7cc
cmp eax, edi
mov dword [ebp - 0x21c], eax
jl 0x101ee51
push dword [ebp - 0x254]
mov ecx, dword [ebp - 0x234]
push dword [ebp + 0x4c]
push dword [ebp - 0x224]
call fcn.0101d742
cmp eax, edi
mov dword [ebp - 0x21c], eax
jl 0x101ee51
push dword [ebp - 0x258]
mov ecx, dword [ebp - 0x234]
push dword [ebp - 0x25c]
push dword [ebp + 0x54]
push dword [ebp - 0x224]
call fcn.0101d60b
jmp 0x101ed6c
mov dword [ebp - 0x21c], 0x80070057
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x224], edi
je 0x101ee67
push dword [ebp - 0x224]
call esi
cmp dword [ebp - 0x214], edi
je 0x101ee77
push dword [ebp - 0x214]
call esi
cmp dword [ebp - 0x218], edi
je 0x101ee87
push dword [ebp - 0x218]
call esi
cmp dword [ebp - 0x210], edi
je 0x101ee97
push dword [ebp - 0x210]
call esi
cmp dword [ebp - 0x228], edi
je 0x101eea7
push dword [ebp - 0x228]
call esi
mov ecx, dword [ebp - 0x234]
call fcn.0101d3ad
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102302f
leave
ret 0x58