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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x118
mov rax, qword [0x14042b840]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rax, qword [rcx]
xor r10d, r10d
mov rbx, qword [rcx + 0x10]
mov rsi, r8
movzx r15d, r9w
mov word [rsp + 0x30], r9w
mov r8, rdx
mov qword [rsp + 0x78], rdx
mov rax, qword [rax]
mov r12, rcx
mov qword [rsp + 0x60], rax
mov ebp, r10d
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x68], r10
mov rdi, qword [rax]
mov qword [rsp + 0x40], rdi
cmp byte [rdi + 0x67], r10b
je 0x1402db634
lea eax, [r10 + 7]
jmp 0x1402dbf47
mov eax, dword [rbx + 0x38]
movzx r13d, word [rbx + 0x18]
mov r8d, dword [r8 + 0x44]
mov r9d, r13d
mov dword [rsp + 0x74], eax
and al, 0x20
neg al
mov qword [rsp + 0x28], rsi
movzx eax, word [rbx + 0x1a]
sbb edx, edx
mov word [rsp + 0x48], ax
movzx eax, word [rbx + 0x1c]
and edx, 0xfffffe59
add edx, 0x1bf
mov word [rsp + 0x4a], ax
movzx eax, word [rbx + 0x3e]
mov ecx, edx
and ecx, 0xffffffc3
mov word [rsp + 0x4e], ax
movzx eax, word [rbx + 0x3c]
test byte [rsi + 0x64], 4
mov word [rsp + 0x4c], ax
mov rax, qword [rbx]
cmove ecx, edx
mov rdx, qword [r12 + 8]
mov qword [rsp + 0x88], rax
movzx eax, word [rbx + 0x16]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x90]
mov word [rsp + 0x32], ax
call fcn.1402def40
xor r11d, r11d
mov r14, rax
mov word [rbx + 0x12], r11w
mov rax, qword [rsi + 0x10]
lea ecx, [r11 + 0xa]
movsx rax, word [rax]
mov word [rsp + 0x70], ax
cmp ax, cx
jg 0x1402db6e1
mov word [rsp + 0x38], r11w
jmp 0x1402db6f2
mov rcx, rax
call fcn.1402adcb4
sub ax, 0x21
mov word [rsp + 0x38], ax
mov edx, 2
mov ecx, 0x100
lea r8d, [rdx + 0xe]
lea r9d, [rdx - 1]
test r14, r14
je 0x1402dbe28
movzx r15d, word [r14 + 0x14]
mov edi, r11d
mov eax, dword [r12 + 0x28]
mov dword [rsp + 0x34], r11d
mov dword [rsp + 0x80], eax
cmp r15w, cx
je 0x1402db733
test byte [r14 + 0x12], 0x80
je 0x1402db777
mov rax, qword [rsi + 8]
movsx r8, word [rax + r13*2]
test r8d, r8d
js 0x1402db762
mov rdx, qword [rsi + 0x18]
lea rcx, [r8 + r8*2]
mov rax, qword [rdx + 8]
test dword [rax + rcx*8 + 8], 0xf
jne 0x1402dbdd6
mov edx, 2
jmp 0x1402db76c
cmp r8d, 0xffffffff
je 0x1402dbdd6
mov r8d, 0x10
mov ecx, 0x100
mov rax, qword [r14 + 0x28]
test qword [rbx + 8], rax
jne 0x1402dbdd6
test word [r14 + 0x12], cx
je 0x1402db796
cmp r15w, r8w
je 0x1402dbdd6
mov rax, qword [rsp + 0x78]
test byte [rax + 0x3c], 8
je 0x1402db7ae
mov rax, qword [r14]
test byte [rax + 4], r9b
je 0x1402dbdd6
cmp byte [rsi + 0x62], r11b
je 0x1402db7c7
movzx eax, word [rsi + 0x5e]
sub eax, r9d
cmp r13d, eax
jne 0x1402db7c7
or byte [r12 + 0x2c], dl
jmp 0x1402db7cc
or byte [r12 + 0x2c], r9b
mov eax, dword [rsp + 0x74]
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
mov dword [rbx + 0x38], eax
movzx eax, word [rsp + 0x48]
mov word [rbx + 0x1a], ax
movzx eax, word [rsp + 0x4a]
mov word [rbx + 0x1c], ax
movzx eax, word [rsp + 0x4c]
mov word [rbx + 0x18], r13w
mov word [rbx + 0x3c], ax
lea r8d, [r9 + rax]
call fcn.1402dd3ac
xor r11d, r11d
lea r9d, [r11 + 1]
test eax, eax
jne 0x1402dbe1d
movzx ecx, word [rbx + 0x3c]
mov rax, qword [rbx + 0x48]
mov qword [rax + rcx*8], r14
movzx edx, word [rbx + 0x3c]
mov rcx, qword [rsp + 0x88]
add dx, r9w
mov rax, qword [rbx + 8]
mov word [rbx + 0x3c], dx
not rax
or rcx, qword [r14 + 0x28]
and rcx, rax
mov qword [rbx], rcx
test r9b, r15b
je 0x1402db966
mov r8, qword [r14]
test dword [r8 + 4], 0x800
je 0x1402db88b
movzx ecx, dx
lea edi, [r11 + 0x2e]
dec ecx
mov dword [rsp + 0x34], edi
test ecx, ecx
jle 0x1402db8a8
mov rax, qword [rbx + 0x48]
mov edx, ecx
mov rcx, qword [rax]
test rcx, rcx
je 0x1402db880
cmp qword [rcx], r8
cmove edi, r11d
add rax, 8
sub rdx, r9
jne 0x1402db871
jmp 0x1402db8a4
mov rax, qword [r8 + 0x20]
test rax, rax
je 0x1402db8a8
cmp dword [rax], r11d
je 0x1402db8a8
movsxd rcx, dword [rax]
call fcn.1402adcb4
movsx edi, ax
mov dword [rsp + 0x34], edi
test byte [rsi + 0x64], 0x80
je 0x1402db923
movzx r10d, word [rsp + 0x38]
mov edx, 0xa
cmp r10w, dx
jl 0x1402db923
mov rax, qword [rsi + 0x10]
movzx r9d, word [rax + r13*2]
cmp di, dx
jg 0x1402db8d3
movzx eax, r11w
jmp 0x1402db8e5
movsx rcx, di
call fcn.1402adcb4
sub ax, 0x21
mov edx, 0xa
sub ax, di
sub ax, r10w
add ax, r9w
movzx r9d, word [rsp + 0x30]
add ax, dx
jns 0x1402db929
mov rdi, qword [rsp + 0x40]
mov eax, 2
cmp r9w, ax
jge 0x1402dbdd0
test dword [rdi + 0x60], 0x20000
jne 0x1402dbdd0
bts dword [rbx + 0x38], 0x14
jmp 0x1402db929
movzx r9d, word [rsp + 0x30]
or dword [rbx + 0x38], 4
mov edi, 1
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
test byte [rbx + 0x38], 2
je 0x1402dbb2f
mov r8, rcx
mov qword [rsp + 0x20], rbx
mov rcx, rbp
mov r9, rax
mov rdx, r12
call fcn.1402de650
jmp 0x1402dbce6
test r15b, 0x82
je 0x1402db9f2
mov rax, qword [rsi + 8]
mov rdi, r9
mov edx, dword [rbx + 0x38]
movzx r9d, word [rsp + 0x30]
or edx, edi
movsx r8d, word [rax + r13*2]
mov dword [rbx + 0x38], edx
cmp r8d, 0xffffffff
je 0x1402db9cf
mov ecx, edx
test r8d, r8d
js 0x1402db9d8
test r9w, r9w
jne 0x1402db9d8
movzx r8d, word [rsi + 0x5e]
mov eax, r8d
sub eax, edi
cmp r13d, eax
jne 0x1402db9d8
test byte [rsi + 0x64], 8
jne 0x1402db9cf
cmp r8w, di
jne 0x1402db9c9
cmp byte [rsi + 0x62], r11b
je 0x1402db9c9
mov eax, 2
cmp r15w, ax
je 0x1402db9cf
bts ecx, 0x10
jmp 0x1402db9d5
mov ecx, edx
bts ecx, 0xc
mov dword [rbx + 0x38], ecx
cmp byte [rsp + 0xb9], dil
jbe 0x1402db932
bts ecx, 0x15
mov dword [rbx + 0x38], ecx
jmp 0x1402db932
mov eax, dword [rbx + 0x38]
mov edi, 0x100
test di, r15w
je 0x1402dba11
movzx r9d, word [rsp + 0x30]
or eax, 8
mov dword [rbx + 0x38], eax
jmp 0x1402db92d
mov qword [rsp + 0x20], r14
mov r9d, r13d
mov r8, rsi
test r15b, 0x24
je 0x1402dbabe
mov rcx, qword [rsp + 0x60]
or eax, 0x22
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x78]
mov edx, dword [rax + 0x44]
call fcn.1402ded9c
xor r11d, r11d
mov word [rbx + 0x1a], ax
mov eax, r11d
mov rcx, r14
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rcx
test word [r14 + 0x12], di
je 0x1402dbb1f
movzx r8d, word [rbx + 0x3c]
lea rax, [r14 + 0x38]
mov rdi, qword [rsp + 0x40]
inc r8d
mov rcx, rdi
mov qword [rsp + 0x50], rax
mov rdx, rbx
call fcn.1402dd3ac
xor r11d, r11d
test eax, eax
jne 0x1402dbe0f
movzx ecx, word [rbx + 0x3c]
lea edi, [r11 + 1]
mov rax, qword [rbx + 0x48]
mov rdx, qword [rsp + 0x50]
movzx r9d, word [rsp + 0x30]
mov qword [rax + rcx*8], rdx
mov rax, rdx
add word [rbx + 0x3c], di
mov rcx, r14
or dword [rbx + 0x38], 0x10
mov word [rbx + 0x1c], di
jmp 0x1402db93c
mov rbp, qword [rsp + 0x60]
or eax, 0x12
mov dword [rbx + 0x38], eax
mov rcx, rbp
mov rax, qword [rsp + 0x78]
mov edx, dword [rax + 0x44]
call fcn.1402ded9c
movzx r9d, word [rsp + 0x30]
xor r11d, r11d
test byte [rbx + 0x38], 0x20
mov word [rbx + 0x1c], ax
mov rax, r14
mov qword [rsp + 0x50], rax
lea edi, [r11 + 1]
je 0x1402dbb12
mov rax, qword [rbx + 0x48]
movzx ecx, word [rbx + 0x3c]
mov rcx, qword [rax + rcx*8 - 0x10]
mov rax, r14
mov qword [rsp + 0x68], rcx
jmp 0x1402db941
mov rcx, r11
mov qword [rsp + 0x68], rcx
jmp 0x1402db941
movzx r9d, word [rsp + 0x30]
mov edi, 1
jmp 0x1402db93c
movzx eax, word [rbx + 0x18]
add ax, di
movzx edi, ax
mov word [rbx + 0x18], di
movzx edx, word [r14 + 0x10]
test dx, dx
jg 0x1402dbb64
mov rax, qword [rsi + 8]
cmp word [rax + r13*2], r11w
jl 0x1402dbb64
mov r14d, dword [rsp + 0x34]
sub dx, r14w
add word [rbx + 0x16], dx
jmp 0x1402dbceb
mov dword [rsp + 0x58], r11d
test r9w, r9w
jne 0x1402dbcbe
cmp dword [rsi + 0x68], r11d
je 0x1402dbcbe
cmp edi, dword [rsi + 0x6c]
jg 0x1402dbcbe
mov eax, 1
test al, r15b
je 0x1402dbba0
mov rax, qword [r14]
test dword [rax + 4], 0x800
jne 0x1402dbcbe
mov rax, qword [rsp + 0x40]
test dword [rax + 0x60], 0x800
jne 0x1402dbcbe
mov r8, qword [r14]
lea r9, [rsp + 0x58]
mov eax, 0x182
mov rdx, r12
mov rcx, rbp
test ax, r15w
je 0x1402dbbd6
mov r8, qword [r8 + 0x18]
call fcn.1402da7e8
jmp 0x1402dbbdf
mov r8, qword [r8 + 0x20]
call fcn.1402da8ac
xor r11d, r11d
cmp eax, 0xc
mov ebp, r11d
cmovne ebp, eax
test ebp, ebp
jne 0x1402dbe17
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1402dbcbe
lea r8d, [r11 + 0x28]
movzx ecx, r8w
cmp rax, 8
jae 0x1402dbc28
cmp rax, 2
jae 0x1402dbc19
movzx ecx, r11w
jmp 0x1402dbc65
add cx, 0xfff6
add rax, rax
cmp rax, 8
jb 0x1402dbc19
jmp 0x1402dbc53
mov edx, 0xff
jmp 0x1402dbc37
add cx, r8w
shr rax, 4
cmp rax, rdx
ja 0x1402dbc2f
cmp rax, 0xf
jbe 0x1402dbc53
mov edx, 0xa
add cx, dx
shr rax, 1
cmp rax, 0xf
ja 0x1402dbc47
and eax, 7
lea rdx, [0x140426e50]
sub cx, 0xa
add cx, word [rdx + rax*2]
mov eax, 1
mov word [rbx + 0x16], cx
cmp di, ax
jne 0x1402dbca0
mov rax, qword [rsi + 0x10]
movsx edx, cx
add edx, 0xa
movsx ecx, word [rax]
cmp edx, ecx
jle 0x1402dbca0
mov eax, 0x4000
or ax, word [r14 + 0x12]
bt ax, 0xd
mov word [r14 + 0x12], ax
jae 0x1402dbca0
or byte [r12 + 0x2d], 4
movzx eax, word [rbx + 0x16]
cmp ax, word [rsp + 0x32]
mov r14d, dword [rsp + 0x34]
cmovg ax, word [rsp + 0x32]
sub ax, r14w
mov word [rbx + 0x16], ax
jmp 0x1402dbceb
mov rax, qword [rsi + 0x10]
movzx edx, word [rax + rdi*2]
sub dx, word [rax + rdi*2 - 2]
add dx, word [rbx + 0x16]
bt r15w, 8
mov word [rbx + 0x16], dx
movzx eax, dx
jae 0x1402dbce6
add ax, 0xa
mov word [rbx + 0x16], ax
mov r14d, dword [rsp + 0x34]
movsx eax, word [rsi + 0x5c]
mov rcx, qword [rsp + 0x78]
movzx edi, word [rbx + 0x16]
imul eax, eax, 0xf
mov rcx, qword [rcx + 0x20]
cdq
movsx r8d, word [rcx + 0x3c]
movzx ecx, word [rsp + 0x38]
idiv r8d
lea edx, [rdi + rax]
inc dx
call fcn.1402add14
test dword [rbx + 0x38], 0x140
movzx ecx, ax
jne 0x1402dbd33
mov edx, 0x10
add edx, edi
call fcn.1402add14
movzx ecx, ax
movzx r15d, word [rsp + 0x30]
lea eax, [rdi + r14]
movzx r8d, word [rsp + 0x70]
add cx, r14w
add cx, r15w
add ax, r15w
mov word [rbx + 0x14], cx
mov rdx, rbx
mov word [rbx + 0x16], ax
mov rcx, qword [r12 + 8]
call fcn.1402dd1fc
mov rdx, rbx
mov rcx, r12
call fcn.1402dcf78
mov ecx, dword [rbx + 0x38]
mov edx, 2
test dl, cl
mov ebp, eax
cmovne di, word [rsp + 0x32]
lea eax, [rdx + 0xe]
mov word [rbx + 0x16], di
test al, cl
jne 0x1402dbdb9
movzx ecx, word [rbx + 0x18]
cmp cx, word [rsi + 0x60]
jae 0x1402dbdb9
cmp cx, word [rsi + 0x5e]
jb 0x1402dbda5
mov eax, dword [rsi + 0x64]
and al, 3
cmp al, dl
je 0x1402dbdb9
mov rdx, qword [rsp + 0x78]
lea r9d, [r15 + r14]
mov r8, rsi
mov rcx, r12
call fcn.1402db5c0
movzx ecx, word [rsp + 0x32]
mov eax, dword [rsp + 0x80]
mov word [rbx + 0x16], cx
mov dword [r12 + 0x28], eax
jmp 0x1402dbddc
movzx r15d, r9w
jmp 0x1402dbde1
movzx r15d, word [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.1402df034
xor r11d, r11d
mov r14, rax
mov ecx, 0x100
lea edx, [r11 + 2]
lea r9d, [r11 + 1]
lea r8d, [r11 + 0x10]
test ebp, ebp
je 0x1402db704
jmp 0x1402dbe28
mov r9d, 1
jmp 0x1402dbe22
mov r9d, 1
mov rdi, qword [rsp + 0x40]
movzx r15d, word [rsp + 0x30]
mov rax, qword [rsp + 0x88]
movzx r14d, word [rsp + 0x32]
movzx edx, word [rsp + 0x4c]
mov ecx, dword [rsp + 0x74]
mov qword [rbx], rax
movzx eax, word [rsp + 0x48]
mov word [rbx + 0x1a], ax
movzx eax, word [rsp + 0x4a]
mov word [rbx + 0x1c], ax
movzx eax, word [rsp + 0x4e]
mov word [rbx + 0x18], r13w
mov word [rbx + 0x3e], ax
mov dword [rbx + 0x38], ecx
mov word [rbx + 0x16], r14w
mov word [rbx + 0x3c], dx
cmp r13w, ax
jne 0x1402dbf45
movzx ecx, word [rsi + 0x5e]
lea eax, [r9 + r13]
cmp eax, ecx
jae 0x1402dbf45
cmp r13w, dx
jne 0x1402dbf45
test byte [rsi + 0x64], 0x40
jne 0x1402dbf45
test byte [rsi + 0x64], 0x80
je 0x1402dbf45
test dword [rdi + 0x60], 0x4000
jne 0x1402dbf45
mov rax, qword [rsi + 0x10]
cmp word [rax + r13*2 + 2], 0x2a
jl 0x1402dbf45
mov rcx, qword [rsp + 0x40]
lea r8d, [r9 + rdx]
mov rdx, rbx
call fcn.1402dd3ac
xor r10d, r10d
mov ebp, eax
test eax, eax
jne 0x1402dbf45
movzx ecx, word [rbx + 0x3c]
lea edx, [rax + 1]
add word [rbx + 0x18], dx
mov r8, rsi
add word [rbx + 0x3e], dx
mov rax, qword [rbx + 0x48]
mov qword [rax + rcx*8], r10
mov rcx, r12
add word [rbx + 0x3c], dx
bts dword [rbx + 0x38], 0xf
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x78]
movzx r9d, word [rax + r13*2]
sub r9w, word [rax + r13*2 + 2]
sub word [rbx + 0x16], r9w
add r9w, 5
add r9w, r15w
call fcn.1402db5c0
movzx eax, word [rsp + 0x4e]
mov word [rbx + 0x3e], ax
mov eax, dword [rsp + 0x74]
mov dword [rbx + 0x38], eax
mov word [rbx + 0x16], r14w
mov word [rbx + 0x18], r13w
mov eax, ebp
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1402e63c0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret