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

Disassembly:
test rdx, rdx
je 0x1400c2e9d
mov rax, rsp
mov qword [rax + 8], rcx
push r13
sub rsp, 0x30
mov r9d, dword [rdx]
mov r13, rcx
mov qword [rax + 0x20], rbx
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r14
mov dword [rcx + 0xc4], r9d
mov esi, dword [rdx + 4]
mov dword [rcx + 0xc8], esi
mov r14d, dword [rdx + 8]
mov dword [rcx + 0xcc], r14d
mov r12d, dword [rdx + 0xc]
mov dword [rcx + 0xd0], r12d
mov eax, r12d
shr eax, 0x10
mov ebp, r12d
movzx ecx, al
xor ebp, r14d
xor ebp, r9d
mov qword [rsp], r15
lea r15, [0x140000000]
mov eax, r12d
shr eax, 8
xor ebp, esi
mov edx, r12d
shr rdx, 0x18
mov r8d, dword [r15 + rdx*4 + 0x3bf5c0]
xor r8d, dword [r15 + rcx*4 + 0x3bf1c0]
movzx ecx, al
movzx eax, r12b
xor r8d, dword [r15 + rcx*4 + 0x3bedc0]
xor r8d, dword [r15 + rax*4 + 0x3bf9c0]
xor r8d, dword [0x1403bbd98]
xor r9d, r8d
xor ebp, r8d
mov eax, r9d
mov edx, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
shr rdx, 0x18
mov qword [rsp + 0x48], rbp
mov r11d, dword [r15 + rdx*4 + 0x3be9c0]
xor r11d, dword [r15 + rcx*4 + 0x3be5c0]
movzx ecx, al
movzx eax, r9b
xor r11d, dword [r15 + rcx*4 + 0x3be1c0]
xor r11d, dword [r15 + rax*4 + 0x3bddc0]
mov eax, esi
xor eax, r9d
mov dword [r13 + 0xb4], r11d
mov edx, eax
mov r8d, eax
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
shr rdx, 0x18
mov ebx, dword [r15 + rdx*4 + 0x3be9c0]
xor ebx, dword [r15 + rcx*4 + 0x3be5c0]
movzx ecx, al
movzx eax, r8b
xor r8d, r14d
mov edx, r8d
shr rdx, 0x18
xor ebx, dword [r15 + rcx*4 + 0x3be1c0]
xor ebx, dword [r15 + rax*4 + 0x3bddc0]
mov eax, r8d
shr eax, 0x10
mov edi, dword [r15 + rdx*4 + 0x3be9c0]
movzx ecx, al
mov eax, r8d
shr eax, 8
mov dword [r13 + 0xb8], ebx
mov r9d, r8d
xor edi, dword [r15 + rcx*4 + 0x3be5c0]
movzx ecx, al
xor edi, dword [r15 + rcx*4 + 0x3be1c0]
movzx eax, r8b
xor r9d, r12d
mov edx, r9d
shr rdx, 0x18
xor edi, dword [r15 + rax*4 + 0x3bddc0]
mov eax, r9d
shr eax, 0x10
mov r10d, dword [r15 + rdx*4 + 0x3be9c0]
mov edx, ebp
movzx ecx, al
mov eax, r9d
shr eax, 8
shr rdx, 0x18
mov dword [r13 + 0xbc], edi
xor r10d, dword [r15 + rcx*4 + 0x3be5c0]
movzx ecx, al
mov r8d, dword [r15 + rdx*4 + 0x3bf5c0]
movzx eax, r9b
xor r10d, dword [r15 + rcx*4 + 0x3be1c0]
xor r10d, dword [r15 + rax*4 + 0x3bddc0]
mov eax, ebp
shr eax, 0x10
movzx ecx, al
mov eax, ebp
shr eax, 8
mov dword [r13 + 0xc0], r10d
xor r8d, dword [r15 + rcx*4 + 0x3bf1c0]
movzx ecx, al
movzx eax, bpl
xor r8d, dword [r15 + rcx*4 + 0x3bedc0]
xor r8d, dword [r15 + rax*4 + 0x3bf9c0]
xor r8d, dword [0x1403bbd9c]
xor esi, r8d
mov edx, r8d
mov eax, r8d
shr rdx, 0x18
shr eax, 0x10
xor esi, r12d
movzx ecx, al
mov eax, r8d
shr eax, 8
mov ebp, dword [r15 + rdx*4 + 0x3be9c0]
mov edx, esi
shr rdx, 0x18
xor ebp, dword [r15 + rcx*4 + 0x3be5c0]
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r15 + rdx*4 + 0x3bf5c0]
mov qword [rsp + 0x50], rsi
xor ebp, dword [r15 + rcx*4 + 0x3be1c0]
xor ebp, dword [r15 + rax*4 + 0x3bddc0]
mov eax, esi
shr eax, 0x10
xor ebp, r11d
movzx ecx, al
mov r11d, ebp
xor r11d, ebx
mov dword [r13 + 0xa4], ebp
mov eax, esi
mov dword [r13 + 0xa8], r11d
shr eax, 8
mov ebx, r11d
xor r8d, dword [r15 + rcx*4 + 0x3bf1c0]
xor ebx, edi
movzx ecx, al
mov edi, ebx
movzx eax, sil
xor edi, r10d
mov dword [r13 + 0xac], ebx
mov dword [r13 + 0xb0], edi
xor r8d, dword [r15 + rcx*4 + 0x3bedc0]
xor r8d, dword [r15 + rax*4 + 0x3bf9c0]
xor r8d, dword [0x1403bbda0]
mov r15d, r8d
mov edx, r8d
xor r15d, r12d
shr rdx, 0x18
xor r15d, r14d
mov eax, r8d
shr eax, 0x10
movzx ecx, al
lea r14, [0x140000000]
mov eax, r8d
mov esi, dword [r14 + rdx*4 + 0x3be9c0]
mov edx, r15d
xor esi, dword [r14 + rcx*4 + 0x3be5c0]
shr eax, 8
movzx ecx, al
movzx eax, r8b
shr rdx, 0x18
xor esi, dword [r14 + rcx*4 + 0x3be1c0]
xor esi, dword [r14 + rax*4 + 0x3bddc0]
mov eax, r15d
mov r8d, dword [r14 + rdx*4 + 0x3bf5c0]
xor esi, ebp
shr eax, 0x10
mov r10d, esi
movzx ecx, al
xor r10d, r11d
mov dword [r13 + 0x98], r10d
mov r11d, r10d
xor r11d, ebx
mov dword [r13 + 0x94], esi
mov dword [r13 + 0x9c], r11d
mov ebx, r11d
xor r8d, dword [r14 + rcx*4 + 0x3bf1c0]
xor ebx, edi
mov eax, r15d
mov dword [r13 + 0xa0], ebx
shr eax, 8
movzx ecx, al
movzx eax, r15b
xor r8d, dword [r14 + rcx*4 + 0x3bedc0]
xor r8d, dword [r14 + rax*4 + 0x3bf9c0]
xor r8d, dword [0x1403bbda4]
mov eax, r8d
mov edx, r8d
shr eax, 0x10
mov r13d, r8d
movzx ecx, al
xor r13d, r12d
mov eax, r8d
shr rdx, 0x18
shr eax, 8
mov ebp, dword [r14 + rdx*4 + 0x3be9c0]
mov edx, r13d
xor ebp, dword [r14 + rcx*4 + 0x3be5c0]
movzx ecx, al
movzx eax, r8b
shr rdx, 0x18
xor ebp, dword [r14 + rcx*4 + 0x3be1c0]
xor ebp, dword [r14 + rax*4 + 0x3bddc0]
mov eax, r13d
mov r14, qword [rsp + 0x40]
xor ebp, esi
shr eax, 0x10
lea rsi, [0x140000000]
mov r8d, dword [rsi + rdx*4 + 0x3bf5c0]
mov edi, ebp
movzx ecx, al
xor edi, r10d
mov eax, r13d
mov dword [r14 + 0x84], ebp
shr eax, 8
mov r10d, edi
xor r10d, r11d
mov dword [r14 + 0x88], edi
xor r8d, dword [rsi + rcx*4 + 0x3bf1c0]
mov r11d, r10d
movzx ecx, al
xor r11d, ebx
movzx eax, r13b
mov dword [r14 + 0x8c], r10d
mov dword [r14 + 0x90], r11d
xor r8d, dword [rsi + rcx*4 + 0x3bedc0]
xor r8d, dword [rsi + rax*4 + 0x3bf9c0]
xor r8d, dword [0x1403bbda8]
mov r12d, r8d
mov edx, r8d
xor r12d, dword [rsp + 0x48]
mov qword [rsp + 0x48], r12
shr rdx, 0x18
mov ebx, dword [rsi + rdx*4 + 0x3be9c0]
mov eax, r8d
shr eax, 0x10
mov edx, r12d
movzx ecx, al
mov eax, r8d
shr eax, 8
shr rdx, 0x18
xor ebx, dword [rsi + rcx*4 + 0x3be5c0]
movzx ecx, al
movzx eax, r8b
xor ebx, dword [rsi + rcx*4 + 0x3be1c0]
xor ebx, dword [rsi + rax*4 + 0x3bddc0]
mov eax, r12d
shr eax, 0x10
xor ebx, ebp
movzx ecx, al
mov esi, ebx
xor esi, edi
mov dword [r14 + 0x74], ebx
lea rdi, [0x140000000]
mov dword [r14 + 0x78], esi
mov r8d, dword [rdi + rdx*4 + 0x3bf5c0]
mov eax, r12d
xor r8d, dword [rdi + rcx*4 + 0x3bf1c0]
mov ebp, esi
shr eax, 8
xor ebp, r10d
movzx ecx, al
movzx eax, r12b
mov dword [r14 + 0x7c], ebp
mov r14d, ebp
xor r14d, r11d
mov r11, qword [rsp + 0x40]
xor r8d, dword [rdi + rcx*4 + 0x3bedc0]
xor r8d, dword [rdi + rax*4 + 0x3bf9c0]
xor r8d, dword [0x1403bbdac]
mov eax, r8d
mov edx, r8d
shr eax, 0x10
mov r12d, r8d
xor r12d, dword [rsp + 0x50]
movzx ecx, al
mov eax, r8d
shr eax, 8
shr rdx, 0x18
mov dword [r11 + 0x80], r14d
mov r10d, dword [rdi + rdx*4 + 0x3be9c0]
mov edx, r12d
xor r10d, dword [rdi + rcx*4 + 0x3be5c0]
movzx ecx, al
movzx eax, r8b
shr rdx, 0x18
xor r10d, dword [rdi + rcx*4 + 0x3be1c0]
xor r10d, dword [rdi + rax*4 + 0x3bddc0]
mov eax, r12d
mov r8d, dword [rdi + rdx*4 + 0x3bf5c0]
xor r10d, ebx
shr eax, 0x10
xor esi, r10d
movzx ecx, al
xor ebp, esi
mov eax, r12d
mov dword [r11 + 0x64], r10d
shr eax, 8
xor r14d, ebp
mov dword [r11 + 0x68], esi
xor r8d, dword [rdi + rcx*4 + 0x3bf1c0]
movzx ecx, al
movzx eax, r12b
mov dword [r11 + 0x6c], ebp
mov dword [r11 + 0x70], r14d
xor r8d, dword [rdi + rcx*4 + 0x3bedc0]
xor r8d, dword [rdi + rax*4 + 0x3bf9c0]
xor r8d, dword [0x1403bbdb0]
mov edx, r8d
xor r15d, r8d
shr rdx, 0x18
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov edi, dword [rdi + rdx*4 + 0x3be9c0]
lea r9, [0x140000000]
mov eax, r8d
lea rdx, [0x140000000]
xor edi, dword [rdx + rcx*4 + 0x3be5c0]
shr eax, 8
movzx ecx, al
movzx eax, r8b
xor edi, dword [rdx + rcx*4 + 0x3be1c0]
mov edx, r15d
xor edi, dword [r9 + rax*4 + 0x3bddc0]
mov rax, qword [rsp + 0x40]
xor edi, r10d
mov dword [r11 + 0x54], edi
mov r10d, edi
xor r10d, esi
shr rdx, 0x18
mov dword [r11 + 0x58], r10d
mov r11d, r10d
xor r11d, ebp
mov dword [rax + 0x5c], r11d
mov ebx, r11d
mov r8d, dword [r9 + rdx*4 + 0x3bf5c0]
xor ebx, r14d
mov r14, rax
mov dword [rax + 0x60], ebx
mov eax, r15d
shr eax, 0x10
movzx ecx, al
mov eax, r15d
shr eax, 8
xor r8d, dword [r9 + rcx*4 + 0x3bf1c0]
movzx ecx, al
movzx eax, r15b
xor r8d, dword [r9 + rcx*4 + 0x3bedc0]
xor r8d, dword [r9 + rax*4 + 0x3bf9c0]
xor r8d, dword [0x1403bbdb4]
mov eax, r8d
mov edx, r8d
shr eax, 0x10
mov ebp, r8d
movzx ecx, al
xor ebp, r13d
lea r13, [0x140000000]
shr rdx, 0x18
mov eax, r8d
shr eax, 8
mov esi, dword [r13 + rdx*4 + 0x3be9c0]
mov edx, ebp
xor esi, dword [r13 + rcx*4 + 0x3be5c0]
movzx ecx, al
movzx eax, r8b
shr rdx, 0x18
xor esi, dword [r13 + rcx*4 + 0x3be1c0]
xor esi, dword [r13 + rax*4 + 0x3bddc0]
mov eax, ebp
mov r8d, dword [r13 + rdx*4 + 0x3bf5c0]
xor esi, edi
shr eax, 0x10
mov edi, esi
movzx ecx, al
xor edi, r10d
mov eax, ebp
mov dword [r14 + 0x44], esi
shr eax, 8
mov r10d, edi
xor r10d, r11d
mov dword [r14 + 0x48], edi
xor r8d, dword [r13 + rcx*4 + 0x3bf1c0]
mov r11d, r10d
xor r11d, ebx
movzx ecx, al
mov rbx, qword [rsp + 0x48]
movzx eax, bpl
mov dword [r14 + 0x4c], r10d
xor r8d, dword [r13 + rcx*4 + 0x3bedc0]
mov dword [r14 + 0x50], r11d
xor r8d, dword [r13 + rax*4 + 0x3bf9c0]
xor r8d, dword [0x1403bbdb8]
mov r9d, r8d
xor ebx, r8d
mov eax, r8d
mov edx, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
shr rdx, 0x18
mov dword [r14 + 0x114], 0
mov byte [r14 + 0x114], LoadRegTypeLib
mov r8d, dword [r13 + rdx*4 + 0x3be9c0]
mov edx, ebx
xor r8d, dword [r13 + rcx*4 + 0x3be5c0]
movzx ecx, al
movzx eax, r9b
shr rdx, 0x18
xor r8d, dword [r13 + rcx*4 + 0x3be1c0]
xor r8d, dword [r13 + rax*4 + 0x3bddc0]
mov eax, ebx
xor r8d, esi
shr eax, 0x10
mov rsi, qword [rsp + 0x20]
mov dword [r14 + 0x34], r8d
xor r8d, edi
mov rdi, qword [rsp + 0x18]
mov dword [r14 + 0x38], r8d
xor r8d, r10d
mov dword [r14 + 0x3c], r8d
xor r8d, r11d
movzx ecx, al
mov eax, ebx
mov dword [r14 + 0x40], r8d
mov r8d, dword [r13 + rdx*4 + 0x3bf5c0]
shr eax, 8
xor r8d, dword [r13 + rcx*4 + 0x3bf1c0]
movzx ecx, al
movzx eax, bl
xor r8d, dword [r13 + rcx*4 + 0x3bedc0]
xor r8d, dword [r13 + rax*4 + 0x3bf9c0]
mov eax, ebp
xor r8d, r12d
mov r12, qword [rsp + 0x10]
xor r8d, dword [0x1403bbdbc]
xor ebx, r8d
mov dword [r14 + 0x30], r8d
xor eax, ebx
mov dword [r14 + 0x2c], ebx
mov rbx, qword [rsp + 0x58]
xor eax, r15d
mov r15, qword [rsp]
xor ebp, r8d
mov dword [r14 + 0x28], ebp
mov rbp, qword [rsp + 0x28]
mov dword [r14 + 0x24], eax
mov r14, qword [rsp + 8]
add rsp, 0x30
pop r13
ret