Function at 0x140039940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
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 r15d, ecx
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movzx ebx, ax
mov dword [rsp + 0x40], ebx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r9d, r15d
mov edx, ebx
movzx ecx, r15b
mov dword [rsp + 0x30], r15d
mov r13, rax
mov qword [rsp + 0x48], rax
call fcn.14007c280
mov r12, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, str.mention
xor ecx, ecx
call fcn.14007fe80
xor r8d, r8d
xor ecx, ecx
lea edx, [r8 + 0x61]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rsi, str.c0a5
lea r8, str.mustard
lea rcx, [rbp + 0xb8]
mov r9, rsi
mov rdx, rax
mov qword [rsp + 0x28], rsi
mov rdi, rax
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x20], 4
call fcn.14009e270
or r14, 0xffffffffffffffff
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm0
movsd xmm0, qword [rax + 0x20]
movups xmmword [rbp + 0xa0], xmm1
movsd qword [rbp + 0xb0], xmm0
cmp r15b, 4
jbe 0x140039bd4
call fcn.14007a150
mov rcx, qword [rsp + 0x58]
movsx edi, r15b
mov r13, rax
lea eax, [r15 + r15*4]
add ecx, 0xffffffe9
lea esi, [rax + rax]
mov eax, edi
lea r8d, [r14 + 0x15]
mov edx, 0x222
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x74], 8
imul eax, dword [rsp + 0x48]
imul eax, ebx
add eax, 0xfffffffc
add eax, esi
imul eax, r15d
sub eax, dword [rbp + 0x98]
add eax, r13d
mov dword [rsp + 0x44], eax
mov eax, ebx
inc eax
imul eax, r15d
add eax, ecx
xor ecx, ecx
mov dword [rbp - 0x78], eax
lea rax, str.c0a5
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8d, [r14 + 8]
mov edx, 0x231
xor ecx, ecx
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, ebx
xor edx, edx
mov qword [rbp - 0x60], rax
add ecx, 0xfffffffc
lea eax, [r15 + r15*8]
sub eax, r13d
mov r8d, 0x140
add eax, edi
add eax, dword [rbp + 0x98]
add eax, ecx
lea rcx, [rbp + 0xe0]
mov dword [rbp - 0x58], eax
call fcn.1400e27d0
lea rdx, [rbp + 0xe0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8, qword [rsp + 0x48]
movups xmm0, xmmword [rbp - 0x80]
movups xmm1, xmmword [rbp - 0x70]
mov edx, eax
mov eax, r15d
add r8d, 7
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
sub eax, esi
mov rcx, r14
movups xmm0, xmmword [rbp - 0x60]
movsd xmm1, qword [rbp - 0x50]
add eax, r13d
add r8d, eax
movaps xmmword [rbp + 0x20], xmm0
movsd qword [rbp + 0x30], xmm1
nop dword [rax + rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x140039b40
mov rdi, qword [rsp + 0x58]
mov dword [rsp + 0x30], r8d
mov eax, r15d
sub eax, edi
lea r9, str.extreme
lea r8, [rbp]
add eax, 0xfffffffd
add eax, r13d
add ecx, eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov edx, dword [rsp + 0x44]
mov rcx, rdi
call fcn.1400a8220
mov qword [rbp], r13
mov dword [rbp + 8], 0x40
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor edx, edx
lea r9, [rbp - 0x80]
movups xmm0, xmmword [rbp]
mov qword [rbp + 0x18], rdx
mov dword [rsp + 0x28], edx
mov qword [rbp + 0x10], rax
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbp + 0x10]
mov dword [rsp + 0x20], edx
lea rcx, str.sheet
xor r8d, r8d
movaps xmmword [rbp - 0x70], xmm1
mov dl, 8
call fcn.140066100
mov r13, qword [rsp + 0x48]
lea rsi, str.c0a5
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rbp + 0xe0]
xor edx, edx
mov r8d, 0x140
mov qword [rbp + 0x40], rax
call fcn.1400e27d0
lea rdx, [rbp + 0xe0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdx, rdi
xor ecx, ecx
mov qword [rbp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
lea r8d, [rcx + 0xb]
mov edx, 0x110
mov qword [rbp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
mov qword [rbp + 0x68], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov edx, 0x26a
mov qword [rbp + 0x70], rax
lea r8d, [rcx + 0xe]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
lea r8d, [rcx + 0x1a]
mov edx, 0x17e
mov qword [rbp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, str.mustard
mov esi, eax
mov dword [rsp + 0x54], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, str.cart
mov qword [rsp + 0x28], r13
movaps xmm0, xmmword [rbp + 0x40]
movaps xmm1, xmmword [rbp + 0x50]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
mov r8d, esi
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x70], xmm1
mov r9, rax
mov qword [rbp - 0x30], rax
movaps xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [rbp + 0x80]
movsd qword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm1
call fcn.140092ce0
movsx ecx, r15b
mov rdx, r14
mov rdi, rax
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x90]
mov dword [rsp + 0x7c], ecx
nop dword [rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x140039d10
lea eax, [r15 + r15*4]
mov r8d, 0x140
lea esi, [rax*2 + 1]
mov eax, ecx
lea rcx, [rbp + 0xe0]
imul eax, dword [rsp + 0x40]
imul esi, r15d
sub esi, eax
sub esi, dword [rsp + 0x70]
add esi, edi
sub esi, edx
xor edx, edx
add esi, 0x17
mov dword [rsp + 0x50], esi
call fcn.1400e27d0
lea rdx, [rbp + 0xe0]
lea rcx, str.mustard
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, esi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x44], eax
mov rax, qword [rbp - 0x10]
mov rdx, rdi
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.1400a6d80
mov rdi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r9, str.c2a1
mov qword [rbp - 0x20], rax
mov byte [rsp + 0x20], 0x20
call fcn.14009e960
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov rcx, qword [rsp + 0x48]
movzx edx, al
mov dword [rsp + 0x78], eax
call fcn.14007fef0
xor ecx, ecx
mov edx, 0x387
lea r8d, [rcx + 5]
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rax
mov qword [rsp + 0x60], rax
call fcn.140098790
mov ecx, dword [rsp + 0x50]
mov qword [rbp - 0x18], rax
cmp dword [rsp + 0x54], ecx
jae 0x140039f6b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp - 0x78], 0
mov rcx, r14
mov r11, rax
lea rax, str.c0a5
mov qword [rbp - 0x80], rax
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140039e27
imul ecx, dword [rsp + 0x48]
imul ebx, dword [rbp + 0xa8]
mov edx, dword [rsp + 0x50]
mov r8, qword [rsp + 0x68]
mov r10d, dword [rsp + 0x54]
mov eax, 4
sub eax, edx
imul ebx, r10d
imul eax, r8d
add ecx, eax
lea eax, [r13 + 3]
imul eax, r15d
add eax, r13d
add eax, ecx
add ebx, eax
mov rax, r14
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x140039e70
sub ebx, eax
mov rax, r14
nop
inc rax
cmp byte [r12 + rax], 0
jne 0x140039e80
mov r12, qword [rsp + 0x58]
mov r9, qword [rbp - 0x18]
movups xmm0, xmmword [rbp - 0x80]
add ebx, 0xfffffff9
mov qword [rbp - 0x68], r9
add eax, ebx
mov rbx, qword [rbp - 0x10]
movaps xmmword [rbp], xmm0
mov dword [rbp - 0x70], eax
mov ecx, ebx
mov eax, r13d
movups xmm1, xmmword [rbp - 0x70]
imul eax, dword [rsp + 0x40]
imul ecx, r8d
movaps xmmword [rbp + 0x10], xmm1
imul ecx, edx
mov edx, r15d
imul edx, r12d
add ecx, dword [rbp + 0xb0]
add edx, ecx
mov rcx, r14
lea edx, [rdx*4 - 0x14]
sub edx, eax
mov eax, r8d
imul eax, r10d
add edx, eax
mov eax, dword [rsp + 0x7c]
imul eax, r15d
add edx, eax
sub edx, r9d
sub edx, dword [rsp + 0x60]
sub edx, dword [rsp + 0x44]
sub edx, r12d
add edx, dword [rbp - 0x28]
add edx, dword [rbp - 0x20]
add edx, dword [rsp + 0x70]
mov dword [rbp - 0x60], edx
movsd xmm0, qword [rbp - 0x60]
movsd qword [rbp + 0x20], xmm0
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140039f17
movzx eax, r12b
imul cl
mov ecx, 2
sub cl, r15b
movzx r9d, al
movzx eax, r15b
shl r9b, 2
imul cl
movzx ecx, al
movzx eax, byte [rbp - 0x30]
imul r8b
mov r8, qword [rsp + 0x48]
sub cl, al
add r9b, cl
mov rcx, r11
sub r9b, r10b
sub r9b, r13b
sub r9b, 0x1b
add r9b, bl
call fcn.1400baa70
mov ecx, dword [rsp + 0x50]
jmp 0x140039f70
mov r12, qword [rsp + 0x58]
mov rbx, r14
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140039f73
mov rdx, qword [rsp + 0x68]
movzx eax, byte [rsp + 0x70]
imul cl
movzx ecx, al
movzx eax, dl
imul cl
movzx ecx, al
movzx eax, dl
xor edx, edx
imul cl
add bl, al
movzx eax, byte [rbp - 0x28]
shl bl, 2
imul byte [rsp + 0x60]
sub bl, al
mov al, 7
imul byte [rbp - 0x20]
sub al, 0x20
add bl, al
add bl, byte [rbp + 0x98]
movzx ecx, bl
call fcn.1400d0eb0
mov rcx, r14
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140039fc3
shl cl, 3
movzx eax, r12b
sub cl, 2
add cl, byte [rbp - 0x30]
imul r15b
movzx edx, al
shl cl, 2
shl dl, 2
add al, dl
mov edx, 1
sub dl, byte [rsp + 0x44]
add al, al
sub r13b, al
movzx eax, r15b
inc r13b
imul r13b
add cl, al
movzx eax, byte [rsp + 0x68]
imul dl
add cl, al
sub cl, byte [rsp + 0x48]
sub cl, byte [rbp + 0x80]
sub cl, bl
sub cl, byte [rsp + 0x78]
add cl, byte [rbp - 0x18]
add cl, byte [rsp + 0x60]
inc r14
cmp byte [rdi + r14], 0
jne 0x14003a021
sub cl, r14b
movzx edx, cl
call fcn.1400c8340
lea rax, str.mint
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret