Function at 0x1000a800
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f691
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x1002d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10c
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.1000e720
add esp, 0xc
lea eax, [ebp - 0x110]
push 0xff
push 0
push eax
call fcn.1000e720
add esp, 0xc
lea eax, [ebp - 0x210]
push 0xff
push 0
push eax
call fcn.1000e720
add esp, 0xc
lea eax, [ebp - 0x310]
push 0xff
push 0
push eax
call fcn.1000e720
xorps xmm0, xmm0
mov dword [ebp - 0x314], 0
movq qword [ebp - 0x31c], xmm0
add esp, 0xc
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
push 0xff
lea eax, [ebp - 0x310]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 1
push 0x10027344
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
call fcn.1000b2d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x438], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a930
sub ecx, edx
lea eax, [ebp - 0x310]
push ecx
push eax
lea ecx, [ebp - 0x448]
call fcn.1000b2d0
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x31c]
lea ecx, [ebp - 0x448]
call fcn.1000a160
mov edx, dword [ebp - 0x434]
add esp, 4
cmp edx, 0x10
jb 0x1000a9a6
mov ecx, dword [ebp - 0x448]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a99c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a99c
call fcn.100131df
push edx
push ecx
call fcn.1000c127
add esp, 8
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
cmp edx, 0x10
jb 0x1000a9fc
mov ecx, dword [ebp - 0x460]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a9f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a9f2
call fcn.100131df
push edx
push ecx
call fcn.1000c127
add esp, 8
mov ecx, dword [ebp - 0x318]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x31c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea esi, [esi + eax*8]
add esi, 0xffffffe8
cmp dword [esi + 0x14], 0x10
jb 0x1000aa2c
mov esi, dword [esi]
lea ecx, [ebp - 0x210]
mov edx, 0xff
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffeff]
test eax, eax
je 0x1000aa59
mov al, byte [ecx + esi]
test al, al
je 0x1000aa59
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x1000aa40
test edx, edx
lea eax, [ecx - 1]
mov esi, str.notepad.exe
mov edx, 0xff
cmovne eax, ecx
lea ecx, [ebp - 0x110]
mov byte [eax], 0
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffeff]
test eax, eax
je 0x1000aa99
mov al, byte [ecx + esi]
test al, al
je 0x1000aa99
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x1000aa80
test edx, edx
lea eax, [ecx - 1]
mov edx, 0xff
cmovne eax, ecx
lea ecx, [ebp - 0x210]
mov byte [eax], 0
nop
lea eax, [edx + 0x7ffffeff]
test eax, eax
je 0x1000aac5
cmp byte [ecx], 0
je 0x1000aac5
inc ecx
sub edx, 1
jne 0x1000aab0
test edx, edx
lea eax, [ecx - 1]
lea esi, [ebp - 0x110]
mov edx, 0xff
cmovne eax, ecx
lea ecx, [ebp - 0x430]
mov byte [eax], 0
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffeff]
test eax, eax
je 0x1000aafe
mov al, byte [ecx + esi]
test al, al
je 0x1000aafe
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x1000aae5
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
lea ecx, [ebp - 0x110]
mov byte [eax], 0
call fcn.1000a3b0
lea ecx, [ebp - 0x210]
mov esi, eax
call fcn.1000a3b0
push 0
push 0
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x430]
push eax
push 0x1000a6f0
push 0
push 0
mov dword [ebp - 0x32c], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push esi
call edi
push 0
push 0
push 0
push 0
mov dword [ebp - 0x440], 0x10002d30
mov dword [ebp - 0x43c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x440]
push eax
push 0x10007900
push 0
push 0
call fcn.10013489
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 0x434]
call ebx
push dword [ebp - 0x434]
call edi
push 0xffffffffffffffff
push esi
call ebx
push esi
call edi
jmp 0x1000ab53