Function at 0x180050020
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
lea r12d, [rdx - 0xb]
mov rdi, r8
mov esi, edx
mov r15, rcx
cmp edx, r12d
jbe 0x1800502f3
mov r13, qword [rbp + 0x58]
lea r14d, [rdx - 0xf1]
lea rdx, [0x180000000]
mov ebx, 1
cmp r14d, 0x21
ja case.0x180050080.11
movzx eax, byte [rdx + r14 + 0x50398]
mov ecx, dword [rdx + rax*4 + 0x50368]
add rcx, rdx
jmp rcx
mov r9d, 0xef
mov qword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180042520
mov r13, rax
mov qword [rbp - 0x30], 0
mov r9, r13
mov qword [rbp - 0x28], 3
lea rax, [rbp - 0x30]
mov ecx, 3
jmp 0x1800502cb
mov rdx, qword [rbp - 0x40]
lea r8, [rbp + 0x48]
mov ecx, 0x91
mov byte [rbp + 0x48], bl
call fcn.18006b1e0
mov qword [rbp - 0x40], rax
jmp 0x1800502de
mov qword [r15 + 0x20], rdi
mov qword [rdi + 0x18], r15
jmp case.0x180050080.11
mov r8, qword [rbp - 8]
xor edx, edx
mov ecx, 0xa9
call fcn.18004c030
lea r8, [rbp + 0x58]
mov byte [rbp + 0x58], bl
mov rdx, r13
mov ecx, 0x91
call fcn.18006b1e0
mov r13, rax
jmp 0x1800502de
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x18005012c
cmp qword [rax + 8], 2
je case.0x180050080.11
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Set_catchpoints_to_catch_events.
call fcn.18006e7b0
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8, qword [rbp - 0x18]
xor edx, edx
mov ecx, 0xa9
call fcn.18004c030
jmp 0x1800502de
mov r9, qword [rbp - 0x40]
lea rcx, [rbp - 0x20]
mov r8, qword [rbp - 0x38]
mov edx, 0x7f
mov qword [rbp - 0x20], rbx
call fcn.180062810
mov qword [rbp - 0x18], rax
jmp 0x1800502de
cmp qword [rdi + 0x18], r15
je 0x1800502f3
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x1800501a2
mov rax, qword [r15 + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x1800501b3
mov rax, qword [r15 + 0x20]
mov qword [rcx + 0x20], rax
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1800501c4
mov qword [rax + 0x20], r15
mov rax, qword [rdi + 0x18]
mov qword [r15 + 0x18], rax
jmp case.0x180050080.11
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rbx
mov r9, r13
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x28]
mov edx, 0x23
mov rcx, rbx
call fcn.180062560
mov edx, 0x23
mov qword [rbp - 0x28], 2
lea rax, [rbp - 0x30]
mov r9, r13
lea r8, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea ecx, [rdx - 0x21]
call fcn.180062560
mov r8, qword [rbp - 0x30]
test r8, r8
je 0x18005030e
cmp qword [r8 + 8], 2
jne 0x18005030e
mov r9, r13
mov qword [rbp - 0x10], rbx
mov edx, 0x7f
lea rcx, [rbp - 0x10]
call fcn.180062810
mov qword [rbp - 8], rax
jmp 0x1800502de
mov r9d, 0xef
mov qword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180042520
mov qword [rbp - 0x40], rax
lea r8, [rbp - 0x28]
mov r9, qword [rbp - 0x40]
lea rax, [rbp - 0x38]
mov edx, 0x23
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x28], 3
mov qword [rsp + 0x20], rax
lea ecx, [rdx - 0x20]
call fcn.180062560
mov r9, qword [rbp - 0x40]
lea rax, [rbp - 0x38]
mov edx, 0x23
mov qword [rbp - 0x28], 2
lea r8, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea ecx, [rdx - 0x21]
call fcn.180062560
mov r9, qword [rbp - 0x40]
lea rax, [rbp - 0x38]
mov rcx, rbx
mov qword [rbp - 0x28], rbx
lea r8, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov edx, 0x23
call fcn.180062560
lea rdx, [0x180000000]
dec esi
dec r14d
cmp esi, r12d
ja 0x180050063
mov eax, dword [rbp + 0x48]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Count_not_get_path_to_logo_tile.
call fcn.18006e7b0
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test byte [rdi + 0x20], bl
jne 0x180050363
mov dword [rdi + 0x20], ebx
nop dword [rax]
test bl, 1
jne 0x180050363
mov r8, qword [rdi + 0x38]
mov edx, 0xbc
xor ecx, ecx
mov r8, qword [r8 + 0x30]
call fcn.1800451e0
mov ecx, dword [rdi + 0x20]
mov ebx, ecx
test cl, 4
je 0x180050340
xor eax, eax
jmp 0x1800502f6