Function at 0x102a850
Capabilities:
Create process on windows
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4bc
mov eax, dword [0x103f058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 2
pop esi
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [0x10405b0], eax
mov dword [0x1041700], esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0x2ac]
cmp ebx, edi
je 0x102a8a5
push 0x153
push ebx
push eax
call dword [sym.imp.msvcrt.dll_mbstowcs]
add esp, 0xc
jmp 0x102a8b5
push 0x1002720
push 0x154
push eax
call fcn.01027e68
push edi
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
test eax, eax
jge 0x102a8d2
push 0x10047dc
push esi
call fcn.01039f1b
mov esi, dword [sym.imp.msvcrt.dll_wcsstr]
lea eax, [ebp - 0x2ac]
push 0x10047b4
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102a8f1
call fcn.010299f2
call fcn.0103baf0
test eax, eax
je 0x102a9b6
lea eax, [ebp - 0x2ac]
push 0x100479c
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x102aea1
push 0x1004730
push 2
call fcn.01039f1b
push 0x104
lea eax, [ebp - 0x4b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x102aea1
lea eax, [ebp - 0x4b4]
push eax
call fcn.0102e61a
push 0x1004700
push 0x208
lea eax, [ebp - 0x4b4]
push eax
call fcn.01027f1e
test eax, eax
jl 0x102aea1
lea eax, [ebp - 0x4b4]
push eax
call fcn.0102e8b9
test eax, eax
je 0x102aea1
push 0x10046e8
push 0x154
lea eax, [ebp - 0x2ac]
push eax
call fcn.01027edd
test eax, eax
jl 0x102aea1
push 0xa
push edi
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x4b4]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x102aea1
call fcn.01027789
call fcn.01027910
call fcn.0102764f
cmp ebx, edi
je 0x102ae86
lea eax, [ebp - 0x2ac]
push 0x10046cc
push eax
call esi
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x2ac]
je 0x102aa02
push 0x10046a0
push eax
call esi
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
push eax
call fcn.0102aeb9
jmp 0x102ae86
push 0x1004678
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102aa89
mov dword [ebp - 0x4b8], edi
mov dword [ebp - 0x4bc], edi
call fcn.01028efb
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4bc]
push eax
push 0x20019
push edi
push 0x1004618
mov ebx, 0x80000002
push ebx
call esi
test eax, eax
je 0x102aa78
lea eax, [ebp - 0x4b8]
push eax
push 3
push edi
push 0x10039a8
push ebx
call esi
test eax, eax
jne 0x102ae86
push 0x10045f0
push dword [ebp - 0x4b8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x4b8]
jmp 0x102aa7e
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102ae86
lea eax, [ebp - 0x2ac]
push 0x10045c8
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102aaa7
call fcn.0102951f
jmp 0x102ae86
call fcn.010308c4
lea eax, [ebp - 0x2ac]
push 0x10045ac
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102aaca
call fcn.0102a69a
jmp 0x102ae86
lea eax, [ebp - 0x2ac]
push 0x1004590
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x102ae86
lea eax, [ebp - 0x2ac]
push 0x1004570
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x102ae86
lea eax, [ebp - 0x2ac]
push 0x1004560
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ab1d
call fcn.01027938
call fcn.01027aff
jmp 0x102ae86
lea eax, [ebp - 0x2ac]
push 0x100453c
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ab36
call fcn.01028efb
lea eax, [ebp - 0x2ac]
push 0x1004528
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ab54
call fcn.01039fe7
jmp 0x102ae86
lea eax, [ebp - 0x2ac]
push 0x1004510
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ab78
call fcn.01036681
push edi
call fcn.01037d3f
jmp 0x102ae86
lea eax, [ebp - 0x2ac]
push 0x10044fc
push eax
call esi
pop ecx
pop ecx
mov ebx, 0x10044e0
test eax, eax
je 0x102aba1
lea eax, [ebp - 0x2ac]
push ebx
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x102abb5
lea eax, [ebp - 0x2ac]
push 0x10044c0
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102abba
call fcn.01031e27
lea eax, [ebp - 0x2ac]
push 0x10044ac
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ac23
call fcn.0102d126
test eax, eax
jne 0x102ae86
lea eax, [ebp - 0x2ac]
push ebx
push eax
call esi
pop ecx
pop ecx
push edi
test eax, eax
je 0x102abf3
call fcn.01028afa
jmp 0x102abf8
call fcn.010288dd
call fcn.0102980a
call fcn.0102cfac
call fcn.01036681
call fcn.01027c8a
push edi
push edi
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x102ae86
lea eax, [ebp - 0x2ac]
push 0x10044fc
push eax
call esi
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x2ac]
je 0x102ac74
push ebx
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ac55
call fcn.010281e2
push 1
call fcn.01028afa
jmp 0x102ac5c
push 1
call fcn.010288dd
call fcn.01027caf
push 1
call fcn.0102ca13
call fcn.01036ea3
call fcn.010296a3
jmp 0x102ac0c
push 0x1004488
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102aca6
call fcn.01039fbc
push edi
push edi
push edi
call fcn.0103925c
push edi
push edi
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x102aea1
lea eax, [ebp - 0x2ac]
push 0x1004470
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102acc4
call fcn.0102fa3c
jmp 0x102ae86
call fcn.0102ba33
call fcn.01028efb
lea eax, [ebp - 0x2ac]
push 0x1004458
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ace7
call fcn.0102a828
lea eax, [ebp - 0x2ac]
push 0x1004444
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ad00
call fcn.010277de
lea eax, [ebp - 0x2ac]
push 0x100442c
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ad39
push 1
call fcn.010273ea
test eax, eax
je 0x102ad33
lea eax, [ebp - 0x2ac]
push 0x1004414
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x102ad39
push edi
call fcn.0102ca13
push edi
call fcn.010273ea
mov ebx, dword [sym.imp.SHELL32.dll_SHChangeNotify]
test eax, eax
je 0x102ad55
push 1
push 1
push edi
call fcn.0103925c
jmp 0x102ad8f
lea eax, [ebp - 0x2ac]
push 0x1004400
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ad6d
push edi
push edi
jmp 0x102ad4d
lea eax, [ebp - 0x2ac]
push 0x10043e4
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x102ad9d
push edi
push edi
push 1
call fcn.0103925c
call fcn.010288c2
push edi