Function at 0x140024210
Capabilities:
Copy file
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r13, r8
mov qword [rbp - 0x18], r8
mov rbx, rdx
mov r12, rcx
mov qword [rbp + 0x38], rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or r14, 0xffffffffffffffff
mov dword [rbp - 0x68], esi
mov r15, r14
inc r15
cmp byte [rbx + r15], 0
jne 0x140024263
imul r15d, r12d
lea r9, [0x1400ed3f4]
movzx edx, sil
add r15d, r13d
mov ecx, r12d
mov r8d, r15d
call fcn.140065db0
lea rcx, [0x1400ed3f4]
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LockResource]
movzx ecx, sil
movzx edi, sil
mov dword [rbp + 0x18c], eax
mov eax, r12d
mov dword [rsp + 0x70], ecx
sub eax, ecx
lea r8, [0x140001b00]
mov r9d, edi
sub eax, r13d
xor edx, edx
xor ecx, ecx
mov dword [rbp + 0x34], eax
mov dword [rbp + 0x190], eax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x30], rax
movzx eax, r13b
imul r15b
movzx ecx, al
movzx eax, sil
imul cl
lea ecx, [rax + 1]
movzx eax, r12b
imul cl
add al, byte [rbp - 0x70]
mov byte [rsp + 0x60], al
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, r14
mov qword [rbp - 0x60], rax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140024323
add cl, sil
movzx eax, r12b
imul cl
movzx esi, al
sub sil, r13b
sub sil, 2
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movzx eax, ax
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
lea r8d, [rcx + 0x13]
mov edx, 0x15a
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
xor ecx, ecx
lea r8d, [rcx + 3]
mov edx, 0x15a
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x74
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x70]
lea r8d, [rdx - 0x69]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xa0], 0x40
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx edx, sil
mov rcx, r14
mov qword [rbp + 0xb0], rax
mov dword [rbp - 0x80], edx
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400243d2
mov eax, 1
sub eax, dword [rbp - 0x70]
add ecx, eax
mov eax, edx
mov edx, 0x280
imul eax, dword [rbp - 0x60]
imul ecx, r12d
sub ecx, eax
sub ecx, r13d
sub ecx, dword [rbp - 0x30]
sub ecx, r15d
add ecx, dword [rsp + 0x70]
mov dword [rbp + 0xb8], ecx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx rdx, sil
mov rcx, r14
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0x60], rdx
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140024427
mov eax, dword [rsp + 0x70]
mov r8d, 0x140
imul eax, r15d
sub eax, edx
xor edx, edx
sub eax, r13d
add eax, r12d
add eax, dword [rbp - 0x70]
sub eax, ecx
lea rcx, [rbp + 0x1b0]
mov dword [rbp + 0xc8], eax
call fcn.1400e27d0
lea rdx, [rbp + 0x1b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x2ff
lea r8d, [rcx + 0x12]
mov qword [rbp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, qword [rsp + 0x78]
mov dword [rbp + 0xe0], 0
movaps xmm0, xmmword [rbp + 0xa0]
movaps xmm1, xmmword [rbp + 0xb0]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp - 0x30]
lea r9, [rbp + 0xf0]
movaps xmmword [rbp + 0xf0], xmm0
movaps xmm0, xmmword [rbp + 0xc0]
movaps xmmword [rbp + 0x100], xmm1
mov qword [rbp + 0xe8], rax
lea rax, str.c0a3
lea rcx, [rbp + 0x140]
movaps xmm1, xmmword [rbp + 0xd0]
movaps xmmword [rbp + 0x110], xmm0
movaps xmm0, xmmword [rbp + 0xe0]
movaps xmmword [rbp + 0x120], xmm1
mov qword [rsp + 0x20], rax
movaps xmmword [rbp + 0x130], xmm0
call fcn.1400abc00
lea r8, [0x140001b00]
mov r9, rdi
xor edx, edx
xor ecx, ecx
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
movups xmmword [rbp + 0x70], xmm0
movsd qword [rbp + 0x80], xmm1
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [r15 + r15]
mov edi, r12d
mov qword [rbp - 0x58], rax
imul edi, r12d
mov eax, edi
sub eax, ecx
mov dword [rbp + 0x30], ecx
add eax, dword [rsp + 0x68]
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rsp + 0x64]
imul edi, dword [rbp - 0x70]
mov r8d, eax
mov dword [rsp + 0x6c], eax
mov rax, qword [rbp - 0x60]
mov ecx, r12d
mov dword [rsp + 0x30], 2
lea r9, str.pantry
imul ecx, r13d
sub ecx, edi
mov rdi, qword [rbp - 0x58]
lea eax, [rcx + rax*2]
mov rcx, rdi
sub eax, dword [rbp - 0x30]
mov dword [rsp + 0x28], eax
mov dword [rbp - 0x78], eax
lea rax, str.c0a3
mov qword [rsp + 0x20], rax
call fcn.140070cf0
mov qword [rbp + 8], rax
mov rdx, r14
nop dword [rax + rax]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x1400245c0
movzx eax, dil
imul byte [rsp + 0x64]
movzx ecx, al
movzx eax, byte [rsp + 0x6c]
imul cl
movzx ecx, al
add cl, cl
lea edi, [rcx + rax]
movzx eax, r15b
shl dil, 3
imul byte [rbp + 0x18c]
movzx ecx, al
movzx eax, r13b
mov r13, qword [rbp - 0x60]
imul cl
sub dil, al
lea rcx, [rbp + 0x1b0]
sub dil, byte [rsp + 0x78]
sub dil, r13b
sub dil, dl
mov edx, 0x104
add dil, 6
mov byte [rsp + 0x61], dil
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
lea r8d, [rcx + 2]
mov edx, 0x132
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx edi, dil
add r13d, r12d
mov qword [rbp + 0x58], rax
mov dword [rbp], edi
cmp r13d, edi
jb 0x140024655
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdx, [0x1400ed4d4]
lea rcx, [0x1400ed4d4]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
imul r13d, dword [rbp - 0x38]
imul edi, dword [rbp - 0x60]
lea eax, [r12 + r13]
add edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp byte [rsp + 0x61], dil
jne 0x14002469c
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
cmp sil, 2
je 0x1400246c9
xor eax, eax
lea r8, [0x140001b00]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
call fcn.1400c68b0
xor ecx, ecx
mov edx, 0x17e
lea r8d, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, r12
xor ecx, ecx
mov rdi, rax
mov qword [rbp - 0x48], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rbp + 0x20], rax
mov rax, qword [rbp - 0x58]
lea rcx, [rbp + 0x1b0]
xor edx, edx
mov r8d, 0x140
mov qword [rbp + 0x40], rax
call fcn.1400e27d0
lea rdx, [rbp + 0x1b0]
lea rcx, str.c0a3
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x140]
mov qword [rbp + 0x50], r13
movups xmm0, xmmword [rbp + 0x40]
movsd xmm1, qword [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov rdx, rdi
mov rcx, r12
movaps xmmword [rbp + 0x140], xmm0
movsd qword [rbp + 0x150], xmm1
mov qword [rsp + 0x28], rsi
call fcn.14005ee30
mov dword [rbp - 0x7c], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, dword [rsp + 0x64]
lea rcx, str.c0a3
mov qword [rbp - 0x20], rax
movsxd rdi, r12d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.pantry
mov r9, rdi
mov rcx, rax
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov rsi, qword [rbp - 0x28]
movzx r8d, byte [rbp - 0x20]
lea rcx, [rbp + 0x140]
movzx edx, sil
lea edi, [rax*4]
mov dword [rbp + 0x10], eax
mov dword [rsp + 0x30], eax
call fcn.1400c3960
mov rcx, r12
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0x100], xmm1
movups xmmword [rbp + 0x110], xmm0
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov edx, 0x2a9
lea r8d, [rcx + 1]
mov qword [rbp + 0x18], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0x28], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r8d, sil
mov dword [rbp - 0x40], r8d
mov rdx, r14
mov qword [rbp - 8], rax
inc rdx
cmp byte [rbx + rdx], 0
jne 0x140024826
imul edx, dword [rbp - 0x18]
mov eax, dword [rbp - 0x58]
mov rsi, qword [rbp + 8]
lea ecx, [rsi - 1]
imul eax, dword [rbp + 0x80]
imul eax, dword [rbp + 0xc0]
imul ecx, r12d
sub ecx, eax
mov eax, dword [rsp + 0x70]
imul eax, dword [rbp - 0x70]
sub ecx, eax
lea eax, [rdi + 1]
add edx, ecx
mov ecx, dword [rbp + 0x18]
sub edx, r13d
sub edx, dword [rbp + 0x20]
add edx, r8d
add edx, dword [rbp + 0x60]
add eax, edx
mov rdx, qword [rbp + 0x28]
mov r9d, eax
mov dword [rbp - 0x10], eax
call fcn.14008c360
mov rdx, r14
mov r13, rax
inc rdx
cmp byte [rbx + rdx], 0
jne 0x140024886
imul edi, dword [rbp - 0x7c]
mov ecx, dword [rbp]
imul ecx, dword [rbp - 0x38]
imul ecx, esi
mov rsi, qword [rbp - 0x60]
imul ecx, dword [rbp - 0x78]
mov eax, esi
imul eax, dword [rsp + 0x68]
add ecx, eax
mov rax, r14
imul ecx, esi
add ecx, edi
mov rdi, qword [rbp - 0x18]
sub ecx, dword [rbp - 8]
sub ecx, dword [rbp - 0x48]
sub ecx, dword [rbp + 0x18]
sub ecx, dword [rbp - 0x70]
add ecx, r12d
add ecx, edi
add ecx, dword [rbp + 0x108]
add ecx, dword [rbp + 0x20]
add ecx, dword [rbp - 0x58]
sub ecx, edx
nop dword [rax]
inc rax
cmp byte [r13 + rax], 0
jne 0x1400248e0
add ecx, 0xfffffff7
lea r8, str.medicine
xor edx, edx
add eax, ecx
mov ecx, eax
mov dword [rbp - 0x50], eax
call fcn.14006bed0
mov edx, dword [rbp - 0x78]
mov qword [rbp + 0x68], rax
cmp edx, dword [rbp - 0x10]
ja 0x140024a46
mov rcx, r14
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140024916
movzx eax, byte [rbp + 8]
add dil, 5
add al, al
add cl, al
movzx eax, r12b
add cl, dil
imul cl
movzx edi, al
movzx eax, byte [rsp + 0x78]
imul byte [rbp - 0x30]
movzx ecx, al
movzx eax, sil
imul cl
mov rcx, r14
add dil, al
movzx eax, byte [rsp + 0x6c]
imul byte [rsp + 0x64]
sub dil, al
nop word [rax + rax]
inc rcx
cmp byte [r13 + rcx], 0
jne 0x140024960
mov eax, dword [rbp - 0x50]
movzx esi, byte [rsp + 0x61]
xor edx, edx
mov r8d, 0x140
imul cl
sub dil, al
movzx eax, byte [rbp - 0x58]
lea rcx, [rbp + 0x1b0]
imul byte [rbp + 0x78]
add dil, al
sub dil, byte [rbp - 0x48]
sub dil, byte [rbp - 0x28]
sub dil, sil
sub dil, byte [rbp - 0x70]
inc dil
add dil, byte [rbp + 0x100]
add dil, byte [rbp - 8]
add dil, byte [rbp + 0x58]
add dil, byte [rbp - 0x68]
call fcn.1400e27d0
lea rdx, [rbp + 0x1b0]
lea rcx, str.c0a3
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rbp + 0x1b0]
xor edx, edx
mov r8d, 0x140
mov qword [rbp + 0x40], rax
call fcn.1400e27d0
lea rdx, [rbp + 0x1b0]
lea rcx, str.pantry
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea r9, str.file
lea r8, [rbp + 0x140]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp - 0x58]
lea rcx, str.role
movups xmm0, xmmword [rbp + 0x40]
mov qword [rbp + 0x50], rax
movzx edx, dil
movaps xmmword [rbp + 0x140], xmm0
movsd xmm1, qword [rbp + 0x50]
movsd qword [rbp + 0x150], xmm1
call fcn.140099d20
mov rdi, qword [rbp - 0x18]
mov edx, dword [rbp - 0x78]
jmp 0x140024a4b
movzx esi, byte [rsp + 0x61]
movsx ecx, byte [rsp + 0x60]
mov rax, r14
inc rax
cmp byte [rbx + rax], 0
jne 0x140024a53
add ecx, 3
imul eax, edi
mov r9d, 4
imul ecx, r12d
sub ecx, eax
mov rax, qword [rbp - 0x38]
lea eax, [rax + rax*4]
sub ecx, eax
movsx rax, byte [rbp - 0x20]
sub ecx, eax
sub ecx, dword [rbp - 0x40]
sub ecx, dword [rsp + 0x78]
sub ecx, dword [rbp - 0x48]
sub ecx, dword [rbp - 0x7c]
add ecx, dword [rsp + 0x70]
add ecx, dword [rbp + 8]
lea eax, [rcx + 7]
mov rcx, qword [rbp - 0x60]
add eax, edx
lea rdx, str.genetics
mov r8d, eax
mov dword [rbp - 0x68], eax
call fcn.1400be7d0
mov rdx, qword [rbp - 0x60]
mov rcx, r14
mov r12, rax
movzx eax, dl
imul byte [rsp + 0x78]
movzx r8d, al
mov byte [rsp + 0x62], al
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140024ac6
movzx eax, dil
imul cl
movzx edi, al
movzx eax, dl
mov rdx, qword [rbp + 0x38]
imul dl
movzx ecx, al
shl cl, 2
lea edx, [rcx + rax]
mov al, 0xfc
imul byte [rbp - 0x28]
sub al, dl
add dil, al
movzx eax, byte [rsp + 0x60]
imul r8b
add dil, al
mov rax, r14
sub dil, byte [rbp - 0x68]
sub dil, byte [rbp + 0x108]
sub dil, byte [rbp + 0x70]
sub dil, byte [rbp - 0x48]
sub dil, byte [rbp - 0x58]
sub dil, sil
sub dil, byte [rsp + 0x6c]
add dil, byte [rbp - 0x30]
inc rax
cmp byte [r13 + rax], 0
jne 0x140024b25
sub dil, al
add dil, 0x12
movzx ecx, dil
call fcn.1400929c0
mov rcx, r12
mov qword [rbp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rbp - 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, r14
mov qword [rbp + 0x90], rax
nop word [rax + rax]
inc rsi
cmp byte [r12 + rsi], 0
jne 0x140024b70
mov r9, qword [rbp + 0x38]
mov r11d, dword [rbp - 0x50]
mov rdx, qword [rsp + 0x78]
movzx eax, r9b
movzx r10d, dil
mov r8, r14
mov dword [rbp - 0x38], r10d
imul byte [rbp + 0x190]
movzx ecx, al
movzx eax, byte [rsp + 0x60]
imul cl
mov rcx, qword [rbp - 0x60]
sub al, byte [rsp + 0x62]
sub al, byte [rbp + 0x18]
sub al, byte [rbp + 0xf8]
sub al, cl
sub al, cl
sub al, byte [rsp + 0x6c]
add al, 9
add sil, al
movsx eax, byte [rbp - 0x20]
add sil, r11b
add sil, byte [rsp + 0x64]
add sil, byte [rbp - 0x18]
add sil, r9b
add sil, dil
add sil, byte [rbp - 8]
add sil, byte [rbp - 0x48]
add sil, byte [rbp + 8]
imul edx, ecx
mov qword [rsp + 0x78], rdx
nop
inc r8
cmp byte [r12 + r8], 0
jne 0x140024bf0
imul eax, dword [rbp - 0x40]
mov edx, dword [rbp - 0x80]
imul r8d, ecx
imul eax, dword [rbp + 0x10]
imul eax, dword [rbp - 0x7c]
shl eax, 6
inc edx
imul edx, r9d
sub edx, eax
mov eax, dword [rbp + 0x70]
lea ecx, [rax + rax*2]
movsx rax, byte [rsp + 0x61]
add ecx, ecx
sub edx, ecx
sub edx, r8d
sub edx, eax
mov rax, r14
sub edx, r10d
sub edx, dword [rbp + 0x68]
sub edx, dword [rbp + 0x28]
sub edx, dword [rbp + 0x100]
sub edx, r11d
sub edx, dword [rsp + 0x68]
add edx, dword [rsp + 0x78]
add edx, dword [rbp - 8]
add edx, dword [rbp - 0x58]
add edx, dword [rbp + 0x30]
inc rax
cmp byte [r13 + rax], 0
jne 0x140024c53
lea edi, [rdx - 7]
mov r8d, 1
movzx edx, sil
add edi, eax
mov r9d, edi
mov dword [rbp - 0x80], edi
call fcn.1400953f0
mov r11, qword [rbp - 0x20]
mov r8, rax
mov qword [rbp - 0x28], rax
cmp r11b, byte [rsp + 0x68]
jg 0x140024d08
mov edx, 0x4c
xor ecx, ecx
lea r8d, [rdx - 0x39]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx ecx, byte [rsp + 0x60]
mov r9d, dword [rbp - 0x80]
mov rdi, rax
xor eax, eax
mov r8, r13
mov r13d, dword [rbp - 0x38]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov eax, dword [rbp - 0x50]
mov qword [rsp + 0x40], 1
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str.c6a2
mov ecx, r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rdi
mov r8, rax
call fcn.140087e30
mov r8, qword [rbp - 0x28]
mov edi, dword [rbp - 0x80]
mov r11, qword [rbp - 0x20]
jmp 0x140024d0c
mov r13d, dword [rbp - 0x38]
mov rcx, r14
nop
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140024d10
imul ecx, dword [rsp + 0x70]
mov rdx, qword [rbp + 0x38]
mov r10d, dword [rbp]
mov r9, qword [rbp - 0x60]
imul r10d, dword [rbp + 0x58]
imul ecx, edx
imul ecx, dword [rbp - 0x18]
imul r10d, r9d
mov eax, r10d
add eax, dword [rbp + 0x34]
imul ecx, dword [rbp - 0x70]
lea eax, [rax + r10*4]
mov r10d, dword [rbp - 0x78]
imul ecx, r15d
lea ecx, [rcx*2 + 1]
add ecx, eax
mov eax, dword [rbp + 0x118]
imul ecx, edx
imul eax, dword [rbp + 0x28]
imul eax, dword [rbp - 8]
imul eax, dword [rbp + 0x18]
add eax, edi
add eax, dword [rbp + 0xc0]
lea eax, [r10 + rax*2]
lea edx, [rcx + rax*2]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x88]
imul eax, dword [rsp + 0x68]
sub edx, eax
movsx eax, r11b
imul eax, dword [rbp - 0x40]
sub edx, eax
movsx eax, byte [rsp + 0x60]
imul eax, dword [rbp - 0x30]
add edx, eax
mov rax, r14
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140024db0
imul eax, dword [rbp + 0x90]
sub edx, eax
imul eax, dword [rbp - 0x48], 7
add edx, eax
mov rax, qword [rbp + 0x20]
lea eax, [rax + rax*2]
add edx, eax
imul eax, r9d, 7
sub edx, eax
movzx eax, sil
sub edx, eax
movzx eax, byte [rsp + 0x6c]
sub edx, dword [rbp + 0x60]
sub edx, dword [rbp + 0x68]
sub edx, dword [rbp + 0x80]
sub edx, dword [rbp - 0x10]
sub edx, dword [rbp - 0x7c]
add edx, eax
mov rax, r14
sub edx, dword [rsp + 0x64]
add edx, r13d
add edx, dword [rbp - 0x68]
add edx, dword [rbp + 0x10]
add edx, dword [rbp + 8]
nop dword [rax]
inc rax
cmp byte [r12 + rax], 0
jne 0x140024e10
sub edx, eax
nop dword [rax]
inc r14
cmp byte [r8 + r14], 0
jne 0x140024e20
lea eax, [rdx - 0xc]
add eax, r14d
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x458]
add rsp, 0x400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret