Function at 0x14003a070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x248]
sub rsp, 0x348
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rax, qword [rbp + 0x2c0]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
mov r15, qword [rbp + 0x2b0]
mov r12, qword [rbp + 0x2b8]
mov rbx, rcx
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
mov rsi, rdx
lea rcx, [rbp + 0x120]
mov edx, 0x104
mov qword [rsp + 0x60], r15
movups xmm0, xmmword [r8 + 0x20]
movups xmm1, xmmword [r9 + 0x10]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0xa0], xmm1
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x30]
movaps xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [r9 + 0x20]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmmword [rbp + 0x60], xmm1
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x30]
movaps xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rax + 0x20]
movsd qword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rdi, [0x1400ed4d4]
lea r8, [0x1400ed3f4]
lea rcx, [0x1400ed7c8]
mov r9, rax
mov rdx, rdi
mov r13, rax
mov qword [rsp + 0x50], rax
call fcn.1400bb200
xor ecx, ecx
mov edx, 0x182
lea r8d, [rcx + 0x18]
mov r14d, eax
mov dword [rsp + 0x44], eax
mov qword [rbp - 0x68], rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, r15
xor ecx, ecx
mov dword [rbp - 0x58], eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
or rdi, 0xffffffffffffffff
mov qword [rbp - 0x50], rax
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14003a1a3
mov rax, rdi
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x14003a1b0
imul ecx, eax
mov eax, dword [rbp + 0x98]
sub ecx, r15d
add eax, 0xfffffffe
sub ecx, r13d
add ecx, eax
mov rax, rdi
mov dword [rbp - 0x48], ecx
inc rax
cmp byte [r12 + rax], 0
jne 0x14003a1d3
add eax, r14d
mov r14, rdi
add eax, eax
inc r14
cmp byte [rbx + r14], 0
jne 0x14003a1e5
movups xmm0, xmmword [rbp - 0x68]
movups xmm1, xmmword [rbp - 0x58]
imul r14d, r15d
lea rdx, [rbp - 0x30]
lea rcx, str.runaway
sub r14d, eax
mov r8d, r14d
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movsd xmm0, qword [rbp - 0x48]
movsd qword [rbp - 0x10], xmm0
call fcn.14007e5d0
mov r15d, eax
mov dword [rsp + 0x48], eax
call fcn.14008e310
mov qword [rsp + 0x70], r13
mov rcx, rdi
mov r9, rax
mov qword [rbp - 0x40], rax
nop
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14003a240
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14003a250
mov r8d, dword [rbp - 0x50]
mov r11, qword [rsp + 0x60]
mov rdx, qword [rbp + 0x58]
imul ecx, eax
mov eax, dword [rbp + 0x84]
add eax, eax
sub ecx, eax
lea rax, str.c0a2
sub ecx, dword [rbp + 0xc0]
mov qword [rbp - 0x80], rax
mov rax, rdi
sub ecx, dword [rbp + 0x30]
sub ecx, r8d
add ecx, r11d
add ecx, r14d
mov dword [rsp + 0x78], ecx
inc rax
cmp byte [rdx + rax], 0
jne 0x14003a297
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14003a2a3
imul eax, ecx
mov rcx, rdi
imul eax, dword [rbp + 0x38]
nop word [rax + rax]
cmp byte [rbx + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14003a2c0
lea r10d, [rcx + rax*2]
mov eax, r9d
mov rcx, rdi
imul eax, r15d
imul eax, r14d
add r10d, eax
mov dword [rsp + 0x68], r10d
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14003a2e5
mov rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x14003a2f1
imul ecx, eax
mov rax, rdi
inc rax
cmp byte [rdx + rax], 0
jne 0x14003a300
imul eax, r8d
mov r8d, dword [rsp + 0x44]
imul eax, r8d
imul r9d, eax, 0xe
lea eax, [r11 + rcx]
mov rcx, qword [rbp + 0xa0]
add r9d, eax
movzx eax, r15b
mov r15, rdi
mov dword [rsp + 0x58], r9d
imul r14b
movzx edx, al
mov byte [rsp + 0x40], al
nop
inc r15
cmp byte [rcx + r15], 0
jne 0x14003a340
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14003a350
movups xmm0, xmmword [rsp + 0x70]
movsd xmm1, qword [rbp - 0x80]
add r15b, al
movzx ecx, dl
movzx eax, r13b
imul r8b
mov r8d, r10d
sub cl, al
sub cl, byte [rbp + 0x40]
add cl, 7
add r15b, cl
mov rcx, r13
movaps xmmword [rbp - 0x30], xmm0
movsd qword [rbp - 0x20], xmm1
mov byte [rsp + 0x20], r15b
call fcn.1400a1ec0
mov rcx, rdi
mov qword [rbp - 0x78], rax
nop dword [rax + rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x14003a3a0
movzx eax, byte [rbp + 0x60]
mov rdx, rdi
imul cl
movzx r13d, al
mov al, 0x38
imul byte [rsp + 0x50]
sub r13b, al
sub r13b, byte [rsp + 0x40]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x14003a3c5
add r13b, dl
lea rcx, [0x1400ed4d4]
add r13b, byte [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov edx, 0x30f
lea r8d, [rcx + 7]
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rdi
mov qword [rsp + 0x70], rax
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14003a410
mov rdx, qword [rbp - 0x78]
mov rax, rdi
dec edx
add edx, r14d
imul edx, dword [rsp + 0x50]
sub edx, dword [rsp + 0x48]
sub edx, ecx
inc rax
cmp byte [rbx + rax], 0
jne 0x14003a430
add eax, 2
add eax, edx
mov dword [rsp + 0x78], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r8, qword [rbp - 0x70]
movups xmm0, xmmword [rsp + 0x70]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x50]
mov dword [rsp + 0x30], 0x40
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [rbp - 0x20], xmm1
mov qword [rsp + 0x28], rax
lea rax, str.monkey
lea r9, [rbp - 0x30]
lea rcx, [rbp + 0xd0]
movzx edx, r13b
mov qword [rsp + 0x20], rax
call fcn.1400a6ef0
mov rdx, rdi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [rbp + 0x10], xmm0
inc rdx
cmp byte [rsi + rdx], 0
jne 0x14003a4c1
mov eax, dword [rbp]
imul edx, dword [rbp + 0x38]
mov r8d, dword [rsp + 0x58]
lea ecx, [rax + rax*2]
mov eax, dword [rsp + 0x48]
imul r8d, dword [rsp + 0x68]
shl ecx, 7
sub r8d, ecx
imul eax, r14d
imul ecx, dword [rsp + 0x44], 7
dec ecx
add ecx, r8d
imul ecx, dword [rsp + 0x50]
sub ecx, edx
add ecx, eax
movsx rax, r13b
sub ecx, eax
movsx rax, r15b
sub ecx, eax
mov rax, rdi
sub ecx, dword [rsp + 0x60]
sub ecx, dword [rbp - 0x80]
sub ecx, dword [rbp - 0x70]
sub ecx, dword [rbp - 0x40]
add ecx, dword [rbp + 0xb0]
add ecx, dword [rbp + 0x84]
add ecx, dword [rbp - 0x60]
add ecx, dword [rbp - 0x78]
nop
inc rax
cmp byte [r12 + rax], 0
jne 0x14003a530
sub ecx, eax
nop dword [rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x14003a540
lea eax, [rcx + 2]
add eax, edi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x348
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret