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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r11, qword [rdx + 0x10]
xor r12d, r12d
movzx eax, word [rcx + 0x30]
mov r15, rcx
mov r14, qword [rdx]
mov esi, r12d
mov rbx, qword [rcx + 0x50]
mov r13d, r12d
mov word [rbp + 0x40], ax
mov edi, r12d
test r11, r11
je 0x14003fa24
mov eax, 0xc0
mov dword [rbx + 4], r12d
lea r8, [rbp + 0x50]
mov dword [rbx + 0x10], eax
mov edx, 0x7fffffff
mov dword [rbx + 8], eax
mov rcx, r11
call fcn.14002a968
test eax, eax
js 0x14002a95c
mov r8, qword [rbp + 0x50]
mov r9, r11
mov r12d, r8d
add r12, r12
lea ecx, [r8 + r8]
lea eax, [rcx + 0xc0]
mov dword [rbx + 0xc], eax
lea edx, [rcx + 2]
mov dword [rbx + 0x14], eax
lea eax, [r8 + 1]
xor r8d, r8d
mov dword [rsp + 0x20], eax
cmp dword [r15 + 0x20], r8d
jne 0x14003fa57
lea rcx, [rbx + 0xc0]
call qword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
nop dword [rax + rax]
movsxd rax, dword [rbx + 0x10]
add rax, r12
xor r11d, r11d
mov word [rax + rbx], r11w
mov eax, dword [r15 + 0x3c]
mov r8d, 0xc
mov dword [rbx], eax
mov ecx, dword [r15 + 0x44]
lea r9d, [r8 + 0x14]
test ecx, ecx
jne 0x14002a935
mov eax, dword [r15 + 0x38]
add rax, 0xc3
and eax, 0xfffffffc
movsxd rcx, eax
add rcx, rbx
mov dword [rbx + 0x18], eax
mov edx, dword [r15 + 0x44]
test edx, edx
jne 0x14002a943
mov dword [rcx], r8d
lea rsi, [rcx + 0xc]
mov dword [rcx + 4], r9d
lea r13, [rcx + 0x20]
mov dword [rcx + 8], 0x34
lea rdi, [rcx + 0x34]
mov al, byte [r14 + 0x55]
mov r8d, 1
mov byte [rbx + 0x2c], al
mov cl, byte [r14 + 0x5a]
and cl, 0xf0
mov byte [rbx + 0x2d], cl
mov al, byte [r14 + 0x56]
neg al
mov eax, 2
sbb dl, dl
mov dword [rbp + 0x50], eax
add dl, al
or dl, cl
mov byte [rbx + 0x2d], dl
movzx eax, byte [r14 + 0x53]
movzx ecx, byte [r14 + 0x54]
shl cx, 8
or cx, ax
mov eax, 0x3e7
mov word [rbx + 0x2e], cx
sub cx, r8w
cmp cx, ax
ja 0x14003fab4
movzx ecx, word [rbp + 0x40]
and dl, 0xf
mov eax, 0x203a0822
mov dword [rbx + 0x30], eax
cmp dl, r8b
je 0x14002a91e
test cx, cx
jne 0x14003fac2
mov rcx, r14
mov dword [rbx + 0x1c], r11d
call fcn.14002b4c8
mov word [rbx + 0x34], ax
mov word [rbx + 0x36], r11w
movzx eax, byte [r14 + 0x4c]
movsx ecx, word [r15 + 0x2c]
movzx edx, byte [r14 + 0x4d]
mov word [rbx + 0x3a], r11w
shl dx, 8
or dx, ax
movzx eax, cx
movsx r12d, dx
sub ax, r12w
test dx, dx
cmovle ax, cx
mov word [rbx + 0x38], ax
movzx eax, byte [r14 + 0x4a]
movzx r9d, byte [r14 + 0x4b]
shl r9w, 8
or r9w, ax
mov word [rbx + 0x3c], r9w
movsx r8d, word [r15 + 0x2c]
mov word [rbx + 0x40], r9w
movzx r11d, r8w
sub r11w, r9w
mov word [rbx + 0x3e], r11w
movzx edx, r11w
neg dx
mov word [rbx + 0x42], dx
movzx eax, byte [r14 + 0x4e]
movzx ecx, byte [r14 + 0x4f]
shl cx, 8
or cx, ax
mov word [rbx + 0x46], r9w
mov word [rbx + 0x44], cx
mov word [rbx + 0x4a], cx
mov word [rbx + 0x48], dx
movzx eax, word [r15 + 0x2e]
mov word [rbx + 0x4e], ax
movzx eax, byte [r14 + 0x5b]
movzx ecx, byte [r14 + 0x5c]
shl cx, 8
or cx, ax
mov word [rbx + 0x4c], cx
movzx edx, word [r15 + 0x2e]
movsx eax, cx
cmp eax, edx
cmovg cx, dx
xor eax, eax
mov qword [rbx + 0x54], rax
mov qword [rbx + 0x5c], rax
mov eax, 0xc
mov word [rbx + 0x4c], cx
cmp r8w, ax
jle 0x14002a913
mov eax, 0x2aaaaaab
imul r8d
mov r8d, edx
sar r8d, 1
mov eax, r8d
shr eax, 0x1f
add r8d, eax
movsx ecx, r8w
mov eax, ecx
mov word [rbx + 0x64], r8w
cdq
mov word [rbx + 0x68], r8w
idiv dword [rbp + 0x50]
lea edx, [rcx + 1]
not ax
sar edx, 1
sub dx, r11w
lea r8, [rbx + 0x76]
movzx ecx, dx
sub cx, ax
test cx, cx
movsx ecx, r9w
cmovg ax, dx
sub ecx, r12d
mov word [rbx + 0x66], ax
mov r12d, 2
add ecx, r12d
mov eax, 0x55555556
imul ecx
lea rcx, [r15 + 0x24]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov word [rbx + 0x6a], dx
mov al, byte [r15 + 0x28]
mov byte [rbx + 0x6c], al
mov al, byte [r15 + 0x29]
mov byte [rbx + 0x6d], al
mov al, byte [r15 + 0x2b]
add al, byte [r15 + 0x28]
mov byte [rbx + 0x6f], al
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov dl, byte [rax + 0x61]
add dl, byte [rax + 0x5f]
mov byte [rbx + 0x6e], dl
lea rdx, [rbx + 0x74]
call fcn.14002b724
mov rdx, qword [r15 + 0x48]
lea r11d, [r12 - 1]
xor r10d, r10d
mov ecx, dword [rdx + 0x24]
movzx eax, word [rdx + 0x28]
sub ecx, r11d
mov word [rbx + 0x70], ax
add rcx, r11
add rcx, rcx
movzx eax, word [rdx + rcx*8 + 0x1a]
add ax, word [rdx + rcx*8 + 0x18]
movsx ecx, word [rbx + 0x38]
sub ax, r11w
mov word [rbx + 0x72], ax
mov eax, ecx
cdq
mov dword [rbx + 0x28], r10d
idiv r12d
mov qword [rbx + 0x78], r11
mov word [rbx + 0x50], ax
mov eax, ecx
cdq
lea ecx, [r12 + 2]
idiv ecx
mov word [rbx + 0x52], ax
movzx eax, byte [r14 + 0x46]
movzx edx, byte [r14 + 0x47]
shl edx, 8
or edx, eax
mov dword [rbx + 0x84], edx
movzx eax, byte [r14 + 0x48]
movzx ecx, byte [r14 + 0x49]
shl ecx, 8
or ecx, eax
mov eax, edx
test edx, edx
cmove eax, r11d
test ecx, ecx
mov dword [rbx + 0x84], eax
mov eax, ecx
movzx ecx, word [rbx + 0x34]
cmove eax, r11d
mov dword [rbx + 0x80], eax
and ecx, r11d
mov dword [rbx + 0x88], ecx
lea eax, [rcx + 1]
mov dword [rbx + 0x8c], eax
movsx eax, word [rbx + 0x46]
mov dword [rbx + 0x94], eax
movsx eax, word [rbx + 0x4e]
mov dword [rbx + 0x98], eax
movsx eax, word [rbx + 0x48]
mov dword [rbx + 0x9c], eax
lea eax, [r12 + 0x3e]
mov dword [rbx + 0xa0], 0x6e6b6e55
movzx ecx, byte [rbx + 0x2d]
mov dword [rbx + 0x90], r10d
mov qword [rbx + 0xa4], r10
test al, cl
jne 0x14003face
mov al, cl
and al, 0x50
neg al
sbb al, al
and al, r12b
add al, r12b
mov byte [rbx + 0xac], al
and cl, 0xf0
mov r15d, 0x20
cmp cl, r15b
setne al
sub al, r11b
and al, 0xb
mov byte [rbx + 0xad], al
mov eax, 0x51eb851f
movzx ecx, word [rbx + 0x2e]
mul ecx
shr edx, 5
add dl, r11b
mov byte [rbx + 0xae], dl
movzx eax, byte [r14 + 0x56]
movzx ecx, byte [r14 + 0x57]
shl cx, 8
or cx, ax
mov dword [rbx + 0xb0], r10d
neg cx
mov word [rbx + 0xb4], r10w
sbb al, al
and al, 9
mov byte [rbx + 0xaf], al
cmp dword [rbx + 0x18], r10d
je 0x14002a8fa
movzx eax, word [rbx + 0x2e]
mov cl, dl
movzx r8d, word [rbx + 0x4e]
mov r9, qword [rbx + 0x88]
mov word [rbp - 0x1c], ax
movzx eax, word [rbx + 0x34]
mov byte [rbp - 0x1d], dl
movzx edx, word [rbx + 0x4c]
mov ebx, 0x2bc
mov word [rbp - 0x1a], ax
mov word [rbp - 0x20], r10w
mov byte [rbp - 0x1e], r10b
mov word [rbp - 0x18], dx
mov word [rbp - 0x16], r8w
mov qword [rbp - 0x14], r9
test rsi, rsi
je 0x14002a8ae
mov word [rsi], r10w
mov byte [rsi + 2], r10b
mov byte [rsi + 3], cl
mov word [rsi + 6], ax
mov word [rsi + 8], dx
mov word [rsi + 0xa], r8w
mov qword [rsi + 0xc], r9
mov byte [rdi + 3], 8
or word [rsi + 6], r15w
add word [rsi + 8], r11w
add word [rsi + 0xa], r11w
mov word [rsi + 4], bx
mov eax, dword [rbp - 0x10]
movups xmm0, xmmword [rbp - 0x20]
test r13, r13
je 0x14002a8d0
movups xmmword [r13], xmm0
mov dword [r13 + 0x10], eax
or word [r13 + 6], r11w
mov dword [r13 + 0xc], r11d
mov dword [r13 + 0x10], r12d
test rdi, rdi
je 0x14002a8fa
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], eax
or word [rdi + 6], 0x21
add word [rdi + 8], r11w
add word [rdi + 0xa], r11w
mov byte [rdi + 3], 8
mov word [rdi + 4], bx
mov dword [rdi + 0xc], r11d
mov dword [rdi + 0x10], r12d
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, 1
jmp 0x14002a63a
test cx, cx
mov edx, 0x203a1822
cmove eax, edx
bts eax, 0x16
mov dword [rbx + 0x30], eax
jmp 0x14002a52f
sub ecx, 1
je 0x14002a486
jmp 0x14003fa8b
sub edx, 1
jne 0x14003faa6
mov qword [rcx], rsi
lea rdi, [rcx + 0xc]
mov dword [rcx + 8], r8d
jmp 0x14002a4c2
mov dword [rbx], r12d
jmp 0x14002a8fa
movzx eax, byte [r14 + 0x6a]
movzx r11d, byte [r14 + 0x6b]
shl r11, 8
or r11, rax
movzx eax, byte [r14 + 0x6c]
shl eax, 0x18
shl r11, 8
movsxd rcx, eax
movzx eax, byte [r14 + 0x69]
or r11, rcx
or r11, rax
add r11, r14
jmp 0x14002a3eb
lea rcx, [rbx + 0xc2]
call qword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
nop dword [rax + rax]
movsxd rax, dword [rbx + 0x10]
add rax, r12
xor r11d, r11d
mov word [rax + rbx + 2], r11w
movsxd rax, dword [rbx + 0x10]
lea ecx, [r11 + 0x40]
mov word [rax + rbx], cx
jmp 0x14002a46a
sub ecx, 1
je 0x14002a486
cmp ecx, 1
jne 0x14002a4c2
mov dword [rbx + 0x18], r11d
jmp 0x14002a4c2
cmp edx, 1
jne 0x14002a4c2
jmp 0x14002a94c
mov eax, 0x190
mov word [rbx + 0x2e], ax
jmp 0x14002a517
bts eax, 0x1c
mov dword [rbx + 0x30], eax
jmp 0x14002a538
mov al, 3
jmp 0x14002a7c8