Function at 0x1400107d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp dword [rsp + 0x70], 0
mov rax, r9
mov rsi, rcx
jne 0x140010a90
cmp r8d, 0x110
jne 0x140010835
mov r9, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov r8, rax
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov edx, 0x110
call fcn.140010bf0
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp r8d, 0x10
jne 0x140010864
mov rcx, qword [rcx + 8]
xor edx, edx
call qword [sym.imp.USER32.dll_EndDialog]
mov rax, qword [rsp + 0x68]
xor edi, edi
mov qword [rax], rdi
lea eax, [rdi + 1]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp r8d, 0x113
jne 0x1400108c4
mov ebx, 1
cmp rax, 0x105
jne 0x1400108aa
cmp dword [rcx + 0xa4], 0
je 0x1400108aa
mov rcx, qword [rcx + 8]
mov rdx, rax
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [rsi + 8]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
mov dword [rsi + 0xa0], ebx
mov dword [rsi + 0xa4], edi
mov rax, qword [rsp + 0x68]
mov qword [rax], rbx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp r8d, 0x83
je 0x140010847
cmp r8d, 0x100
jne 0x14001090c
xor edi, edi
cmp rax, 7
mov rax, qword [rsp + 0x68]
mov ebx, 1
mov qword [rax], rdi
mov ecx, ebx
cmovne ecx, edi
test ecx, ecx
je 0x140010a90
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp r8d, 0xff
jne 0x140010951
mov r9, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov r8, rax
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov edx, 0xff
call fcn.140010ef0
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp r8d, 0x40a
jne 0x140010a02
xor edi, edi
mov dword [rcx + 0xac], edi
call fcn.140012910
lea ebx, [rdi + 1]
test al, al
je 0x1400109bb
mov ecx, dword [rsi + 0xe0]
mov edx, edi
mov eax, ecx
and eax, 0xf
cmp eax, 3
cmovbe edx, eax
shr ecx, 4
and ecx, ebx
cmp ecx, ebx
ja 0x140010996
test ecx, ecx
je 0x140010996
mov eax, edi
jmp 0x14001099e
mov eax, ebx
mov dword [rsi + 0xac], ebx
shl eax, 4
mov rcx, rsi
add eax, edx
mov dword [rsi + 0xe0], eax
call fcn.1400129d0
test al, al
jne 0x1400109dd
mov dword [rsi + 0xac], edi
mov rax, qword [rsp + 0x68]
mov edi, 0x80004005
movsxd rcx, edi
mov qword [rax], rcx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rsi
call fcn.140010db0
mov rax, qword [rsp + 0x68]
movsxd rcx, edi
mov qword [rax], rcx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp r8d, 0x11
jne 0x140010a30
mov rax, qword [rsp + 0x68]
xor edi, edi
cmp qword [rsp + 0x60], 1
sete dil
mov qword [rax], rdi
lea eax, [r8 - 0x10]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp r8d, 0x16
jne 0x140010a54
cmp qword [rsp + 0x60], 1
jne 0x140010847
test rax, rax
je 0x140010847
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp r8d, 0x111
jne 0x140010a90
mov ebx, 1
cmp bx, ax
jne 0x140010a90
mov rcx, qword [rcx + 8]
mov rdx, rbx
call qword [sym.imp.USER32.dll_EndDialog]
mov rax, qword [rsp + 0x68]
xor edi, edi
mov qword [rax], rdi
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret