Function at 0x10299c5
Capabilities:
Create process on windows
Delete registry value
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1274
call fcn.01009720
mov eax, dword [0x1040190]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x1218], 0xffffffff
or dword [ebp - 0x1220], 0xffffffff
push ebx
push esi
push edi
call fcn.010299a5
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
lea eax, [ebp - 0x1210]
push eax
push 0x2000000
xor ebx, ebx
push ebx
push 0x1012498
mov edi, 0x80000002
push edi
call esi
cmp eax, ebx
jne 0x1029abb
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa0c]
push eax
push ebx
push ebx
push 0x1029e80
push dword [ebp - 0x1210]
mov dword [ebp - 0x121c], 0x800
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x1029a80
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x1029aad
test byte [eax + 0x1c], 2
je 0x1029aad
cmp byte [eax + 0x19], 5
jb 0x1029aad
lea ecx, [ebp - 0xa0c]
push ecx
push 0x1025efc
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010020c5
jmp 0x1029aad
mov ecx, dword [0x1040184]
cmp ecx, 0x1040184
je 0x1029aad
test byte [ecx + 0x1c], 2
je 0x1029aad
cmp byte [ecx + 0x19], 2
jb 0x1029aad
push eax
push 0x1025efc
push 0xb
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01001f65
push dword [ebp - 0x1210]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x1029ae8
mov ecx, dword [0x1040184]
cmp ecx, 0x1040184
je 0x1029ae8
test byte [ecx + 0x1c], 2
je 0x1029ae8
cmp byte [ecx + 0x19], 2
jb 0x1029ae8
push eax
push 0x1025efc
push 0xc
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01001f65
push ebx
call fcn.01028c6e
mov eax, dword [0x10401b8]
cmp eax, 4
je 0x1029b2d
cmp eax, 2
je 0x1029b2d
lea eax, [ebp - 0x1210]
push eax
push 0x2001b
push ebx
push 0x1004b68
push edi
mov dword [ebp - 0x1210], ebx
call esi
test eax, eax
jne 0x1029b2d
push 0x1029e60
push dword [ebp - 0x1210]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteValueW]
cmp dword [0x10401c0], ebx
je 0x1029b64
push 0x1010ca0
push 0x1029e48
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01004d53
add esp, 0x10
push 0x10
push 0x258
push 0x320
call fcn.01028ded
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
lea edi, [ebp - 0xa0c]
call esi
push 0xa1
movzx ebx, ax
call esi
xor esi, esi
movzx ecx, ax
mov eax, 0x8000
cmp dword [0x1042df0], esi
je 0x1029b95
mov ecx, eax
mov edx, ecx
or edx, ebx
test eax, edx
je 0x1029bd2
test eax, ecx
mov eax, 0x1029e40
jne 0x1029bab
mov eax, 0x1006454
lea ecx, [ebp - 0xa0c]
push ecx
push eax
push 0x1029e28
lea eax, [ebp - 0x120c]
push 0x400
push eax
call fcn.01004d53
add esp, 0x14
lea edi, [ebp - 0x120c]
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x1274]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 5
pop eax
mov dword [ebp - 0x1274], ebx
mov dword [ebp - 0x1270], edi
mov dword [ebp - 0x1268], edi
mov dword [ebp - 0x1248], 1
mov word [ebp - 0x1244], ax
cmp dword [0x10401c0], esi
je 0x1029c22
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x126c], eax
jmp 0x1029c2c
mov dword [ebp - 0x126c], 0x1029e08
lea eax, [ebp - 0x1218]
push eax
call fcn.0102945a
test eax, eax
jne 0x1029c71
mov eax, dword [0x1040184]
mov ebx, 0x1040184
cmp eax, ebx
je 0x1029c69
test byte [eax + 0x1c], 2
je 0x1029c69
cmp byte [eax + 0x19], 2
jb 0x1029c69
push edi
push 0x1025efc
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010020c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1029c76
mov ebx, 0x1040184
lea eax, [ebp - 0x1220]
push eax
lea eax, [ebp - 0x1230]
push eax
lea eax, [ebp - 0x1274]
push eax
push esi
push esi
push 0x400
push esi
push esi
push esi
push edi
push esi
push dword [ebp - 0x1218]
call dword [sym.imp.KERNEL32.dll_CreateProcessInternalW]
push dword [ebp - 0x1218]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1214], eax
call esi
cmp dword [ebp - 0x1214], 0
jne 0x1029d01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1040184]
cmp ecx, ebx
je 0x1029df6
test byte [ecx + 0x1c], 2
je 0x1029df6
cmp byte [ecx + 0x19], 2
jb 0x1029df6
push edi
push eax
push 0x1025efc
push 0xe
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01014413
jmp 0x1029df6
push dword [ebp - 0x122c]
call esi
mov esi, dword [0x10401c0]
neg esi
sbb esi, esi
and esi, 0xf731401
dec esi
mov eax, dword [0x1040184]
cmp eax, ebx
je 0x1029d44
test byte [eax + 0x1c], 2
je 0x1029d44
cmp byte [eax + 0x19], 5
jb 0x1029d44
mov edi, 0x1025efc
push edi
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001848
jmp 0x1029d49
mov edi, 0x1025efc
push esi
push dword [ebp - 0x1230]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1029dc6
cmp eax, 0xffffffff
je 0x1029da0
lea eax, [ebp - 0x1214]
push eax
push dword [ebp - 0x1230]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [0x1040184]
cmp eax, ebx
je 0x1029dea
test byte [eax + 0x1c], 2
je 0x1029dea
cmp byte [eax + 0x19], 5
jb 0x1029dea
push dword [ebp - 0x1214]
push edi
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001f65
jmp 0x1029dea
mov eax, dword [0x1040184]
cmp eax, ebx
je 0x1029dea
test byte [eax + 0x1c], 2
je 0x1029dea
cmp byte [eax + 0x19], 2
jb 0x1029dea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1040184]
push edi
push 0x11
jmp 0x1029d93
mov eax, dword [0x1040184]
cmp eax, ebx
je 0x1029dea
test byte [eax + 0x1c], 2
je 0x1029dea
cmp byte [eax + 0x19], 2
jb 0x1029dea
push esi
push edi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001f65
push dword [ebp - 0x1230]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010024b0
leave
ret