Function at 0x14001fb90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], 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 r13d, edx
mov r15, rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r9, str.wind
lea rcx, str.pince_nez
mov r14, rax
call fcn.1400846d0
mov edx, 0xb
xor ecx, ecx
lea r8d, [rdx - 7]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
or rsi, 0xffffffffffffffff
mov r12, rax
mov qword [rsp + 0x58], rax
mov rcx, rsi
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14001fc05
imul ecx, r13d
lea rax, str.c0a2
mov edx, 0x2e7
mov qword [rbp + 0x30], rax
mov eax, dword [r15 + 0x10]
imul ecx, r14d
imul ecx, dword [r15 + 0x20]
sub eax, r14d
mov dword [rbp + 0x20], ecx
xor ecx, ecx
add eax, r13d
lea r8d, [rcx + 5]
mov qword [rbp + 0x28], r14
mov dword [rsp + 0x4c], eax
mov dword [rbp + 0x38], eax
lea rax, str.c0a0
mov qword [rbp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0x48], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [rbp + 0x58], 1
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
mov qword [rbp + 0x50], rax
lea r8, [rbp - 0x70]
lea rcx, [rbp - 0x30]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm1
mov rdx, r12
movaps xmm1, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
call fcn.140084280
mov ecx, r13d
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0x80], xmm1
lea eax, [r12 + r12*2]
sub ecx, eax
mov eax, dword [r15 + 0x20]
add eax, 0xfffffff3
add ecx, eax
mov eax, 1
sub al, cl
mov dword [rsp + 0x38], ecx
movsx edi, al
movups xmmword [rbp + 0x90], xmm0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp dword [rsp + 0x38], edi
jg 0x14001fd11
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0x7f
xor ecx, ecx
lea r8d, [rdx - 0x7e]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, dword [rsp + 0x38]
cmp edx, 1
jg 0x1400201af
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14001fd30
mov edx, dword [r15 + 0x10]
imul eax, r12d
lea rcx, [rbp + 0xe0]
lea eax, [rax + rax*2]
mov r8d, 0x140
sub edx, eax
mov eax, dword [rbp + 0x50]
add eax, 0xa
add eax, edx
xor edx, edx
mov dword [rsp + 0x34], eax
call fcn.1400e27d0
lea rdx, [rbp + 0xe0]
lea rcx, str.pince_nez
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, 1
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], rax
lea rax, str.c0a0
lea r8d, [rcx + 0x18]
mov edx, 0x3a3
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx r9d, byte [r15 + 0x10]
lea r8, [rbp - 0x30]
movups xmm0, xmmword [rsp + 0x68]
movzx ecx, r9b
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rsp + 0x78]
movzx eax, byte [rbp + 0x38]
shl cl, 3
mov rdx, rdi
movsd qword [rbp - 0x20], xmm1
add r9b, cl
mov ecx, dword [rsp + 0x34]
imul byte [rbp + 0x98]
sub r9b, al
sub r9b, r12b
sub r9b, r14b
call fcn.14009d390
lea rdx, str.c0a2
lea rcx, str.c2a1
mov dword [rsp + 0x48], eax
call fcn.1400c36b0
lea rcx, [rbp + 0xe0]
mov edx, 0x104
movsx rdi, al
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea r8, str.c0a0
mov qword [rsp + 0x28], r14
mov r10, rax
mov qword [rbp + 0x68], rax
movzx eax, r13b
imul byte [r15 + 0x28]
movzx edx, al
movzx eax, byte [rbp + 0x48]
imul byte [rbp + 0x88]
movzx ecx, al
add cl, cl
add al, cl
lea rcx, str.cyclone
add al, al
add dl, al
movzx eax, r14b
imul r12b
add dl, al
lea rax, str.cart
mov byte [rsp + 0x30], dl
movzx r9d, dl
mov rdx, r10
mov qword [rsp + 0x20], rax
call fcn.140076430
mov dword [rsp + 0x60], eax
call fcn.1400bd000
mov rdx, r12
mov dword [rsp + 0x50], eax
xor ecx, ecx
call fcn.1400a0720
lea rcx, [rbp + 0xe0]
xor edx, edx
mov r8d, 0x140
mov r12, rax
call fcn.1400e27d0
lea rdx, [rbp + 0xe0]
lea rcx, str.leaver
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r9, rdi
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x10], rax
mov rdx, rsi
nop word [rax + rax]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x14001fee0
mov edi, dword [r15 + 0x10]
mov r10d, dword [rsp + 0x48]
lea eax, [r9 + 4]
imul ecx, eax, 7
imul edi, r13d
sub edi, ecx
lea eax, [r10*4]
sub edi, eax
mov eax, dword [rsp + 0x34]
lea eax, [rax + rax*2]
add eax, eax
sub edi, eax
add edi, dword [rbp + 0x88]
sub edi, edx
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], 0
jne 0x14001ff20
mov r8, qword [rsp + 0x58]
mov eax, r13d
imul eax, r14d
imul eax, dword [r15 + 0x20]
imul edx, r8d
lea ecx, [rax + rax*8]
mov rax, qword [rsp + 0x40]
imul eax, r10d
sub ecx, eax
mov eax, dword [rsp + 0x50]
imul eax, r8d
sub ecx, eax
movsx rax, byte [rsp + 0x30]
sub ecx, edx
sub ecx, eax
lea eax, [r9 - 7]
sub ecx, r14d
add eax, ecx
mov dword [rsp + 0x54], eax
cmp edi, 1
je 0x14001ff7e
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov edx, 0xdb
mov qword [rsp + 0x40], rax
lea rax, str.c0a0
lea r8d, [rcx + 0x1d]
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rsi
mov qword [rbp - 0x28], rax
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14001ffb0
mov eax, dword [rbp - 0x80]
mov rdx, qword [rsp + 0x58]
mov r10, qword [rbp + 0x60]
imul eax, r10d
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x40]
add ecx, edx
imul ecx, r14d
imul eax, r9d
add ecx, eax
mov eax, dword [rbp + 0x78]
shl ecx, 2
dec eax
imul eax, edx
sub eax, ecx
mov ecx, r13d
add eax, r8d
imul ecx, dword [r15 + 0x20]
add ecx, eax
mov rax, rsi
add ecx, dword [rsp + 0x38]
inc rax
cmp byte [r12 + rax], 0
jne 0x140020000
sub ecx, eax
lea rax, str.c7ret
mov dword [rbp - 8], 0x20
sub ecx, 0x27
mov qword [rbp - 0x18], rax
lea rax, str.canal
mov dword [rbp - 0x20], ecx
mov ecx, dword [rsp + 0x54]
mov qword [rbp - 0x10], rax
inc ecx
lea eax, [r13*4]
imul ecx, edx
sub ecx, eax
lea eax, [r8 + r8*4]
add ecx, eax
mov eax, dword [r15]
mov edx, 0x104
sub ecx, dword [rbp + 0x10]
add eax, 0xfffffffa
sub ecx, edi
sub ecx, dword [rsp + 0x60]
add ecx, dword [rsp + 0x48]
add ecx, r10d
add ecx, r9d
add ecx, dword [rsp + 0x4c]
add ecx, r14d
add ecx, eax
lea rax, str.attachment
mov dword [rbp - 4], ecx
lea rcx, [rbp + 0xe0]
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, 0xffff
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov dword [rbp - 0x70], eax
lea rax, str.hall
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x60], eax
lea rax, str.c0a2
mov rdx, rsi
mov qword [rbp - 0x58], rax
nop dword [rax]
inc rdx
cmp byte [r12 + rdx], 0
jne 0x1400200d0
mov ecx, dword [rbp + 0x98]
mov eax, dword [rsp + 0x54]
mov r8, qword [rbp + 0x68]
imul ecx, dword [r15 + 0x20]
dec ecx
add eax, r8d
shl eax, 2
imul ecx, r14d
sub ecx, eax
mov rax, qword [rbp - 0x80]
imul eax, dword [rsp + 0x48]
imul eax, eax, 7
add ecx, eax
mov rax, qword [rsp + 0x40]
sub ecx, eax
sub ecx, edi
sub ecx, dword [rsp + 0x34]
add ecx, dword [rsp + 0x50]
sub ecx, edx
sub ecx, 0xa
mov dword [rbp - 0x48], ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rbp - 0x40], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx r8d, byte [rsp + 0x4c]
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp - 0x60]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0xa0]
lea r9, str.c7ret
movaps xmmword [rbp + 0xa0], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xb0], xmm1
lea rdx, str.c8a5
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rax
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0xc0], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xd0], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x60], xmm1
movaps xmm1, xmmword [rbp]
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
call fcn.1400649b0
mov edx, dword [rsp + 0x38]
mov rcx, rsi
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400201b2
movzx eax, byte [rbp + 0x48]
imul cl
mov rcx, rsi
lea r12d, [rax - 0xc]
mov rax, qword [r15 + 0x18]
add r12b, byte [r15 + 0x20]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400201d0
imul ecx, r14d
lea eax, [rcx + rcx*8]
xor ecx, ecx
sub eax, edx
lea r8d, [rcx + 0x13]
mov edx, 0x384
sub eax, 3
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [rsp + 0x78], 0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rbp - 0x20], xmm1
mov qword [rsp + 0x70], rax
movzx edx, r12b
mov rcx, r14
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rbp - 0x30], xmm0
call fcn.1400989f0
cmp r13d, 1
jge 0x1400202c9
movzx edi, byte [r15 + 0x20]
xor ecx, ecx
mov edx, 0xf5
sub dil, byte [rbp + 0x98]
lea r8d, [rcx + 0xf]
sub dil, r12b
add dil, 6
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx ecx, dil
mov rdx, rax
mov qword [rsp + 0x40], rax
call fcn.1400d0eb0
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r10, rax
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140020276
mov ecx, dword [r15 + 8]
mov r8, qword [rsp + 0x58]
movsx eax, r12b
imul eax, dword [rsp + 0x70]
inc eax
mov r9, r14
mov dl, 1
imul esi, r8d
mov r8, r14
imul eax, r14d
sub ecx, eax
movzx eax, dil
sub ecx, esi
sub ecx, eax
mov rax, qword [rsp + 0x40]
sub ecx, dword [rbp + 0x70]
add eax, 2
add ecx, r13d
add eax, ecx
mov rcx, r10
mov dword [rsp + 0x20], eax
call fcn.1400d7a60
xor ecx, ecx
mov edx, 0x113
lea r8d, [rcx + 0x1c]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x380]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret