Function at 0x100031d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x230
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test byte [0x1000c018], 8
jne 0x100032f0
test edi, edi
je 0x100032db
mov esi, dword [section..bss]
test esi, esi
je 0x10003480
mov ecx, dword [edi]
lea esi, [ebp - 0x20c]
mov eax, esi
mov esi, edi
mov edi, eax
test ecx, ecx
jne 0x10003252
jmp 0x100032d0
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
test edx, edx
je 0x100032b8
call dword [ecx + 0x1c]
sub esp, 0x10
test eax, eax
js 0x100032a8
mov ecx, dword [esi + 8]
add esi, 8
test ecx, ecx
je 0x100032d0
mov eax, dword [esi + 4]
cmp ecx, 1
mov edx, dword [eax]
mov dword [ebp - 0x20c], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x208], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x204], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x200], eax
mov eax, dword [section..bss]
mov ecx, dword [eax]
jne 0x10003220
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
test edx, edx
je 0x100032c0
call dword [ecx + 0x14]
sub esp, 0x10
test eax, eax
jns 0x10003244
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
call dword [ecx + 0x20]
sub esp, 0x10
jmp 0x10003240
call dword [ecx + 0x18]
sub esp, 0x10
jmp 0x10003240
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100033a0
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test ebx, ebx
je 0x100034e8
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x10003468
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x1000e070
mov dword [esp + 4], eax
call fcn.10001680
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s__p__x__n
mov dword [esp + 8], str.AtlRegisterClassCategoriesHelper
mov dword [esp + 0x18], esi
mov dword [esp + 4], 0x1000c018
mov dword [esp], 3
call fcn.10001970
jmp 0x100031ef
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x200]
mov ecx, 0x7d
mov dword [ebp - 0x20c], 0x4c0043
mov dword [ebp - 0x208], 0x490053
lea esi, [ebp - 0x200]
mov dword [ebp - 0x204], 0x5c0044
rep stosd dword es:[edi], eax
mov dword [esp], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ebx, [esi + eax*2 - 2]
mov eax, 0x5c
sub esp, 0xc
mov word [ebx], ax
xor eax, eax
lea esi, [esi]
movzx edx, word [eax + str.Implemented_Categories]
mov word [ebx + eax + 2], dx
add eax, 2
test dx, dx
jne 0x10003400
lea esi, [ebp - 0x20c]
mov edi, dword [sym.imp.advapi32.dll_RegDeleteKeyW]
mov dword [esp], 0x80000000
mov dword [esp + 4], esi
call edi
xor eax, eax
sub esp, 8
lea esi, [esi]
movzx edx, word [eax + str.Required_Categories]
mov word [ebx + eax + 2], dx
add eax, 2
test dx, dx
jne 0x10003438
mov dword [esp + 4], esi
mov dword [esp], 0x80000000
call edi
xor eax, eax
sub esp, 8
jmp 0x100032dd
mov dword [esp + 4], ebx
mov dword [esp], 0x1000e061
call fcn.10001680
jmp 0x10003367
lea esi, [ebp - 0x20c]
mov dword [esp + 0xc], 0x100153a8
mov dword [esp + 0x10], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x10015288
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x100032a8
mov edx, dword [ebp - 0x20c]
xor eax, eax
lock cmpxchg dword [section..bss], edx
test eax, eax
je 0x10003205
mov eax, dword [ebp - 0x20c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10003205
mov eax, section..rdata
jmp 0x10003367