Function at 0x140047cc0
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b8]
sub rsp, 0x3b8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
movups xmm0, xmmword [rdx]
movsd xmm1, qword [rdx + 0x10]
movsx ebx, r9b
mov rdi, r8
mov r13, rcx
mov byte [rsp + 0x60], bl
movaps xmmword [rbp - 0x10], xmm0
movsd qword [rbp], xmm1
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, ebx
mov dword [rbp - 0x60], ebx
mov qword [rbp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rdi
mov qword [rbp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r13
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rbp + 0x160]
xor esi, esi
mov qword [rbp + 0x50], rax
lea rax, str.geometry
xor edx, edx
mov r8d, 0x140
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rax
call fcn.1400e27d0
lea rdx, [rbp + 0x160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x68], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rbp + 0x160]
xor edx, edx
mov r8d, 0x140
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x70], rax
call fcn.1400e27d0
lea rdx, [rbp + 0x160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r15, rax
mov qword [rbp - 0x78], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movaps xmm0, xmmword [rbp + 0x40]
movaps xmm1, xmmword [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov r14, rax
mov qword [rbp - 0x80], rax
movaps xmmword [rbp + 0xe0], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0xf0], xmm1
lea rax, str.cattle
lea rcx, [rbp + 0xe0]
mov r9, r15
movaps xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0x100], xmm0
xor r8d, r8d
mov qword [rsp + 0x20], rax
movsd xmm0, qword [rbp + 0x80]
movsd qword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x110], xmm1
call fcn.140092ce0
lea rcx, str.pince_nez
mov qword [rsp + 0x68], rax
call fcn.1400ba050
mov ecx, ebx
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, r13
xor ecx, ecx
mov r12, rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp - 0x44], 0x40
mov dword [rbp - 0x48], eax
lea rax, str.ticket
lea edx, [rsi + 0x7d]
lea r8d, [rsi + 1]
xor ecx, ecx
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
or rbx, 0xffffffffffffffff
mov dword [rbp - 0x28], esi
mov qword [rbp - 0x20], r15
mov rsi, rbx
mov qword [rbp - 0x30], rax
nop dword [rax]
inc rsi
cmp byte [rdi + rsi], 0
jne 0x140047ea0
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
mov eax, r13d
sub eax, dword [rbp]
add r15d, 0xffffffe8
sub eax, r14d
add eax, dword [rbp - 0x68]
add eax, r15d
movaps xmmword [rbp + 0xa0], xmm0
movaps xmmword [rbp + 0xb0], xmm1
add esi, eax
mov dword [rsp + 0x20], esi
movups xmm0, xmmword [rbp - 0x30]
movsd xmm1, qword [rbp - 0x20]
movaps xmmword [rbp + 0xc0], xmm0
movsd qword [rbp + 0xd0], xmm1
call fcn.1400ad4e0
movsx r9, byte [rsp + 0x60]
mov rcx, rbx
mov r15, rax
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140047f01
mov r8d, dword [rbp - 8]
mov rdx, qword [rbp - 0x78]
mov eax, r12d
sub eax, r14d
lea r12d, [rsi - 0x12]
mov r14, rbx
imul ecx, r8d
imul ecx, r13d
imul eax, edx
add ecx, eax
sub ecx, r9d
sub ecx, dword [rsp + 0x68]
add r12d, ecx
inc r14
cmp byte [rdi + r14], 0
jne 0x140047f36
mov rax, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x70]
add eax, eax
add ecx, 0xffffffec
sub eax, r8d
sub eax, dword [rbp + 0x80]
sub eax, edx
add eax, r13d
add eax, ecx
mov ecx, r12d
add r14d, eax
call fcn.1400bf5c0
mov qword [rbp - 0x70], rax
cmp byte [rsp + 0x60], sil
jg 0x1400480de
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x1400ed4fc]
movzx edx, al
mov dword [rsp + 0x78], eax
call fcn.140079580
xor ecx, ecx
mov edx, 0x229
lea r8d, [rcx + 8]
mov qword [rbp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x50], 0x10
mov qword [rbp - 0x30], r13
mov r9, rax
mov qword [rbp + 0x98], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x48], rax
lea rax, str.angora
mov rdx, rbx
mov qword [rbp - 0x40], rax
lea rax, [0x1400ed4fc]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0x28], rax
nop dword [rax]
inc rdx
cmp byte [r15 + rdx], 0
jne 0x140047ff0
movups xmm0, xmmword [rbp - 0x50]
mov ecx, dword [rbp + 0x70]
movups xmm1, xmmword [rbp - 0x40]
mov rax, qword [rbp - 0x70]
imul edx, r12d
mov r8b, 1
imul ecx, dword [rbp - 0x80]
imul edx, esi
movaps xmmword [rbp + 0xa0], xmm0
movaps xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rbp - 0x30]
lea eax, [rax + rcx*8]
add ecx, eax
movzx eax, byte [rsp + 0x78]
add ecx, ecx
sub eax, ecx
mov rcx, r9
sub eax, edx
lea rdx, [rbp + 0xa0]
movaps xmmword [rbp + 0xc0], xmm0
sub eax, dword [rbp - 0x60]
add eax, 9
mov dword [rbp - 0x20], eax
movsd xmm1, qword [rbp - 0x20]
movsd qword [rbp + 0xd0], xmm1
call fcn.1400d32a0
movzx r9d, byte [rsp + 0x78]
xor eax, eax
lea r8, [0x140001b00]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call fcn.14005f6d0
mov eax, dword [rbp - 8]
mov rcx, qword [rbp + 0x90]
imul eax, r13d
imul ecx, r12d
mov rdx, qword [rbp - 0x78]
add ecx, ecx
lea r8, str.link
imul eax, dword [rbp + 0x48]
imul eax, dword [rsp + 0x68]
add edx, 0xfffffff8
imul eax, dword [rbp - 0x80]
sub eax, ecx
mov rcx, qword [rsp + 0x70]
sub eax, dword [rbp - 0x68]
add eax, dword [rbp + 0x98]
add eax, ecx
lea rcx, str.himalayan
add edx, eax
call fcn.1400780d0
lea rcx, [rbp - 0x50]
call fcn.140075350
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0xe0], xmm0
movaps xmmword [rbp + 0xf0], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp + 0x100], xmm0
movaps xmmword [rbp + 0x110], xmm1
cmp r14d, r12d
jbe 0x140048121
mov rcx, qword [rsp + 0x68]
call fcn.1400d6f50
mov rax, qword [rbp - 0x70]
xor ecx, ecx
xorps xmm0, xmm0
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
movdqu xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x130], rax
mov eax, esi
lea r8, str.c1a1
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], esi
lea rdx, str.pince_nez
xor r9d, r9d
mov ecx, r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor ecx, ecx
mov qword [rbp + 0x148], rax
lea rax, str.cleaner
lea r8d, [rcx + 0x1b]
mov edx, 0x264
mov qword [rbp + 0x150], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [rbp - 0x10]
mov rsi, qword [rbp - 0x78]
imul ecx, r13d
mov qword [rbp + 0x158], rax
mov eax, dword [rbp + 0xe0]
imul eax, r14d
sub ecx, eax
mov eax, dword [rsp + 0x68]
imul eax, dword [rbp - 0x80]
sub ecx, eax
lea eax, [rsi + 0xf]
add ecx, dword [rbp + 0x70]
add eax, ecx
mov dword [rbp + 0x10], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, r12d
mov qword [rbp + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, qword [rsp + 0x68]
movups xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x20], rax
lea rax, str.lasagna
mov qword [rbp + 0x30], 0
movaps xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], r13
lea r9, [rbp + 0xa0]
movups xmm0, xmmword [rbp + 0x30]
movups xmm1, xmmword [rbp + 0x20]
lea r8, [rbp - 0x50]
lea rdx, str.glue
movaps xmmword [rbp + 0xc0], xmm0
movaps xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rbp + 0x130]
movups xmm1, xmmword [rbp + 0x140]
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rbp + 0x150]
movaps xmmword [rbp - 0x30], xmm0
call fcn.140062960
movzx edx, al
cmp r12d, r14d
ja 0x1400483ce
mov rcx, rbx
nop
inc rcx
cmp byte [r15 + rcx], 0
jne 0x140048270
mov r9, qword [rbp - 0x68]
mov r8, qword [rbp + 0xe0]
movzx eax, sil
imul cl
movzx ecx, al
movzx eax, r12b
imul cl
movzx ecx, al
movzx eax, byte [rbp - 0x70]
imul cl
movzx ecx, al
movzx eax, r9b
imul cl
movzx ecx, al
movzx eax, byte [rsp + 0x68]
imul cl
mov rcx, qword [rbp - 0x80]
movzx esi, al
movzx eax, r8b
add al, al
sub sil, al
mov rax, rbx
add sil, sil
sub sil, byte [rbp + 0x10]
sub sil, byte [rbp - 8]
sub sil, cl
sub sil, byte [rbp + 0x48]
add sil, 7
add sil, r13b
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x1400482e0
movsx r10, byte [rsp + 0x60]
lea ecx, [rcx + rcx*8]
add ecx, ecx
imul eax, r10d
sub eax, ecx
movsx rcx, dl
add eax, ecx
mov rdx, rbx
sub eax, dword [rbp + 0x40]
sub eax, dword [rsp + 0x70]
sub eax, r12d
nop dword [rax]
inc rdx
cmp byte [r15 + rdx], 0
jne 0x140048310
lea ecx, [rax + r13]
lea r15d, [r9 + 2]
add edx, ecx
add edx, r8d
add r15d, edx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x18], rax
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140048340
imul ebx, dword [rbp - 8]
mov r8, qword [rsp + 0x70]
mov edx, dword [rbp + 0x110]
movups xmm0, xmmword [rbp + 0x10]
lea eax, [rbx + r13]
mov rbx, qword [rbp - 0x80]
imul edx, dword [rbp - 0x70]
movaps xmmword [rbp - 0x10], xmm0
lea ecx, [r8 + r8*4]
mov qword [rbp + 0x28], r8
lea r9, [0x1400ed4fc]
imul edx, r14d
imul edx, r12d
add edx, eax
lea eax, [rbx + 2]
movzx r8d, sil
lea eax, [rdx + rax*2]
lea rdx, str.c0a4
add ecx, eax
lea rax, str.c10a1
mov qword [rsp + 0x30], rax
mov dword [rbp + 0x20], ecx
lea rax, [rbp - 0x10]
movups xmm1, xmmword [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x40]
mov dword [rsp + 0x20], r15d
movaps xmmword [rbp], xmm1
call fcn.1400c62a0
mov rcx, rbx
call fcn.14009cfc0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret