Function at 0x10030f34
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10030f9f
lea eax, [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10030f7a
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x10030f9a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10030f9a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x10031130
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10031118
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x5245
je 0x10031014
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x10031014
and dword [ebp - 0x20], 0
jmp 0x1003101b
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
je 0x10031033
mov dword [ebp - 0x24], 1
jmp 0x10031037
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx]
jne 0x10031055
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x10031055
and dword [ebp - 0x7c], 0
jmp 0x1003105c
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jae 0x10031075
mov dword [ebp - 0x28], 1
jmp 0x10031079
and dword [ebp - 0x28], 0
imul eax, dword [ebp - 0x28], 0x9ba0
cmp eax, 0x5d1cb6a7
je 0x10031090
mov dword [ebp - 0x2c], 1
jmp 0x10031094
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0xfffffffe
jg 0x100310a3
mov dword [ebp - 0x30], 1
jmp 0x100310a7
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x100310ba
mov dword [ebp - 0x34], 1
jmp 0x100310be
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jg 0x100310d1
mov dword [ebp - 0x38], 1
jmp 0x100310d5
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x3d1aa12a
jne 0x100310e7
mov dword [ebp - 0x18], 1
jmp 0x100310eb
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
jne 0x10031107
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x10031107
and dword [ebp - 0x3c], 0
jmp 0x1003110e
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x10031130
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10031130
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esp, ebp
pop ebp
ret