Function at 0x100005e34
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rcx, qword [0x100018120]
lea rbp, [0x100018120]
lea esi, [rdi + 1]
cmp rcx, rbp
je 0x100005e7f
cmp byte [rcx + 0x19], 4
jb 0x100005e7f
test byte [rcx + 0x1c], sil
je 0x100005e7f
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x38]
lea r8, [0x100004260]
call fcn.100004b08
mov eax, esi
xchg dword [0x10001881c], eax
test eax, eax
jne 0x1000063f0
lea rcx, [0x1000187d8]
call fcn.10000cda8
mov ebx, eax
test eax, eax
je 0x100005ee2
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
mov edx, 0x39
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x100004260]
call fcn.100004b2c
jmp 0x100006357
lea rcx, [0x1000187f0]
mov edi, esi
call fcn.10000cda8
mov ebx, eax
test eax, eax
je 0x100005f21
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
mov edx, 0x3a
jmp 0x100005eca
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x100005f4e
cmp byte [rcx + 0x19], 4
jb 0x100005f4e
test byte [rcx + 0x1c], sil
je 0x100005f4e
mov rcx, qword [rcx + 0x10]
lea r8, [0x100004250]
mov edx, 0xf
call fcn.100004b08
lea rcx, [0x100018aa0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [0x100018844], 0
lea rcx, [0x100018aa0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x100005f9f
cmp byte [rcx + 0x19], 4
jb 0x100005f9f
test byte [rcx + 0x1c], sil
je 0x100005f9f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100004250]
mov edx, 0x10
xor r9d, r9d
call fcn.100004b2c
mov edi, 3
call fcn.10000bf58
mov ebx, eax
test eax, eax
je 0x100005fdb
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
lea edx, [rdi + 0x38]
jmp 0x100005eca
lea rcx, [0x1000187f0]
mov edi, 4
call fcn.10000c9dc
mov ebx, eax
test eax, eax
je 0x10000601e
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
lea edx, [rdi + 0x38]
jmp 0x100005eca
mov edi, 5
call fcn.10000e328
mov ebx, eax
test eax, eax
je 0x10000605a
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
lea edx, [rdi + 0x38]
jmp 0x100005eca
lea rcx, [0x1000187d8]
mov edi, 6
call fcn.10000c9dc
mov ebx, eax
test eax, eax
je 0x10000609d
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
lea edx, [rdi + 0x38]
jmp 0x100005eca
mov edi, 7
call fcn.1000066a0
mov ebx, eax
cmp eax, 0x139f
jne 0x1000060ed
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x1000060db
cmp byte [rcx + 0x19], 3
jb 0x1000060db
test byte [rcx + 0x1c], sil
je 0x1000060db
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x38]
lea r8, [0x100004260]
call fcn.100004b08
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1000066a0
mov ebx, eax
test ebx, ebx
je 0x100006122
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
mov edx, 0x40
mov r9d, ebx
jmp 0x100005ecd
lea rcx, [0x1000187d8]
mov edi, 8
call fcn.10000ce98
mov ebx, eax
cmp eax, 0x10d3
jne 0x100006180
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x100006167
cmp byte [rcx + 0x19], 3
jb 0x100006167
test byte [rcx + 0x1c], sil
je 0x100006167
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x39]
lea r8, [0x100004260]
call fcn.100004b08
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1000187d8]
call fcn.10000ce98
mov ebx, eax
test ebx, ebx
je 0x1000061b2
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
mov edx, 0x42
jmp 0x10000611a
lea rcx, [0x1000187f0]
mov edi, 9
call fcn.10000ce98
mov ebx, eax
cmp eax, 0x10d3
jne 0x100006210
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x1000061f7
cmp byte [rcx + 0x19], 3
jb 0x1000061f7
test byte [rcx + 0x1c], sil
je 0x1000061f7
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x3a]
lea r8, [0x100004260]
call fcn.100004b08
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1000187f0]
call fcn.10000ce98
mov ebx, eax
test ebx, ebx
je 0x100006242
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
mov edx, 0x44
jmp 0x10000611a
mov ecx, 0x1388
mov edi, 0xa
call fcn.100009224
mov ebx, eax
test eax, eax
je 0x100006283
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
lea edx, [rdi + 0x3b]
jmp 0x100005eca
mov edi, 0xb
call fcn.100008fd0
mov ebx, eax
test eax, eax
je 0x1000062bf
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000635e
cmp byte [rcx + 0x19], sil
jb 0x10000635e
test byte [rcx + 0x1c], sil
je 0x10000635e
lea edx, [rdi + 0x3b]
jmp 0x100005eca
mov edi, 0xc
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x1000062f5
cmp byte [rcx + 0x19], 4
jb 0x1000062f5
test byte [rcx + 0x1c], sil
je 0x1000062f5
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov edx, edi
call fcn.100004b08
mov rcx, qword [0x100018120]
cmp dword [0x1000188c8], 0
je 0x10000630a
call fcn.100013768
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x10000633a
cmp byte [rcx + 0x19], 4
jb 0x10000633a
test byte [rcx + 0x1c], sil
je 0x10000633a
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov edx, 0xd
xor r9d, r9d
call fcn.100004b2c
mov rcx, qword [0x100018120]
mov rax, qword [0x100018828]
test rax, rax
je 0x1000063b2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x100018828], 0
mov rcx, qword [0x100018120]
test ebx, ebx
je 0x1000063b2
cmp rcx, rbp
je 0x100006385
test byte [rcx + 0x1c], sil
je 0x100006385
mov rcx, qword [rcx + 0x10]
lea r8, [0x100004260]
mov edx, 0x47
mov r9d, edi
call fcn.100004b2c
cmp dword [0x100018818], 0
je 0x100006393
call fcn.100004cd8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, 0x2c9
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x100018818], 0
je 0x1000063c7
call fcn.100004cd8
mov rcx, qword [0x100018120]
cmp rcx, rbp
je 0x1000063f0
cmp byte [rcx + 0x19], 4
jb 0x1000063f0
test byte [rcx + 0x1c], sil
je 0x1000063f0
mov rcx, qword [rcx + 0x10]
lea r8, [0x100004260]
mov edx, 0x48
xor r9d, r9d
call fcn.100004b2c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret