Function at 0x1003f809
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061dde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x1003fb7e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x1003faf1
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x2c], 0xc2e
mov dword [ebp - 0xd0], 0x1000b720
cmp dword [ebp - 0x2c], 0xcc8
jle 0x1003f961
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and dword [ebp - 0x24], 0
jmp 0x1003f8d4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x395
jge 0x1003f961
and dword [ebp - 0x20], 0
jmp 0x1003f8ee
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5a8a
jge 0x1003f95c
and dword [ebp - 0x1c], 0
jmp 0x1003f904
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a60
jge 0x1003f95a
and dword [ebp - 0x28], 0
jmp 0x1003f91a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x24ad
jge 0x1003f958
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x28]
sar eax, cl
xor eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
mov ecx, 0x10609898
call fcn.1000fe8e
jmp 0x1003f913
jmp 0x1003f8fd
jmp 0x1003f8e7
jmp 0x1003f8cd
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x897
jge 0x1003f984
mov edx, dword [ebp - 0xd0]
mov ecx, 0x10609898
call fcn.10011938
jmp 0x1003f9a0
or dword [ebp - 4], 0xffffffff
jmp 0x1003f9aa
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x34], 0x5bd5
mov dword [ebp - 0xb0], 0x1000b758
cmp dword [ebp - 0x34], 0x5ef6
jle 0x1003fa4c
and dword [ebp - 0x14], 0
jmp 0x1003f9da
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xdf1
jge 0x1003fa4c
and dword [ebp - 0x18], 0
jmp 0x1003f9f0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x440e
jge 0x1003fa4a
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xe8]
call fcn.1000d5c0
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.1000fe6e
push eax
call fcn.1004bbc6
pop ecx
lea ecx, [ebp - 0xe8]
call fcn.1000fe64
jmp 0x1003f9e9
jmp 0x1003f9d3
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x5bb6
jge 0x1003fa6e
push dword [ebp - 0xb0]
call fcn.1004bbc6
pop ecx
jmp 0x1003fa8a
or dword [ebp - 4], 0xffffffff
jmp 0x1003fa94
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x80]
mov edx, dword [edx]
add edx, dword [ecx + 0x20]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx]
mov dword [ecx + eax], edx
jmp 0x1003fb7c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x94]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x9c]
mov edx, dword [edx]
mov esi, dword [ebp - 0xa4]
mov esi, dword [esi]
mov edi, dword [ebp - 0x30]
mov edi, dword [edi]
add edi, dword [esi + 0x24]
lea edx, [edi + edx*2]
mov esi, dword [ebp - 0x38]
mov esi, dword [esi]
mov dx, word [esi + edx]
mov word [ecx + eax], dx
jmp 0x1003fbbf
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
push 0
push 0x873
push 0xb97
push 0x710c
push dword [ebp - 0xac]
push dword [ebp - 0xb4]
push 0x5a56
push 0x28d4
call fcn.1003f7b1
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret