Function at 0x140035b80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rdi, rcx
xor r14d, r14d
lea rsi, [rcx + 0x80]
mov rcx, rsi
call fcn.1400576f0
mov ecx, dword [rsi + 0x60]
test ecx, ecx
je 0x140035bcb
cmp dword [0x1400e6690], ecx
je 0x140035bc9
mov dword [0x1400e6690], ecx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140035bed
test ecx, ecx
setne al
mov byte [rsi + 0xa8], al
test ecx, ecx
je 0x140035bed
cmp qword [rdi + 0xe8], 0x10000
jae 0x140035bed
mov rcx, rsi
call fcn.140057d90
mov eax, dword [rdi + 0x330]
cmp byte [rdi + 0x128], r14b
je 0x140035def
cmp eax, 1
je 0x140035de4
mov dword [rdi + 0x330], 1
call fcn.1400325f0
test al, al
je 0x140035ea4
cmp byte [rdi + 0x4b8], r14b
jne 0x140035e5e
mov byte [rdi + 0x4b8], 1
cmp qword [0x1400e6878], r14
je 0x140035c6b
lea rcx, [rdi + 0x80]
call fcn.140057d50
lea rcx, [rdi + 0x80]
call fcn.140057d90
mov rcx, qword [0x1400e6878]
test rcx, rcx
je 0x140035e64
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.140039bb0
mov rcx, rdi
call fcn.140039410
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, qword [rdi + 0x328]
mov ecx, 0x1f4
mov edx, 0x9c4
cmp rax, rdx
cmova ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x140035cb2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1400e5b90]
mov r8d, dword [rsi + 0x60]
xor edx, edx
mov ecx, 0xc3a
call rax
mov qword [rsi + 0xa0], rax
mov rcx, rsi
call fcn.140057d90
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x30], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140035d1b
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 0x120]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140035d1b
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x40], eax
jne 0x140035e6a
cmp qword [rdi + 0x120], r14
jne 0x140035d45
mov r9d, 0x10
xor r8d, r8d
lea rdx, [0x1400e5e50]
lea rcx, [0x1400e6030]
call fcn.140043ee0
jmp 0x140035ea4
lea rcx, [rdi + 0x10]
call fcn.1400540a0
lea rbx, [rdi + 0x550]
cmp byte [rbx + 8], r14b
jne 0x140035dd8
cmp qword [rbx + 0x18], r14
je 0x140035dd8
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.14007abf4
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003e540]
xor edx, edx
xor ecx, ecx
call fcn.14008d734
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140035e4e
cmp dword [rsp + 0x58], 0
je 0x140035eac
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140079f30
test eax, eax
jne 0x140035eac
mov dl, 1
mov rcx, rdi
call fcn.140039bb0
jmp 0x140035e39
lea rcx, [rdi + 0x10]
call fcn.140062eb0
jmp 0x140035e39
test eax, eax
je 0x140035e39
mov dword [rdi + 0x330], r14d
mov rcx, rdi
call fcn.140039410
mov byte [rdi + 0x558], r14b
mov ebx, 0x1388
cmp byte [rdi + 0x559], r14b
je 0x140035e39
nop word [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 0x32
js 0x140035e39
cmp byte [rdi + 0x559], r14b
jne 0x140035e20
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], r14d
mov ecx, 6
call fcn.140079b98
nop
call fcn.1400340e0
int3
call fcn.140078b54
int3
lea r8, [0x1400e5e50]
cmp qword [0x1400e5e68], 7
cmova r8, qword [0x1400e5e50]
lea rdx, [0x1400e6090]
cmp qword [0x1400e60a8], 7
cmova rdx, qword [0x1400e6090]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call fcn.14008dd3c
nop
mov ecx, 1
call fcn.140079b98
int3