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

Disassembly:
sub rsp, 0x30
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rdi
mov rdi, rcx
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r12
movzx esi, byte [r8 + 0xf0]
lea rbp, [0x12a54c80]
sub r8, 0x80
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
xor eax, dword [r8 + 0x80]
xor ebx, dword [r8 + 0x84]
xor ecx, dword [r8 + 0x88]
xor edx, dword [r8 + 0x8c]
lea r8, [r8 + rsi]
cmp esi, 0xa0
je 0x1296d994
cmp esi, 0xc0
je 0x1296d844
cmp esi, 0xe0
je 0x1296d6f4
movabs rax, 0xffffffffffffffff
jmp 0x1296e040
mov r9d, dword [r8 - 0x50]
mov r10d, dword [r8 - 0x4c]
mov r11d, dword [r8 - 0x48]
mov r12d, dword [r8 - 0x44]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 - 0x40]
mov r10d, dword [r8 - 0x3c]
mov r11d, dword [r8 - 0x38]
mov r12d, dword [r8 - 0x34]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 - 0x30]
mov r10d, dword [r8 - 0x2c]
mov r11d, dword [r8 - 0x28]
mov r12d, dword [r8 - 0x24]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 - 0x20]
mov r10d, dword [r8 - 0x1c]
mov r11d, dword [r8 - 0x18]
mov r12d, dword [r8 - 0x14]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 - 0x10]
mov r10d, dword [r8 - 0xc]
mov r11d, dword [r8 - 8]
mov r12d, dword [r8 - 4]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8]
mov r10d, dword [r8 + 4]
mov r11d, dword [r8 + 8]
mov r12d, dword [r8 + 0xc]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 + 0x10]
mov r10d, dword [r8 + 0x14]
mov r11d, dword [r8 + 0x18]
mov r12d, dword [r8 + 0x1c]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 + 0x20]
mov r10d, dword [r8 + 0x24]
mov r11d, dword [r8 + 0x28]
mov r12d, dword [r8 + 0x2c]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 + 0x30]
mov r10d, dword [r8 + 0x34]
mov r11d, dword [r8 + 0x38]
mov r12d, dword [r8 + 0x3c]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 + 0x40]
mov r10d, dword [r8 + 0x44]
mov r11d, dword [r8 + 0x48]
mov r12d, dword [r8 + 0x4c]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 + 0x50]
mov r10d, dword [r8 + 0x54]
mov r11d, dword [r8 + 0x58]
mov r12d, dword [r8 + 0x5c]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 + 0x60]
mov r10d, dword [r8 + 0x64]
mov r11d, dword [r8 + 0x68]
mov r12d, dword [r8 + 0x6c]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
mov r9d, dword [r8 + 0x70]
mov r10d, dword [r8 + 0x74]
mov r11d, dword [r8 + 0x78]
mov r12d, dword [r8 + 0x7c]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov eax, r9d
mov ebx, r10d
mov ecx, r11d
mov edx, r12d
add rbp, 0x800
mov r9d, dword [r8 + 0x80]
mov r10d, dword [r8 + 0x84]
mov r11d, dword [r8 + 0x88]
mov r12d, dword [r8 + 0x8c]
movzx esi, al
movzx edi, ah
shr eax, 0x10
xor r9d, dword [rbp + rsi*8]
xor r12d, dword [rbp + rdi*8 + 3]
movzx esi, al
movzx edi, ah
xor r11d, dword [rbp + rsi*8 + 2]
xor r10d, dword [rbp + rdi*8 + 1]
movzx esi, bl
movzx edi, bh
shr ebx, 0x10
xor r10d, dword [rbp + rsi*8]
xor r9d, dword [rbp + rdi*8 + 3]
movzx esi, bl
movzx edi, bh
xor r12d, dword [rbp + rsi*8 + 2]
xor r11d, dword [rbp + rdi*8 + 1]
movzx esi, cl
movzx edi, ch
shr ecx, 0x10
xor r11d, dword [rbp + rsi*8]
xor r10d, dword [rbp + rdi*8 + 3]
movzx esi, cl
movzx edi, ch
xor r9d, dword [rbp + rsi*8 + 2]
xor r12d, dword [rbp + rdi*8 + 1]
movzx esi, dl
movzx edi, dh
shr edx, 0x10
xor r12d, dword [rbp + rsi*8]
xor r11d, dword [rbp + rdi*8 + 3]
movzx esi, dl
movzx edi, dh
xor r10d, dword [rbp + rsi*8 + 2]
xor r9d, dword [rbp + rdi*8 + 1]
mov rbx, qword [rsp]
mov dword [rbx], r9d
mov dword [rbx + 4], r10d
mov dword [rbx + 8], r11d
mov dword [rbx + 0xc], r12d
xor rax, rax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov r12, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
add rsp, 0x30
ret