Function at 0x140038320
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, rcx
mov rdi, r8
mov r14, rdx
lea rcx, [rbp + 0x70]
xor edx, edx
mov r8d, 0x140
mov rbx, r9
call fcn.1400e27d0
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
or rsi, 0xffffffffffffffff
mov r13, rax
mov rcx, rsi
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140038381
mov r15d, r12d
mov rax, rsi
sub r15d, ecx
inc rax
cmp byte [rbx + rax], 0
jne 0x140038393
sub r15d, eax
xor r8d, r8d
mov rdx, r14
mov r9d, r15d
mov rcx, r13
mov dword [rsp + 0x50], r15d
call fcn.1400811e0
mov dword [rsp + 0x44], eax
cmp eax, r15d
jl 0x1400384a1
mov qword [rbp - 0x60], r13
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400383d0
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x1400383e0
add ecx, eax
mov eax, r14d
mov qword [rbp - 0x50], r13
imul eax, r12d
add ecx, eax
mov dword [rbp - 0x58], ecx
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
mov qword [rbp - 0x38], r14
movzx eax, ax
mov dword [rbp - 0x48], eax
lea rax, [0x1400ed3b8]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], rax
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x140038420
xor ecx, ecx
imul eax, r12d
mov edx, 0x32f
lea r8d, [rcx + 0x18]
mov dword [rbp - 0x28], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x20], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, r12d
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
sub ecx, r14d
mov qword [rsp + 0x28], 0
lea r9, [0x1400ed3b8]
movaps xmmword [rbp + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x30], xmm1
add ecx, dword [rsp + 0x44]
mov r8, rax
xor edx, edx
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x40], xmm0
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x20]
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm1
call fcn.140077420
mov eax, r14d
imul eax, r12d
mov dword [rsp + 0x4c], eax
sub eax, dword [rsp + 0x44]
add eax, r14d
mov dword [rbp - 0x60], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor edx, edx
mov qword [rbp - 0x58], rax
mov rax, rsi
mov qword [rbp - 0x50], rdx
nop dword [rax]
inc rax
cmp byte [rbx + rax], dl
jne 0x1400384d0
mov rcx, rsi
nop dword [rax + rax]
inc rcx
cmp byte [rdi + rcx], dl
jne 0x1400384e0
imul eax, ecx
mov qword [rbp - 0x40], rdx
sub eax, r13d
add eax, r12d
mov dword [rbp - 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movsxd r8, dword [rsp + 0x44]
movzx eax, ax
mov r9, r8
mov rdx, rbx
xor ecx, ecx
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 0
mov dword [rbp - 0x38], eax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov edx, eax
mov dword [rsp + 0x48], eax
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140038540
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
movzx eax, r14b
imul cl
movzx ecx, al
movaps xmmword [rbp + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movzx eax, r13b
imul cl
lea rcx, [rbp - 0x60]
add al, byte [rsp + 0x44]
add al, r12b
mov byte [rsp + 0x30], al
mov dword [rsp + 0x28], edx
lea rdx, [rbp + 0x20]
movaps xmmword [rbp + 0x30], xmm1
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x40], xmm0
mov byte [rsp + 0x40], al
movaps xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x50], xmm1
movaps xmmword [rbp + 0x60], xmm0
call fcn.140086650
mov edx, 0xf
xor ecx, ecx
lea r8d, [rdx + 7]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm0
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx rdx, byte [rsp + 0x40]
mov rcx, rsi
mov qword [rbp - 0x70], rax
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400385d5
imul eax, dword [rsp + 0x48], 0x23
imul ecx, r14d
imul ecx, r12d
sub ecx, eax
mov rax, rsi
sub ecx, r13d
add ecx, edx
add ecx, dword [rbp + 8]
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140038600
sub ecx, eax
mov dword [rsp + 0x64], 2
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov dword [rsp + 0x60], ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov qword [rbp - 0x78], 0
lea rdx, [0x1400ed3b8]
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
mov dword [rbp - 0x80], eax
lea rax, [rbp + 0x20]
xor r8d, r8d
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rbp - 0x80]
mov rcx, r14
mov qword [rsp + 0x20], rax
movaps xmmword [rbp + 0x40], xmm0
call fcn.140085b30
mov rax, qword [rbp - 8]
mov rdx, rsi
cmp byte [rax + rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x140038673
mov ecx, dword [rsp + 0x4c]
imul eax, r15d, 7
add ecx, eax
lea eax, [rdx - 1]
lea eax, [rcx + rax*2]
add eax, dword [rbp - 0x70]
add eax, r13d
mov dword [rsp + 0x4c], eax
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x1400386a0
lea r15d, [r12 + r12]
sub r15d, dword [rsp + 0x48]
add r15d, r14d
add r15d, dword [rbp - 0x10]
sub r15d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x60], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [r12 - 7]
mov qword [rsp + 0x68], rax
lea rax, str.c2a3
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x70], rax
imul eax, r14d, 0xb
add ecx, eax
mov dword [rsp + 0x78], ecx
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1400386f4
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movzx eax, r13b
lea r8, str.c3ret
lea rdx, str.thong
mov r9d, r15d
imul byte [rsp + 0x50]
lea ecx, [r12 + rax]
movzx eax, r14b
movaps xmmword [rbp - 0x10], xmm0
imul cl
mov ecx, dword [rsp + 0x4c]
movzx edi, al
movsx eax, byte [rsp + 0x40]
sub dil, al
add dil, byte [rbp]
add dil, byte [rsp + 0x48]
imul eax, dword [rsp + 0x44]
movaps xmmword [rbp], xmm1
add eax, 2
sub dil, sil
add eax, r12d
add dil, 5
add eax, dword [rbp - 0x70]
add eax, r13d
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x10]
mov byte [rsp + 0x28], dil
mov qword [rsp + 0x20], rax
call fcn.1400af630
xor esi, esi
lea r8, [0x140001b00]
movsx r9, dil
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov ebx, eax
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 8], r13
mov qword [rbp - 0x10], rax
mov qword [rbp], r13
lea r9, str.c2a2
movups xmm0, xmmword [rbp - 0x10]
movsd xmm1, qword [rbp]
lea r8, [rsp + 0x60]
lea rcx, str.scorn
mov dl, 0x10
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.140099d20
movsx eax, dil
cmp ebx, eax
jl 0x140038818
movsx r9, byte [rsp + 0x40]
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8d, [rsi + 4]
mov edx, 0x1a7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x28], r14
call fcn.1400d61c0
lea rax, str.c5a3
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret