Function at 0x140035430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
xor ebp, ebp
lea rdi, [rcx + 0x80]
mov rcx, rdi
call fcn.140056a70
mov ecx, dword [rdi + 0x60]
test ecx, ecx
je 0x14003547c
cmp dword [0x1400e3804], ecx
je 0x14003547a
mov dword [0x1400e3804], ecx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14003549e
test ecx, ecx
setne al
mov byte [rdi + 0xa8], al
test ecx, ecx
je 0x14003549e
cmp qword [rbx + 0xe8], 0x10000
jae 0x14003549e
mov rcx, rdi
call fcn.1400570d0
mov eax, dword [rbx + 0x330]
cmp byte [rbx + 0x128], bpl
je 0x14003565b
cmp eax, 1
je 0x1400356ab
mov dword [rbx + 0x330], 1
xor edx, edx
mov rcx, rbx
call fcn.140039420
mov rcx, rbx
call fcn.140038c80
call fcn.1400339e0
test al, al
je 0x140035701
cmp byte [0x1400e3800], bpl
jne 0x1400356c1
mov byte [0x1400e3800], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, qword [rbx + 0x328]
mov ecx, 0x1f4
mov edx, 0x9c4
cmp rax, rdx
cmova ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x14003552c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1400e2b60]
mov r8d, dword [rdi + 0x60]
xor edx, edx
mov ecx, 0xc3a
call rax
mov qword [rdi + 0xa0], rax
mov rcx, rdi
call fcn.1400570d0
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x30], ebp
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 0x140035593
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x120]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140035593
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x40], eax
jne 0x1400356c7
cmp qword [rbx + 0x120], rbp
jne 0x1400355bd
mov r9d, 0x10
xor r8d, r8d
lea rdx, [0x1400e2e00]
lea rcx, [0x1400e2fe0]
call fcn.140043280
jmp 0x140035701
lea rcx, [rbx + 0x10]
call fcn.140053400
lea rdi, [rbx + 0x550]
cmp byte [rdi + 8], bpl
jne 0x14003564f
cmp qword [rdi + 0x18], rbp
je 0x14003564f
mov word [rdi + 8], 0x101
mov dword [rdi + 0x20], 0x32
mov ecx, 8
call fcn.1400789a4
mov qword [rax], rdi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14003d730]
xor edx, edx
xor ecx, ecx
call fcn.140088d3c
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140035714
cmp dword [rsp + 0x58], 0
je 0x140035709
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140077ce0
test eax, eax
jne 0x140035709
mov dl, 1
mov rcx, rbx
call fcn.140039420
jmp 0x1400356ab
test eax, eax
je 0x1400356ab
cmp eax, 1
jne 0x14003566f
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbx + 0x330], ebp
mov rcx, rbx
call fcn.140038c80
mov byte [rbx + 0x558], bpl
mov edi, 0x1388
cmp byte [rbx + 0x559], bpl
je 0x1400356ab
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x1400356ab
cmp byte [rbx + 0x559], bpl
jne 0x140035692
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14004bd80
int3
lea r8, [0x1400e2e00]
cmp qword [0x1400e2e18], 7
cmova r8, qword [0x1400e2e00]
lea rdx, [0x1400e3040]
cmp qword [0x1400e3058], 7
cmova rdx, qword [0x1400e3040]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call fcn.140089304
nop
mov ecx, 1
call fcn.140077948
nop
mov dword [rsp + 0x58], ebp
mov ecx, 6
call fcn.140077948
int3