Function at 0x1400b76e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4f0
mov rbx, rdx
mov r14, rcx
mov eax, dword [rdx + 0x10]
movzx esi, word [rdx + 0x40]
movzx ebp, word [rdx + 0x42]
movzx r15d, word [rdx + 0x44]
mov dword [rdx + 0x10], 0
cmp eax, 1
jne 0x1400b77a7
lea rdx, [rbx + 0x46]
mov r12, qword [rbx + 0x14]
mov eax, dword [rbx + 0x3c]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rbx + 0x2c]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rbx + 0x1c]
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x80]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rbx + 8]
cmp si, 0x2e
jne 0x1400b7766
test bp, bp
je 0x1400b77a7
cmp bp, 0x2e
jne 0x1400b7766
test r15w, r15w
je 0x1400b77a7
lock add qword [rdi], 1
jle 0x1400b7964
test rdi, rdi
je 0x1400b77a7
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x70], eax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x2d2]
lea rdx, [rsp + 0x80]
jmp 0x1400b7886
lea rsi, [rsp + 0x80]
mov r8d, 0x250
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx]
mov rdx, rsi
call sub.KERNEL32.dll_FindNextFileW
test eax, eax
je 0x1400b7895
lea rsi, [rsp + 0x80]
jmp 0x1400b77f3
mov rcx, qword [rbx]
mov rdx, rsi
call sub.KERNEL32.dll_FindNextFileW
test eax, eax
je 0x1400b7895
mov rdi, qword [rbx + 8]
cmp word [rsp + 0xac], 0x2e
jne 0x1400b7820
movzx eax, word [rsp + 0xae]
test ax, ax
je 0x1400b77e0
cmp ax, 0x2e
jne 0x1400b7820
cmp word [rsp + 0xb0], 0
je 0x1400b77e0
lock add qword [rdi], 1
jle 0x1400b7964
test rdi, rdi
je 0x1400b77e0
mov r12, qword [rsp + 0x80]
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x70], eax
movzx esi, word [rsp + 0xac]
movzx ebp, word [rsp + 0xae]
movzx r15d, word [rsp + 0xb0]
lea rdx, [rsp + 0xb2]
lea rcx, [rsp + 0x2d2]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
jmp 0x1400b78be
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x12
jne 0x1400b78ab
mov qword [r14], 2
jmp 0x1400b7951
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
mov eax, 1
xor r12d, r12d
mov ecx, 1
test rax, rax
jne 0x1400b7901
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x2d2]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
xor ecx, ecx
mov qword [r14], rcx
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], r12
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [r14 + 0x18], xmm0
movups xmmword [r14 + 0x28], xmm1
mov eax, dword [rsp + 0x40]
mov dword [r14 + 0x38], eax
mov word [r14 + 0x3c], si
mov word [r14 + 0x3e], bp
mov word [r14 + 0x40], r15w
add r14, 0x42
lea rdx, [rsp + 0x80]
mov r8d, 0x21e
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
nop
add rsp, 0x4f0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
ud2