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

Disassembly:
mov r11, rsp
mov word [r11 + 0x20], r9w
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd8
movzx eax, word [rsp + 0x140]
xor ebx, ebx
mov qword [rsp + 0x38], rbx
movzx r10d, r9w
mov r9, rdx
mov r14, r8
mov rdx, rcx
mov r12d, ebx
mov esi, ebx
test ax, ax
je 0x14010159b
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x60], 0x40
jne 0x140101f1b
movzx r10d, word [r11 + 0x20]
movzx eax, word [rsp + 0x140]
movzx ebp, word [r9]
mov word [rsp + 0x72], bp
cmp ebp, 0x3f
ja 0x140101f1b
mov r8d, ebx
mov dword [rsp + 0x60], ebp
mov ecx, ebp
mov qword [rsp + 0x90], rbx
mov edi, 1
mov qword [rsp + 0x58], rbx
shl rdi, cl
mov r15b, 1
dec rdi
mov dword [rsp + 0x34], r15d
mov ecx, 0x803
mov qword [rsp + 0x80], rdi
test cx, r10w
mov dword [rsp + 0x50], ebx
mov r13d, ebp
mov qword [rsp + 0x88], rbx
setne r8b
mov r11, rbx
add r8w, 0x182
mov ecx, ebx
mov dword [rsp + 0x40], r8d
nop word [rax + rax]
cmp rsi, rdi
jae 0x140101ede
movzx eax, ax
cmp ecx, eax
jg 0x140101ee7
test ecx, ecx
jle 0x140101632
or r11, qword [r12 + 8]
mov qword [rsp + 0x58], r11
cmp ecx, eax
jge 0x140101651
bt r10w, 0xb
mov rax, qword [r14 + 0x18]
mov r12, qword [rax + rbx*8]
mov qword [rsp + 0x68], r12
jb 0x140101e97
jmp 0x14010165e
mov r12, qword [rsp + 0x148]
mov qword [rsp + 0x68], r12
test dword [r12 + 0x38], 0x400
jne 0x140101ebf
movzx eax, r10w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x70], ax
je 0x14010168b
xor r14d, r14d
mov word [r12 + 0x1e], r14w
jmp 0x14010168e
xor r14d, r14d
movzx eax, byte [r12 + 0x10]
mov ebp, r14d
imul rcx, rax, 0x68
mov rax, qword [rdx + 8]
mov edx, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x44], edx
test r13d, r13d
je 0x140101708
mov r15, qword [rsp + 0x120]
mov eax, ebp
bt rsi, rax
jb 0x1401016f9
mov esi, ebp
shl rsi, 5
add rsi, r9
mov r14d, ebp
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x1401016f4
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x14010173d
bt eax, 0x13
jae 0x1401016eb
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1401016ef
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401016d1
mov rsi, qword [rsp + 0x38]
inc ebp
cmp ebp, r13d
jl 0x1401016b4
mov r15d, dword [rsp + 0x34]
xor r14d, r14d
mov eax, dword [r12 + 0x38]
bt eax, 0xc
jb 0x140101d5e
bt eax, 8
jae 0x1401018d8
mov ebp, dword [rsp + 0x34]
mov r11, r14
mov qword [rsp + 0x78], r14
mov ecx, 1
mov word [rsp + 0x4c], r14w
jmp 0x14010191e
movzx eax, byte [rbx]
add al, 0x59
test al, 0xfd
jne 0x1401016f4
cmp dword [rbx + 0x2c], edx
jne 0x1401016f4
movzx eax, r8w
lea rcx, [r15 + 0x70]
movsx r8d, word [rbx + 0x30]
mov r9, r11
not r9
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call fcn.1400eb640
mov rdi, rax
test rax, rax
je 0x1401018b8
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x1401017ce
movzx edx, word [r12 + 0x3c]
xor ecx, ecx
test edx, edx
je 0x1401017ca
mov r8, qword [r12 + 0x48]
nop dword [rax]
movsxd rax, ecx
cmp rdi, qword [r8 + rax*8]
je 0x1401017ca
inc ecx
cmp ecx, edx
jl 0x1401017a0
mov edx, dword [rsp + 0x44]
mov r9, qword [rsp + 0x128]
mov r8d, dword [rsp + 0x40]
mov r11, qword [rsp + 0x58]
jmp 0x1401016f4
cmp ecx, edx
jge 0x1401017af
test r9b, 0x82
je 0x140101871
cmp word [rbx + 0x30], 0
jl 0x140101871
mov rbx, qword [r15]
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.1400ad320
mov rsi, rax
test rax, rax
jne 0x140101801
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [rdi]
test dword [rax + 4], 0x400
je 0x140101817
mov rdi, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
jmp 0x14010181f
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test dword [rdx + 4], 0x200
jne 0x140101846
test rdi, rdi
je 0x140101836
test dword [rdi + 4], 0x200
jne 0x140101843
mov rcx, rbx
call fcn.1400ad320
test rax, rax
jne 0x140101857
mov rdx, rdi
mov rcx, rbx
call fcn.1400ad320
test rax, rax
je 0x1401017af
mov rdx, qword [rsi]
mov r9, qword [rax]
sub r9, rdx
movzx eax, byte [rdx]
movzx r8d, byte [r9 + rdx]
cmp eax, r8d
jne 0x14010189a
test eax, eax
jne 0x1401018b3
mov rsi, qword [rsp + 0x38]
mov r11, qword [rsp + 0x58]
bts rsi, r14
mov r8d, dword [rsp + 0x40]
mov r9, qword [rsp + 0x128]
mov edx, dword [rsp + 0x44]
mov qword [rsp + 0x38], rsi
jmp 0x1401016f9
lea r10, [0x14011f7e0]
movzx ecx, byte [rax + r10]
movzx eax, byte [r8 + r10]
cmp ecx, eax
jne 0x1401017af
inc rdx
jmp 0x140101860
mov rsi, qword [rsp + 0x38]
mov r11, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
mov r9, qword [rsp + 0x128]
mov edx, dword [rsp + 0x44]
jmp 0x1401016f9
mov r11, qword [r12 + 0x20]
mov qword [rsp + 0x78], r11
test r11, r11
je 0x140101f1b
test byte [r11 + 0x64], 4
jne 0x140101f1b
cmp byte [r11 + 0x62], 0
movzx ecx, word [r11 + 0x5e]
mov word [rsp + 0x4c], cx
movzx ecx, word [r11 + 0x60]
je 0x140101917
bt eax, 0xf
jb 0x140101917
mov bpl, 1
jmp 0x14010191a
xor bpl, bpl
mov dword [rsp + 0x34], ebp
xor al, al
xor dl, dl
xor dil, dil
mov byte [rsp + 0x31], al
movzx eax, cx
mov r13d, r14d
mov byte [rsp + 0x30], dl
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x74], eax
test eax, eax
je 0x140101d54
movzx r10d, word [r12 + 0x18]
mov bl, 1
cmp r13d, r10d
jge 0x1401019c7
movzx eax, word [r12 + 0x3e]
cmp r13d, eax
jl 0x1401019c7
mov r9, qword [r12 + 0x48]
movsxd rax, r13d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test ax, r8w
je 0x140101997
mov r9, qword [rsp + 0x128]
mov ecx, 0x180
test cx, ax
movzx eax, bpl
mov ecx, r14d
cmove ecx, eax
movzx ebp, cl
mov dword [rsp + 0x34], ebp
jmp 0x140101d1d
test bl, al
je 0x1401019c7
mov r8, qword [rcx]
lea edx, [r13 + 1]
cmp edx, r10d
jge 0x1401019c7
nop word [rax + rax]
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x1401019c5
inc edx
cmp edx, r10d
jl 0x1401019b0
jmp 0x1401019c7
xor bl, bl
test r11, r11
je 0x1401019f4
mov rax, qword [r11 + 8]
movsxd rcx, r13d
movsx r15d, word [rax + rcx*2]
mov rax, qword [r11 + 0x38]
movzx r12d, byte [rcx + rax]
mov rax, qword [r11 + 0x18]
and r12b, 1
movsx ecx, word [rax + 0x34]
cmp r15d, ecx
jne 0x1401019fd
jmp 0x1401019f7
xor r12b, r12b
mov r15d, 0xffffffff
test bpl, bpl
je 0x140101a39
test r15d, r15d
js 0x140101a29
cmp r13d, r10d
jl 0x140101a39
movsxd rax, r15d
lea rdx, [rax + rax*2]
mov rax, qword [r11 + 0x18]
mov rcx, qword [rax + 8]
test byte [rcx + rdx*8 + 8], 0xf
jne 0x140101a39
mov byte [rsp + 0x34], 0
jmp 0x140101a39
cmp r15d, 0xfffffffe
movzx ebp, bpl
cmove ebp, r14d
mov dword [rsp + 0x34], ebp
xor ebp, ebp
mov r14d, ebp
test bl, bl
je 0x140101be4
nop word [rax + rax]
cmp r14d, dword [rsp + 0x60]
jge 0x140101be0
mov eax, r14d
bt rsi, rax
jb 0x140101bd5
mov r8, qword [rsp + 0x128]
movsxd rsi, r14d
mov rdx, rsi
shl rdx, 5
mov rdx, qword [rdx + r8 + 8]
test rdx, rdx
je 0x140101bd0
nop dword [rax + rax]
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x140101ab8
bt eax, 0x13
jae 0x140101aaa
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x140101aae
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140101a90
jmp 0x140101bd0
test byte [rsp + 0x138], 0xc0
mov ecx, ebp
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx ebp, cl
cmp r15d, 0xffffffff
jl 0x140101b02
movzx eax, byte [rdx]
cmp al, 0xa7
je 0x140101ae3
cmp al, 0xa9
jne 0x140101bce
mov eax, dword [rsp + 0x44]
cmp dword [rdx + 0x2c], eax
jne 0x140101bce
movsx eax, word [rdx + 0x30]
cmp eax, r15d
jne 0x140101bce
movsxd rdi, r13d
jmp 0x140101b62
mov rax, qword [r11 + 0x50]
movsxd rdi, r13d
mov rcx, rdi
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x140101b33
nop word [rax + rax]
test dword [r8 + 4], 0x2000
je 0x140101b33
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x140101b20
test dword [rdx + 4], 0x2000
je 0x140101b45
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140101b33
mov r9d, dword [rsp + 0x44]
xor ecx, ecx
call fcn.1400ad530
mov r11, qword [rsp + 0x78]
test eax, eax
jne 0x140101bce
mov r8, qword [rsp + 0x128]
cmp r15d, 0xffffffff
je 0x140101c29
mov rax, qword [rsp + 0x120]
shl rsi, 5
mov rbx, qword [rax]
mov rdx, qword [rsi + r8 + 8]
mov rcx, rbx
call fcn.1400ad320
test rax, rax
jne 0x140101b94
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov r11, qword [rsp + 0x78]
mov rdx, qword [rax]
mov rax, qword [r11 + 0x40]
lea r11, [0x14011f7e0]
mov r9, qword [rax + rdi*8]
sub r9, rdx
nop
movzx ecx, byte [rdx]
movzx r8d, byte [rdx + r9]
cmp ecx, r8d
jne 0x140101c16
test ecx, ecx
jne 0x140101c24
mov r11, qword [rsp + 0x78]
movzx ebx, bpl
test ecx, ecx
je 0x140101c29
xor ebp, ebp
mov rsi, qword [rsp + 0x38]
inc r14d
test bl, bl
jne 0x140101a50
mov edi, dword [rsp + 0x48]
mov r9, qword [rsp + 0x128]
mov r12, qword [rsp + 0x68]
test r13d, r13d
je 0x140101c04
movzx eax, word [rsp + 0x4c]
cmp r13d, eax
jge 0x140101d36
mov rsi, qword [rsp + 0x38]
xor r15b, r15b
mov dword [rsp + 0x34], r15d
jmp 0x140101d40
movzx ecx, byte [rcx + r11]
movzx eax, byte [r8 + r11]
sub ecx, eax
jne 0x140101bc1
inc rdx
jmp 0x140101bb0
cmp word [rsp + 0x70], 0
je 0x140101c3e
mov rcx, qword [rsp + 0x68]
lea eax, [r13 + 1]
mov word [rcx + 0x1e], ax
test byte [rsp + 0x138], 0x40
mov r10b, 1
mov r9, qword [rsp + 0x128]
jne 0x140101cc0
movzx edi, byte [rsp + 0x31]
movsxd rax, r14d
shl rax, 5
movzx edx, byte [rax + r9 + 0x18]
and dl, r10b
test dil, dil
je 0x140101c9b
movzx r8d, byte [rsp + 0x30]
xor eax, eax
xor r12b, r8b
mov byte [rsp + 0x30], r8b
cmp r12b, dl
mov byte [rsp + 0x31], dil
mov ecx, eax
movzx eax, r10b
cmove ecx, eax
test cl, cl
jne 0x140101cc0
mov edi, dword [rsp + 0x48]
jmp 0x140101bec
xor dl, r12b
mov byte [rsp + 0x30], dl
je 0x140101cbb
mov rdx, qword [rsp + 0x150]
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x31], r10b
mov r12, qword [rsp + 0x68]
movsxd rcx, r14d
mov rax, rcx
shl rax, 5
test byte [rax + r9 + 0x18], 2
je 0x140101ceb
movzx eax, word [r12 + 0x18]
cmp r13d, eax
jne 0x140101d2d
or dword [r12 + 0x38], 0x80000
mov edi, dword [rsp + 0x48]
cmp r15d, 0xffffffff
mov rsi, qword [rsp + 0x38]
mov eax, 1
mov ebp, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x40]
movzx edi, dil
cmove edi, eax
bts rsi, rcx
mov qword [rsp + 0x38], rsi
xor r14d, r14d
mov dword [rsp + 0x48], edi
inc r13d
cmp r13d, dword [rsp + 0x74]
jl 0x140101943
jmp 0x140101d3b
mov edi, dword [rsp + 0x48]
jmp 0x140101bf1
mov rsi, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x34]
mov r13d, dword [rsp + 0x60]
test dil, dil
je 0x140101d5e
mov r15b, 1
mov dword [rsp + 0x34], r15d
jmp 0x140101d67
mov r15d, dword [rsp + 0x34]
mov r13d, dword [rsp + 0x60]
test r15b, r15b
je 0x140101e68
mov r14, qword [rsp + 0x90]
xor ecx, ecx
or r14, qword [r12 + 8]
mov edi, ecx
mov qword [rsp + 0x90], r14
test r13d, r13d
je 0x140101e68
mov r15, qword [rsp + 0x120]
mov r12d, 1
nop word [rax + rax]
mov eax, edi
bt rsi, rax
jb 0x140101e4b
mov eax, edi
shl rax, 5
mov ebp, edi
mov rbx, qword [rax + r9 + 8]
test rbx, rbx
je 0x140101dd4
lea rcx, [r15 + 0x258]
mov rdx, rbx
call fcn.1400eb5d0
mov rsi, rax
xor ecx, ecx
jmp 0x140101dd7
mov rsi, rcx
test rsi, rsi
jne 0x140101e29
mov word [rsp + 0xbc], r12w
lea rax, [fcn.14006f0d0]
mov qword [rsp + 0xa0], rax
lea rax, [0x1400ce240]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xc0], ecx
test rbx, rbx
je 0x140101e29
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.1400e5a90
cmp word [rsp + 0xbc], si
je 0x140101e44
mov rax, r14
not rax
test rsi, rax
mov rsi, qword [rsp + 0x38]
jne 0x140101e49
bts rsi, rbp
mov qword [rsp + 0x38], rsi
jmp 0x140101e49
mov rsi, qword [rsp + 0x38]
xor ecx, ecx
mov r9, qword [rsp + 0x128]
inc edi
cmp edi, r13d
jl 0x140101da0
mov r12, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x120]
movzx r10d, word [rsp + 0x138]
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov r11, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x80]
mov r14, qword [rsp + 0x130]
inc qword [rsp + 0x88]
inc ecx
mov dword [rsp + 0x50], ecx
test r15b, r15b
je 0x140101edb
mov rbx, qword [rsp + 0x88]
movzx eax, word [rsp + 0x140]
jmp 0x140101610
cmp byte [r12 + 0x20], 0
je 0x140101ee7
mov eax, 0x280
and r10w, ax
mov eax, 0x80
cmp r10w, ax
jne 0x140101ee0
cmp rsi, rdi
jne 0x140101ee7
movzx eax, byte [rsp + 0x72]
jmp 0x140101f1d
test r15b, r15b
jne 0x140101f36
lea ecx, [r13 - 1]
test ecx, ecx
jle 0x140101f1b
cmp ecx, 0x40
jge 0x140101f06
mov edx, 1
shl rdx, cl
dec rdx
jmp 0x140101f0a
xor eax, eax
mov edx, eax
mov rax, rdx
and rax, rsi
cmp rax, rdx
je 0x140101f31
dec ecx
test ecx, ecx
jg 0x140101ef4
xor al, al
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx eax, cl
jmp 0x140101f1d
mov al, 0xff
jmp 0x140101f1d