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

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 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 r10d, r10d
mov qword [rsp + 0x48], r10
mov r13, r8
mov r8, rdx
mov r11, rcx
mov r12d, r10d
mov esi, r10d
test ax, ax
je 0x140109f48
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x5c], 0x40
jne 0x14010a87c
movzx eax, word [rsp + 0x140]
xor r10d, r10d
movzx r14d, word [rdx]
mov word [rsp + 0x6a], r14w
cmp r14d, 0x3f
ja 0x14010a87c
mov ecx, r14d
mov dword [rsp + 0x38], r14d
mov edi, r10d
mov byte [rsp + 0x34], 1
mov ebx, 1
mov qword [rsp + 0x90], r10
shl rbx, cl
movzx ebp, r9w
dec rbx
mov qword [rsp + 0x88], r10
mov ecx, 0x800
mov qword [rsp + 0x80], rbx
and bp, cx
mov rdx, r10
mov ecx, r10d
mov qword [rsp + 0x70], rdx
setne dil
mov word [rsp + 0x50], bp
add di, 0x182
mov dword [rsp + 0x5c], ecx
mov r15d, r14d
mov dword [rsp + 0x3c], edi
xor r14d, r14d
cmp rsi, rbx
jae 0x14010a82a
movzx eax, ax
cmp ecx, eax
jg 0x14010a847
test ecx, ecx
jle 0x140109fe4
or rdx, qword [r12 + 8]
mov qword [rsp + 0x70], rdx
cmp ecx, eax
jge 0x14010a000
mov rax, qword [r13 + 0x18]
mov r12, qword [rax + r10*8]
mov qword [rsp + 0x60], r12
test bp, bp
jne 0x14010a7fe
jmp 0x14010a00d
mov r12, qword [rsp + 0x148]
mov qword [rsp + 0x60], r12
mov edx, dword [r12 + 0x28]
bt edx, 0xa
jb 0x14010a83a
movzx eax, r9w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x68], ax
je 0x14010a035
mov word [r12 + 0x1e], r14w
movzx eax, byte [r12 + 0x10]
mov ebp, r14d
imul rcx, rax, 0x70
mov rax, qword [r11 + 8]
mov r10d, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x40], r10d
test r15d, r15d
je 0x14010a242
mov r13d, dword [rsp + 0x38]
lea r14, [r8 + 8]
xor edx, edx
mov r15d, edx
nop word [rax + rax]
mov eax, ebp
bt rsi, rax
jb 0x14010a214
mov rbx, qword [r14]
test rbx, rbx
je 0x14010a0a7
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x14010a0a7
bt eax, 0x12
jae 0x14010a09e
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x14010a0a2
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14010a084
cmp byte [rbx], 0xa4
jne 0x14010a214
cmp dword [rbx + 0x2c], r10d
jne 0x14010a214
mov r9, qword [rsp + 0x70]
lea rcx, [r11 + 0x68]
movsx r8d, word [rbx + 0x30]
not r9
mov qword [rsp + 0x28], rdx
mov edx, r10d
movzx eax, di
mov dword [rsp + 0x20], eax
call fcn.140105760
mov rdi, rax
test rax, rax
je 0x14010a201
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x14010a12c
movzx edx, word [r12 + 0x2c]
xor eax, eax
mov ecx, eax
test edx, edx
je 0x14010a124
mov r8, qword [r12 + 0x38]
nop word [rax + rax]
movsxd rax, ecx
cmp rdi, qword [r8 + rax*8]
je 0x14010a124
inc ecx
cmp ecx, edx
jl 0x14010a110
jmp 0x14010a201
cmp ecx, edx
jge 0x14010a201
test r9b, 0x82
je 0x14010a1d7
cmp word [rbx + 0x30], 0
jl 0x14010a1d7
mov rbx, qword [rsp + 0x120]
mov rdx, qword [r14]
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.1400ae5c0
mov rsi, rax
test rax, rax
jne 0x14010a166
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [rdi]
test dword [rax + 4], 0x200
je 0x14010a17c
mov rdi, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
jmp 0x14010a184
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test dword [rdx + 4], 0x100
jne 0x14010a1ab
test rdi, rdi
je 0x14010a19b
test dword [rdi + 4], 0x100
jne 0x14010a1a8
mov rcx, rbx
call fcn.1400ae5c0
test rax, rax
jne 0x14010a1b8
mov rdx, rdi
mov rcx, rbx
call fcn.1400ae5c0
test rax, rax
je 0x14010a1fc
mov r8, qword [rsi]
mov r9, qword [rax]
sub r9, r8
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x14010a1e2
test ecx, ecx
jne 0x14010a1f7
mov rsi, qword [rsp + 0x48]
bts rsi, r15
mov qword [rsp + 0x48], rsi
jmp 0x14010a201
lea r10, [0x14013c340]
movzx edx, byte [rax + r10]
movzx ecx, byte [rcx + r10]
cmp ecx, edx
jne 0x14010a1fc
inc r8
jmp 0x14010a1c1
mov rsi, qword [rsp + 0x48]
mov edi, dword [rsp + 0x3c]
xor edx, edx
mov r11, qword [rsp + 0x120]
mov r10d, dword [rsp + 0x40]
inc ebp
inc r15
add r14, 0x20
cmp ebp, r13d
jl 0x14010a070
mov edx, dword [r12 + 0x28]
mov r15d, r13d
mov r8, qword [rsp + 0x128]
xor r14d, r14d
movzx r9d, word [rsp + 0x138]
bt edx, 0xc
jb 0x14010a6c4
bt edx, 8
jae 0x14010a26a
mov ebp, dword [rsp + 0x34]
xor edx, edx
mov r11d, edx
mov qword [rsp + 0x78], rdx
mov word [rsp + 0x58], dx
lea eax, [rdx + 1]
jmp 0x14010a2b2
mov r11, qword [r12 + 0x20]
mov qword [rsp + 0x78], r11
test r11, r11
je 0x14010a87c
test byte [r11 + 0x64], 4
jne 0x14010a87c
cmp byte [r11 + 0x62], 0
movzx eax, word [r11 + 0x5e]
mov word [rsp + 0x58], ax
movzx eax, word [r11 + 0x60]
je 0x14010a2a9
bt edx, 0xf
jb 0x14010a2a9
mov bpl, 1
jmp 0x14010a2ac
xor bpl, bpl
xor edx, edx
mov dword [rsp + 0x34], ebp
xor cl, cl
movzx eax, ax
xor dil, dil
mov byte [rsp + 0x31], cl
mov byte [rsp + 0x30], cl
mov r13d, edx
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x6c], eax
test eax, eax
je 0x14010a6c1
nop word [rax + rax]
movzx r10d, word [r12 + 0x18]
mov bl, 1
cmp r13d, r10d
jge 0x14010a369
movzx eax, word [r12 + 0x2e]
cmp r13d, eax
jl 0x14010a369
mov r9, qword [r12 + 0x38]
movsxd rax, r13d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test word [rsp + 0x3c], ax
je 0x14010a335
movzx r9d, word [rsp + 0x138]
mov ecx, 0x180
test cx, ax
movzx eax, bpl
mov ecx, edx
cmove ecx, eax
movzx ebp, cl
mov dword [rsp + 0x34], ebp
jmp 0x14010a6a0
test bl, al
je 0x14010a369
mov r8, qword [rcx]
lea edx, [r13 + 1]
cmp edx, r10d
jge 0x14010a367
nop word [rax + rax]
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x14010a365
inc edx
cmp edx, r10d
jl 0x14010a350
jmp 0x14010a367
xor bl, bl
xor edx, edx
test r11, r11
je 0x14010a396
mov rax, qword [r11 + 8]
movsxd rcx, r13d
movsx r14d, 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 + 0x44]
cmp r14d, ecx
jne 0x14010a39f
jmp 0x14010a399
xor r12b, r12b
mov r14d, 0xffffffff
test bpl, bpl
je 0x14010a3cd
test r14d, r14d
js 0x14010a3cd
cmp r13d, r10d
jl 0x14010a3cd
mov rax, qword [r11 + 0x18]
movzx ebp, bpl
mov rcx, qword [rax + 8]
movsxd rax, r14d
shl rax, 5
cmp byte [rax + rcx + 0x18], 0
cmove ebp, edx
mov dword [rsp + 0x34], ebp
mov ebp, edx
test bl, bl
je 0x14010a576
cmp ebp, r15d
jge 0x14010a572
mov eax, ebp
bt rsi, rax
jb 0x14010a568
movsxd r15, ebp
mov rsi, r15
shl rsi, 5
add rsi, qword [rsp + 0x128]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14010a433
nop word [rax + rax]
mov eax, dword [rdx + 4]
test eax, 0x41000
je 0x14010a433
bt eax, 0x12
jae 0x14010a42a
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x14010a42e
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x14010a410
test byte [rsp + 0x138], 0xc0
mov ecx, 0
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x14010a474
cmp byte [rdx], 0xa4
jne 0x14010a55e
mov eax, dword [rsp + 0x40]
cmp dword [rdx + 0x2c], eax
jne 0x14010a55e
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jmp 0x14010a4f6
mov rax, qword [r11 + 0x50]
movsxd rcx, r13d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x14010a4b4
nop dword [rax]
mov eax, dword [r8 + 4]
test eax, 0x41000
je 0x14010a4b4
bt eax, 0x12
jae 0x14010a4ab
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x14010a4af
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x14010a490
test rdx, rdx
je 0x14010a4e3
nop dword [rax]
mov eax, dword [rdx + 4]
test eax, 0x41000
je 0x14010a4e3
bt eax, 0x12
jae 0x14010a4da
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x14010a4de
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x14010a4c0
mov r9d, dword [rsp + 0x40]
xor ecx, ecx
call fcn.1400b7940
mov r11, qword [rsp + 0x78]
test eax, eax
jne 0x14010a55e
cmp r14d, 0xffffffff
je 0x14010a5ce
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsi + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1400ae5c0
test rax, rax
jne 0x14010a525
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov r8, qword [rax]
lea r15, [0x14013c340]
mov r11, qword [rsp + 0x78]
movsxd rcx, r13d
mov rax, qword [r11 + 0x40]
mov r9, qword [rax + rcx*8]
sub r9, r8
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x14010a5b8
test edx, edx
jne 0x14010a5c6
movsxd r15, ebp
movzx ebx, dil
test edx, edx
je 0x14010a5ce
mov rsi, qword [rsp + 0x48]
mov r15d, dword [rsp + 0x38]
inc ebp
test bl, bl
jne 0x14010a3d7
mov edi, dword [rsp + 0x54]
mov r8, qword [rsp + 0x128]
movzx r9d, word [rsp + 0x138]
mov r12, qword [rsp + 0x60]
test r13d, r13d
je 0x14010a59b
movzx eax, word [rsp + 0x58]
cmp r13d, eax
jge 0x14010a5a0
mov byte [rsp + 0x34], 0
mov rsi, qword [rsp + 0x48]
test dil, dil
je 0x14010a6c1
mov byte [rsp + 0x34], 1
jmp 0x14010a6cf
movzx ecx, byte [rax + r15]
movzx edx, byte [rdx + r15]
sub edx, ecx
jne 0x14010a553
inc r8
jmp 0x14010a542
cmp word [rsp + 0x68], 0
je 0x14010a5e3
mov rcx, qword [rsp + 0x60]
lea eax, [r13 + 1]
mov word [rcx + 0x1e], ax
movzx r9d, word [rsp + 0x138]
mov r8, qword [rsp + 0x128]
test r9b, 0x40
jne 0x14010a64c
mov rax, r15
shl rax, 5
movzx ecx, byte [rax + r8 + 0x18]
and cl, 1
cmp byte [rsp + 0x31], 0
je 0x14010a624
xor r12b, byte [rsp + 0x30]
cmp r12b, cl
je 0x14010a64c
mov edi, dword [rsp + 0x54]
jmp 0x14010a587
movzx edx, cl
xor dl, r12b
mov byte [rsp + 0x30], dl
je 0x14010a647
mov rdx, qword [rsp + 0x150]
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x31], 1
mov r12, qword [rsp + 0x60]
mov rax, r15
shl rax, 5
test byte [rax + r8 + 0x18], 2
je 0x14010a674
movzx eax, word [r12 + 0x18]
cmp r13d, eax
jne 0x14010a6b8
or dword [r12 + 0x28], 0x80000
mov edi, dword [rsp + 0x54]
cmp r14d, 0xffffffff
mov rsi, qword [rsp + 0x48]
mov eax, 1
mov ebp, dword [rsp + 0x34]
movzx edi, dil
cmove edi, eax
bts rsi, r15
mov qword [rsp + 0x48], rsi
xor edx, edx
mov dword [rsp + 0x54], edi
inc r13d
cmp r13d, dword [rsp + 0x6c]
jge 0x14010a5a5
mov r15d, dword [rsp + 0x38]
jmp 0x14010a2e0
mov edi, dword [rsp + 0x54]
jmp 0x14010a58c
xor r14d, r14d
cmp byte [rsp + 0x34], 0
je 0x14010a833
mov r14, qword [rsp + 0x90]
xor ecx, ecx
or r14, qword [r12 + 8]
mov edi, ecx
mov r15d, dword [rsp + 0x38]
mov qword [rsp + 0x90], r14
test r15d, r15d
je 0x14010a7d1
mov r12, qword [rsp + 0x120]
nop
mov eax, edi
bt rsi, rax
jb 0x14010a7b0
mov eax, edi
shl rax, 5
mov ebp, edi
mov rbx, qword [rax + r8 + 8]
test rbx, rbx
je 0x14010a735
lea rcx, [r12 + 0x290]
mov rdx, rbx
call fcn.140104940
mov rsi, rax
xor ecx, ecx
jmp 0x14010a738
mov rsi, rcx
test rsi, rsi
jne 0x14010a78e
mov dword [rsp + 0xc0], ecx
mov eax, 1
mov word [rsp + 0xbc], ax
lea rax, [fcn.1400b1440]
mov qword [rsp + 0xa0], rax
lea rax, [0x1400b1290]
mov qword [rsp + 0xa8], rax
test rbx, rbx
je 0x14010a78e
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.1400aaac0
cmp word [rsp + 0xbc], si
je 0x14010a7a9
mov rax, r14
not rax
test rsi, rax
mov rsi, qword [rsp + 0x48]
jne 0x14010a7ae
bts rsi, rbp
mov qword [rsp + 0x48], rsi
jmp 0x14010a7ae
mov rsi, qword [rsp + 0x48]
xor ecx, ecx
mov r8, qword [rsp + 0x128]
inc edi
cmp edi, r15d
jl 0x14010a700
mov r12, qword [rsp + 0x60]
movzx r9d, word [rsp + 0x138]
xor r14d, r14d
mov r11, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x5c]
mov edi, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
movzx ebp, word [rsp + 0x50]
mov r13, qword [rsp + 0x130]
inc qword [rsp + 0x88]
inc ecx
cmp byte [rsp + 0x34], 0
mov r10, qword [rsp + 0x88]
movzx eax, word [rsp + 0x140]
mov dword [rsp + 0x5c], ecx
jne 0x140109fc2
cmp rsi, rbx
jne 0x14010a847
movzx eax, byte [rsp + 0x6a]
jmp 0x14010a87e
mov r15d, dword [rsp + 0x38]
jmp 0x14010a7d4
cmp byte [r12 + 0x1d], 0
je 0x14010a847
test r9b, r9b
jns 0x14010a82c
cmp byte [rsp + 0x34], 0
jne 0x14010a897
lea ecx, [r15 - 1]
test ecx, ecx
jle 0x14010a87c
nop word [rax + rax]
mov edx, 1
shl rdx, cl
dec rdx
mov rax, rdx
and rax, rsi
cmp rax, rdx
je 0x14010a892
dec ecx
test ecx, ecx
jg 0x14010a860
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 0x14010a87e
mov al, 0xff
jmp 0x14010a87e