Function at 0x14003e120
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2040]
mov eax, 0x2140
call fcn.1400b5dc0
sub rsp, rax
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rbp + 0x2030], rax
mov rbx, r8
mov qword [rbp - 0x50], rbx
mov r13, rdx
mov rsi, rcx
mov qword [rbp - 0x78], rcx
mov eax, dword [rdx + 0x18]
and eax, 1
lea r14d, [rax*2 - 1]
mov dword [rbp - 0x7c], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1042
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
xor r12d, r12d
cmp eax, 0xffffffff
jne 0x14003e1b0
test r14d, r14d
jle 0x14003e19f
mov edi, r12d
jmp 0x14003e1b3
lea rcx, [0x1401424a0]
call fcn.140030320
lea edi, [rax - 1]
jmp 0x14003e1b3
add edi, r14d
mov qword [rsp + 0x38], rdi
test byte [r13 + 0x18], 4
lea rax, [fcn.1400cef68]
lea rcx, [fcn.1400cf5b8]
cmovne rax, rcx
mov qword [rbp - 0x68], rax
mov rax, qword [r13 + 0x20]
mov r15, 0xffffffffffffffff
nop
inc r15
cmp word [rax + r15*2], r12w
jne 0x14003e1e0
test r14d, r14d
jle 0x14003e1ff
lea rcx, [0x1401424a0]
call fcn.140030320
sub eax, edi
jmp 0x14003e201
mov eax, edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsp + 0x48], rax
lea rcx, str.Searching
call fcn.1400b0640
mov rdx, rax
lea rcx, str.Searching
call fcn.1400b0780
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x78], r12
cmp dword [rsp + 0x40], r12d
je 0x14003e311
test rsi, rsi
je 0x14003e278
lea rdx, [rbp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x28]
add eax, dword [rbp + 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x2c]
add eax, dword [rbp + 0x24]
jmp 0x14003e294
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x68], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x6c], eax
mov edx, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetAncestor]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14003e2e8
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x14003e2e8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x14003e2c1
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x40]
lea r8, [0x1400219f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x70], rax
mov rcx, rsi
call fcn.14005c6d0
mov ebx, eax
mov dword [rbp - 0x80], eax
lea rcx, [0x1401424a0]
call fcn.140030320
cmp edi, eax
jae 0x14003e5cf
mov eax, r12d
mov dword [rsp + 0x30], eax
test ebx, ebx
jle 0x14003e44e
mov ecx, edi
mov qword [rbp - 0x58], rcx
nop word [rax + rax]
mov word [rbp + 0x30], r12w
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x20], 0x1000
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
lea r9, [rbp - 0x40]
mov r8, rcx
mov edx, 0x1073
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rbp + 0x30]
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14003e390
mov r14, rsi
sub r14, r15
inc r14
mov rbx, r12
test r14, r14
jle 0x14003e428
lea rax, [r15 + r15]
lea rdi, [rbp + 0x30]
add rdi, rax
mov r12, 0xfffffffffffffffe
sub r12, rax
mov rax, r15
neg rax
add rax, rax
mov qword [rbp - 0x60], rax
nop dword [rax]
lea rcx, [rax + rdi]
mov r8, r15
mov rdx, qword [r13 + 0x20]
call qword [rbp - 0x68]
test eax, eax
jne 0x14003e415
test byte [r13 + 0x18], 2
je 0x14003e47c
test rbx, rbx
jle 0x14003e400
movzx ecx, word [rdi + r12]
call fcn.1400ce804
test eax, eax
jne 0x14003e415
lea rax, [rbx + r15]
cmp rax, rsi
jae 0x14003e47c
movzx ecx, word [rdi]
call fcn.1400ce804
test eax, eax
je 0x14003e47c
inc rbx
add rdi, 2
cmp rbx, r14
mov rax, qword [rbp - 0x60]
jl 0x14003e3d0
xor r12d, r12d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov ebx, dword [rbp - 0x80]
cmp eax, ebx
mov rcx, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x78]
jl 0x14003e350
mov rdi, qword [rsp + 0x38]
mov r14d, dword [rbp - 0x7c]
mov rax, qword [rbp - 0x50]
cmp byte [rax], 0
jne 0x14003e531
lea rcx, [0x1401424a0]
call fcn.140030320
inc dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
add edi, r14d
mov qword [rsp + 0x38], rdi
jmp 0x14003e31e
mov r8b, 1
mov edx, dword [rsp + 0x38]
mov rcx, qword [rbp - 0x78]
call fcn.140072b30
nop
cmp dword [rsp + 0x40], 0
je 0x14003e51a
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14003e4b7
mov ecx, gethostbyaddr
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003e4a2
xor r9d, r9d
mov edx, VarUI4FromDisp
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14003e51a
nop
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x14003e51a
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x14003e4f0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003e52a
call fcn.1400b0810
nop
mov al, 1
jmp 0x14003e66c
cmp dword [rsp + 0x40], 0
je 0x14003e5ca
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14003e565
nop word [rax + rax]
mov ecx, gethostbyaddr
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003e550
xor r9d, r9d
mov edx, VarUI4FromDisp
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14003e5ca
nop dword [rax]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x14003e5ca
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x14003e5a0
jmp 0x14003e65a
cmp dword [rsp + 0x40], 0
je 0x14003e65a
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14003e5f9
mov ecx, gethostbyaddr
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003e5e4
xor r9d, r9d
mov edx, VarUI4FromDisp
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14003e65a
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x14003e65a
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x14003e630
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003e66a
call fcn.1400b0810
nop
xor al, al
mov rcx, qword [rbp + 0x2030]
xor rcx, rsp
call fcn.1400b5660
mov rbx, qword [rsp + 0x2190]
add rsp, 0x2140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret