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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x18], r8
mov word [rsp + 0x10], dx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rsp + 0x80]
mov rbx, rcx
movsx ecx, word [r9]
movsx eax, word [rax]
shl ecx, 0xf
mov r14, r8
add ecx, eax
lea r8, [r11 + 0x28]
lea rdx, [r11 + 8]
add ecx, ecx
mov r12, r9
call fcn.019438a0
movzx edx, word [rsp + 0x88]
movsx eax, word [rsp + 0x80]
imul eax, eax, 0x2688
sar eax, 0xf
sub dx, 2
xor r15d, r15d
movsx ebp, ax
movsx eax, word [rsp + 0x60]
movsx r13d, dx
add eax, r13d
lea rdx, [0x01965482]
mov r8, r12
mov edi, r15d
lea esi, [r15 + 0xc]
imul eax, eax, 0x2688
add ebp, eax
mov eax, 0x130b
shl ebp, 0xc
sar ebp, 0x10
sub bp, ax
sub r8, rdx
nop word [rax + rax]
movsx ecx, word [r8 + rdx + 2]
movsx eax, word [rdx]
add rdx, 2
imul ecx, eax
dec rsi
lea edi, [rdi + rcx*2]
jne 0x1941c10
movsx ecx, word [0x01965480]
movsx eax, word [r12]
lea r8, [rsp + 0x80]
imul ecx, eax
add ecx, edi
lea rdx, [rsp + 0x60]
add ecx, ecx
call fcn.019438a0
movsx edx, word [rsp + 0x80]
movsx eax, word [rsp + 0x60]
imul edx, edx, 0x2688
add eax, r13d
sar edx, 0xf
mov r13d, r15d
movsx r10d, dx
mov rsi, rbx
mov r15d, 0xa
imul eax, eax, 0x2688
add r10d, eax
mov eax, 0x130b
mov rdx, r14
shl r10d, 0xc
mov edi, r15d
sar r10d, 0x10
sub r10w, ax
sub rsi, r14
mov dword [rsp + 0x88], r10d
movzx eax, word [rdx]
add rdx, 2
sub ax, word [rsi + rdx - 2]
movsx ecx, ax
imul ecx, ecx
dec rdi
lea r13d, [r13 + rcx*2]
jne 0x1941ca1
mov rdx, qword [rsp + 0x90]
xor eax, eax
sar r13d, 0x10
add rdx, 0xf2
movzx r14d, ax
lea edi, [rax + 0x50]
mov esi, 0x19a
nop
movsx ecx, word [rdx - 2]
movsx eax, word [rdx]
imul ecx, eax
sar ecx, 0xf
test cx, cx
jns 0x1941cf6
add r14w, si
add rdx, 2
dec rdi
jne 0x1941ce0
movzx r12d, word [rsp + 0x98]
mov r8d, 0x81
mov r11d, 0x7fff
cmp r12w, r8w
jge 0x1941d4b
cmp bp, word [rbx + 0x38]
jge 0x1941d28
mov word [rbx + 0x38], bp
mov word [rbx + 0x34], bp
test r12b, 7
jne 0x1941d4b
movzx eax, r12w
sar ax, 3
dec ax
movsx rcx, ax
movzx eax, word [rbx + 0x38]
mov word [rbx + rcx*2 + 0x14], ax
mov word [rbx + 0x38], r11w
movzx esi, r12w
mov r9d, 0xf
and si, 7
jne 0x1941d88
movzx eax, word [rbx + 0x14]
lea rcx, [rbx + 0x16]
mov edi, r9d
mov word [rbx + 0x34], ax
nop word [rax + rax]
movzx edx, word [rcx]
cmp dx, ax
jge 0x1941d7f
movzx eax, dx
mov word [rbx + 0x34], dx
add rcx, 2
dec rdi
jne 0x1941d70
cmp r12w, r8w
jl 0x1941e09
movzx eax, r12b
xor al, 1
test al, 7
jne 0x1941da5
movzx eax, word [rbx + 0x34]
mov word [rbx + 0x36], r11w
mov word [rbx + 0x38], ax
movzx eax, word [rbx + 0x38]
cmp bp, ax
cmovl ax, bp
mov word [rbx + 0x38], ax
movzx eax, word [rbx + 0x36]
cmp bp, ax
cmovl ax, bp
mov word [rbx + 0x36], ax
test si, si
jne 0x1941e09
lea r8, [rbx + 0x16]
lea rdi, [rbx + 0x14]
mov rcx, r9
mov rsi, r8
rep movsw word [rdi], word [rsi]
movzx eax, word [rbx + 0x36]
mov word [rbx + 0x32], ax
movzx eax, word [rbx + 0x14]
mov word [rbx + 0x34], ax
nop dword [rax]
movzx ecx, word [r8]
cmp cx, ax
jge 0x1941e00
movzx eax, cx
mov word [rbx + 0x34], cx
add r8, 2
dec r9
jne 0x1941df0
mov rsi, qword [rsp + 0xb0]
mov eax, 0xc00
mov r11d, 0x100
cmp r12w, 0x20
jg 0x1941f92
cmp bp, ax
jge 0x1941e37
xor eax, eax
mov word [rsi], ax
inc word [rbx + 0x4e]
jmp 0x1941ea0
mov r8, qword [rsp + 0x70]
mov word [rsi], r11w
movsx ecx, word [rbx + 0x3a]
shl ecx, 5
movsx eax, bp
mov rdx, rbx
add ecx, eax
movsx eax, r14w
mov rdi, r15
shl ecx, 0xb
sar ecx, 0x10
mov word [rbx + 0x3a], cx
movsx ecx, word [rbx + 0x40]
shl ecx, 5
add ecx, eax
shl ecx, 0xb
sar ecx, 0x10
sub r8, rbx
mov word [rbx + 0x40], cx
nop word [rax + rax]
movsx eax, word [rdx]
movsx ecx, word [r8 + rdx]
add rdx, 2
shl eax, 5
add ecx, eax
shl ecx, 0xb
sar ecx, 0x10
dec rdi
mov word [rdx - 2], cx
jne 0x1941e80
cmp r12w, 0x20
jl 0x19422b7
jne 0x1941f92
movsx rdi, word [rbx + 0x4e]
movsx eax, word [rbx + 0x3a]
lea r9, [0x01800000]
movzx ecx, byte [r9 + rdi*2 + 0x1654a0]
movsx edx, word [r9 + rdi*2 + 0x1654e0]
mov r8, r15
imul edx, eax
movsx eax, word [rbx + 0x40]
add edx, edx
shl edx, cl
sar edx, 0x10
mov word [rbx + 0x3a], dx
movsx edx, word [r9 + rdi*2 + 0x1654e0]
movzx ecx, byte [r9 + rdi*2 + 0x1654a0]
imul edx, eax
add edx, edx
mov rdi, rbx
shl edx, cl
sar edx, 0x10
mov word [rbx + 0x40], dx
nop dword [rax + rax]
movsx rcx, word [rbx + 0x4e]
movsx eax, word [rdi]
add rdi, 2
movsx edx, word [r9 + rcx*2 + 0x1654e0]
movzx ecx, byte [r9 + rcx*2 + 0x1654a0]
imul edx, eax
add edx, edx
shl edx, cl
sar edx, 0x10
dec r8
mov word [rdi - 2], dx
jne 0x1941f10
movzx ecx, word [rbx + 0x3a]
mov eax, 0x2800
cmp cx, ax
jg 0x1941f5a
mov word [rbx + 0x3c], cx
mov eax, 0x19a
jmp 0x1941f8b
mov eax, 0x2c00
cmp cx, ax
movzx eax, cx
jge 0x1941f7a
mov edx, 0x400
sub ax, dx
mov word [rbx + 0x3c], ax
mov eax, 0x59a
jmp 0x1941f8b
mov edx, 0x800
sub ax, dx
mov word [rbx + 0x3c], ax
mov eax, 0x99a
sub cx, ax
mov word [rbx + 0x3e], cx
movzx edi, word [rbx + 0x3c]
movzx ecx, word [rbx + 0x3e]
movzx r9d, word [rbx + 0x40]
mov r8d, 0xc00
sub di, bp
sub cx, r10w
sub r9w, r14w
cmp bp, r8w
jge 0x1941fbf
xor r9d, r9d
mov word [rsi], r9w
jmp 0x1941fdd
movzx r8d, r13w
movzx edx, di
call fcn.019419d0
mov r11d, 0x100
xor r9d, r9d
mov word [rsi], ax
mov r8d, 0xc00
movzx eax, word [rsp + 0xa0]
mov word [rbx + 0x4c], r9w
mov edx, 1
cmp ax, r11w
jne 0x1942013
cmp word [rsi], 0
jne 0x1942013
mov ecx, 0xfffffe66
cmp di, cx
jge 0x1942013
cmp bp, r8w
jle 0x1942013
mov word [rsi], r11w
mov word [rbx + 0x4c], dx
mov edi, 0x266
cmp word [rbx + 0x4a], dx
jne 0x1942073
cmp word [rsp + 0xa8], r11w
jne 0x1942077
cmp ax, r11w
jne 0x1942077
cmp word [rsi], 0
jne 0x1942081
movzx ecx, word [rbx + 0x42]
sub cx, bp
call fcn.019432b0
xor r9d, r9d
mov r11d, 0x100
cmp ax, di
jg 0x1942077
inc word [rbx + 0x48]
mov word [rsi], r11w
cmp word [rbx + 0x48], 4
mov eax, 1
mov word [rbx + 0x4c], ax
jg 0x194206d
mov word [rbx + 0x4a], ax
jmp 0x1942077
mov dword [rbx + 0x48], r9d
jmp 0x1942077
mov word [rbx + 0x4a], dx
cmp word [rsi], 0
jne 0x1942081
inc word [rbx + 0x44]
cmp word [rsi], r11w
jne 0x19420ae
cmp word [rbx + 0x44], r15w
jle 0x19420a3
movzx eax, bp
sub ax, word [rbx + 0x42]
cmp ax, di
jg 0x19420a3
mov word [rsi], r9w
mov word [rbx + 0x44], r9w
cmp word [rsi], r11w
jne 0x19420ae
mov word [rbx + 0x44], r9w
movzx eax, bp
mov ecx, 0x80
mov r8d, 0x4ccd
sub ax, word [rbx + 0x3c]
cmp ax, 0x78
jge 0x19420e4
cmp r12w, cx
movzx ecx, word [rsp + 0x68]
jle 0x19420e9
cmp word [rbx + 0x4c], 0
jne 0x19420e9
cmp cx, r8w
jge 0x19420e9
mov word [rsi], r9w
jmp 0x19420e9
movzx ecx, word [rsp + 0x68]
movzx r11d, word [rbx + 0x3c]
movzx eax, bp
sub ax, r11w
cmp ax, 0x78
jge 0x194228b
mov edx, 0x6000
cmp cx, dx
jge 0x194228b
cmp r13w, 0x53
jge 0x194228b
inc word [rbx + 0x46]
movzx ecx, word [rbx + 0x46]
cmp cx, 0x14
jns 0x1942144
movzx ecx, dx
mov edi, 0x2000
mov esi, 0x6666
mov r9d, 0x199a
mov r10d, 0x32d9
jmp 0x19421e5
cmp cx, 0x1e
jge 0x194216d
mov ecx, 0x799a
mov edi, 0x666
mov esi, 0x75c3
mov r9d, 0xa3d
mov r8d, 0x5333
mov r10d, 0x2ccd
jmp 0x19421e5
cmp cx, 0x28
jge 0x1942196
mov ecx, 0x7c29
mov edi, 0x3d7
mov esi, 0x7852
mov r9d, 0x7ae
mov r8d, 0x599a
mov r10d, 0x2666
jmp 0x19421e5
cmp cx, 0x32
jge 0x19421b3
mov ecx, 0x7eb8
mov edi, 0x148
mov esi, 0x7ae1
mov r9d, 0x51f
jmp 0x19421db
cmp cx, 0x3c
mov edi, 0xa4
mov ecx, 0x7f5c
jge 0x19421d0
mov esi, 0x7eb8
mov r9d, 0x148
jmp 0x19421db
mov esi, 0x7fbe
mov r9d, 0x42
movzx r8d, dx
mov r10d, 0x2000
mov r12, qword [rsp + 0x70]
movsx edx, cx
movsx edi, di
movsx ecx, r11w
movsx eax, bp
imul ecx, edx
imul eax, edi
add ecx, eax
movsx eax, word [rsp + 0x88]
add ecx, ecx
sar ecx, 0x10
mov word [rbx + 0x3c], cx
movsx ecx, word [rbx + 0x3e]
imul eax, edi
movsx edi, r8w
imul ecx, edx
movsx edx, word [rbx + 0x40]
add ecx, eax
add ecx, ecx
movsx eax, si
movsx esi, r10w
sar ecx, 0x10
mov word [rbx + 0x3e], cx
movsx ecx, r9w
imul edx, eax
movsx eax, r14w
imul ecx, eax
add edx, ecx
add edx, edx
sar edx, 0x10
sub r12, rbx
mov word [rbx + 0x40], dx
mov rdx, rbx
nop word [rax + rax]
movsx ecx, word [rdx + r12]
movsx eax, word [rdx]
add rdx, 2
imul ecx, esi
imul eax, edi
add ecx, eax
add ecx, ecx
sar ecx, 0x10
dec r15
mov word [rdx - 2], cx
jne 0x1942260
movzx r12d, word [rsp + 0x98]
mov eax, 0x80
cmp r12w, ax
jle 0x19422b7
movzx eax, word [rbx + 0x38]
cmp word [rbx + 0x3c], ax
jge 0x19422b7
mov word [rbx + 0x42], bp
cmp r13w, 0x53
jge 0x19422bb
mov word [rbx + 0x3c], ax
xor eax, eax
mov word [rbx + 0x46], ax
jmp 0x19422bb
mov word [rbx + 0x42], bp
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret