Function at 0x40a6d0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f879d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
xor edx, edx
movaps xmm0, xmmword [0x527c80]
movups xmmword [ebp - 0x92], xmm0
mov word [ebp - 0x82], 0xab
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [ebp + edx - 0x92]
push eax
call fcn.00461130
mov byte [ebp + edx - 0x92], al
inc edx
cmp edx, 0x11
jb 0x40a720
mov dword [ebp - 0x22], 0xb3bbabb1
xor ecx, ecx
mov dword [ebp - 0x1e], 0xb3bbf1b3
mov word [ebp - 0x1a], 0xb3
movzx eax, byte [ebp + ecx - 0x22]
push eax
call fcn.00461130
mov byte [ebp + ecx - 0x22], al
inc ecx
cmp ecx, 9
jb 0x40a751
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x22]
push edi
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x92]
push ecx
push eax
call edi
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x3e], 0xaa8eab91
mov dword [ebp - 0x3a], 0x90a6adba
mov dword [ebp - 0x36], 0xbcbab5bd
mov word [ebp - 0x32], 0xab
movzx eax, byte [ebp + ecx - 0x3e]
push eax
call fcn.00461130
mov byte [ebp + ecx - 0x3e], al
inc ecx
cmp ecx, 0xd
jb 0x40a7a4
mov dword [ebp - 0x2c], 0xb3bbabb1
xor ecx, ecx
mov dword [ebp - 0x28], 0xb3bbf1b3
mov word [ebp - 0x24], 0xb3
nop
movzx eax, byte [ebp + ecx - 0x2c]
push eax
call fcn.00461130
mov byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 9
jb 0x40a7d0
lea eax, [ebp - 0x2c]
push eax
call esi
lea ecx, [ebp - 0x3e]
push ecx
push eax
call edi
push dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x40aa70
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], ecx
cmp dword [eax], ecx
jbe 0x40aa6d
mov edx, dword [ebp - 0x14]
add eax, 8
mov dword [ebp - 0x5c], eax
nop
movups xmm1, xmmword [eax]
mov dword [ebp - 0x10], 0
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0xb8], xmm1
mov dword [ebp - 0x30], 0
psrldq xmm1, 4
movd eax, xmm1
movq qword [ebp - 0xa8], xmm0
cmp eax, dword [ebp - 0x50]
jne 0x40aa56
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp - 0xb0]
push edi
call dword [ebp - 0x58]
test eax, eax
js 0x40aa53
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 2
push dword [ebp - 0x10]
call dword [ebp - 0x54]
test eax, eax
mov eax, dword [ebp - 0x30]
jns 0x40a8af
test eax, eax
jne 0x40a8af
push dword [ebp - 0x10]
call esi
jmp 0x40aa53
push eax
call fcn.004dff7e
add esp, 4
mov edi, eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push edi
push 2
push dword [ebp - 0x10]
call dword [ebp - 0x54]
test eax, eax
js 0x40aa4b
cmp word [edi], 0
jbe 0x40aa50
push str.File
push dword [edi + 4]
call fcn.004d2434
add esp, 8
test eax, eax
je 0x40aa50
movaps xmm0, xmmword [0x527120]
xor ecx, ecx
movups xmmword [ebp - 0x76], xmm0
mov dword [ebp - 0x66], 0xbebaadb7
mov word [ebp - 0x62], 0xbb
nop
movzx eax, byte [ebp + ecx - 0x76]
push eax
call fcn.00461130
mov byte [ebp + ecx - 0x76], al
inc ecx
cmp ecx, 0x15
jb 0x40a910
lea eax, [ebp - 0x76]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
push 0
push 0
push eax
push 0x40a5c0
push 0
push 0
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x64
push esi
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40aa21
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x40aa21
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
test cx, cx
je 0x40aa0e
push 1
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push dword [ebp - 0x98]
call fcn.004d26a0
add esp, 8
test eax, eax
je 0x40aa0e
push edi
call fcn.004df828
push dword [ebp - 0x48]
call fcn.004df828
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push dword [ebp - 0x10]
call esi
push 1
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [ebp - 0x18]
push eax
push dword [ebp - 0xb0]
push edi
call dword [ebp - 0x58]
test eax, eax
js 0x40aa53
push dword [ebp - 0x10]
call esi
jmp 0x40aa53
push edi
call fcn.004df828
push dword [ebp - 0x48]
call fcn.004df828
add esp, 8
jmp 0x40aa45
push 0
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call fcn.004df828
mov eax, dword [ebp - 0x48]
add esp, 4
test eax, eax
je 0x40aa45
push eax
call fcn.004df828
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call esi
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x44]
add eax, 0x1c
mov dword [ebp - 0x5c], eax
cmp ecx, dword [edx]
jb 0x40a830
push edi
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402890
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret