Function at 0x140037840
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 - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov r13, rdx
mov r15, rcx
xor r14d, r14d
mov byte [rsp + 0x30], r14b
call fcn.140030320
mov rbx, qword [r15 + 0x28]
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], r14d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbp - 0x58], rax
lea rcx, str.Scanning_file_information
call fcn.1400b0640
mov rdx, rax
lea rcx, str.Scanning_file_information
call fcn.1400b0780
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x28], r14
cmp dword [rbp - 0x60], r14d
je 0x14003799f
test rbx, rbx
je 0x140037909
lea rdx, [rbp + 0x98]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0xa0]
add eax, dword [rbp + 0x98]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x38], eax
mov eax, dword [rbp + 0xa4]
add eax, dword [rbp + 0x9c]
jmp 0x140037924
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x38], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x34], eax
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetAncestor]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
mov qword [rbp - 0x28], rax
test rax, rax
je 0x140037977
nop
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x140037977
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 0x140037950
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x60]
lea r8, [0x1400219f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x30], rax
mov r12d, r14d
mov rcx, r15
call fcn.140030320
test eax, eax
je 0x140037e12
mov qword [rbp + 0x90], r15
movabs rbx, 0x2aaaaaaaaaaaaaab
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov esi, r12d
mov r8, qword [r15 + 0x38]
mov rcx, qword [r15 + 0x40]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jae 0x140037ace
lea rax, [rsi + rsi*2]
lea r14, [rax*8]
lea rbx, [r14 + r8]
mov rax, qword [r15 + 0x50]
cmp byte [r15 + 0x30], 0
je 0x140037a29
mov r8d, dword [rbx + 0x10]
lea rdx, [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1400abb30
jmp 0x140037aeb
mov ecx, dword [rbx + 0x10]
shr rcx, 0x19
mov r8, rsi
mov rdx, rbx
mov rcx, qword [rax + rcx*8]
call fcn.1400ac410
mov edi, eax
cmp eax, 0xffffffff
jne 0x140037a6b
mov ecx, dword [rbx + 0x10]
shr rcx, 0x19
mov rax, qword [r15 + 0x50]
mov rcx, qword [rax + rcx*8]
mov rdx, qword [r15 + 0x38]
add rdx, r14
xor r8d, r8d
call fcn.1400ab960
mov edi, eax
cmp eax, 0xffffffff
je 0x140037ace
mov rax, qword [r15 + 0x38]
mov r9d, dword [r14 + rax + 0x10]
and r9d, 0x1ffffff
cmp r9d, edi
je 0x140037a9b
mov r8d, dword [rbx + 0x10]
shr r8d, 0x19
mov dword [rsp + 0x20], edi
mov rdx, rsi
lea rcx, str.Display_index__d_moved_from_snapshot__d:_d_to__d_n
call fcn.1400737b0
mov rcx, qword [r15 + 0x38]
mov eax, edi
xor eax, dword [rcx + r14 + 0x10]
and eax, 0x1ffffff
xor dword [rcx + r14 + 0x10], eax
mov ecx, dword [rbx + 0x10]
shr rcx, 0x19
mov rax, qword [r15 + 0x50]
mov r8d, edi
lea rdx, [rsp + 0x70]
mov rcx, qword [rax + rcx*8]
call fcn.1400abb30
jmp 0x140037aeb
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
lea rax, vtable.CEventRef.0
mov qword [rsp + 0x70], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140037dc4
cmp word [rax + 8], 3
jne 0x140037dc4
xor r14d, r14d
mov qword [rsp + 0x68], r14
lea r8, [rsp + 0x68]
mov edx, 0xffffffff
lea rcx, [rsp + 0x70]
call fcn.140029410
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
mov dword [rbp + 0x60], r14d
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r14
mov dword [rbp + 0x80], r14d
mov rsi, qword [rsp + 0x68]
mov qword [rbp + 0x40], rsi
test rsi, rsi
je 0x140037b58
mov rcx, rsi
call fcn.1400b04e0
mov qword [rbp - 0x10], rsi
test rsi, rsi
je 0x140037b6a
mov rcx, rsi
call fcn.1400b04e0
nop
mov qword [rbp - 8], rsi
test rsi, rsi
je 0x140037b7b
mov rcx, rsi
call fcn.1400b04e0
mov qword [rbp], r14
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r14
mov dword [rbp + 0x18], r14d
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], r14
mov dword [rbp + 0x38], r14d
mov rdi, qword [r13]
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r14d
cmp byte [rbx + 0x19], 0
jne 0x140037be8
mov qword [rsp + 0x40], rbx
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x10]
call fcn.1400b0350
test al, al
je 0x140037bd4
mov dword [rsp + 0x48], r14d
mov rbx, qword [rbx + 0x10]
jmp 0x140037be2
mov dword [rsp + 0x48], 1
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140037bb3
cmp byte [rdi + 0x19], 0
jne 0x140037bff
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400b0350
test al, al
je 0x140037c6f
movabs rax, 0x249249249249249
cmp qword [r13 + 8], rax
je 0x140037e50
mov rbx, qword [r13]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r14
mov ecx, reloc.WS2_32.dll_WSASetLastError
call fcn.1400b5680
mov rdi, rax
mov qword [rbp - 0x18], rax
lea rcx, [rax + 0x20]
lea rdx, [rbp - 0x10]
call fcn.140034b00
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov word [rdi + 0x18], 0
mov qword [rbp - 0x18], r14
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1400239d0
mov rdi, rax
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140037c7e
call fcn.1400b0810
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140037c8d
call fcn.1400b0810
nop
mov rax, qword [rbp - 0x80]
cmp dword [rax + 0x24], 0x103
mov rcx, r14
je 0x140037ca1
mov rcx, qword [rax + 0x14]
mov rdx, qword [rdi + 0x30]
add rdx, rcx
mov qword [rdi + 0x30], rdx
inc dword [rdi + 0x38]
mov rax, qword [rbp - 0x80]
movzx ecx, word [rax + 0xc]
dec ecx
cmp ecx, 0x2e
ja case.0x140037cdd.1
lea r8, [0x140000000]
movzx eax, byte [r8 + rcx + 0x37e80]
mov ecx, dword [r8 + rax*4 + 0x37e58]
add rcx, r8
jmp rcx
inc dword [rdi + 0x68]
mov rax, qword [rbp - 0x80]
cmp dword [rax + 0x24], 0x103
jne 0x140037cfe
mov rax, r14
sub rdx, rax
mov qword [rdi + 0x30], rdx
jmp 0x140037da6
mov rax, qword [rax + 0x14]
sub rdx, rax
mov qword [rdi + 0x30], rdx
jmp 0x140037da6
inc dword [rdi + 0x48]
mov qword [rsp + 0x40], r14
lea r8, [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140029410
lea rcx, [rsp + 0x40]
call fcn.1400b0200
mov rcx, rax
call fcn.140074c50
add qword [rdi + 0x58], rax
jmp 0x140037d74
inc dword [rdi + 0x44]
mov qword [rsp + 0x40], r14
lea r8, [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140029410
lea rcx, [rsp + 0x40]
call fcn.1400b0200
mov rcx, rax
call fcn.140074c50
add qword [rdi + 0x50], rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140037d84
call fcn.1400b0810
nop
jmp 0x140037da6
inc dword [rdi + 0x3c]
jmp 0x140037da6
inc dword [rdi + 0x60]
jmp 0x140037da6
inc dword [rdi + 0x64]
jmp 0x140037da6
cmp byte [0x14013ca66], 0
jne 0x140037da6
inc dword [rdi + 0x40]
jmp 0x140037da6
inc dword [rdi + 0x68]
test rsi, rsi
je 0x140037db4
mov rcx, rsi
call fcn.1400b0810
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140037dc4
call fcn.1400b0810
nop
mov rcx, r15
call fcn.140030320
mov dword [rbp - 0x5c], r12d
mov dword [rbp - 0x60], eax
lea rcx, [rsp + 0x70]
cmp byte [rsp + 0x30], 0
jne 0x140037e03
call fcn.140028220
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc r12d
mov rcx, r15
call fcn.140030320
cmp r12d, eax
jae 0x140037e12
jmp 0x1400379b9
call fcn.140028220
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [rsp + 0x30], 0
sete bl
lea rcx, [rbp - 0x60]
call fcn.140020fe0
movzx eax, bl
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400b5660
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140023c30
nop
nop
movabs dword [0x9e00037d8600037d], eax
jge 5368938086
add byte [rdx + 0x7d], al
add eax, dword [rax]
invalid