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

Disassembly:
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
xor eax, eax
mov r12, r8
mov rbx, rdx
mov esi, ecx
mov r9d, ecx
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
mov qword [rbp - 0x50], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, qword [rbp + 0x160]
mov r13d, dword [rbp + 0x168]
mov r15d, esi
mov ecx, edi
mov rdx, rax
mov qword [rbp - 0x38], rax
imul ecx, r13d
sub r15d, ecx
mov rcx, r14
sub r15d, dword [r12]
mov r8d, r15d
mov dword [rbp - 0x48], r15d
call fcn.1400bd2d0
movzx r14d, al
mov byte [rsp + 0x60], r14b
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rbx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, r14d
mov rdi, rax
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, rdi
mov rcx, r12
mov r9, rax
mov r14, rax
mov qword [rbp - 0x40], rax
call fcn.140062010
mov dword [rsp + 0x6c], eax
call fcn.1400adef0
lea rdx, [0x1400ed3f4]
movzx edi, al
lea rcx, str.coat
mov r8, r12
mov byte [rsp + 0x62], dil
call fcn.1400d8cb0
mov edx, edi
or rdi, 0xffffffffffffffff
mov qword [rbp - 0x70], rax
movzx eax, byte [rbp + 0x158]
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140030eb0
mov r8, qword [rbp + 0x160]
imul ecx, eax
mov eax, r14d
imul eax, dword [rbp - 0x38]
imul eax, r8d
add ecx, eax
lea eax, [rsi - 2]
sub ecx, edx
mov edx, 0x22f
add eax, ecx
xor ecx, ecx
lea r8d, [rcx + 0x11]
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, dword [rsp + 0x6c]
movzx ecx, byte [rsp + 0x60]
mov dword [rsp + 0x30], r9d
mov r8, r14
mov dword [rsp + 0x28], ecx
xor r9d, r9d
mov rdx, r14
mov rcx, r14
mov dword [rsp + 0x74], eax
mov dword [rbp + 0x48], eax
mov qword [rbp + 0x50], r12
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [rsp + 0x70], eax
mov rcx, rdi
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140030f32
movzx eax, byte [rbp + 0x158]
mov r14, qword [rbp - 0x50]
mov r10, qword [rbp - 0x80]
imul ecx, eax
mov r9, qword [rbp - 0x70]
mov r8d, dword [rsp + 0x6c]
mov r11d, eax
imul ecx, r13d
mov eax, r14d
imul eax, r15d
add ecx, eax
lea eax, [rsi + 6]
sub ecx, r10d
add ecx, r9d
add eax, ecx
mov rcx, rdi
mov dword [rsp + 0x68], eax
lea eax, [r12 + r12]
mov dword [rsp + 0x7c], eax
movzx eax, byte [rsp + 0x62]
mov edx, eax
imul eax, r8d
mov dword [rbp - 0x58], eax
nop
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140030f90
movsd xmm1, qword [rbp + 0x50]
imul ecx, r14d
movzx r14d, byte [rsp + 0x60]
imul ecx, dword [rbp + 0x160]
mov eax, r12d
movsd qword [rbp + 0x30], xmm1
imul ecx, r13d
sub eax, ecx
lea ecx, [r12 + r8*2]
sub eax, dword [rbp - 0x58]
sub eax, r14d
mov r14d, r12d
sub eax, r10d
mov r10, qword [rbp - 0x38]
add eax, 0xfffffffc
add eax, dword [rsp + 0x7c]
add eax, r15d
imul r14d, r10d
add eax, esi
mov dword [rbp], eax
mov eax, dword [rbp - 0x50]
imul eax, r13d
add r14d, eax
mov eax, r10d
sub r14d, edx
mov rdx, qword [rbp - 0x40]
imul eax, r15d
add r14d, r11d
imul eax, r13d
lea ecx, [rax + rcx*2]
add r14d, edx
mov eax, r11d
add r14d, r8d
mov r8d, dword [rsp + 0x70]
imul eax, esi
add ecx, eax
add r14d, esi
lea rax, str.ottoman
sub ecx, r9d
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
sub ecx, edx
mov qword [rsp + 0x28], rax
mov dword [rbp + 4], r14d
movsd xmm0, qword [rbp]
mov dword [rbp - 0x68], ecx
mov dword [rbp - 8], ecx
mov ecx, dword [rsp + 0x68]
movsd qword [rbp - 0x10], xmm0
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x20], xmm0
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x64]
lea rdx, [rbp + 0x20]
mov r9, r12
mov dword [rbp + 0x1c], r14d
call fcn.1400b4d20
mov rcx, rdi
mov byte [rsp + 0x61], al
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140031075
movzx eax, byte [rbp + 0x160]
mov r9d, dword [rsp + 0x6c]
xor edx, edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
imul cl
mov ecx, dword [rsp + 0x70]
movzx edx, byte [rsp + 0x60]
movzx r13d, al
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
movzx eax, r12b
lea r8, [0x1400ed3f4]
add al, al
lea rdx, str.tabernacle
mov dword [rsp + 0x20], esi
add r13b, al
sub r13b, byte [rbp + 4]
sub r13b, cl
sub r13b, byte [rsp + 0x62]
add r13b, byte [rsp + 0x68]
add r13b, sil
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [rbp]
movzx edx, byte [rsp + 0x61]
mov qword [rbp - 0x60], rax
movzx eax, byte [rsp + 0x62]
imul ecx, dword [rsp + 0x64]
sub edx, ecx
movzx ecx, byte [rsp + 0x60]
sub edx, eax
lea eax, [rsi + 2]
sub edx, ecx
sub edx, r12d
sub edx, dword [rbp - 0x80]
sub edx, dword [rsp + 0x6c]
sub edx, r15d
sub edx, dword [rbp + 0x168]
add edx, dword [rbp - 0x70]
add edx, dword [rbp - 0x40]
add eax, edx
mov dword [rbp - 0x78], eax
call fcn.14009ef40
movzx ecx, r13b
mov rsi, rax
mov rax, rdi
mov dword [rbp - 0x30], ecx
inc rax
cmp byte [rsi + rax], 0
jne 0x140031144
imul eax, ecx
imul r15d, eax, 0xfffffff9
movzx eax, byte [rsp + 0x62]
imul eax, dword [rbp - 0x80]
imul eax, dword [rbp - 0x48]
inc eax
imul eax, r12d
sub r15d, eax
movzx eax, byte [rbp + 0x158]
sub r15d, eax
mov rax, rdi
sub r15d, r14d
sub r15d, dword [rsp + 0x68]
sub r15d, dword [rsp + 0x64]
sub r15d, dword [rbp + 0x168]
add r15d, dword [rbp - 0x70]
add r15d, dword [rbp + 0x160]
add r15d, dword [rbp + 0x140]
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1400311a0
sub r15d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8, rdi
mov dword [rsp + 0x78], eax
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400311c0
movzx eax, byte [rsp + 0x70]
mov r9d, dword [rsp + 0x6c]
mov r10d, dword [rsp + 0x64]
imul r10b
mov r11d, dword [rsp + 0x68]
lea ecx, [rax + 1]
movzx eax, r12b
imul cl
movzx r14d, al
movzx eax, r13b
mov r13d, dword [rbp + 0x140]
movzx ecx, r9b
imul r11b
add r14b, al
shl cl, 2
lea edx, [rcx + r9]
mov rax, rdi
add dl, dl
sub r14b, dl
mov edx, dword [rbp + 0x168]
sub r14b, dl
sub r14b, byte [rbp - 0x70]
sub r14b, byte [rbp + 0x158]
add r14b, r13b
add r14b, byte [rbp - 0x80]
add r14b, byte [rsp + 0x60]
sub r14b, r8b
inc rax
cmp byte [rsi + rax], 0
jne 0x140031235
mov r8, qword [rbp + 0x150]
add r14b, 4
add r14b, al
add r14b, byte [r8 + 4]
mov r8, rdi
inc r8
cmp byte [rsi + r8], 0
jne 0x140031253
lea ecx, [r9 + 1]
movzx r9d, byte [rsp + 0x61]
mov eax, r10d
sub eax, r11d
add ecx, eax
mov eax, dword [rbp - 0x30]
imul ecx, r12d
imul eax, r9d
movzx r9d, byte [rbp + 0x158]
sub ecx, eax
mov rax, qword [rbp + 0x150]
sub ecx, dword [rbp - 0x78]
add ecx, r9d
movzx r9d, r14b
add ecx, dword [rax]
lea eax, [rdx + 5]
lea rdx, [0x1400ed3f4]
add ecx, dword [rbp - 0x60]
add ecx, dword [rbp - 0x50]
add ecx, r13d
sub ecx, r8d
mov r8d, dword [rsp + 0x78]
add eax, ecx
lea rcx, str.joey
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov ecx, r15d
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x20], 0
call fcn.1400b37f0
movzx ecx, byte [rsp + 0x62]
movzx r9d, r14b
mov r10, rax
lea edx, [rcx*4]
mov qword [rbp - 0x28], rax
mov dword [rbp + 0x10], r9d
mov dword [rbp + 0x14], edx
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140031300
mov r8, qword [rbp + 0x160]
mov eax, dword [rbp - 0x50]
add ecx, ecx
imul eax, r8d
mov r8d, dword [rsp + 0x74]
imul eax, r13d
imul eax, dword [rbp + 0x168]
imul r8d, dword [rsp + 0x64]
add eax, r8d
sub eax, ecx
movzx ecx, byte [rsp + 0x61]
sub eax, r9d
sub eax, ecx
movzx ecx, byte [rsp + 0x60]
sub eax, edx
mov r14d, ecx
sub eax, r12d
sub eax, dword [rbp - 0x70]
add eax, ecx
mov rcx, qword [rbp - 0x40]
add eax, r10d
add ecx, 0xfffffffe
add eax, dword [rbp - 0x68]
add eax, ecx
mov dword [rbp + 0x140], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, dword [rbp + 0x140]
lea rdx, str.knot
lea rcx, [rbp + 0xb0]
mov r9, rax
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x20], r12
call fcn.1400aca40
lea rcx, str.c5ret
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x90], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [rbp + 0xa0], xmm0
call fcn.1400bcd70
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdx, rdi
mov dword [rsp + 0x74], eax
lea rax, str.c3a0
mov qword [rbp + 0x20], rax
mov eax, r14d
imul eax, r12d
mov dword [rbp + 0x18], eax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x1400313f5
imul eax, dword [rbp - 0x38]
mov ecx, dword [rbp - 0x20]
mov r14d, dword [rbp - 0x48]
mov r8, qword [rbp + 0x150]
imul ecx, dword [rbp - 0x28]
imul eax, r14d
imul edx, r15d
imul eax, dword [rbp + 0x168]
imul ecx, r12d
shl ecx, 2
sub ecx, eax
mov eax, dword [rbp - 0x60]
imul eax, dword [rbp - 0x78]
sub ecx, eax
mov eax, dword [rsp + 0x68]
imul eax, dword [rsp + 0x70]
sub ecx, eax
mov eax, r13d
sub ecx, edx
imul eax, dword [r8 + 4]
add ecx, eax
movzx eax, byte [rsp + 0x61]
sub ecx, eax
mov rax, qword [rbp - 0x80]
add ecx, dword [rbp]
add eax, 2
add eax, ecx
mov dword [rbp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, qword [rbp - 0x40]
mov r9, qword [rbp - 0x80]
mov r8, qword [rbp + 0x160]
movsxd r11, dword [rbp - 0x18]
mov dword [rbp + 0x2c], eax
lea rax, str.pantry
mov ecx, 1
mov qword [rbp + 0x30], rax
mov eax, dword [rbp - 0x10]
imul eax, dword [rbp - 0x28]
sub ecx, eax
movzx eax, byte [rsp + 0x60]
imul ecx, r12d
imul eax, dword [rbp - 0x38]
sub ecx, eax
movzx eax, byte [rsp + 0x61]
imul eax, dword [rbp - 0x60]
add ecx, eax
lea eax, [r13 - 2]
sub ecx, dword [rbp - 0x20]
sub ecx, r15d
sub ecx, dword [rsp + 0x7c]
sub ecx, dword [rsp + 0x6c]
add ecx, r9d
add ecx, edx
add ecx, r8d
add eax, ecx
mov ecx, dword [rbp + 0x14]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x10]
imul ecx, dword [rbp - 0x70]
imul ecx, edx
mov edx, dword [rsp + 0x78]
imul eax, r11d
sub ecx, eax
mov eax, edx
imul eax, r15d
add ecx, eax
mov eax, r9d
imul eax, r14d
add ecx, eax
movzx eax, byte [rsp + 0x61]
sub ecx, dword [rbp + 0xa0]
sub ecx, dword [rbp + 0x40]
sub ecx, dword [rbp - 0x20]
sub ecx, dword [rbp + 0x140]
sub ecx, dword [rbp - 0x60]
sub ecx, dword [rbp - 0x68]
sub ecx, r12d
add ecx, eax
add ecx, dword [rsp + 0x68]
add ecx, r8d
mov rax, qword [rbp + 0x150]
add ecx, r13d
lea r8, str.tabernacle
mov eax, dword [rax + 4]
mov r9d, r14d
add eax, 0xfffffff3
add eax, ecx
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov ecx, dword [rsp + 0x6c]
mov qword [rsp + 0x40], r11
mov dword [rbp + 0x3c], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x168]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r11d
lea rdx, str.knot
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
movzx ecx, byte [rsp + 0x74]
lea r8, [rbp + 0x40]
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
lea rdx, str.c8a0
mov r9, rax
mov qword [rbp - 0x28], rax
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
call fcn.1400b2870
mov rdx, rdi
mov r9d, eax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x1400315b4
mov rcx, qword [rbp - 0x10]
imul edx, dword [rbp - 0x60]
mov r8, qword [rbp + 0x150]
movzx r10d, byte [rbp + 0x158]
mov eax, r12d
imul ecx, dword [rbp + 0x140]
imul edx, dword [rbp - 0x78]
shl ecx, 2
imul eax, dword [rsp + 0x70]
sub eax, ecx
movzx ecx, byte [rsp + 0x74]
imul eax, r12d
imul ecx, dword [rbp - 0x20]
sub eax, ecx
mov ecx, dword [rbp + 0x18]
imul ecx, r14d
sub eax, ecx
mov ecx, dword [r8 + 8]
mov r8, qword [rbp + 0x160]
imul ecx, r10d
add eax, ecx
mov rcx, qword [rbp - 0x70]
sub eax, edx
imul ecx, dword [rsp + 0x7c]
sub eax, ecx
movzx ecx, byte [rsp + 0x61]
imul ecx, ecx, 7
sub eax, ecx
mov ecx, dword [rbp + 0x90]
lea edx, [rcx + rcx*4]
mov rcx, qword [rbp - 0x40]
sub eax, edx
sub eax, dword [rbp - 0x30]
sub eax, r9d
sub eax, dword [rsp + 0x78]
sub eax, r15d
sub eax, dword [rbp + 0x1c]
sub eax, dword [rbp - 0x50]
sub eax, ecx
add eax, dword [rbp - 0x58]
add eax, dword [rbp - 0x28]
add eax, dword [rbp + 0x3c]
add eax, dword [rbp - 0x80]
add eax, dword [rsp + 0x68]
add eax, dword [rbp - 0x38]
add eax, dword [rsp + 0x64]
add eax, r8d
add eax, r13d
add eax, dword [rbp + 0x168]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140031673
mov rbx, qword [rsp + 0x248]
sub eax, edi
sub eax, 0x10
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret