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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x130
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rax, qword [rcx]
mov r10, rcx
mov qword [rsp + 0x68], rcx
mov rbp, r8
xor ecx, ecx
mov word [rsp + 0x34], r9w
mov r8, rdx
mov qword [rsp + 0x70], rdx
mov rax, qword [rax]
mov esi, ecx
mov rbx, qword [r10 + 0x18]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x58], ecx
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rcx
cmp byte [rax + 0x61], cl
je 0x1401e5992
lea eax, [rcx + 7]
jmp 0x1401e60e7
mov eax, dword [rbx + 0x28]
mov edx, 0x18
movzx r11d, word [rbx + 0x18]
test al, 0x20
mov r8d, dword [r8 + 0x44]
mov r9d, r11d
mov dword [rsp + 0x60], eax
mov eax, 0x1bf
cmove edx, eax
mov qword [rsp + 0x28], rbp
movzx eax, word [rbx + 0x1a]
mov ecx, edx
mov word [rsp + 0x48], ax
and ecx, 0xffffffc3
movzx eax, word [rbx + 0x1c]
mov word [rsp + 0x4a], ax
movzx eax, word [rbx + 0x2e]
mov word [rsp + 0x4e], ax
movzx eax, word [rbx + 0x2c]
mov word [rsp + 0x4c], ax
mov rax, qword [rbx]
mov qword [rsp + 0x90], rax
movzx eax, word [rbx + 0x16]
mov word [rsp + 0x36], ax
mov eax, dword [rbp + 0x64]
and al, 4
mov qword [rsp + 0x128], rdi
mov word [rsp + 0x30], r11w
cmove ecx, edx
mov dword [rsp + 0x78], r11d
mov rdx, qword [r10 + 8]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0xa0]
call fcn.1401e9140
xor ecx, ecx
mov rdi, rax
mov word [rbx + 0x12], cx
mov rax, qword [rbp + 0x10]
movzx eax, word [rax]
mov word [rsp + 0x5c], ax
cmp ax, 0xa
jg 0x1401e5a4d
mov word [rsp + 0x38], cx
mov edx, 0x100
jmp 0x1401e5a72
movsx rcx, ax
call fcn.1401ad480
sub ax, 0x21
mov edx, 0x100
mov word [rsp + 0x38], ax
xor ecx, ecx
jmp 0x1401e5a72
xor ecx, ecx
test rdi, rdi
je 0x1401e5fa5
movzx r8d, word [rdi + 0x14]
mov esi, ecx
mov word [rsp + 0x32], r8w
cmp r8w, dx
jne 0x1401e5b27
movzx r9d, word [rsp + 0x30]
mov rax, qword [rbp + 8]
movsx rdx, word [rax + r9*2]
test edx, edx
js 0x1401e5b1c
mov rax, qword [rbp + 0x18]
mov rcx, rdx
shl rcx, 5
mov rax, qword [rax + 8]
movzx ecx, byte [rax + rcx + 0x18]
test ecx, ecx
jne 0x1401e5f7e
mov edx, 0x100
mov rax, qword [rbx + 8]
test qword [rdi + 0x30], rax
jne 0x1401e5f7e
test word [rdi + 0x12], dx
je 0x1401e5ae5
cmp r8w, 0x10
je 0x1401e5f7e
mov rax, qword [rsp + 0x70]
test byte [rax + 0x3c], 8
je 0x1401e5afd
mov rax, qword [rdi]
test byte [rax + 4], 1
je 0x1401e5f7e
cmp byte [rbp + 0x62], 0
je 0x1401e5b2f
movzx eax, word [rbp + 0x5e]
dec eax
movzx ecx, r9w
cmp ecx, eax
jne 0x1401e5b2f
mov rax, qword [rsp + 0x68]
or dword [rax + 0x28], 2
jmp 0x1401e5b38
cmp edx, 0xffffffff
je 0x1401e5f7e
jmp 0x1401e5ac1
movzx r9d, word [rsp + 0x30]
jmp 0x1401e5ac6
mov rax, qword [rsp + 0x68]
or dword [rax + 0x28], 1
mov eax, dword [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rsp + 0x88]
mov dword [rbx + 0x28], 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], r9w
mov word [rbx + 0x2c], ax
lea r8d, [rax + 1]
call fcn.1401e7660
test eax, eax
jne 0x1401e5fa1
movzx ecx, word [rbx + 0x2c]
mov rax, qword [rbx + 0x38]
movzx r9d, word [rsp + 0x32]
mov qword [rax + rcx*8], rdi
inc word [rbx + 0x2c]
mov rcx, qword [rsp + 0x90]
or rcx, qword [rdi + 0x30]
mov rax, qword [rbx + 8]
not rax
and rcx, rax
mov qword [rbx], rcx
test r9b, 1
je 0x1401e5c72
mov r8, qword [rdi]
test dword [r8 + 4], 0x800
je 0x1401e5c01
movzx ecx, word [rbx + 0x2c]
mov esi, 0x2e
dec ecx
test ecx, ecx
jle 0x1401e5c19
mov rax, qword [rbx + 0x38]
xor r9d, r9d
mov edx, ecx
nop dword [rax]
mov rcx, qword [rax]
test rcx, rcx
je 0x1401e5bef
cmp qword [rcx], r8
cmove esi, r9d
add rax, 8
sub rdx, 1
jne 0x1401e5be0
movzx r9d, word [rsp + 0x32]
jmp 0x1401e5c19
mov rax, qword [r8 + 0x20]
test rax, rax
je 0x1401e5c19
movsxd rcx, dword [rax]
test ecx, ecx
je 0x1401e5c19
call fcn.1401ad480
movsx esi, ax
test byte [rbp + 0x64], 0x80
je 0x1401e5c66
movzx r11d, word [rsp + 0x30]
mov rax, qword [rbp + 0x10]
movzx r8d, word [rax + r11*2]
cmp si, 0xa
jg 0x1401e5c38
xor eax, eax
jmp 0x1401e5c45
movsx rcx, si
call fcn.1401ad480
sub ax, 0x21
movsx ecx, ax
movsx eax, word [rsp + 0x38]
movsx edx, r8w
add eax, esi
add edx, 0xa
add edx, ecx
cmp edx, eax
jl 0x1401e5f7e
or dword [rbx + 0x28], 4
jmp 0x1401e5cd2
movzx r11d, word [rsp + 0x30]
or dword [rbx + 0x28], 4
jmp 0x1401e5cd2
test r9b, 0x82
je 0x1401e5d14
mov rax, qword [rbp + 8]
movzx r11d, word [rsp + 0x30]
movsx edx, word [rax + r11*2]
or dword [rbx + 0x28], 1
mov ecx, dword [rbx + 0x28]
cmp edx, 0xffffffff
je 0x1401e5d0e
test edx, edx
js 0x1401e5cd2
cmp word [rsp + 0x34], 0
jne 0x1401e5cd2
movzx edx, word [rbp + 0x5e]
movzx r8d, r11w
lea eax, [rdx - 1]
cmp r8d, eax
jne 0x1401e5cd2
test byte [rbp + 0x64], 8
jne 0x1401e5d0e
cmp edx, 1
jne 0x1401e5ccb
cmp byte [rbp + 0x62], 0
je 0x1401e5ccb
cmp r9w, 2
je 0x1401e5d0e
bts ecx, 0x10
mov dword [rbx + 0x28], ecx
mov r10d, 0x100
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
test byte [rbx + 0x28], 2
je 0x1401e5e54
mov rdx, qword [rsp + 0x68]
mov r8, rcx
mov rcx, qword [rsp + 0x80]
mov r9, rax
mov qword [rsp + 0x20], rbx
call fcn.1401e8e50
jmp 0x1401e5ead
bts ecx, 0xc
jmp 0x1401e5ccf
mov r10d, 0x100
test r10w, r9w
je 0x1401e5d2c
or dword [rbx + 0x28], 8
movzx r11d, word [rsp + 0x30]
jmp 0x1401e5cd8
mov rax, qword [rsp + 0x70]
test r9b, 0x24
mov r9d, dword [rsp + 0x78]
mov r8, rbp
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rdi
je 0x1401e5de8
or dword [rbx + 0x28], 0x22
mov edx, dword [rax + 0x44]
call fcn.1401e8ee0
mov word [rbx + 0x1a], ax
mov r10d, 0x100
xor eax, eax
mov rcx, rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rax
test word [rdi + 0x12], r10w
je 0x1401e5e43
movzx r8d, word [rbx + 0x2c]
lea rax, [rdi + 0x40]
mov rcx, qword [rsp + 0x88]
inc r8d
mov rdx, rbx
mov qword [rsp + 0x40], rax
call fcn.1401e7660
test eax, eax
jne 0x1401e5fa1
movzx ecx, word [rbx + 0x2c]
mov r10d, 0x100
mov rax, qword [rbx + 0x38]
mov rdx, qword [rsp + 0x40]
movzx r9d, word [rsp + 0x32]
movzx r11d, word [rsp + 0x30]
mov qword [rax + rcx*8], rdx
mov eax, 1
inc word [rbx + 0x2c]
mov rcx, rdi
or dword [rbx + 0x28], 0x10
mov word [rbx + 0x1c], ax
mov rax, rdx
jmp 0x1401e5ce2
or dword [rbx + 0x28], 0x12
mov edx, dword [rax + 0x44]
call fcn.1401e8ee0
test byte [rbx + 0x28], 0x20
mov r10d, 0x100
movzx r9d, word [rsp + 0x32]
movzx r11d, word [rsp + 0x30]
mov word [rbx + 0x1c], ax
mov rax, rdi
mov qword [rsp + 0x40], rax
je 0x1401e5e37
movzx eax, word [rbx + 0x2c]
sub eax, 2
movsxd rcx, eax
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + rcx*8]
mov rax, rdi
mov qword [rsp + 0x50], rcx
jmp 0x1401e5ce2
xor ecx, ecx
mov qword [rsp + 0x50], rcx
jmp 0x1401e5ce2
movzx r9d, word [rsp + 0x32]
movzx r11d, word [rsp + 0x30]
jmp 0x1401e5ce2
inc word [rbx + 0x18]
movzx edx, word [rdi + 0x10]
movzx r8d, word [rbx + 0x18]
test dx, dx
jg 0x1401e5e7e
mov rax, qword [rbp + 8]
movzx ecx, r11w
cmp word [rax + rcx*2], 0
jl 0x1401e5e7e
sub dx, si
add word [rbx + 0x16], dx
jmp 0x1401e5ead
mov rdx, qword [rbp + 0x10]
lea eax, [r8 - 1]
movsxd rcx, eax
movzx r8d, word [rdx + r8*2]
sub r8w, word [rdx + rcx*2]
add r8w, word [rbx + 0x16]
mov word [rbx + 0x16], r8w
test r10w, r9w
je 0x1401e5ead
add r8w, 0xa
mov word [rbx + 0x16], r8w
movsx eax, word [rbp + 0x5c]
mov rcx, qword [rsp + 0x70]
imul eax, eax, 0xf
mov rcx, qword [rcx + 0x20]
cdq
movsx r8d, word [rcx + 0x4c]
movzx ecx, word [rsp + 0x38]
idiv r8d
add ax, word [rbx + 0x16]
lea edx, [rax + 1]
call fcn.1401ad510
test dword [rbx + 0x28], 0x140
mov word [rbx + 0x14], ax
jne 0x1401e5ef8
movzx edx, word [rbx + 0x16]
movzx ecx, ax
add dx, 0x10
call fcn.1401ad510
mov word [rbx + 0x14], ax
movzx ecx, word [rsp + 0x34]
mov rdx, rbx
movzx edi, word [rbx + 0x16]
movzx r8d, word [rsp + 0x5c]
lea eax, [rsi + rcx]
add word [rbx + 0x14], ax
lea eax, [rsi + rcx]
add word [rbx + 0x16], ax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 8]
call fcn.1401e74c0
mov rcx, qword [rsp + 0x68]
mov rdx, rbx
call fcn.1401e7360
mov ecx, dword [rbx + 0x28]
test cl, 2
mov dword [rsp + 0x58], eax
movzx eax, word [rsp + 0x36]
cmovne di, ax
mov word [rbx + 0x16], di
test cl, 0x10
jne 0x1401e5f7a
movzx ecx, word [rbp + 0x60]
cmp word [rbx + 0x18], cx
jae 0x1401e5f7a
movzx r9d, word [rsp + 0x34]
mov r8, rbp
mov rdx, qword [rsp + 0x70]
add r9w, si
mov rcx, qword [rsp + 0x68]
call fcn.1401e5920
movzx eax, word [rsp + 0x36]
mov word [rbx + 0x16], ax
lea rcx, [rsp + 0xa0]
call fcn.1401e9250
mov esi, dword [rsp + 0x58]
mov rdi, rax
mov edx, 0x100
test esi, esi
je 0x1401e5a70
jmp 0x1401e5fa5
mov esi, dword [rsp + 0x58]
mov rax, qword [rsp + 0x90]
movzx edi, word [rsp + 0x30]
movzx ecx, word [rsp + 0x4e]
movzx edx, word [rsp + 0x4c]
mov qword [rbx], rax
movzx eax, word [rsp + 0x48]
mov word [rbx + 0x1a], ax
movzx eax, word [rsp + 0x4a]
mov word [rbx + 0x1c], ax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x28], eax
movzx eax, word [rsp + 0x36]
mov word [rbx + 0x16], ax
mov word [rbx + 0x18], di
mov word [rbx + 0x2e], cx
mov word [rbx + 0x2c], dx
cmp di, cx
jne 0x1401e60dd
movzx ecx, word [rbp + 0x5e]
movzx eax, di
inc eax
cmp eax, ecx
jae 0x1401e60dd
cmp di, dx
jne 0x1401e60dd
test byte [rbp + 0x64], 0x40
jne 0x1401e60dd
mov r9, qword [rsp + 0x88]
mov eax, 0x4000
test word [r9 + 0x5c], ax
jne 0x1401e60dd
mov rax, qword [rbp + 0x10]
movzx ecx, di
cmp word [rax + rcx*2 + 2], 0x2a
jl 0x1401e60dd
movzx r8d, dx
mov rcx, r9
inc r8d
mov rdx, rbx
call fcn.1401e7660
mov esi, eax
test eax, eax
jne 0x1401e60dd
inc word [rbx + 0x18]
mov r8, rbp
inc word [rbx + 0x2e]
movzx ecx, word [rbx + 0x2c]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rsp + 0x70]
movzx r9d, di
mov qword [rax + rcx*8], 0
inc word [rbx + 0x2c]
or dword [rbx + 0x28], 0x8000
mov r10, qword [rbp + 0x10]
mov rcx, qword [rsp + 0x68]
movzx eax, di
movzx r11d, word [r10 + r9*2]
movzx r9d, word [rsp + 0x34]
sub r11w, word [r10 + rax*2 + 2]
add r9w, 5
sub word [rbx + 0x16], r11w
add r9w, r11w
call fcn.1401e5920
movzx eax, word [rsp + 0x36]
mov word [rbx + 0x16], ax
movzx eax, word [rsp + 0x4e]
mov word [rbx + 0x2e], ax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x28], eax
mov word [rbx + 0x18], di
mov rdi, qword [rsp + 0x128]
mov eax, esi
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14026d870
add rsp, 0x130
pop rsi
pop rbp
pop rbx
ret