Function at 0x100322dc
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ecd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10032367
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1003233f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1003233d
push 0x9a4
call dword [sym.imp.GDI32.dll_EndDoc]
jmp 0x10032362
mov byte [ebp - 0x11], 0
push 0x66e8
push 1
push 0x7dad
lea eax, [ebp - 0x11]
push eax
push 1
push 0x6a52
call fcn.100284f8
add esp, 0x18
jmp 0x10032502
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x100323cf
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x54]
mov edx, dword [edx]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [ecx + 0xc], eax
jmp 0x10032502
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x2c], 0x5841
mov dword [ebp - 0x68], 0x10007f50
cmp dword [ebp - 0x2c], 0x5ba0
jle 0x100324ac
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetRegionData]
and dword [ebp - 0x1c], 0
jmp 0x10032409
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5962
jge 0x100324ac
and dword [ebp - 0x20], 0
jmp 0x10032423
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2609
jge 0x100324a7
and dword [ebp - 0x24], 0
jmp 0x10032439
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1709
jge 0x100324a2
and dword [ebp - 0x28], 0
jmp 0x1003244f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7f9a
jge 0x100324a0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
shl eax, cl
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.1000a76e
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.100214f8
push eax
call fcn.10055ddf
pop ecx
lea ecx, [ebp - 0x88]
call fcn.100214ee
jmp 0x10032448
jmp 0x10032432
jmp 0x1003241c
jmp 0x10032402
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x100324c6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x5793
jge 0x100324dc
push dword [ebp - 0x68]
call fcn.10055ddf
pop ecx
jmp 0x100324f8
or dword [ebp - 4], 0xffffffff
jmp 0x10032502
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret