Function at 0x1400d6f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push r15
sub rsp, 0x550
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x520], rax
movzx eax, cl
mov r15, rcx
mov qword [rsp + 0x48], rcx
add al, al
mov byte [rsp + 0x41], al
cmp al, cl
jge 0x1400d71bd
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r13
mov qword [r11 - 0x28], r14
movsx edi, al
lea ebx, [rcx + rcx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x410]
mov edx, 0x104
imul ebx, edi
mov r14d, eax
mov dword [rsp + 0x44], eax
movzx eax, r15b
imul r15b
movsx rsi, al
mov byte [rsp + 0x40], al
lea r13d, [rsi + rbx*8]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbp, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
xor ecx, ecx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea edi, [r15 + rdi*4]
add edi, edi
sub edi, r14d
add edi, esi
add edi, ebp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, r12d
imul ebx, edi
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
imul ebx, ebp
lea ecx, [r15 + 1]
imul ecx, r15d
add ecx, 0xfffffff8
add ecx, r14d
add ecx, ebx
mov dword [rsp + 0x58], ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rsp + 0x1c0]
xor edx, edx
mov r8d, 0x140
mov r14, rax
call fcn.1400e27d0
lea rdx, [rsp + 0x1c0]
lea rcx, str.terrapin
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor edx, edx
xor ecx, ecx
movzx ebp, al
mov r15, rax
shl bpl, 4
sub bpl, r14b
add bpl, byte [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
lea r8d, [rcx + 0xc]
mov edx, 0x2cb
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x80]
lea rcx, str.c1a1
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov eax, 1
sub eax, edi
lea edi, [rsi + 8]
lea rcx, [rsp + 0x300]
mov edx, 0x104
imul eax, dword [rsp + 0x48]
sub eax, ebx
sub eax, r12d
add edi, eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x80]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsx rax, bpl
imul r13d, dword [rsp + 0x44]
imul ecx, r14d, 0xfffffff9
sub ecx, r13d
sub ecx, eax
sub ecx, edi
sub ecx, ebx
movsx ebx, byte [rsp + 0x41]
add ecx, dword [rsp + 0x48]
add ebx, 0xfffffff8
add ecx, r15d
add ebx, ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rsp + 0x40]
mov dword [rsp + 0x30], ebx
xor r9d, r9d
mov rdx, rcx
mov r8, r15
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov r14, qword [rsp + 0x530]
mov r13, qword [rsp + 0x538]
mov r12, qword [rsp + 0x540]
mov rdi, qword [rsp + 0x548]
mov rsi, qword [rsp + 0x578]
mov rbp, qword [rsp + 0x570]
mov rbx, qword [rsp + 0x568]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x52
xor ecx, ecx
lea r8d, [rdx - 0x35]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x550
pop r15
ret