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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x950
mov eax, dword [0x100e0dc]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor ebx, ebx
mov word [ebp - 0x20c], bx
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push 0x57
pop esi
push 0x10036c0
stosw word es:[edi], ax
mov dword [ebp - 0x91c], ebx
call fcn.010073ab
pop ecx
call fcn.01007d77
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x920], eax
jne 0x100665d
and eax, 0x80000000
mov dword [ebp - 0x924], eax
je 0x10068a8
cmp dword [ebp + 0xc], ebx
je 0x10068b1
push 0x10036a8
call fcn.0100795e
test byte [ebp - 0x91f], 0x34
je 0x10066bd
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
mov esi, 0x10020bc
push esi
mov dword [ebp - 0x91c], 0x208
call fcn.0100781d
test eax, eax
jne 0x10066b5
test byte [ebp - 0x91f], 4
je 0x10066b5
lea eax, [ebp - 0x20c]
push eax
push dword [0x100e664]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push esi
call fcn.0100795e
mov esi, eax
test byte [ebp - 0x91f], 0x30
je 0x100695c
test byte [ebp - 0x91f], 0x10
je 0x10066f4
push ebx
push ebx
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.010079dc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xffffffa9
add esi, 0x57
cmp esi, ebx
jne 0x100682e
mov edi, 0x100
test dword [ebp - 0x920], edi
je 0x1006742
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x63c]
push eax
push ebx
push ebx
mov esi, 0x1002620
push esi
mov dword [ebp - 0x91c], edi
call fcn.0100781d
push esi
mov dword [ebp - 0x924], eax
call fcn.0100795e
cmp dword [ebp - 0x924], ebx
jne 0x100682e
test byte [ebp - 0x91f], 2
je 0x100677c
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x528]
push eax
push ebx
push ebx
mov esi, 0x1002604
push esi
mov dword [ebp - 0x91c], edi
call fcn.0100781d
push esi
mov edi, eax
call fcn.0100795e
cmp edi, ebx
jne 0x100682e
test byte [ebp - 0x91f], 0x80
je 0x10067fa
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x950]
push eax
push ebx
push ebx
mov esi, 0x10025e8
push esi
mov dword [ebp - 0x91c], 0x2c
call fcn.0100781d
push esi
mov edi, eax
call fcn.0100795e
cmp edi, ebx
jne 0x100682e
mov eax, dword [ebp - 0x950]
mov dword [ebp - 0x640], eax
mov eax, dword [ebp - 0x94c]
mov dword [ebp - 0x52c], eax
mov eax, dword [ebp - 0x948]
mov dword [ebp - 0x418], eax
lea esi, [ebp - 0x944]
lea edi, [ebp - 0x53c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x934]
lea edi, [ebp - 0x428]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test byte [ebp - 0x920], 0x10
je 0x100682e
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push ebx
mov esi, 0x10025c4
push esi
mov dword [ebp - 0x91c], 0x208
call fcn.0100781d
push esi
call fcn.0100795e
test byte [ebp - 0x91f], 0x20
push ebx
je 0x10068c6
lea eax, [ebp - 0x924]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [0x100e664]
mov dword [ebp - 0x924], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x100695c
push dword [ebp - 0x924]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01005fcd
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01007c46
jmp 0x100695c
cmp dword [ebp + 0xc], ebx
je 0x100665d
push 0x1003668
call fcn.010073ab
pop ecx
mov eax, 0x8009999
jmp 0x10069e9
push ebx
lea eax, [ebp - 0x918]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.010079dc
test eax, eax
je 0x1006959
mov eax, dword [ebp - 0x920]
and al, 0x10
neg al
lea ecx, [ebp - 0x414]
sbb eax, eax
and eax, ecx
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01005fcd
mov esi, eax
cmp esi, ebx
jne 0x100695c
lea eax, [ebp - 0x6ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x100695c
lea eax, [ebp - 0x918]
push eax
lea eax, [ebp - 0x6ec]
push eax
call fcn.0100709f
test eax, eax
je 0x100695c
lea eax, [ebp - 0x640]
push eax
call fcn.0100732b
test eax, eax
je 0x100694c
push 0x10035c8
jmp 0x1006951
push 0x1003520
call fcn.010073ab
pop ecx
jmp 0x100695c
push 0x57
pop esi
test byte [ebp - 0x920], 1
je 0x10069a9
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x640]
push eax
push ebx
push ebx
mov edi, 0x1001b20
push edi
mov dword [ebp - 0x91c], 0x22c
call fcn.0100781d
push edi
mov esi, eax
call fcn.0100795e
cmp esi, ebx
jne 0x10069e7
lea eax, [ebp - 0x640]
push eax
call fcn.0100732b
test eax, eax
jne 0x10069ad
push 0x57
pop esi
cmp esi, ebx
jne 0x10069e7
cmp dword [0x100e660], ebx
jne 0x10069e7
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x1003504
push dword [0x100e664]
call edi
push 0x10034e4
push dword [0x100e664]
call edi
push 0x10034d0
push dword [0x100e664]
call edi
call fcn.0100751e
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01007f55
leave
ret 8