Function at 0x14004b050
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x188]
sub rsp, 0x288
call fcn.140092440
mov rsi, rax
call fcn.1400c7c20
mov r14, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov r12, rax
mov qword [rbp + 0x150], rax
lea rax, str.lemonade
mov qword [rbp + 0x158], rax
lea rax, str.authority
lea r8d, [rcx + 2]
mov edx, 0x9f
mov qword [rbp + 0x160], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0x70]
movups xmm0, xmmword [rbp + 0x150]
mov qword [rbp + 0x168], rax
mov r13, rax
lea rax, str.turkey
movaps xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rbp + 0x160]
mov qword [rbp + 0x170], rax
movaps xmmword [rbp + 0x80], xmm1
movsd xmm0, qword [rbp + 0x170]
movsd qword [rbp + 0x90], xmm0
call fcn.1400a3d10
xor ecx, ecx
movsx ebx, al
lea r8d, [rcx + 0x1d]
mov edx, 0x36a
mov byte [rbp + 0x1d8], bl
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0xa0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
or rdi, 0xffffffffffffffff
mov edx, ebx
mov dword [rsp + 0x60], ebx
mov rcx, rdi
mov qword [rbp + 0xa8], rax
nop word [rax + rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14004b150
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x14004b160
add ecx, eax
mov eax, edx
lea r8, [0x140001b00]
xor edx, edx
imul eax, r13d
add eax, 7
add eax, ecx
xor ecx, ecx
mov dword [rbp - 0x68], eax
movsx rax, bl
mov qword [rsp + 0x28], rcx
mov r9, rax
mov qword [rbp - 0x58], rax
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x78], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
movzx ebx, al
mov r15d, eax
add ebx, 8
cmp ebx, 8
je 0x14004b1e6
xor ecx, ecx
mov edx, 0x195
lea r8d, [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor r8d, r8d
mov edx, 0x1a9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
cmp r15b, bl
jb 0x14004b207
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov edx, 0x26a
lea r8d, [rcx + 8]
mov r15, rax
mov qword [rbp - 0x78], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0x30], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rdi
mov qword [rbp + 0x38], rax
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14004b236
mov rbx, qword [rbp - 0x58]
mov eax, r15d
lea edx, [r15 + r15*4]
mov dword [rbp - 0x48], edx
imul ecx, ebx
imul ecx, r13d
sub eax, ecx
mov rcx, qword [rsp + 0x78]
sub eax, ecx
add eax, 6
mov dword [rbp - 0x64], eax
mov dword [rbp + 0x40], eax
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x14004b270
mov ecx, 7
sub ecx, edx
mov edx, 0x2d7
sub ecx, eax
mov dword [rbp + 0x1d0], ecx
xor ecx, ecx
lea r8d, [rcx + 0x1b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r9d, dword [rbp + 0x1d0]
lea rcx, str.course
movups xmm0, xmmword [rbp + 0x30]
movsd xmm1, qword [rbp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, str.page
lea rdx, [rbp + 0x50]
movaps xmmword [rbp + 0x50], xmm0
movsd qword [rbp + 0x60], xmm1
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x150]
mov r8, r15
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], rax
call fcn.1400a18a0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm1
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x70
xor ecx, ecx
lea r8d, [rdx - 0x67]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rdi
mov qword [rbp - 0x70], rax
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14004b326
mov edx, ebx
mov rbx, qword [rsp + 0x68]
mov rax, rdi
sub edx, ebx
add edx, dword [rbp + 0x38]
add edx, dword [rbp + 0xa0]
sub edx, ecx
inc rax
cmp byte [r14 + rax], 0
jne 0x14004b346
add edx, 8
add eax, edx
mov dword [rbp - 0x30], eax
lea rax, str.c4a5
mov qword [rbp - 0x28], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rdi
mov qword [rbp - 0x20], rax
mov rax, qword [rsp + 0x78]
lea edx, [rax + rax*4]
nop dword [rax + rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14004b380
mov r9, qword [rbp + 0x80]
lea eax, [r9*4]
sub edx, eax
mov rax, rdi
sub edx, ebx
mov ebx, dword [rbp + 0x1d0]
sub edx, dword [rbp + 0xa0]
sub edx, ebx
add edx, r13d
sub edx, ecx
inc rax
cmp byte [r14 + rax], 0
jne 0x14004b3b2
sub edx, eax
xor ecx, ecx
lea rax, str.ottoman
add edx, 7
lea r8d, [rcx + 0xf]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x18], edx
mov edx, 0x3de
mov qword [rbp - 8], 0
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r8, qword [rbp - 0x70]
mov r9, qword [rbp - 0x80]
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
mov qword [rbp], rax
lea rax, [rbp + 0x110]
lea rcx, [rbp + 0xc0]
movaps xmmword [rbp + 0x110], xmm0
movaps xmmword [rbp + 0x120], xmm1
movups xmm0, xmmword [rbp - 0x10]
movsd xmm1, qword [rbp]
mov qword [rsp + 0x30], rax
lea rax, str.c4a5
mov rdx, r15
movaps xmmword [rbp + 0x130], xmm0
movsd qword [rbp + 0x140], xmm1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8, qword [rsp + 0x70]
call fcn.14009fa50
mov r11, qword [rbp - 0x70]
mov rdx, rdi
lea r8d, [r11*4]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x110], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0x120], xmm1
movups xmmword [rbp + 0x130], xmm0
inc rdx
cmp byte [rsi + rdx], 0
jne 0x14004b482
mov rax, qword [rbp + 0x80]
mov r10d, dword [rsp + 0x60]
mov r9, qword [rsp + 0x78]
lea eax, [rax + rax*2]
mov ecx, r10d
add eax, eax
imul ecx, dword [rbp - 0x68]
sub ecx, eax
mov rax, rdi
sub ecx, dword [rbp - 0x20]
sub ecx, dword [rsp + 0x68]
sub ecx, r9d
sub ecx, r8d
mov r8, qword [rsp + 0x70]
add ecx, dword [rbp - 0x80]
add ecx, r8d
add ecx, r15d
sub ecx, edx
nop word [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x14004b4d0
lea r15d, [rcx - 2]
mov edx, r10d
mov qword [rbp + 0x50], 0
add r15d, eax
mov rcx, rdi
mov dword [rbp + 0x1e0], r15d
imul edx, r12d
mov dword [rbp - 0x40], edx
nop dword [rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14004b500
mov eax, r11d
mov qword [rbp + 0x60], r8
imul eax, r8d
add eax, edx
add ecx, eax
add ecx, dword [rbp + 0xa0]
add ecx, ebx
lea ebx, [r9 + 0xa]
add ebx, ecx
mov dword [rbp + 0x58], ebx
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdx, [rbp + 0xc0]
movups xmm0, xmmword [rbp + 0x50]
movsd xmm1, qword [rbp + 0x60]
mov ecx, r15d
mov r8, rax
mov qword [rbp - 0x50], rax
movaps xmmword [rbp + 0xc0], xmm0
movsd qword [rbp + 0xd0], xmm1
call fcn.14008a940
lea rcx, str.caravan
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov dword [rbp + 0x1e8], eax
call fcn.1400962f0
lea rcx, str.c1ret
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9d, dword [rbp + 0x1e0]
movsxd r8, dword [rbp + 0x1d0]
lea rdx, str.page
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov dword [rbp - 0x30], eax
lea rax, str.c7a1
mov qword [rbp - 0x28], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp - 0x20], rax
mov rax, rdi
inc rax
cmp byte [r15 + rax], 0
jne 0x14004b5d3
imul eax, dword [rbp - 0x50]
imul eax, ebx
imul ecx, eax, 0xfffffffb
mov eax, dword [rsp + 0x68]
imul eax, dword [rbp + 0x1d0]
sub ecx, eax
mov rax, rdi
inc rax
cmp byte [rsi + rax], 0
jne 0x14004b5f7
mov rbx, qword [rbp + 0x88]
imul eax, r13d
mov edx, 0x33f
add ecx, eax
mov eax, dword [rbp + 0x1e0]
lea eax, [rcx + rax*4]
mov rcx, qword [rsp + 0x78]
sub eax, dword [rbp - 0x58]
add ecx, 0xb
sub eax, dword [rbp - 0x78]
add eax, ebx
add eax, dword [rbp + 0xa8]
add eax, dword [rbp + 0x1e8]
add eax, dword [rbp - 0x80]
add eax, dword [rsp + 0x70]
add eax, dword [rbp + 0x38]
add eax, ecx
xor ecx, ecx
lea r8d, [rcx + 0x1b]
mov dword [rbp - 0x18], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r10, qword [rsp + 0x70]
mov rdx, rdi
mov r13d, r10d
mov qword [rbp - 0x10], rax
imul r13d, dword [rbp - 0x78]
mov dword [rbp - 0x60], r13d
nop word [rax + rax]
inc rdx
cmp byte [r12 + rdx], 0
jne 0x14004b670
mov r9d, dword [rbp + 0x1e0]
mov r8d, dword [rbp - 0x64]
mov ecx, dword [rbp + 0x120]
imul ecx, r9d
lea eax, [r8*4]
mov r8, qword [rbp - 0x58]
sub ecx, eax
sub ecx, dword [rbp - 0x80]
lea eax, [r8 + rcx]
mov rcx, qword [rsp + 0x78]
add edx, eax
lea eax, [rcx*4 + 0x16]
add eax, ecx
add edx, r13d
add edx, r10d
add eax, edx
lea rdx, str.c1a3
mov dword [rbp - 8], eax
lea rax, str.lamb
mov qword [rbp], rax
lea rax, str.c3a2
mov qword [rbp + 8], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r9d
mov r9d, dword [rbp + 0x1d0]
lea r8, str.c4a5
mov ecx, r9d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rdi
mov qword [rbp + 0x10], rax
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14004b726
mov rax, rdi
inc rax
cmp byte [rsi + rax], 0
jne 0x14004b733
imul ecx, eax
mov eax, dword [rbp + 0x78]
imul eax, dword [rsp + 0x68]
lea edx, [rax + rcx*4]
mov rcx, qword [rbp - 0x50]
mov rax, rdi
sub edx, ecx
sub edx, r13d
sub edx, dword [rbp - 0x64]
add edx, dword [rbp + 0x58]
nop dword [rax]
cmp byte [r15 + rax + 1], 0
lea rax, [rax + 1]
jne 0x14004b760
movaps xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
lea r13d, [rax - 0x19]
add r13d, edx
mov r8, rcx
lea rcx, [rbp + 0xc0]
mov edx, r13d
mov dword [rsp + 0x64], r13d
movaps xmmword [rbp + 0xc0], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0xd0], xmm1
movaps xmm1, xmmword [rbp]
movaps xmmword [rbp + 0xe0], xmm0
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0x100], xmm0
movaps xmmword [rbp + 0xf0], xmm1
call fcn.1400a0c20
mov r8, qword [rbp + 0x70]
mov qword [rbp + 0x28], rax
cmp r13d, dword [rsp + 0x60]
jge 0x14004b946
mov rdx, rdi
nop dword [rax]
inc rdx
cmp byte [rsi + rdx], 0
jne 0x14004b7e0
mov r10, qword [rbp - 0x50]
mov r11, qword [rsp + 0x78]
mov r9, qword [rbp - 0x78]
mov al, 7
imul r10b
movzx ecx, al
mov al, 0xfb
imul r11b
movzx r13d, al
mov rax, rdi
sub r13b, cl
mov ecx, dword [rbp + 0x1e8]
sub r13b, byte [rbp + 0x128]
sub r13b, byte [rbp - 0x70]
sub r13b, byte [rsp + 0x70]
add r13b, cl
add r13b, byte [rbp + 0x1e0]
add r13b, byte [rbp - 0x80]
add r13b, r8b
add r13b, byte [rbp + 0x38]
add r13b, r9b
add r13b, byte [rbp + 0x1d8]
sub r13b, dl
inc rax
cmp byte [r12 + rax], 0
jne 0x14004b845
sub r13b, al
mov rax, rdi
add r13b, 0xd
nop dword [rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x14004b860
imul eax, r10d
sub ebx, eax
mov rax, rdi
sub ebx, dword [rbp + 0x110]
sub ebx, ecx
sub ebx, dword [rbp - 0x70]
add ebx, dword [rbp - 0x60]
add ebx, r11d
inc rax
cmp byte [r12 + rax], 0
jne 0x14004b884
add eax, 0xfffffff8
add eax, ebx
mov dword [rbp + 0x1d8], eax
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [r12 + rax], 0
jne 0x14004b8a0
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14004b8b0
imul eax, ecx
imul eax, dword [rbp + 0x130]
imul ecx, eax, 0x23
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x14004b8d0
imul eax, dword [rbp - 0x58]
mov edx, 0x1a7
sub eax, r8d
lea eax, [rax + rax*2]
lea ebx, [rax + rax]
sub ebx, ecx
xor ecx, ecx
add ebx, r10d
lea r8d, [rcx + 0x1c]
add ebx, dword [rsp + 0x68]
add ebx, dword [rbp + 0x1d0]
add ebx, r9d
add ebx, dword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rbp + 0x1d8]
mov qword [rsp + 0x30], rcx
lea rcx, str.c7a0
mov qword [rsp + 0x28], rcx
lea r9d, [rbx + 0x20]
lea r8, str.thong
movzx ecx, r13b
mov qword [rsp + 0x20], rax
call fcn.1400aa2f0
mov r13d, dword [rsp + 0x64]
movsxd rcx, dword [rbp + 0x1d0]
mov ebx, dword [rbp + 0x1e8]
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0x1e0]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rdx, str.c1ret
mov ecx, eax
mov r9d, eax
mov r8, rsi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [rsp + 0x60]
mov qword [rbp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rdi
mov qword [rbp + 0x20], rax
nop word [rax + rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14004b9b0
mov rax, qword [rbp - 0x78]
mov r8, qword [rbp - 0x50]
imul ecx, r8d
imul ecx, dword [rbp - 0x70]
imul ecx, dword [rsp + 0x70]
imul ecx, eax
imul edx, ecx, 7
mov rcx, qword [rsp + 0x78]
imul eax, ecx
sub edx, eax
mov rax, rdi
inc rax
cmp byte [r12 + rax], 0
jne 0x14004b9e2
imul eax, r8d
sub edx, eax
mov rax, qword [rbp - 0x58]
lea eax, [rax*8]
sub edx, eax
mov rax, rdi
sub edx, dword [rbp + 0x70]
sub edx, ebx
nop word [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x14004ba10
lea ebx, [rdx + 0xd]
lea rcx, str.fisherman
add ebx, eax
mov dword [rbp - 0x60], ebx
mov dword [rsp + 0x20], ebx
call fcn.1400bc780
mov r13, rax
mov qword [rbp - 0x58], rax
mov eax, dword [rbp + 0x1e0]
cmp eax, dword [rsp + 0x64]
je 0x14004bc37
mov r9, qword [rsp + 0x68]
mov r8, qword [rbp - 0x70]
mov ecx, dword [rsp + 0x70]
imul ecx, r9d
lea edx, [rcx + rcx*2]
mov ecx, eax
lea eax, [r8*4]
mov dword [rbp + 0xc0], 4
imul ecx, eax
mov rax, qword [rbp - 0x78]
lea r8d, [rcx + rdx*2]
mov rdx, r9
mov ecx, eax
imul ecx, eax
mov rax, qword [rsp + 0x78]
add r8d, ecx
add eax, 0x2e
xor ecx, ecx
sub r8d, dword [rbp - 0x80]
sub r8d, dword [rbp + 0x1d0]
sub r8d, dword [rbp - 0x68]
add r8d, ebx
add eax, r8d
mov dword [rbp + 0xc4], eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0xc8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [rbp + 0x1e8]
mov r9d, dword [rbp + 0x1e0]
mov qword [rbp + 0xd0], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0x1e0]
mov r8, r12
mov rdx, r15
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp + 0x1d0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp + 0xd8], rax
mov rax, rdi
nop
inc rax
cmp byte [r14 + rax], 0
jne 0x14004bb20
mov r10, qword [rbp - 0x70]
mov rdx, qword [rbp + 0x28]
imul ecx, eax, 0x3f
mov eax, r10d
add ecx, ebx
shl ecx, 2
imul eax, dword [rbp - 0x80]
imul eax, dword [rsp + 0x70]
sub ecx, eax
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14004bb50
imul eax, dword [rbp - 8]
mov rdx, qword [rbp + 0x48]
mov r9, qword [rsp + 0x68]
mov r8d, dword [rbp + 0x1d0]
imul eax, eax, 0x2d
add ecx, eax
mov rax, rdi
sub ecx, dword [rbp + 0x20]
add ecx, edx
add ecx, r9d
add ecx, r8d
add ecx, dword [rbp - 0x48]
inc rax
cmp byte [r15 + rax], 0
jne 0x14004bb83
movups xmm0, xmmword [rbp + 0xc0]
movups xmm1, xmmword [rbp + 0xd0]
sub ecx, eax
sub ecx, 0x15
mov qword [rbp + 0xe8], 0
mov rax, rdi
mov dword [rbp + 0xe0], ecx
movaps xmmword [rbp + 0x150], xmm0
movaps xmmword [rbp + 0x160], xmm1
movups xmm0, xmmword [rbp + 0xe0]
movaps xmmword [rbp + 0x170], xmm0
inc rax
cmp byte [rsi + rax], 0
jne 0x14004bbd0
imul ecx, eax, 0x1c
mov eax, r8d
imul eax, dword [rbp - 0x64]
sub ecx, eax
mov rax, rdi
sub ecx, dword [rbp + 0x130]
sub ecx, dword [rbp + 0x78]
sub ecx, r10d
add ecx, r13d
add ecx, edx
add ecx, dword [rbp - 0x50]
add ecx, dword [rbp + 0x1e0]
add ecx, r9d
add ecx, dword [rbp - 0x78]
nop dword [rax + rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x14004bc10
sub ecx, eax
mov rax, rdi
nop
inc rax
cmp byte [r12 + rax], 0
jne 0x14004bc20
inc eax
add eax, ecx
mov dword [rsp + 0x20], eax
call fcn.1400868b0
call fcn.14008d070
mov rcx, qword [rbp - 0x78]
xor r9d, r9d
mov ebx, eax
mov eax, dword [rbp + 0x1e8]
mov r8, r13
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov rdx, r13
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [rbp + 0x1d8], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0x14]
mov edx, 0x265
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [rbp + 0x1d8]
mov rdx, r13
mov qword [rbp - 0x48], rax
call fcn.140087d00
mov rdx, rdi
mov r8, rax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x14004bca3
imul eax, dword [rbp + 0x128], 7
mov rcx, qword [rsp + 0x68]
mov r9, qword [rbp + 0x80]
lea ecx, [rcx + rcx*2]
imul ebx, dword [rbp - 0x58]
imul r13d, dword [rbp + 0x1d8]
add ecx, ecx
sub ecx, eax
mov eax, dword [rbp + 0x30]
add ecx, dword [rbp + 0x20]
imul eax, dword [rbp + 0x1d0]
imul ebx, dword [rbp - 0x60]
sub eax, r9d
sub ecx, edx
inc eax
imul eax, dword [rbp - 0x78]
lea edx, [rax + rcx*4]
mov eax, dword [rsp + 0x64]
mov rcx, qword [rbp + 0x28]
imul eax, dword [rbp - 8]
dec eax
imul eax, dword [rbp - 0x50]
add edx, eax
mov rax, rdi
add edx, ebx
sub edx, r13d
nop dword [rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x14004bd10
lea eax, [rax + rax*8]
sub edx, eax
mov rax, rdi
sub edx, dword [rbp - 0x40]
sub edx, dword [rbp + 0x48]
sub edx, dword [rsp + 0x70]
sub edx, dword [rbp + 0x1e0]
sub edx, dword [rbp + 0xa0]
sub edx, dword [rsp + 0x78]
add edx, dword [rbp - 0x48]
add edx, dword [rbp + 0x1e8]
add edx, dword [rbp - 0x70]
add edx, dword [rbp - 0x80]
nop dword [rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x14004bd50
sub edx, eax
mov rax, rdi
nop
inc rax
cmp byte [r12 + rax], 0
jne 0x14004bd60
lea ecx, [rdx - 0xf]
add ecx, eax
mov rax, rdi
inc rax
cmp byte [r15 + rax], 0
jne 0x14004bd72
add ecx, eax
nop
cmp byte [r14 + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x14004bd80
lea eax, [rdi + rcx]
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret