Function at 0x1401f7e00
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, 0x138
mov rax, qword [0x14033a080]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rax, qword [rcx]
mov r13, rcx
movzx r12d, r9w
mov word [rsp + 0x30], r9w
xor r9d, r9d
mov qword [rsp + 0x90], rcx
mov rsi, r8
mov qword [rsp + 0xa8], r8
mov rax, qword [rax]
mov r10, rdx
mov rbx, qword [r13 + 0x10]
mov ebp, r9d
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x60], rax
mov rcx, qword [rax]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x58], r9
cmp dword [rax + 0x30], r9d
je 0x1401f7e83
mov eax, dword [rax + 0x18]
jmp 0x1401f88b9
mov eax, dword [rbx + 0x38]
movzx r8d, word [rbx + 0x3c]
movzx edi, word [rbx + 0x18]
mov dword [rsp + 0x54], eax
mov r9d, edi
and al, 0x20
mov word [rsp + 0x40], r8w
mov r8d, dword [r10 + 0x44]
neg al
movzx eax, word [rbx + 0x1a]
sbb edx, edx
mov word [rsp + 0x3c], ax
movzx eax, word [rbx + 0x1c]
and edx, 0xfffffe59
add edx, 0x1bf
mov word [rsp + 0x3e], ax
movzx eax, word [rbx + 0x3e]
mov ecx, edx
and ecx, 0xffffffc3
mov word [rsp + 0x42], ax
mov rax, qword [rbx]
test byte [rsi + 0x64], 4
mov qword [rsp + 0xa0], rax
movzx eax, word [rbx + 0x16]
cmove ecx, edx
mov rdx, qword [r13 + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0xb0]
mov word [rsp + 0x3a], di
mov word [rsp + 0x32], ax
call fcn.1401fb908
xor r11d, r11d
mov qword [rsp + 0x98], rax
mov word [rbx + 0x12], r11w
mov r15, rax
mov rcx, qword [rsi + 0x10]
movsx rax, word [rcx]
lea ecx, [r11 + 0xa]
mov word [rsp + 0x52], ax
cmp ax, cx
jg 0x1401f7f3d
mov word [rsp + 0x38], r11w
jmp 0x1401f7f4e
mov rcx, rax
call fcn.1401c8aa0
sub ax, 0x21
mov word [rsp + 0x38], ax
mov edx, 2
mov ecx, 0x100
lea r10d, [rdx + 0xe]
lea r8d, [rdx + 1]
lea r9d, [rdx - 1]
test r15, r15
je 0x1401f8794
movzx r12d, word [r15 + 0x14]
mov r14d, r11d
mov eax, dword [r13 + 0x28]
mov word [rsp + 0x50], r12w
mov dword [rsp + 0x34], r11d
mov dword [rsp + 0x88], eax
cmp r12w, cx
je 0x1401f7f98
test byte [r15 + 0x12], 0x80
je 0x1401f7fdf
mov rax, qword [rsi + 8]
movzx ecx, di
movsx r8, word [rax + rcx*2]
test r8d, r8d
js 0x1401f7fca
mov rdx, qword [rsi + 0x18]
lea rcx, [r8 + r8*2]
mov rax, qword [rdx + 8]
test dword [rax + rcx*8 + 8], 0xf
jne 0x1401f8748
mov edx, 2
jmp 0x1401f7fd4
cmp r8d, 0xffffffff
je 0x1401f8748
mov r8d, 3
mov ecx, 0x100
mov rax, qword [r15 + 0x28]
test qword [rbx + 8], rax
jne 0x1401f8748
test word [r15 + 0x12], cx
je 0x1401f7ffe
cmp r12w, r10w
je 0x1401f8748
mov r10, qword [rsp + 0x78]
test byte [r10 + 0x3c], 0x58
je 0x1401f8034
mov rcx, qword [r15]
test byte [rcx + 4], r8b
je 0x1401f8748
mov eax, dword [r10 + 0x44]
cmp dword [rcx + 0x34], eax
jne 0x1401f8748
test byte [r10 + 0x3c], 0x18
je 0x1401f8034
test byte [rcx + 4], dl
jne 0x1401f8748
cmp byte [rsi + 0x62], r11b
je 0x1401f804e
movzx eax, word [rsi + 0x5e]
sub eax, r9d
movzx ecx, di
cmp ecx, eax
jne 0x1401f804e
or byte [r13 + 0x2c], dl
jmp 0x1401f8052
or byte [r13 + 0x2c], r9b
mov eax, dword [rsp + 0x54]
mov dword [rbx + 0x38], eax
movzx eax, word [rsp + 0x3c]
mov word [rbx + 0x1a], ax
movzx eax, word [rsp + 0x3e]
mov word [rbx + 0x1c], ax
movzx eax, word [rsp + 0x40]
mov word [rbx + 0x18], di
mov word [rbx + 0x3c], ax
cmp ax, word [rbx + 0x40]
jb 0x1401f80a3
mov rcx, qword [rsp + 0x70]
lea r8d, [r9 + rax]
mov rdx, rbx
call fcn.1401f9d3c
xor r11d, r11d
lea r9d, [r11 + 1]
test eax, eax
jne 0x1401f878e
mov r10, qword [rsp + 0x78]
movzx ecx, word [rbx + 0x3c]
mov rax, qword [rbx + 0x48]
mov qword [rax + rcx*8], r15
movzx edx, word [rbx + 0x3c]
mov rcx, qword [rsp + 0xa0]
add dx, r9w
mov rax, qword [rbx + 8]
mov word [rbx + 0x3c], dx
not rax
or rcx, qword [r15 + 0x28]
and rcx, rax
mov qword [rbx], rcx
test r9b, r12b
je 0x1401f81de
mov r8, qword [r15]
test dword [r8 + 4], 0x1000
je 0x1401f811e
movzx ecx, dx
mov r14d, 0x2e
dec ecx
mov dword [rsp + 0x34], r14d
test ecx, ecx
jle 0x1401f813d
mov rax, qword [rbx + 0x48]
mov edx, ecx
mov rcx, qword [rax]
test rcx, rcx
je 0x1401f8113
cmp qword [rcx], r8
cmove r14d, r11d
add rax, 8
sub rdx, r9
jne 0x1401f8104
jmp 0x1401f8138
mov rax, qword [r8 + 0x20]
test rax, rax
je 0x1401f813d
cmp dword [rax], r11d
je 0x1401f813d
movsxd rcx, dword [rax]
call fcn.1401c8aa0
movsx r14d, ax
mov dword [rsp + 0x34], r14d
test byte [rsi + 0x64], 0x80
je 0x1401f81bd
movzx r10d, word [rsp + 0x38]
mov edx, 0xa
cmp r10w, dx
jl 0x1401f81bd
mov rax, qword [rsi + 0x10]
movzx ecx, di
movzx r9d, word [rax + rcx*2]
cmp r14w, dx
jg 0x1401f816c
movzx eax, r11w
jmp 0x1401f817e
movsx rcx, r14w
call fcn.1401c8aa0
sub ax, 0x21
mov edx, 0xa
sub ax, r14w
sub ax, r10w
add ax, r9w
movzx r9d, word [rsp + 0x30]
add ax, dx
jns 0x1401f81c3
mov eax, 2
cmp r9w, ax
jge 0x1401f8742
mov rax, qword [rsp + 0x70]
test dword [rax + 0x60], 0x20000
jne 0x1401f8742
bts dword [rbx + 0x38], 0x14
jmp 0x1401f81c3
movzx r9d, word [rsp + 0x30]
or dword [rbx + 0x38], 4
mov edx, dword [rbx + 0x38]
mov r14, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
jmp 0x1401f838c
test r12b, 0x82
je 0x1401f8282
mov rax, qword [rsi + 8]
movzx ecx, di
movsx r8d, word [rax + rcx*2]
mov ecx, dword [rbx + 0x38]
or ecx, r9d
movzx r9d, word [rsp + 0x30]
mov dword [rbx + 0x38], ecx
cmp r8d, 0xffffffff
je 0x1401f824f
mov edx, ecx
test r8d, r8d
js 0x1401f8258
test r9w, r9w
jne 0x1401f8258
movzx r8d, word [rsi + 0x5e]
mov ebp, 1
mov eax, r8d
movzx r10d, di
sub eax, ebp
cmp r10d, eax
jne 0x1401f8258
test byte [rsi + 0x64], 8
jne 0x1401f824f
cmp r8w, bp
jne 0x1401f8249
cmp byte [rsi + 0x62], r11b
je 0x1401f8249
lea eax, [rbp + 1]
cmp r12w, ax
je 0x1401f824f
bts edx, 0x10
jmp 0x1401f8255
mov edx, ecx
bts edx, 0xc
mov dword [rbx + 0x38], edx
mov ebp, 1
cmp byte [rsp + 0xd9], bpl
jbe 0x1401f826e
bts edx, 0x15
mov dword [rbx + 0x38], edx
mov r14, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
jmp 0x1401f8391
bt r12w, 8
mov r14, qword [rsp + 0x60]
jae 0x1401f82a7
mov edx, dword [rbx + 0x38]
mov rax, qword [rsp + 0x48]
or edx, 8
mov rcx, qword [rsp + 0x58]
mov dword [rbx + 0x38], edx
jmp 0x1401f8386
mov edx, dword [r10 + 0x44]
mov r8, rsi
movzx r9d, di
mov rcx, r14
mov qword [rsp + 0x20], r15
call fcn.1401fb764
mov edx, dword [rbx + 0x38]
xor r11d, r11d
test r12b, 0x24
je 0x1401f8355
or edx, 0x22
mov word [rbx + 0x1a], ax
mov eax, 0x100
mov dword [rbx + 0x38], edx
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x48], r11
test word [r15 + 0x12], ax
je 0x1401f8340
movzx r8d, word [rbx + 0x3c]
lea rax, [r15 + 0x38]
mov rcx, qword [rsp + 0x70]
inc r8d
mov rdx, rbx
mov qword [rsp + 0x48], rax
call fcn.1401f9d3c
xor r11d, r11d
test eax, eax
jne 0x1401f8788
movzx ecx, word [rbx + 0x3c]
lea ebp, [r11 + 1]
mov rax, qword [rbx + 0x48]
mov r8, qword [rsp + 0x48]
mov qword [rax + rcx*8], r8
lea eax, [rbp + 0xf]
add word [rbx + 0x3c], bp
or dword [rbx + 0x38], eax
mov edx, dword [rbx + 0x38]
mov word [rbx + 0x1c], bp
jmp 0x1401f8345
mov ebp, 1
movzx r9d, word [rsp + 0x30]
mov rcx, r15
mov rax, qword [rsp + 0x48]
jmp 0x1401f8391
or edx, 0x12
mov word [rbx + 0x1c], ax
mov dword [rbx + 0x38], edx
mov rax, r15
mov qword [rsp + 0x48], rax
test dl, 0x20
je 0x1401f837e
mov rax, qword [rbx + 0x48]
movzx ecx, word [rbx + 0x3c]
mov rcx, qword [rax + rcx*8 - 0x10]
mov rax, r15
jmp 0x1401f8381
mov rcx, r11
mov qword [rsp + 0x58], rcx
movzx r9d, word [rsp + 0x30]
mov ebp, 1
test dl, 2
je 0x1401f83b1
mov r8, rcx
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov r9, rax
mov rdx, r13
call fcn.1401fb004
jmp 0x1401f862a
movzx eax, word [rbx + 0x18]
add ax, bp
movzx r14d, ax
mov word [rbx + 0x18], r14w
movzx edx, word [r15 + 0x10]
mov dword [rsp + 0x68], r14d
test dx, dx
jg 0x1401f83f0
mov rax, qword [rsi + 8]
movzx ecx, di
cmp word [rax + rcx*2], r11w
jl 0x1401f83f0
mov r14d, dword [rsp + 0x34]
sub dx, r14w
add word [rbx + 0x16], dx
jmp 0x1401f862f
mov qword [rsp + 0x80], r11
mov rdi, r11
test r9w, r9w
jne 0x1401f85fe
cmp dword [rsi + 0x68], r11d
je 0x1401f85fe
cmp r14d, dword [rsi + 0x6c]
jg 0x1401f85fe
test bpl, r12b
je 0x1401f842e
mov rax, qword [r15]
test dword [rax + 4], 0x1000
jne 0x1401f85fe
mov rax, qword [rsp + 0x70]
test dword [rax + 0x60], 0x800
jne 0x1401f85fe
mov rax, qword [r15]
mov ecx, 0x182
test cx, r12w
je 0x1401f8474
mov r8, qword [rax + 0x18]
lea r9, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov rdx, r13
call fcn.1401f7020
mov rdi, qword [rsp + 0x80]
jmp 0x1401f851a
mov r13, qword [rax + 0x20]
mov r11, qword [rsp + 0x90]
mov rax, qword [r11 + 0x10]
mov rcx, qword [rax + 0x20]
mov rcx, qword [rcx + 0x10]
movzx ecx, word [rcx]
call fcn.1401c8c10
mov r12d, dword [r11 + 0x28]
lea r15, [r13 + 8]
xor ecx, ecx
mov r14, rax
mov eax, ecx
mov esi, ecx
mov ebp, ecx
cmp ebp, dword [r13]
jge 0x1401f84ed
mov r8, qword [r15]
lea r9, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov rdx, r11
mov qword [rsp + 0x80], r14
call fcn.1401f7020
mov r11, qword [rsp + 0x90]
inc ebp
add rsi, qword [rsp + 0x80]
add r15, 0x20
mov dword [r11 + 0x28], r12d
test eax, eax
je 0x1401f84a7
jmp 0x1401f84f7
cmp rsi, r14
mov rdi, rsi
cmova rdi, r14
mov rsi, qword [rsp + 0xa8]
mov r14d, dword [rsp + 0x68]
mov r15, qword [rsp + 0x98]
movzx r12d, word [rsp + 0x50]
mov r13, qword [rsp + 0x90]
xor r11d, r11d
cmp eax, 0xc
mov ebp, r11d
cmovne ebp, eax
test ebp, ebp
jne 0x1401f8788
test rdi, rdi
je 0x1401f85f9
lea edx, [rbp + 0x28]
movzx eax, dx
cmp rdi, 8
jae 0x1401f8561
cmp rdi, 2
jae 0x1401f8552
movzx eax, r11w
lea ecx, [rbp + 0xa]
jmp 0x1401f85a1
add ax, 0xfff6
add rdi, rdi
cmp rdi, 8
jb 0x1401f8552
jmp 0x1401f858b
mov ecx, 0xff
jmp 0x1401f856f
add ax, dx
shr rdi, 4
cmp rdi, rcx
ja 0x1401f8568
cmp rdi, 0xf
jbe 0x1401f858b
mov ecx, 0xa
add ax, cx
shr rdi, 1
cmp rdi, 0xf
ja 0x1401f857f
and edi, 7
lea rcx, [0x1403349a0]
add ax, word [rcx + rdi*2]
mov ecx, 0xa
sub ax, cx
mov ebp, 1
mov word [rbx + 0x16], ax
cmp r14w, bp
jne 0x1401f85db
movsx edx, ax
mov rax, qword [rsi + 0x10]
add edx, ecx
movsx ecx, word [rax]
cmp edx, ecx
jle 0x1401f85db
mov eax, 0x4000
or ax, word [r15 + 0x12]
bt ax, 0xd
mov word [r15 + 0x12], ax
jae 0x1401f85db
or byte [r13 + 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 0x1401f862f
mov ebp, 1
mov rax, qword [rsi + 0x10]
movzx ecx, r14w
movzx edx, word [rax + rcx*2]
sub dx, word [rax + rcx*2 - 2]
add dx, word [rbx + 0x16]
bt r12w, 8
mov word [rbx + 0x16], dx
movzx eax, dx
jae 0x1401f862a
add ax, 0xa
mov word [rbx + 0x16], ax
mov r14d, dword [rsp + 0x34]
mov eax, dword [rsi + 0x64]
mov ecx, 3
movzx edi, word [rbx + 0x16]
and eax, ecx
mov r15, qword [rsp + 0x78]
lea r10d, [rcx + 0xd]
cmp al, cl
jne 0x1401f8650
lea eax, [r10 + rdi]
jmp 0x1401f866a
movsx eax, word [rsi + 0x5c]
mov rcx, qword [r15 + 0x20]
imul eax, eax, 0xf
movsx r8d, word [rcx + 0x3c]
cdq
idiv r8d
add ax, di
add ax, bp
movzx ecx, word [rsp + 0x38]
movzx edx, ax
call fcn.1401c8b00
test dword [rbx + 0x38], 0x4000140
movzx ecx, ax
jne 0x1401f868f
lea edx, [r10 + rdi]
call fcn.1401c8b00
movzx ecx, ax
movzx r12d, word [rsp + 0x30]
lea eax, [r14 + rdi]
movzx r8d, word [rsp + 0x52]
add cx, r14w
add cx, r12w
add ax, r12w
mov word [rbx + 0x14], cx
mov rdx, rbx
mov word [rbx + 0x16], ax
mov rcx, qword [r13 + 8]
call fcn.1401f9b90
mov rdx, rbx
mov rcx, r13
call fcn.1401f98fc
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 0x1401f8727
movzx ecx, word [rbx + 0x18]
cmp cx, word [rsi + 0x60]
jae 0x1401f8727
lea r8d, [rdx + 1]
cmp cx, word [rsi + 0x5e]
jb 0x1401f8705
mov eax, dword [rsi + 0x64]
and al, r8b
cmp al, dl
je 0x1401f8727
cmp cx, r8w
jbe 0x1401f8715
mov rcx, qword [rsp + 0x60]
call fcn.1401d0854
lea r9d, [r14 + r12]
mov r8, rsi
mov rdx, r15
mov rcx, r13
call fcn.1401f7e00
movzx ecx, word [rsp + 0x32]
mov eax, dword [rsp + 0x88]
movzx edi, word [rsp + 0x3a]
mov word [rbx + 0x16], cx
mov dword [r13 + 0x28], eax
jmp 0x1401f874e
movzx r12d, r9w
jmp 0x1401f874e
movzx r12d, word [rsp + 0x30]
lea rcx, [rsp + 0xb0]
call fcn.1401fb9fc
xor r11d, r11d
mov qword [rsp + 0x98], rax
mov r15, rax
mov ecx, 0x100
lea edx, [r11 + 2]
lea r9d, [r11 + 1]
lea r8d, [r11 + 3]
lea r10d, [r11 + 0x10]
test ebp, ebp
je 0x1401f7f64
jmp 0x1401f8794
mov r9d, 1
movzx r12d, word [rsp + 0x30]
mov rax, qword [rsp + 0xa0]
movzx r14d, word [rsp + 0x3a]
movzx r15d, word [rsp + 0x32]
movzx r8d, word [rsp + 0x40]
mov ecx, dword [rsp + 0x54]
mov qword [rbx], rax
movzx eax, word [rsp + 0x3c]
mov word [rbx + 0x1a], ax
movzx eax, word [rsp + 0x3e]
mov word [rbx + 0x1c], ax
movzx eax, word [rsp + 0x42]
mov word [rbx + 0x18], r14w
mov word [rbx + 0x3e], ax
mov dword [rbx + 0x38], ecx
mov word [rbx + 0x16], r15w
mov word [rbx + 0x3c], r8w
cmp r14w, ax
jne 0x1401f88b7
movzx ecx, word [rsi + 0x5e]
lea eax, [r9 + r14]
cmp eax, ecx
jae 0x1401f88b7
cmp r14w, r8w
jne 0x1401f88b7
test byte [rsi + 0x64], 0x40
jne 0x1401f88b7
test byte [rsi + 0x64], 0x80
je 0x1401f88b7
mov rcx, qword [rsp + 0x70]
test dword [rcx + 0x60], 0x4000
jne 0x1401f88b7
mov rax, qword [rsi + 0x10]
cmp word [rax + r14*2 + 2], 0x2a
jl 0x1401f88b7
add r8d, r9d
mov rdx, rbx
call fcn.1401f9d3c
xor edx, edx
mov ebp, eax
test eax, eax
jne 0x1401f88b7
movzx ecx, word [rbx + 0x3c]
lea r8d, [rax + 1]
add word [rbx + 0x18], r8w
add word [rbx + 0x3e], r8w
mov rax, qword [rbx + 0x48]
mov qword [rax + rcx*8], rdx
mov rcx, r13
add word [rbx + 0x3c], r8w
mov r8, rsi
bts dword [rbx + 0x38], 0xf
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x78]
movzx r9d, word [rax + r14*2]
sub r9w, word [rax + r14*2 + 2]
sub word [rbx + 0x16], r9w
add r9w, 5
add r9w, r12w
call fcn.1401f7e00
movzx eax, word [rsp + 0x42]
mov word [rbx + 0x3e], ax
mov eax, dword [rsp + 0x54]
mov dword [rbx + 0x38], eax
mov word [rbx + 0x16], r15w
mov word [rbx + 0x18], r14w
mov eax, ebp
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140255040
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret