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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
mov qword [rsp + 0x158], rdx
mov edx, dword [rsp + 0x170]
mov qword [rsp + 0x150], rcx
mov qword [rsp + 0x160], r8
mov dword [rsp + 0xc8], r9d
mov word [rsp + 0x78], r9w
test dx, dx
je 0x140194245
mov rax, qword [rcx]
mov rax, qword [rax]
test byte [rax + 0x60], 0x40
jne 0x140194580
mov rax, qword [rsp + 0x158]
mov eax, dword [rax]
mov dword [rsp + 0xcc], eax
mov esi, eax
cmp ax, 0x3f
ja 0x140194580
mov ecx, esi
movzx r10d, ax
mov eax, 1
xor esi, esi
shl rax, cl
test dword [rsp + 0xc8], 0x803
setne sil
add si, 0x182
sub rax, 1
mov word [rsp + 0x94], si
mov qword [rsp + 0xa0], rax
je 0x140194681
movzx eax, dx
xor r11d, r11d
lea r15, [0x1403cfba0]
mov r13d, r10d
mov dword [rsp + 0xc0], eax
movzx eax, dx
mov r14, r11
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x98], 0
jmp 0x14019432c
cmp r14, qword [rsp + 0xa0]
jae 0x140194d58
mov rsi, qword [rsp + 0x88]
lea rax, [rsi + 1]
cmp qword [rsp + 0xa8], rsi
je 0x140194d4e
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov rsi, qword [rdi + 8]
or qword [rsp + 0x98], rsi
mov rsi, qword [rsp + 0x88]
mov dword [rsp + 0x38], esi
cmp dword [rsp + 0xc0], esi
jle 0x140194640
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rsi*8]
mov qword [rsp + 0x30], rax
test word [rsp + 0x78], 0x800
jne 0x1401942eb
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x38]
test dh, 4
jne 0x14019465e
movzx eax, word [rsp + 0x78]
and ax, 0x80
mov word [rsp + 0x96], ax
je 0x140194394
mov rax, qword [rsp + 0x30]
xor r8d, r8d
mov word [rax + 0x1e], r8w
mov rax, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x150]
movzx eax, byte [rax + 0x10]
lea rcx, [rax + rax*2]
lea rax, [rax + rcx*4]
shl rax, 3
add rax, qword [rsi + 8]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x3c], eax
test r13d, r13d
je 0x140194ca0
mov rax, qword [rsp + 0x158]
mov r12, qword [rsp + 0x98]
xor edi, edi
add rax, 8
not r12
mov qword [rsp + 0x40], rax
mov rbp, rax
mov rax, r12
mov r12d, r13d
mov r13, rax
nop
mov rsi, r14
mov ecx, edi
shr rsi, cl
and esi, 1
jne 0x140194440
mov rbx, qword [rbp]
test rbx, rbx
jne 0x14019441d
jmp 0x140194440
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140194440
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x1401945a0
test eax, 0x80000
jne 0x140194410
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14019441d
nop dword [rax + rax]
add edi, 1
add rbp, 0x20
cmp r12d, edi
jne 0x1401943f0
mov rax, qword [rsp + 0x30]
mov r13d, r12d
mov edx, dword [rax + 0x38]
test dh, 0x10
jne 0x140194690
test dh, 1
jne 0x140194763
mov rax, qword [rsp + 0x30]
mov r11, qword [rax + 0x20]
test r11, r11
je 0x140194580
test byte [r11 + 0x64], 4
jne 0x140194580
movzx eax, word [r11 + 0x5e]
movzx esi, byte [r11 + 0x62]
mov word [rsp + 0xc6], ax
movzx eax, word [r11 + 0x60]
mov byte [rsp + 0x7b], sil
mov dword [rsp + 0x7c], eax
test sil, sil
je 0x140194c91
and dh, 0x80
je 0x140194cbf
test eax, eax
je 0x14019451a
mov byte [rsp + 0x7b], 0
jmp 0x14019477d
mov ebp, r12d
add esi, 1
add rdi, 0x20
cmp r13d, esi
jle 0x1401944e8
test bpl, bpl
jne 0x1401948d0
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x140194920
movzx eax, word [rsp + 0xc6]
cmp eax, ecx
jg 0x140194920
cmp byte [rsp + 0x48], 0
jne 0x14019492b
cmp byte [rsp + 0x7b], 0
jne 0x14019492b
mov r11, r14
mov r10d, r13d
cmp r14, qword [rsp + 0xa0]
je 0x140194681
lea ecx, [r10 - 1]
test ecx, ecx
jle 0x140194580
cmp ecx, 0x3f
jg 0x140194d2d
mov eax, 1
mov rdx, r11
shl rax, cl
sub rax, 1
and rdx, rax
cmp rdx, rax
je 0x140194d2d
mov r8d, 1
jmp 0x14019457b
mov rax, r8
mov rdx, r11
shl rax, cl
sub rax, 1
and rdx, rax
cmp rdx, rax
je 0x140194d2d
sub ecx, 1
jne 0x140194562
xor eax, eax
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rbx]
add eax, 0x59
test al, 0xfd
jne 0x140194440
mov eax, dword [rsp + 0x3c]
cmp dword [rbx + 0x2c], eax
jne 0x140194440
mov rax, qword [rsp + 0x150]
movsx r8d, word [rbx + 0x30]
mov r9, r13
mov qword [rsp + 0x28], 0
mov edx, dword [rsp + 0x3c]
lea rcx, [rax + 0x80]
movzx eax, word [rsp + 0x94]
mov dword [rsp + 0x20], eax
call fcn.140194140
mov r8, rax
test rax, rax
je 0x140194440
movzx eax, word [rax + 0x14]
cmp ax, 1
je 0x140194ce8
mov qword [rsp + 0x48], r8
test al, 0x82
je 0x14019461e
cmp word [rbx + 0x30], 0
jns 0x140194c07
mov ecx, edi
mov eax, 1
add edi, 1
add rbp, 0x20
shl rax, cl
or r14, rax
cmp r12d, edi
jne 0x1401943f0
jmp 0x14019444c
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x38]
test dh, 4
je 0x140194374
cmp byte [rax + 0x20], 0
mov r11, r14
je 0x140194d40
movzx eax, word [rsp + 0xc8]
and ax, 0x280
cmp ax, 0x80
je 0x140194d40
movzx eax, byte [rsp + 0xcc]
jmp 0x140194582
mov rsi, qword [rsp + 0x30]
mov rsi, qword [rsi + 8]
or qword [rsp + 0xb0], rsi
mov rdi, qword [rsp + 0x40]
xor ebp, ebp
lea rbx, [0x140170010]
lea rsi, [0x140158b00]
jmp 0x1401946f4
mov rax, qword [rsp + 0x150]
mov rdx, r12
lea rcx, [rax + 0x268]
call fcn.14016fa90
test rax, rax
je 0x140194711
mov rdx, qword [rsp + 0xb0]
not rdx
test rdx, rax
je 0x140194702
add ebp, 1
add rdi, 0x20
cmp r13d, ebp
jle 0x1401942eb
bt r14, rbp
jb 0x1401946e4
mov r12, qword [rdi]
test r12, r12
jne 0x1401946b8
mov eax, 1
mov ecx, ebp
shl rax, cl
or r14, rax
jmp 0x1401946e4
mov eax, 1
lea rcx, [rsp + 0xd0]
mov rdx, r12
mov qword [rsp + 0xd8], rbx
mov word [rsp + 0xf4], ax
mov qword [rsp + 0xe0], rsi
mov dword [rsp + 0xf8], 0
call fcn.140171470
cmp word [rsp + 0xf4], 0
je 0x1401946e4
mov eax, 1
mov ecx, ebp
shl rax, cl
or r14, rax
jmp 0x1401946e4
xor ecx, ecx
mov dword [rsp + 0x7c], 1
xor r11d, r11d
mov word [rsp + 0xc6], cx
mov byte [rsp + 0x7b], 1
movzx ecx, byte [rsp + 0x38]
mov eax, 1
xor r12d, r12d
mov qword [rsp + 0x58], 1
mov byte [rsp + 0x48], 0
shl rax, cl
mov byte [rsp + 0xc5], 0
mov qword [rsp + 0xb8], rax
mov byte [rsp + 0xc4], 0
jmp 0x14019480d
movzx edx, word [rdi + 0x3e]
cmp edx, r12d
jg 0x140194825
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rdi + 0x48]
mov r8, qword [rcx + r12*8]
movzx edx, word [r8 + 0x14]
test word [rsp + 0x94], dx
je 0x140194b56
movzx edi, byte [rsp + 0x7b]
test dx, 0x180
mov eax, 0
cmovne edi, eax
mov byte [rsp + 0x7b], dil
add qword [rsp + 0x58], 1
add r12, 1
cmp dword [rsp + 0x7c], r12d
jle 0x140194504
mov rdi, qword [rsp + 0x30]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x50], r12d
movzx eax, word [rdi + 0x18]
cmp eax, r12d
jg 0x1401947b8
test r13d, r13d
setg r10b
test r11, r11
je 0x140194ba1
mov rcx, qword [r11 + 0x38]
mov rdx, qword [r11 + 8]
mov dword [rsp + 0x38], 0xffffffff
movzx ecx, byte [rcx + r12]
movsx rdx, word [rdx + r12*2]
and ecx, 1
mov byte [rsp + 0x93], cl
mov rcx, qword [r11 + 0x18]
cmp dx, word [rcx + 0x34]
je 0x140194898
movsx edi, dx
cmp byte [rsp + 0x7b], 0
mov dword [rsp + 0x38], edi
je 0x140194898
test edi, edi
js 0x140194bc2
cmp eax, dword [rsp + 0x50]
jg 0x140194898
lea rax, [rdx + rdx*2]
mov rdx, qword [rcx + 8]
lea rax, [rdx + rax*8]
test byte [rax + 8], 0xf
setne byte [rsp + 0x7b]
nop dword [rax]
test r10b, r10b
je 0x1401944e8
lea rax, [r12*8]
mov qword [rsp + 0x80], r12
xor esi, esi
mov r12d, r10d
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x158]
lea rdi, [rax + 8]
nop word [rax + rax]
mov rbx, r14
mov ecx, esi
shr rbx, cl
and ebx, 1
jne 0x1401944d0
mov r8, qword [rdi]
mov rdx, r8
test r8, r8
jne 0x140194909
jmp 0x1401944d0
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1401944d0
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x140194960
test eax, 0x80000
jne 0x1401948f8
mov rdx, qword [rdx + 0x10]
jmp 0x140194900
cmp byte [rsp + 0x48], 0
je 0x14019451a
mov rsi, qword [rsp + 0x30]
mov rsi, qword [rsi + 8]
or qword [rsp + 0xb0], rsi
test r13d, r13d
je 0x1401942eb
mov rax, qword [rsp + 0x158]
add rax, 8
mov qword [rsp + 0x40], rax
jmp 0x1401946a1
test byte [rsp + 0x78], 0xc0
setne bpl
cmp dword [rsp + 0x38], 0xffffffff
jl 0x140194ae0
movzx eax, byte [rdx]
add eax, 0x59
test al, 0xfd
jne 0x1401944d3
mov eax, dword [rsp + 0x3c]
cmp dword [rdx + 0x2c], eax
jne 0x1401944d3
movsx eax, word [rdx + 0x30]
cmp eax, dword [rsp + 0x38]
jne 0x1401944d3
cmp dword [rsp + 0x38], 0xffffffff
je 0x140194a14
mov rax, qword [rsp + 0x150]
mov rdx, r8
mov qword [rsp + 0x70], r11
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
call fcn.14018b100
mov rcx, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
test rax, rax
je 0x140194bb6
mov rcx, qword [rsp + 0x60]
mov rdx, qword [r11 + 0x40]
mov r8, qword [rdx + rcx]
mov rcx, qword [rax]
jmp 0x140194a03
movzx edx, byte [r15 + rdx]
cmp byte [r15 + rax], dl
jne 0x1401944d3
add rbx, 1
movzx eax, byte [rcx + rbx]
movzx edx, byte [r8 + rbx]
cmp eax, edx
jne 0x1401949f0
test eax, eax
jne 0x1401949ff
cmp word [rsp + 0x96], 0
mov r12, qword [rsp + 0x80]
je 0x140194a35
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x58]
mov word [rax + 0x1e], cx
mov rcx, qword [rsp + 0x158]
movsxd rax, esi
shl rax, 5
movzx eax, byte [rcx + rax + 0x18]
test byte [rsp + 0x78], 0x40
jne 0x140194a98
cmp byte [rsp + 0xc4], 0
jne 0x140194be6
mov edx, eax
and edx, 1
cmp dl, byte [rsp + 0x93]
je 0x140194bd1
mov rdi, qword [rsp + 0x180]
mov rcx, qword [rsp + 0xb8]
mov byte [rsp + 0xc5], 1
mov byte [rsp + 0xc4], 1
or qword [rdi], rcx
nop dword [rax + rax]
test al, 2
je 0x140194ab6
mov rdi, qword [rsp + 0x30]
movzx eax, word [rdi + 0x18]
cmp eax, dword [rsp + 0x50]
jne 0x1401944e8
or dword [rdi + 0x38], 0x80000
movzx edi, byte [rsp + 0x48]
cmp dword [rsp + 0x38], 0xffffffff
mov eax, 1
mov ecx, esi
cmove edi, eax
mov eax, 1
shl rax, cl
mov byte [rsp + 0x48], dil
or r14, rax
jmp 0x1401947f8
movsxd rax, dword [rsp + 0x40]
shl rax, 5
add rax, qword [r11 + 0x50]
mov r8, qword [rax + 8]
test r8, r8
jne 0x140194b11
jmp 0x1401944d3
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
test r8, r8
je 0x1401944d3
mov eax, dword [r8 + 4]
test eax, 0x82000
je 0x140194b30
test eax, 0x80000
jne 0x140194b00
mov r8, qword [r8 + 0x10]
jmp 0x140194b08
mov r9d, dword [rsp + 0x3c]
xor ecx, ecx
mov qword [rsp + 0x68], r11
call fcn.140191ef0
mov r11, qword [rsp + 0x68]
test eax, eax
jne 0x1401944d3
mov r8, qword [rdi]
jmp 0x1401949a4
test r13d, r13d
setg r10b
and edx, 1
je 0x14019482c
mov rdx, qword [rsp + 0x58]
mov r9, qword [r8]
cmp eax, edx
jg 0x140194b8c
jmp 0x14019482c
add rdx, 1
cmp eax, edx
jle 0x14019482c
mov r8, qword [rcx + rdx*8]
cmp qword [r8], r9
jne 0x140194b80
xor r10d, r10d
test r11, r11
jne 0x140194835
mov dword [rsp + 0x38], 0xffffffff
mov byte [rsp + 0x93], 0
jmp 0x140194898
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
jmp 0x1401949d4
cmp dword [rsp + 0x38], 0xfffffffe
setne byte [rsp + 0x7b]
jmp 0x140194898
mov byte [rsp + 0xc5], 0
mov byte [rsp + 0xc4], 1
jmp 0x140194a98
mov edx, eax
movzx ecx, byte [rsp + 0x93]
xor cl, byte [rsp + 0xc5]
and edx, 1
cmp cl, dl
jne 0x1401944e8
jmp 0x140194a98
mov rax, qword [rsp + 0x150]
mov rdx, qword [rbp]
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
call fcn.14018b100
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
test rax, rax
mov rbx, rax
je 0x140194d34
mov rax, qword [r8]
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test byte [rax + 5], 4
jne 0x140194cd8
mov r8, r9
call fcn.14018b300
test rax, rax
je 0x140194440
mov r8, qword [rax]
mov rcx, qword [rbx]
jmp 0x140194c7b
movzx ebx, byte [r15 + rdx]
cmp byte [r15 + rax], bl
jne 0x140194440
add rsi, 1
movzx eax, byte [rcx + rsi]
movzx edx, byte [r8 + rsi]
cmp eax, edx
jne 0x140194c68
test eax, eax
jne 0x140194c77
jmp 0x14019461e
test eax, eax
jne 0x14019477d
jmp 0x14019451a
test dh, 0x10
je 0x140194460
mov rsi, qword [rsp + 0x30]
mov rsi, qword [rsi + 8]
or qword [rsp + 0xb0], rsi
jmp 0x1401942eb
mov byte [rsp + 0x7b], 1
test eax, eax
jne 0x14019477d
jmp 0x14019492b
mov r8, rdx
mov rdx, r9
call fcn.14018b300
jmp 0x140194c53
mov rax, qword [rsp + 0x30]
movzx edx, word [rax + 0x3c]
test dx, dx
je 0x140194440
mov rax, qword [rax + 0x48]
sub edx, 1
lea rdx, [rax + rdx*8 + 8]
cmp qword [rax], r8
je 0x14019461e
add rax, 8
cmp rdx, rax
jne 0x140194d06
add edi, 1
add rbp, 0x20
cmp r12d, edi
jne 0x1401943f0
jmp 0x14019444c
mov eax, ecx
jmp 0x140194582
mov rax, qword [rcx]
mov rbx, qword [rax + 0x10]
jmp 0x140194c36
cmp qword [rsp + 0xa0], r11
je 0x140194681
mov eax, 0xffffffff
jmp 0x140194582
jne 0x140194d4e
jmp 0x140194681