Function at 0x14002e9ec
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 r13, rcx
mov rsi, qword [rdx]
mov r14d, r12d
mov rbx, qword [rcx + 0x50]
mov r15d, r12d
mov word [rbp + 0x40], ax
mov edi, r12d
test r11, r11
je 0x14003c7a0
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.14002f858
test eax, eax
js 0x14002ef69
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 [r13 + 0x20], r8d
jne 0x14003c7d0
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 [r13 + 0x3c]
mov edx, 0xc
mov dword [rbx], eax
lea r9d, [rdx - 0xa]
lea r12d, [rdx - 9]
mov dword [rbp + 0x50], r9d
lea r8d, [rdx - 0xb]
cmp dword [r13 + 0x44], r9d
ja 0x14003c804
mov eax, dword [r13 + 0x38]
add rax, 0xc3
and eax, 0xfffffffc
movsxd rcx, eax
add rcx, rbx
mov dword [rbx + 0x18], eax
mov eax, dword [r13 + 0x44]
test eax, eax
jne 0x14002ef4f
mov dword [rcx], edx
lea r14, [rcx + 0xc]
mov dword [rcx + 4], 0x20
lea r15, [rcx + 0x20]
mov dword [rcx + 8], 0x34
lea rdi, [rcx + 0x34]
mov al, byte [rsi + 0x55]
mov byte [rbx + 0x2c], al
mov cl, byte [rsi + 0x5a]
and cl, 0xf0
mov byte [rbx + 0x2d], cl
mov al, byte [rsi + 0x56]
neg al
sbb dl, dl
add dl, r9b
or dl, cl
mov byte [rbx + 0x2d], dl
movzx eax, byte [rsi + 0x53]
movzx ecx, byte [rsi + 0x54]
shl cx, 8
or cx, ax
mov eax, 0x3e7
mov word [rbx + 0x2e], cx
sub cx, r8w
cmp cx, ax
ja 0x14003c817
movzx ecx, word [rbp + 0x40]
and dl, 0xf
mov eax, 0x203a0822
mov dword [rbx + 0x30], eax
cmp dl, r8b
je 0x14002ef38
test cx, cx
jne 0x14003c825
mov rcx, rsi
mov dword [rbx + 0x1c], r11d
call fcn.14002f7ac
mov word [rbx + 0x34], ax
mov word [rbx + 0x36], r11w
movzx eax, byte [rsi + 0x4c]
movsx ecx, word [r13 + 0x2c]
movzx edx, byte [rsi + 0x4d]
mov word [rbx + 0x3a], r11w
shl dx, 8
or dx, ax
movzx eax, cx
movsx r8d, dx
sub ax, r8w
mov dword [rbp + 0x40], r8d
test dx, dx
cmovle ax, cx
mov word [rbx + 0x38], ax
movzx eax, byte [rsi + 0x4a]
movzx r9d, byte [rsi + 0x4b]
shl r9w, 8
or r9w, ax
mov word [rbx + 0x3c], r9w
movsx r8d, word [r13 + 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 [rsi + 0x4e]
movzx ecx, byte [rsi + 0x4f]
mov word [rbx + 0x48], dx
shl cx, 8
or cx, ax
mov word [rbx + 0x46], r9w
mov word [rbx + 0x44], cx
mov word [rbx + 0x4a], cx
movzx eax, word [r13 + 0x2e]
mov word [rbx + 0x4e], ax
movzx eax, byte [rsi + 0x5b]
movzx edx, byte [rsi + 0x5c]
shl dx, 8
or dx, ax
mov word [rbx + 0x4c], dx
movzx ecx, word [r13 + 0x2e]
movsx eax, dx
cmp eax, ecx
cmovg dx, cx
xor eax, eax
mov qword [rbx + 0x54], rax
mov qword [rbx + 0x5c], rax
mov eax, 0xc
mov word [rbx + 0x4c], dx
cmp r8w, ax
jle 0x14002ef2d
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, dword [rbp + 0x40]
mov word [rbx + 0x66], ax
add ecx, 2
mov eax, 0x55555556
imul ecx
lea rcx, [r13 + 0x24]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov word [rbx + 0x6a], dx
mov al, byte [r13 + 0x28]
mov byte [rbx + 0x6c], al
mov al, byte [r13 + 0x29]
mov byte [rbx + 0x6d], al
mov al, byte [r13 + 0x2b]
add al, byte [r13 + 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.14002ef74
mov rdx, qword [r13 + 0x48]
mov r9d, 1
xor r8d, r8d
mov ecx, dword [rdx + 0x24]
lea r10d, [r9 + 1]
movzx eax, word [rdx + 0x28]
sub ecx, r9d
mov word [rbx + 0x70], ax
add rcx, r9
add rcx, rcx
movzx eax, word [rdx + rcx*8 + 0x1a]
add ax, word [rdx + rcx*8 + 0x18]
movsx ecx, word [rbx + 0x38]
sub ax, r9w
mov word [rbx + 0x72], ax
mov eax, ecx
cdq
mov dword [rbx + 0x28], r8d
idiv r10d
mov qword [rbx + 0x78], r9
mov word [rbx + 0x50], ax
mov eax, ecx
cdq
lea ecx, [r9 + 3]
idiv ecx
mov word [rbx + 0x52], ax
movzx eax, byte [rsi + 0x46]
movzx edx, byte [rsi + 0x47]
shl edx, 8
or edx, eax
mov dword [rbx + 0x84], edx
movzx ecx, byte [rsi + 0x49]
movzx eax, byte [rsi + 0x48]
shl ecx, 8
or ecx, eax
test edx, edx
mov dword [rbx + 0x80], ecx
cmove edx, r9d
mov dword [rbx + 0x84], edx
test ecx, ecx
je 0x14003c831
movzx ecx, word [rbx + 0x34]
and ecx, r9d
mov dword [rbx + 0x88], ecx
lea eax, [rcx + 1]
mov ecx, 0x40
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
mov dword [rbx + 0xa0], 0x6e6b6e55
movzx eax, byte [rbx + 0x2d]
mov dword [rbx + 0x90], r8d
mov qword [rbx + 0xa4], r8
test cl, al
jne 0x14002edf9
and al, 0x50
neg al
sbb al, al
and al, r10b
lea r12d, [r10 + rax]
mov byte [rbx + 0xac], r12b
mov r11d, 0x20
mov al, byte [rbx + 0x2d]
and al, 0xf0
cmp al, r11b
setne al
sub al, r9b
and al, 0xb
mov byte [rbx + 0xad], al
mov eax, 0x51eb851f
movzx ecx, word [rbx + 0x2e]
mul ecx
shr edx, 5
add dl, r9b
mov byte [rbx + 0xae], dl
movzx eax, byte [rsi + 0x56]
movzx ecx, byte [rsi + 0x57]
shl cx, 8
or cx, ax
mov dword [rbx + 0xb0], r8d
neg cx
mov word [rbx + 0xb4], r8w
sbb al, al
and al, 9
mov byte [rbx + 0xaf], al
cmp dword [rbx + 0x18], r8d
je 0x14002ef14
movzx eax, word [rbx + 0x2e]
mov ecx, 0x2bc
mov word [rbp - 0x1c], ax
movzx eax, word [rbx + 0x34]
mov word [rbp - 0x1a], ax
movzx eax, word [rbx + 0x4c]
mov word [rbp - 0x18], ax
movzx eax, word [rbx + 0x4e]
mov word [rbp - 0x16], ax
mov rax, qword [rbx + 0x88]
mov qword [rbp - 0x14], rax
mov eax, dword [rbp - 0x10]
mov word [rbp - 0x20], r8w
mov byte [rbp - 0x1e], r8b
mov byte [rbp - 0x1d], dl
movups xmm0, xmmword [rbp - 0x20]
test r14, r14
je 0x14002eed0
movups xmmword [r14], xmm0
mov dword [r14 + 0x10], eax
mov byte [rdi + 3], 8
or word [r14 + 6], r11w
add word [r14 + 8], r9w
add word [r14 + 0xa], r9w
mov word [r14 + 4], cx
test r15, r15
je 0x14002eeea
movups xmmword [r15], xmm0
mov dword [r15 + 0x10], eax
or word [r15 + 6], r9w
mov dword [r15 + 0xc], r9d
mov dword [r15 + 0x10], r10d
test rdi, rdi
je 0x14002ef14
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], eax
or word [rdi + 6], 0x21
add word [rdi + 8], r9w
add word [rdi + 0xa], r9w
mov byte [rdi + 3], 8
mov word [rdi + 4], cx
mov dword [rdi + 0xc], r9d
mov dword [rdi + 0x10], r10d
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 0x14002ec78
test cx, cx
mov edx, 0x203a1822
cmove eax, edx
bts eax, 0x16
mov dword [rbx + 0x30], eax
jmp 0x14002eb70
dec eax
cmp eax, r8d
ja 0x14002eb15
mov qword [rcx], rdi
lea rdi, [rcx + 0xc]
mov dword [rcx + 8], edx
jmp 0x14002eb15
mov dword [rbx], r12d
jmp 0x14002ef14
movzx eax, byte [rsi + 0x6a]
movzx r11d, byte [rsi + 0x6b]
shl r11, 8
or r11, rax
movzx eax, byte [rsi + 0x6c]
shl eax, 0x18
shl r11, 8
movsxd rcx, eax
movzx eax, byte [rsi + 0x69]
or r11, rcx
or r11, rax
add r11, rsi
jmp 0x14002ea33
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 0x14002eab2
cmp dword [r13 + 0x44], r12d
jne 0x14002eb15
mov dword [rbx + 0x18], r11d
jmp 0x14002eb15
mov eax, 0x190
mov word [rbx + 0x2e], ax
jmp 0x14002eb58
bts eax, 0x1c
mov dword [rbx + 0x30], eax
jmp 0x14002eb79
mov dword [rbx + 0x80], r9d
jmp 0x14002ed93