Function at 0x1000c870
Capabilities:
Create thread
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x10015018]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov esi, dword [0x10019404]
push edi
cmp esi, dword [0x10019408]
je 0x1000caff
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp byte [esi], 2
jne 0x1000c8c6
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push closesocket
mov dword [esp + 0x1c], ebx
call edi
cmp dword [esp + 0x10], ebx
jne 0x1000c8e9
add esi, 0x105
cmp esi, dword [0x10019408]
jne 0x1000c8a5
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1000ce99
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10019408]
mov esi, dword [0x10019404]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000c94c
xor edi, edi
cmp byte [edi + esi], 2
jne 0x1000c928
lea ecx, [edi + esi + 1]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x10019404]
mov ecx, dword [0x10019408]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x1000c90c
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1001e9fc], 0
jne 0x1000caff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.MSVCR100.dll_rand]
mov dword [0x1001e9fc], eax
call esi
cmp dword [0x10015284], 0xffffffff
je 0x1000c98d
cmp byte [0x100192b8], 0
jne 0x1000cab0
mov ecx, 0x13
call fcn.10006570
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
mov dword [esp + 0x14], eax
mov eax, dword [0x1001e254]
test eax, eax
je 0x1000c9d0
xor esi, esi
push esi
push esi
push 0x10
push eax
call edi
mov edx, dword [0x1001e984]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1001e254], esi
call ebx
jmp 0x1000c9d2
xor esi, esi
mov eax, dword [0x1001e37c]
cmp eax, esi
je 0x1000c9f8
push esi
push esi
push 0x10
push eax
call edi
mov ecx, dword [0x1001e984]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1001e37c], esi
call ebx
mov eax, dword [0x1001e4a4]
cmp eax, esi
je 0x1000ca1d
push esi
push esi
push 0x10
push eax
call edi
mov eax, dword [0x1001e984]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1001e4a4], esi
call ebx
mov eax, dword [esp + 0x14]
push 0xff
push 0x6a
mov esi, 0x1001e4a0
call fcn.1000b1c0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000baa0
push 0
push 0
mov dword [0x1001e4a8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [0x1001e4a8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x1001e4a8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1001e4a4]
test eax, eax
je 0x1000caab
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x1001e984]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1001e4a4], 0
call ebx
call fcn.1000b720
mov word [esp + 0x18], 0x85c1
call esi
and eax, 0x800000ff
jns 0x1000cac7
dec eax
or eax, 0xffffff00
inc eax
push 0x40
mov byte [esp + 0x1e], al
lea eax, [esp + 0x21]
push 0
push eax
mov word [esp + 0x27], 0x6d2
call sub.MSVCR100.dll_memset
push 0x40
lea ecx, [esp + 0x6d]
push 0
push ecx
call sub.MSVCR100.dll_memset
movzx ecx, byte [esp + 0x31]
add esp, 0x18
lea edx, [esp + 0x18]
call fcn.10001730
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000ce99
mov esp, ebp
pop ebp
ret