Function at 0x1400354d0
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 rdi, rcx
sub rcx, 0xffffffffffffff80
call fcn.140055af0
mov eax, dword [rdi + 0xe0]
test eax, eax
je 0x14003553b
cmp dword [0x1400e37e0], eax
je 0x140035515
mov dword [0x1400e37e0], eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140035544
test eax, eax
setne al
mov byte [rdi + 0x128], al
cmp qword [rdi + 0xe8], 0x10000
jae 0x140035544
lea rcx, [rdi + 0x80]
call fcn.1400561d0
jmp 0x140035544
setne al
mov byte [rdi + 0x128], al
mov eax, dword [rdi + 0x330]
cmp byte [rdi + 0x128], 0
je 0x140035742
cmp eax, 1
je 0x140035789
mov dword [rdi + 0x330], 1
call fcn.140031d70
test al, al
je 0x1400357f4
cmp byte [rdi + 0x4b8], 0
jne 0x1400357ae
mov byte [rdi + 0x4b8], 1
cmp qword [0x1400e39c8], 0
je 0x1400355c3
lea rcx, [rdi + 0x80]
call fcn.140056180
lea rcx, [rdi + 0x80]
call fcn.1400561d0
mov rcx, qword [0x1400e39c8]
test rcx, rcx
je 0x1400357b4
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.140038ed0
mov rcx, rdi
call fcn.140038770
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 [rdi + 0x120]
test rcx, rcx
je 0x14003560a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1400e2fb0]
mov r8d, dword [rdi + 0xe0]
xor edx, edx
mov ecx, 0xc3a
call rax
mov qword [rdi + 0x120], rax
lea rcx, [rdi + 0x80]
call fcn.1400561d0
xor esi, esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x30], esi
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 0x14003567a
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 0x120]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14003567a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x40], eax
jne 0x1400357ba
cmp qword [rdi + 0x120], rsi
jne 0x1400356a4
mov r9d, 0x10
xor r8d, r8d
lea rdx, [0x1400e3230]
lea rcx, [0x1400e3410]
call fcn.140043770
jmp 0x1400357f4
lea rcx, [rdi + 0x10]
call fcn.1400525e0
lea rbx, [rdi + 0x550]
cmp byte [rbx + 8], sil
jne 0x140035736
cmp qword [rbx + 0x18], rsi
je 0x140035736
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.1400761e4
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14003dcc0]
xor edx, edx
xor ecx, ecx
call fcn.140085f7c
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003579f
cmp dword [rsp + 0x58], 0
je 0x1400357fc
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1400750d4
test eax, eax
jne 0x140035807
mov dl, 1
mov rcx, rdi
call fcn.140038ed0
jmp 0x140035789
test eax, eax
je 0x140035789
xor esi, esi
mov dword [rdi + 0x330], esi
mov rcx, rdi
call fcn.140038770
mov byte [rdi + 0x558], sil
mov ebx, 0x1388
cmp byte [rdi + 0x559], sil
je 0x140035789
nop dword [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 0x32
js 0x140035789
cmp byte [rdi + 0x559], sil
jne 0x140035770
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
mov dword [rsp + 0x58], esi
mov ecx, 6
call fcn.1400738f0
nop
call fcn.1400339f0
int3
call fcn.140073de4
int3
lea r8, [0x1400e3230]
cmp qword [0x1400e3248], 8
cmovae r8, qword [0x1400e3230]
lea rdx, [0x1400e3470]
cmp qword [0x1400e3488], 8
cmovae rdx, qword [0x1400e3470]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call fcn.140086544
nop
mov ecx, 1
call fcn.1400738f0
int3
mov ecx, eax
call fcn.1400738b4
int3