Function at 0x14001cbe0
Capabilities:
Copy file
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r13, qword [rbp + 0x2a8]
movsx rax, r8b
mov rdi, rdx
movzx edx, byte [rbp + 0x298]
mov qword [rbp + 8], rcx
mov rcx, qword [rbp + 0x290]
or r14, 0xffffffffffffffff
mov qword [rsp + 0x58], rcx
mov r10d, edx
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x38], r9d
mov byte [rsp + 0x32], al
mov r8, rax
mov qword [rbp - 0x68], rax
mov r15, r14
inc r15
cmp byte [rdi + r15], 0
jne 0x14001cc53
imul r15d, r8d
sub r15d, r9d
sub r15d, r10d
sub r15d, dword [rbp + 0x2a0]
add r15d, ecx
mov rcx, r14
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14001cc74
imul cl
movzx ebx, al
movzx eax, dl
imul r9b
add bl, al
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r8d, bl
mov r9, rax
mov ecx, r15d
mov qword [rsp + 0x70], rax
call fcn.140089730
movsx rsi, al
mov byte [rsp + 0x30], sil
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp + 0xe0]
mov edx, 0x104
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov r12, r14
mov dword [rbp - 8], eax
mov rax, rsi
mov qword [rbp - 0x38], rax
nop dword [rax]
inc r12
cmp byte [r13 + r12], 0
jne 0x14001cce0
imul r12d, eax
mov rax, r14
imul r12d, r15d
inc rax
cmp byte [rdi + rax], 0
jne 0x14001ccf6
mov rcx, qword [rbp - 0x68]
lea r8, [0x140001b00]
xor edx, edx
mov r9, rcx
imul eax, ecx
add r12d, eax
xor eax, eax
sub r12d, dword [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor ecx, ecx
sub r12d, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
sub r12d, dword [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0xa8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, r13
mov qword [rbp + 0xb8], rax
movzx eax, bl
mov rcx, rdi
mov r8d, eax
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
mov edx, 0x17a
lea r8d, [rcx + 5]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, r14
mov qword [rsp + 0x78], rax
inc rcx
cmp byte [r13 + rcx], 0
jne 0x14001cd80
movzx eax, r15b
imul cl
movzx ecx, al
movzx eax, byte [rsp + 0x32]
imul cl
movzx ecx, al
mov rax, r14
sub cl, sil
sub cl, bl
inc rax
cmp byte [rdi + rax], 0
jne 0x14001cda6
add cl, al
mov byte [rsp + 0x31], cl
cmp cl, byte [rsp + 0x34]
jl 0x14001ce10
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, str.tabernacle
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rbp + 0xe0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rbp + 0xe0]
lea rcx, str.tabernacle
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov r8, qword [rsp + 0x58]
lea rdx, str.method
lea rcx, [0x1400ed4d4]
call fcn.1400d1e80
mov r9, qword [rbp - 0x68]
lea r8, [0x140001b00]
mov dword [rsp + 0x44], eax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov edx, 0x2c1
lea r8d, [rcx + 0x14]
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx rbx, byte [rsp + 0x31]
mov ecx, ebx
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r8, qword [rsp + 0x70]
mov rcx, rbx
mov qword [rbp + 0x10], rax
lea rax, str.c2a1
mov qword [rbp - 0x70], rbx
mov qword [rbp + 0x28], rax
lea rax, str.wrist
mov dword [rbp + 0x18], 4
mov qword [rbp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x38], rax
lea rax, [0x1400ee018]
mov rbx, r14
mov qword [rbp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov esi, eax
imul esi, dword [rsp + 0x44]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14001ced6
movups xmm0, xmmword [rbp + 0x10]
movups xmm1, xmmword [rbp + 0x20]
mov edx, dword [rsp + 0x38]
imul eax, ecx
lea r9, [rbp + 0x50]
imul edx, dword [rsp + 0x40]
lea ecx, [rax + rax*4]
mov eax, dword [rsp + 0x3c]
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x60], xmm1
imul edx, r15d
add ecx, ecx
add eax, 0xffffffb8
movups xmm0, xmmword [rbp + 0x30]
movsd xmm1, qword [rbp + 0x40]
sub edx, ecx
mov rcx, qword [rbp - 0x58]
sub edx, dword [rbp - 0x38]
movaps xmmword [rbp + 0x70], xmm0
movsd qword [rbp + 0x80], xmm1
sub edx, r8d
mov r8, qword [rbp - 0x78]
add edx, esi
add edx, dword [rbp - 0x68]
add eax, edx
lea rdx, str.c1ret
add ebx, eax
mov qword [rbp - 0x28], rbx
mov dword [rsp + 0x20], ebx
call fcn.140072210
mov rcx, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x58]
mov qword [rbp - 0x48], rax
lea eax, [rcx + rcx*4]
mov rdx, r14
add eax, eax
mov dword [rbp - 0x30], eax
imul r8d, dword [rsp + 0x38]
mov dword [rbp - 4], r8d
inc rdx
cmp byte [rdi + rdx], 0
jne 0x14001cf74
imul edx, dword [rbp - 0x68]
imul eax, dword [rsp + 0x3c]
imul eax, dword [rsp + 0x34]
sub edx, eax
mov eax, dword [rbp - 0x78]
imul eax, ecx
sub edx, eax
mov rax, r14
sub edx, esi
mov rsi, qword [rbp - 0x58]
sub edx, ebx
add edx, r8d
add edx, esi
inc rax
cmp byte [r13 + rax], 0
jne 0x14001cfa5
add eax, 0xfffffffa
mov ecx, 0xffff
add eax, edx
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov rcx, r14
mov dword [rsp + 0x54], eax
mov rax, qword [rbp - 0x78]
lea r8d, [rax + rax*4]
movsx eax, byte [rsp + 0x30]
mov dword [rbp - 0x20], r8d
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14001cfe0
imul ecx, dword [rsp + 0x38]
imul eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x44]
imul ecx, dword [rsp + 0x4c]
imul eax, dword [rsp + 0x70]
imul eax, dword [rbp + 0x2a0]
add ecx, eax
mov eax, r8d
imul eax, esi
mov esi, edx
add ecx, eax
mov rax, qword [rsp + 0x78]
sub ecx, ebx
add eax, 0x76
sub ecx, edx
sub ecx, dword [rsp + 0x3c]
add ecx, dword [rsp + 0x58]
add eax, ecx
mov rcx, rdi
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400ed4d4]
mov r9, rbx
mov r8d, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
xor ecx, ecx
mov edx, 0x1a2
movsxd rbx, eax
lea r8d, [rcx + 0x17]
mov dword [rsp + 0x3c], ebx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x50]
mov qword [rbp - 0x50], rax
mov byte [rsp + 0x20], bl
call fcn.1400c1390
mov edx, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x48]
mov rsi, rax
cmp r9d, edx
jbe 0x14001d4af
movsx r8, bl
mov rcx, r14
nop dword [rax + rax]
inc rcx
cmp byte [r13 + rcx], 0
jne 0x14001d0a0
mov eax, dword [rsp + 0x58]
imul ecx, dword [rsp + 0x38]
imul ecx, dword [rbp + 0x2a0]
imul eax, edx
imul eax, dword [rbp - 0x58]
sub ecx, eax
mov rax, r14
inc rax
cmp byte [rdi + rax], 0
jne 0x14001d0c7
imul eax, dword [rbp - 0x68]
mov rbx, qword [rbp - 0x48]
add ecx, eax
mov eax, dword [rsp + 0x70]
imul eax, r15d
lea eax, [rax + rax*2]
lea ecx, [rcx + rax*2]
mov eax, dword [rsp + 0x34]
sub ecx, r8d
add eax, 0xfffffffb
sub ecx, dword [rbp + 0x10]
add ecx, ebx
add ecx, dword [rbp + 0xa8]
add ecx, r9d
add ecx, dword [rbp - 0x38]
add eax, ecx
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r8d, dword [rsp + 0x60]
mov r9, rax
xor ecx, ecx
mov qword [rbp - 0x10], rax
call fcn.1400d4990
lea rcx, [rbp + 0xe0]
mov edx, 0x104
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
lea r8d, [rcx + 7]
mov edx, 0x30e
mov qword [rbp - 0x60], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rbp - 0x60]
mov qword [rbp], rax
call fcn.14006b0a0
mov rdx, r14
mov r9d, eax
mov dword [rbp - 0x40], eax
inc rdx
cmp byte [rdi + rdx], 0
jne 0x14001d163
mov r8, r14
nop
inc r8
cmp byte [rsi + r8], 0
jne 0x14001d170
mov rax, qword [rbp - 0x58]
add edx, dword [rbp - 0x10]
lea r10d, [rax*2 - 1]
movsx eax, byte [rsp + 0x32]
add edx, r8d
imul r10d, dword [rsp + 0x58]
imul eax, dword [rsp + 0x38]
sub r10d, eax
mov eax, r9d
imul eax, dword [rsp + 0x64]
sub r10d, eax
mov eax, dword [rsp + 0x34]
lea eax, [rax*4]
sub r10d, eax
mov rax, r14
sub r10d, dword [rsp + 0x40]
sub r10d, dword [rbp - 0x70]
sub r10d, dword [rsp + 0x60]
add r10d, 0x17
add r10d, edx
add r10d, ebx
add r10d, dword [rbp - 0x38]
add r10d, r15d
mov dword [rbp - 0x18], r10d
nop
inc rax
cmp byte [rsi + rax], 0
jne 0x14001d1e0
imul eax, dword [rsp + 0x50]
mov rdx, qword [rbp - 0x28]
mov r11, qword [rbp - 0x60]
mov rcx, r14
imul eax, edx
imul r8d, eax, 0xfffffffa
mov eax, r11d
imul eax, r9d
imul eax, dword [rsp + 0x60]
sub r8d, eax
movsx eax, byte [rsp + 0x30]
imul eax, dword [rsp + 0x40]
sub r8d, eax
sub r8d, dword [rbp - 0x78]
sub r8d, dword [rsp + 0x44]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14001d225
mov rax, qword [rbp - 0x70]
add eax, 0xe
add r8d, eax
mov rax, r14
add r8d, ecx
mov dword [rbp - 0x80], r8d
inc rax
cmp byte [rdi + rax], 0
jne 0x14001d242
imul eax, dword [rbp + 0x2a0]
lea eax, [rax + rax*2]
lea ecx, [rax*2 - 1]
mov eax, dword [rbp - 0x50]
imul ecx, dword [rsp + 0x58]
imul eax, r11d
movsxd r11, dword [rsp + 0x3c]
sub ecx, eax
mov rax, qword [rsp + 0x70]
add eax, eax
sub ecx, eax
movsx rax, r11b
sub ecx, dword [rbp - 0x70]
sub ecx, dword [rbp]
sub ecx, dword [rbp + 0xb8]
sub ecx, eax
mov eax, dword [rsp + 0x34]
sub ecx, edx
mov rdx, qword [rbp - 0x78]
add eax, 0xffffffeb
add ecx, r9d
add ecx, ebx
add ecx, dword [rsp + 0x78]
add eax, ecx
lea rcx, str.drink
mov qword [rsp + 0x28], rcx
lea rcx, str.c2a1
mov r9d, eax
mov qword [rsp + 0x20], rcx
mov ecx, r10d
mov dword [rsp + 0x68], eax
call fcn.14007f330
mov rdx, r14
mov rbx, rax
nop
inc rdx
cmp byte [rdi + rdx], 0
jne 0x14001d2d0
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x40]
imul ecx, dword [rbp - 0x38]
imul edx, eax
imul eax, dword [rbp - 0x70]
imul ecx, dword [rsp + 0x70]
imul edx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, dword [rbp - 0x10]
lea ecx, [rcx + rcx*2]
sub ecx, dword [rbp - 0x28]
imul eax, dword [rsp + 0x64]
lea eax, [rax + rcx*2]
lea ecx, [rdx + rax*2]
movsxd rdx, dword [rsp + 0x3c]
mov eax, 1
sub eax, dword [rbp - 0x80]
lea eax, [rax + rax*4]
add ecx, eax
mov rax, qword [rbp - 0x60]
lea eax, [rax + rax*8]
add ecx, eax
movsx rax, dl
sub ecx, dword [rbp - 0x40]
sub ecx, eax
mov rax, qword [rbp - 0x48]
sub ecx, dword [rsp + 0x78]
mov qword [rsp + 0x20], rax
sub ecx, dword [rsp + 0x50]
add ecx, dword [rsp + 0x54]
add ecx, dword [rbp - 0x78]
mov r9d, ecx
mov dword [rbp - 0x1c], ecx
call fcn.140096e70
mov rcx, r14
mov edx, eax
mov dword [rbp - 0x80], eax
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14001d360
sub dl, byte [rbp - 0x48]
movzx eax, byte [rbp - 0x50]
imul cl
movzx r8d, al
movzx eax, byte [rsp + 0x78]
imul byte [rsp + 0x34]
movzx ecx, al
movzx eax, byte [rsp + 0x31]
imul cl
movzx ecx, dl
shl cl, 2
add dl, cl
mov rcx, qword [rsp + 0x70]
sub dl, al
movzx eax, byte [rbp - 0x18]
imul byte [rbp - 0x40]
sub dl, al
movzx eax, cl
add al, al
add cl, al
movzx eax, byte [rbp - 0x60]
add cl, cl
sub dl, cl
add r8b, dl
imul byte [rbp]
movzx ecx, al
shl cl, 3
add al, cl
add r8b, al
mov rax, r14
sub r8b, byte [rsp + 0x68]
sub r8b, byte [rsp + 0x44]
sub r8b, byte [rsp + 0x38]
sub r8b, byte [rbp - 0x10]
sub r8b, 0xc
add r8b, byte [rsp + 0x64]
add r8b, bl
add r8b, byte [rsp + 0x48]
nop dword [rax + rax]
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x14001d3f0
lea edx, [rax + r8]
xor ecx, ecx
call fcn.1400cd6e0
mov ebx, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, r14
mov r10, rax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x14001d414
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x48]
imul edx, dword [rbp - 0x50]
mov r9, qword [rbp - 0x60]
imul ecx, dword [rsp + 0x40]
imul eax, dword [rsp + 0x54]
imul ecx, dword [rsp + 0x4c]
imul ecx, r15d
sub eax, ecx
lea ecx, [rax + rax*2]
lea eax, [r12 + r12*4]
sub ecx, eax
mov eax, dword [rbp - 0x80]
add ecx, dword [rsp + 0x60]
imul eax, dword [rbp - 0x48]
lea r8d, [rax + rcx*2]
mov eax, r9d
mov rcx, r14
imul eax, dword [rsp + 0x64]
add r8d, eax
sub r8d, edx
sub r8d, ebx
sub r8d, dword [rsp + 0x68]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14001d473
mov eax, dword [rbp - 0x1c]
mov dl, 2
add eax, r8d
mov r8, r10
add ecx, eax
mov rax, qword [rsp + 0x70]
add ecx, dword [rsp + 0x34]
add eax, 9
add eax, ecx
lea rcx, [rbp + 0xc8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x10
call fcn.14007c5a0
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, qword [rsp + 0x78]
mov r8, rax
mov rbx, rax
call fcn.140087e30
mov r8d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x44]
mov r12, rax
cmp r9d, r8d
jb 0x14001d4f6
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, str.c0a1
mov rdx, rax
call fcn.14008e700
mov r8d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x44]
mov rdx, r14
nop dword [rax]
inc rdx
cmp byte [r13 + rdx], 0
jne 0x14001d500
mov rcx, qword [rbp - 0x78]
imul edx, dword [rbp + 0x2a0]
mov r11, qword [rbp - 0x58]
mov r10, qword [rsp + 0x58]
mov eax, r12d
imul eax, ebx
lea ecx, [rax + rcx*2]
lea eax, [r15 + r15*2]
sub ecx, eax
movsx eax, byte [rsp + 0x3c]
add ecx, ecx
imul eax, dword [rbp - 0x50]
imul eax, dword [rsp + 0x48]
sub ecx, eax
mov eax, r11d
imul eax, r9d
mov r9, qword [rbp - 0x48]
lea eax, [rax + rax*2]
lea eax, [rax*4 + 1]
imul eax, r10d
sub ecx, eax
mov eax, r9d
imul eax, dword [rsp + 0x54]
imul eax, dword [rsp + 0x50]
add ecx, eax
mov eax, r8d
mov r8, qword [rbp - 0x28]
imul eax, dword [rsp + 0x70]
add ecx, eax
sub ecx, edx
mov rdx, r14
sub ecx, dword [rbp - 0x70]
sub ecx, r8d
sub ecx, dword [rbp - 0x38]
sub ecx, dword [rsp + 0x34]
nop word [rax + rax]
inc rdx
cmp byte [rdi + rdx], 0
jne 0x14001d590
add ecx, dword [rbp - 4]
mov rax, r14
nop
inc rax
cmp byte [rsi + rax], 0
jne 0x14001d5a0
add ecx, edx
mov rdx, qword [rbp - 0x68]
add eax, ecx
mov ecx, dword [rbp - 8]
add eax, dword [rsp + 0x4c]
add ecx, 0xb
add eax, edx
add eax, ecx
mov rcx, qword [rbp + 8]
mov dword [rcx], eax
mov qword [rcx + 8], rbx
mov rcx, r14
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14001d5d0
imul ecx, dword [rsp + 0x38]
imul r9d, dword [rsp + 0x50]
mov eax, dword [rbp - 0x30]
imul eax, dword [rsp + 0x34]
imul r11d, dword [rsp + 0x44]
imul ecx, edx
imul r9d, r8d
imul r12d, ebx
neg r9d
shl r9d, 2
sub r9d, eax
movsx eax, byte [rsp + 0x30]
imul eax, dword [rsp + 0x70]
sub r9d, eax
mov eax, dword [rsp + 0x4c]
imul eax, dword [rbp + 0x2a0]
sub r9d, eax
movsx rax, byte [rsp + 0x3c]
sub r9d, r12d
add ecx, r9d
add ecx, r11d
sub ecx, eax
mov rax, r14
sub ecx, dword [rbp - 0x20]
sub ecx, r10d
sub ecx, dword [rsp + 0x40]
sub ecx, dword [rbp - 0x70]
sub ecx, dword [rsp + 0x48]
sub ecx, dword [rsp + 0x54]
sub ecx, dword [rsp + 0x78]
sub ecx, r15d
add ecx, dword [rbp - 0x50]
inc rax
cmp byte [r13 + rax], 0
jne 0x14001d655
sub ecx, eax
inc r14
cmp byte [rsi + r14], 0
jne 0x14001d662
mov rax, qword [rbp + 8]
sub ecx, r14d
add ecx, 0x1e
mov dword [rax + 0x10], ecx
lea rcx, str.role
mov qword [rax + 0x18], rcx
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret