Function at 0x1401fadf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x160]
movzx eax, byte [rax + 0xe8]
test eax, eax
je 0x1401fae39
mov dword [rsp + 0x38], 3
jmp 0x1401fae41
mov dword [rsp + 0x38], 1
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x160]
call fcn.140015ac0
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x178]
mov r8, qword [rsp + 0x170]
mov edx, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
call fcn.1401f9e80
mov rax, qword [rsp + 0x160]
add rax, 0x80
mov qword [rsp + 0x50], rax
mov eax, 0x9c0
mov word [rsp + 0x30], ax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.14000a980
mov rcx, rax
call fcn.14000c690
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x160]
add rax, 8
mov qword [rsp + 0x58], rax
mov r8d, 0x3ee
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x58]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rsp + 0x160]
add rax, 0x80
mov qword [rsp + 0x70], rax
mov eax, 0x9c1
mov word [rsp + 0x32], ax
lea rdx, [rsp + 0x32]
mov rcx, qword [rsp + 0x70]
call fcn.14000a980
mov rcx, rax
call fcn.14000c690
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x160]
add rax, 8
mov qword [rsp + 0x78], rax
mov r8d, 0x3f7
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rsp + 0x160]
add rax, 0x80
mov qword [rsp + 0x90], rax
mov eax, 0x9c2
mov word [rsp + 0x34], ax
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x90]
call fcn.14000a980
mov rcx, rax
call fcn.14000c690
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x160]
add rax, 8
mov qword [rsp + 0x98], rax
mov r8d, 0x3f6
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x98]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rsp + 0x160]
movzx eax, byte [rax + 0xe8]
test eax, eax
je 0x1401fb041
mov dword [rsp + 0x3c], 1
jmp 0x1401fb049
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x160]
add rax, 8
mov qword [rsp + 0xb0], rax
movsxd rax, dword [rsp + 0x3c]
mov qword [rsp + 0xb8], rax
mov r8d, 0x3f6
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0xb0]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
xor r9d, r9d
mov rcx, qword [rsp + 0xb8]
mov r8, rcx
mov edx, 0xf1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0xf8]
lea r8, str.TXTFILE
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1401fb226
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x120]
call fcn.1400477f0
nop
mov rax, qword [rsp + 0x160]
add rax, 0xc8
lea rdx, [rsp + 0x120]
mov rcx, rax
call fcn.14004a110
mov rax, qword [rsp + 0x160]
add rax, 8
mov qword [rsp + 0xd8], rax
mov r8d, 0x3f5
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0xd8]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x160]
add rax, 0xc8
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xe8], 0
lea rax, [0x1401fb340]
mov qword [rsp + 0xec], rax
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0x435
mov rcx, qword [rsp + 0x48]
call fcn.140015a10
lea r9, [rsp + 0xe0]
mov r8d, 2
mov edx, 0x449
mov rcx, qword [rsp + 0x48]
call fcn.140015a10
xor r9d, r9d
xor r8d, r8d
mov edx, 0x448
mov rcx, qword [rsp + 0x48]
call fcn.140015a10
nop
lea rcx, [rsp + 0x120]
call fcn.140015480
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x158
ret