Function at 0x140107000
Capabilities:
Terminate thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov eax, dword [0x14018b978]
mov edx, dword [0x14018b974]
lea ebx, [rax - 1]
imul ebx, eax
test bl, 1
sete byte [rbp + 5]
cmp edx, 0xa
setl byte [rbp + 4]
mov rsi, rcx
lea rax, [rcx + 0x48]
mov qword [rbp - 0x40], rax
lea rax, [rcx + 0x30]
mov qword [rbp - 0x38], rax
mov eax, 0x7b1ab639
mov r13d, 0xff3b4255
mov r15d, 0x89b40b88
mov r12d, 0x2a394cf1
mov r14d, 0xacdb3eeb
jmp 0x14010708d
mov eax, dword [0x14018b978]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5311a8d8
mov ecx, 0x95d526e5
cmove eax, ecx
cmp dword [0x14018b974], 0xa
cmovl eax, ecx
cmp eax, 0x73c470d
jg 0x140107110
cmp eax, 0xc5cad1a0
jg 0x140107170
cmp eax, 0x95d526e4
jg 0x140107298
cmp eax, 0x85bcec04
je 0x1401073d8
cmp eax, 0x8ddcfe40
jne 0x14010708d
mov rcx, qword [rbp - 0x28]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x20
mov rcx, qword [rsi + 0x18]
sub rsp, 0x20
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x20
test eax, eax
setne byte [rbp + 2]
mov eax, dword [0x14018b978]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x6e094068
mov ecx, 0x73c470e
jmp 0x140107080
cmp eax, 0x5311a8d7
jle 0x1401071e0
cmp eax, 0x7b1ab638
jg 0x1401072cc
cmp eax, 0x5311a8d8
je 0x1401073ee
cmp eax, 0x6e094068
jne 0x14010708d
mov rcx, qword [rbp - 0x28]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x20
mov rcx, qword [rsi + 0x18]
sub rsp, 0x20
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x20
mov eax, 0x8ddcfe40
jmp 0x14010708d
cmp eax, 0xdf092fe9
jg 0x140107300
cmp eax, 0xc5cad1a1
je 0x140107067
cmp eax, 0xc8a77817
jne 0x14010708d
mov eax, 0x10
call fcn.140128210
sub rsp, rax
mov rdi, rsp
sub rsp, 0x20
mov rcx, rsi
call fcn.140107730
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp - 0x38]
mov rdx, rdi
call fcn.140104de0
add rsp, 0x20
mov eax, 0xcddab30
jmp 0x14010708d
cmp eax, 0x19b741bc
jle 0x140107320
cmp eax, 0x19b741bd
je 0x140107429
cmp eax, 0x429f3d3c
jne 0x14010708d
mov rax, qword [rbp - 8]
mov ecx, dword [0x14018b9c0]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete byte [rbp + 7]
mov edx, dword [0x14018b9bc]
mov ecx, 0xe3248573
cmove ecx, r13d
cmp edx, 0xa
setl byte [rbp + 6]
cmovl ecx, r13d
mov edx, 0x5d6be229
nop word [rax + rax]
cmp edx, 0xff3b4254
jg 0x140107260
cmp edx, 0xacdb3eeb
je 0x14010728d
cmp edx, 0xe3248573
jne 0x140107240
mov edx, 0xacdb3eeb
jmp 0x140107240
cmp edx, 0xff3b4255
je 0x14010744b
cmp edx, 0x5d6be229
jne 0x140107240
movzx ebx, byte [rbp + 7]
cmp byte [rbp + 6], 0
mov edx, 0xe3248573
cmovne edx, r14d
test bl, bl
cmovne edx, r14d
jmp 0x140107240
mov rdx, qword [rax]
mov qword [rbp - 0x10], rdx
mov edx, ecx
jmp 0x140107240
cmp eax, 0x95d526e5
je 0x1401074f2
cmp eax, 0xa841e473
jne 0x14010708d
mov eax, dword [0x14018b978]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x429f3d3c
mov ecx, 0xdf092fea
jmp 0x140107080
cmp eax, 0x7d393a86
je 0x140107544
cmp eax, 0x7b1ab639
jne 0x14010708d
mov cl, byte [rbp + 5]
cmp byte [rbp + 4], 0
mov eax, 0xc8a77817
mov edx, 0xcddab30
cmovne eax, edx
test cl, cl
cmovne eax, edx
jmp 0x14010708d
cmp eax, 0xdf092fea
je 0x14010754e
cmp eax, 0x1b37e97
jne 0x14010708d
mov eax, 0xc5cad1a1
jmp 0x14010708d
cmp eax, 0xcddab30
jne 0x140107710
mov eax, 0x10
call fcn.140128210
sub rsp, rax
mov rax, rsp
mov qword [rbp - 8], rax
mov eax, 0x10
call fcn.140128210
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x18], rax
mov eax, 0x10
call fcn.140128210
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x20], rax
sub rsp, 0x20
mov rcx, rsi
call fcn.140107730
add rsp, 0x20
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x28], rax
mov rcx, qword [rbp - 0x28]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add rsp, 0x20
mov rax, qword [rbp - 8]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x30]
sub rsp, 0x20
call fcn.140104de0
add rsp, 0x20
mov eax, dword [0x14018b978]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xc8a77817
mov ecx, 0x1b37e97
jmp 0x140107080
cmp byte [rbp + 3], 0
mov eax, 0x19b741bd
mov ecx, 0xa841e473
cmovne eax, ecx
jmp 0x14010708d
mov rdi, qword [rbp - 8]
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
sub rsp, 0x20
call fcn.140104f30
add rsp, 0x20
mov rdx, qword [rbp - 0x18]
sub rsp, 0x20
mov rcx, rdi
call fcn.140106540
add rsp, 0x20
mov eax, 0x95d526e5
jmp 0x14010708d
mov rax, qword [rbp - 0x48]
mov eax, dword [0x14018b978]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x6e094068
mov ecx, 0x8ddcfe40
jmp 0x140107080
mov rax, qword [rbp - 0x10]
mov ecx, dword [0x14018b558]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete byte [rbp + 7]
mov edx, dword [0x14018b554]
mov ecx, 0x6ee4a7fb
cmove ecx, r15d
cmp edx, 0xa
setl byte [rbp + 6]
cmovl ecx, r15d
mov edx, 0x29e57c19
nop word cs:[rax + rax]
nop dword [rax + rax]
cmp edx, 0x2a394cf0
jg 0x1401074d0
cmp edx, 0x89b40b88
je 0x1401075e4
cmp edx, 0x29e57c19
jne 0x140107490
movzx ebx, byte [rbp + 7]
cmp byte [rbp + 6], 0
mov edx, 0x6ee4a7fb
cmovne edx, r12d
test bl, bl
cmovne edx, r12d
jmp 0x140107490
cmp edx, 0x2a394cf1
je 0x1401074e7
cmp edx, 0x6ee4a7fb
jne 0x140107490
mov edx, 0x2a394cf1
jmp 0x140107490
mov rdx, qword [rax]
mov qword [rbp - 0x10], rdx
mov edx, ecx
jmp 0x140107490
mov rdi, qword [rbp - 8]
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
sub rsp, 0x20
call fcn.140104f30
add rsp, 0x20
mov rdx, qword [rbp - 0x18]
sub rsp, 0x20
mov rcx, rdi
call fcn.140106540
add rsp, 0x20
mov byte [rbp + 3], al
mov eax, dword [0x14018b978]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5311a8d8
mov ecx, 0x85bcec04
jmp 0x140107080
mov eax, 0xc5cad1a1
jmp 0x14010708d
mov rax, qword [rbp - 8]
mov ecx, dword [0x14018b9c0]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete byte [rbp + 7]
mov edx, dword [0x14018b9bc]
mov ecx, 0xe3248573
cmove ecx, r13d
cmp edx, 0xa
setl byte [rbp + 6]
cmovl ecx, r13d
mov edx, 0x5d6be229
nop word cs:[rax + rax]
nop
cmp edx, 0xff3b4254
jg 0x1401075b0
cmp edx, 0xacdb3eeb
je 0x1401075d9
cmp edx, 0xe3248573
jne 0x140107590
mov edx, 0xacdb3eeb
jmp 0x140107590
cmp edx, 0xff3b4255
je 0x14010761e
cmp edx, 0x5d6be229
jne 0x140107590
movzx ebx, byte [rbp + 7]
cmp byte [rbp + 6], 0
mov edx, 0xe3248573
cmovne edx, r14d
test bl, bl
cmovne edx, r14d
jmp 0x140107590
mov rdx, qword [rax]
mov qword [rbp - 0x10], rdx
mov edx, ecx
jmp 0x140107590
mov rcx, qword [rbp - 0x10]
sub rsp, 0x20
call fcn.140107000
add rsp, 0x20
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rcx]
mov qword [rax], rdx
sub rsp, 0x20
call fcn.1401054c0
add rsp, 0x20
mov eax, 0xdf092fea
jmp 0x14010708d
mov rax, qword [rbp - 0x10]
mov ecx, dword [0x14018b558]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete byte [rbp + 7]
mov edx, dword [0x14018b554]
mov ecx, 0x6ee4a7fb
cmove ecx, r15d
cmp edx, 0xa
setl byte [rbp + 6]
cmovl ecx, r15d
mov edx, 0x29e57c19
nop word cs:[rax + rax]
nop
cmp edx, 0x2a394cf0
jg 0x1401076a0
cmp edx, 0x89b40b88
je 0x1401076c2
cmp edx, 0x29e57c19
jne 0x140107660
movzx ebx, byte [rbp + 7]
cmp byte [rbp + 6], 0
mov edx, 0x6ee4a7fb
cmovne edx, r12d
test bl, bl
cmovne edx, r12d
jmp 0x140107660
cmp edx, 0x2a394cf1
je 0x1401076b7
cmp edx, 0x6ee4a7fb
jne 0x140107660
mov edx, 0x2a394cf1
jmp 0x140107660
mov rdx, qword [rax]
mov qword [rbp - 0x10], rdx
mov edx, ecx
jmp 0x140107660
mov rcx, qword [rbp - 0x10]
sub rsp, 0x20
call fcn.140107000
add rsp, 0x20
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rcx]
mov qword [rax], rdx
sub rsp, 0x20
call fcn.1401054c0
add rsp, 0x20
mov eax, dword [0x14018b978]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x429f3d3c
mov ecx, 0x7d393a86
jmp 0x140107080
cmp eax, 0x73c470e
jne 0x14010708d
mov al, byte [rbp + 2]
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret