Function at 0x13149e2c
Capabilities:
Allocate or change rwx memory
Delete registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x13149e35
mov eax, dword [ebp - 4]
add esp, 0xfffff92c
push ebx
push esi
push edi
lea ebx, [ebp - 0x10]
push 0x1314a25c
push 0
push 0
call fcn.13144a38
mov dword [ebp - 8], eax
push 0x3e8
call sub.KERNEL32.DLL_Sleep
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
push 0x1314a284
call sub.KERNEL32.DLL_LoadLibraryA
push 0x1314a290
call sub.KERNEL32.DLL_LoadLibraryA
push 0x1314a29c
call sub.KERNEL32.DLL_LoadLibraryA
push 0x1314a2a8
call sub.KERNEL32.DLL_LoadLibraryA
push 0x1314a2b8
call sub.KERNEL32.DLL_LoadLibraryA
push ebx
mov ecx, 0x1314a2c4
mov edx, 0x1314a2d4
mov eax, 0x80000001
call fcn.13149d7c
mov dword [ebp - 0xc], eax
cmp dword [ebx], 0x3ee8
jl 0x13149eea
lea eax, [ebp - 0x46d8]
mov ecx, dword [ebx]
mov edx, dword [ebp - 0xc]
call fcn.13145d0c
push 0x1314a2c4
push 0x1314a2d4
push 0x80000001
call sub.shlwapi.dll_SHDeleteValueW
jmp 0x13149ef1
push 0
call sub.KERNEL32.DLL_ExitProcess
lea esi, [ebp - 0x15e4]
lea edi, [ebp - 0x5e4]
mov ecx, 0x173
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x310]
push eax
push 0
push 0
call fcn.13144a38
mov dword [ebp - 4], eax
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0xb7
jne 0x13149f2a
push 0
call sub.KERNEL32.DLL_ExitProcess
xor eax, eax
mov dword [ebx], eax
lea eax, [ebp - 0x306a]
mov edx, dword [0x1314c184]
mov edi, edx
mov esi, eax
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
inc dword [ebx]
add edx, 0x20a
add eax, 0x20a
cmp dword [ebx], 0xa
jne 0x13149f3a
mov eax, dword [0x1314c1a8]
mov dl, byte [ebp - 0x1c06]
mov byte [eax], dl
lea eax, [ebp - 0x19fa]
mov edx, dword [0x1314c1b8]
mov dword [edx], eax
lea eax, [ebp - 0x17f0]
mov edx, dword [0x1314c198]
mov dword [edx], eax
mov eax, dword [0x1314c1b0]
mov dl, byte [ebp - 0x289]
mov byte [eax], dl
mov eax, dword [0x1314c188]
mov edi, eax
lea esi, [ebp - 0x1c04]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x1314c1ac]
mov edx, dword [ebp - 0x13c]
mov dword [eax], edx
mov eax, dword [0x1314c1c0]
mov edi, eax
lea esi, [ebp - 0x286]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x1314c180]
mov edi, eax
lea esi, [ebp - 0x234]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x1314c194]
mov edi, eax
lea esi, [ebp - 0x1e2]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x1314c19c]
mov edi, eax
lea esi, [ebp - 0x190]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x1314c1b4]
mov dl, byte [ebp - 0x138]
mov byte [eax], dl
mov eax, dword [0x1314c1a4]
mov dl, byte [ebp - 0x288]
mov byte [eax], dl
cmp byte [ebp - 0x28a], 1
jne 0x1314a032
call fcn.13149744
xor eax, eax
mov dword [ebx], eax
lea edx, [ebp - 0x44ce]
mov eax, dword [0x1314c1c4]
mov esi, edx
mov edi, eax
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
inc dword [ebx]
add eax, 0x20a
add edx, 0x20a
cmp dword [ebx], 5
jne 0x1314a041
xor eax, eax
mov dword [ebx], eax
lea edx, [ebp - 0x3a9c]
mov eax, dword [0x1314c1a0]
mov esi, edx
mov edi, eax
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
inc dword [ebx]
add eax, 0x20a
add edx, 0x20a
cmp dword [ebx], 5
jne 0x1314a06f
mov eax, dword [0x1314c190]
mov edi, eax
lea esi, [ebp - 0x46d8]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
mov eax, 0x13149c50
xor ecx, ecx
xor edx, edx
call fcn.13145d9c
jmp 0x1314a0c2
push 0xa
call sub.KERNEL32.DLL_Sleep
call fcn.13145d88
mov eax, dword [0x1314c1c8]
cmp byte [eax], 0
je 0x1314a0b6
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
call fcn.13148cac
push 0x20a
lea eax, [ebp - 0x7ee]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x46d8]
push eax
push 0
push 0x20a
push 2
mov ecx, 0x1314a2fc
mov edx, 0x1314a2d4
mov eax, 0x80000001
call fcn.13149d34
lea eax, [ebp - 0x7ee]
push eax
push 0
push 0x20a
push 2
mov ecx, 0x1314a30c
mov edx, 0x1314a2d4
mov eax, 0x80000001
call fcn.13149d34
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x46d8]
call fcn.13145c68
test al, al
je 0x1314a24b
push 0x22
mov edx, dword [0x1314c18c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.13145dec
test eax, eax
jbe 0x1314a24b
push 0x1e
mov edx, dword [0x1314c1bc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.13145dec
test eax, eax
jbe 0x1314a24b
push 0x40
push 0x1000
mov eax, dword [ebp - 0x14]
sub eax, 0x40
push eax
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x40
mov edx, dword [ebp - 0xc]
add edx, 0x22
mov eax, esi
call fcn.13145d0c
mov edx, dword [ebp - 0x14]
sub edx, 0x40
mov ecx, 0x1314a328
mov eax, esi
call fcn.13144dfc
push 0x20a
lea eax, [ebp - 0x7ee]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
xor eax, eax
mov dword [ebx], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x7ee]
mov eax, esi
call fcn.131466fc
push 0x1f4
call sub.KERNEL32.DLL_Sleep
push 0x1314a338
push 0
push 0
call fcn.13144a38
mov dword [ebp - 8], eax
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0xb7
sete byte [ebp - 0x15]
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
cmp byte [ebp - 0x15], 0
jne 0x1314a23e
mov eax, dword [0x1314c17c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_TerminateProcess
inc dword [ebx]
cmp dword [ebx], 7
jge 0x1314a24b
cmp byte [ebp - 0x15], 1
jne 0x1314a1e0
push 0
call sub.KERNEL32.DLL_ExitProcess
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4