Function at 0x1401210d0
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 + 0x48], rbx
movzx r10d, r9w
mov r8, rdx
mov r9, rcx
mov r12d, ebx
mov r15d, ebx
test ax, ax
je 0x140121139
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x5c], 0x40
jne 0x14012199c
movzx r10d, word [r11 + 0x20]
movzx eax, word [rsp + 0x140]
movzx ebp, word [rdx]
mov word [rsp + 0x62], bp
cmp bp, 0x3f
ja 0x14012199c
mov r11d, ebx
movzx r14d, bp
mov ecx, r14d
mov dword [rsp + 0x64], r14d
mov edi, 1
mov qword [rsp + 0x80], rbx
shl rdi, cl
movzx esi, r10w
dec rdi
mov qword [rsp + 0x68], rbx
mov ecx, 0x800
mov qword [rsp + 0x88], rdi
and si, cx
mov dword [rsp + 0x54], ebx
mov r13b, 1
mov word [rsp + 0x3c], si
setne r11b
mov dword [rsp + 0x30], r13d
add r11w, 0x182
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x38], r11d
mov rdx, rbx
mov ecx, ebx
cmp r15, rdi
jae 0x140121967
movzx eax, ax
cmp ecx, eax
jg 0x140121964
test ecx, ecx
jle 0x1401211d5
or rdx, qword [r12 + 8]
mov qword [rsp + 0x68], rdx
cmp ecx, eax
jge 0x1401211f9
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x18]
mov r12, qword [rax + rbx*8]
mov qword [rsp + 0x58], r12
test si, si
jne 0x14012192e
jmp 0x140121206
mov r12, qword [rsp + 0x148]
mov qword [rsp + 0x58], r12
mov edx, dword [r12 + 0x28]
bt edx, 0xa
jb 0x140121957
movzx eax, r10w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x60], ax
je 0x140121230
xor eax, eax
mov word [r12 + 0x1e], ax
movzx eax, byte [r12 + 0x10]
imul rcx, rax, 0x70
mov rax, qword [r9 + 8]
xor r9d, r9d
mov esi, r9d
mov r10d, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x40], r10d
test r14d, r14d
je 0x140121382
mov r13, qword [rsp + 0x120]
lea rdi, [r8 + 8]
mov ebp, r9d
nop word [rax + rax]
mov eax, esi
bt r15, rax
jb 0x140121359
mov rbx, qword [rdi]
test rbx, rbx
je 0x1401212a7
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x1401212a7
bt eax, 0x12
jae 0x14012129e
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1401212a2
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140121284
cmp byte [rbx], 0xa4
jne 0x140121359
cmp dword [rbx + 0x2c], r10d
jne 0x140121359
mov r9, qword [rsp + 0x68]
lea rcx, [r13 + 0x68]
movsx r8d, word [rbx + 0x30]
not r9
movzx eax, r11w
mov edx, r10d
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call fcn.14011d0b0
mov r8, rax
test rax, rax
je 0x14012134c
movzx r10d, word [rax + 0x14]
cmp r10w, 1
jne 0x140121328
movzx edx, word [r12 + 0x2c]
xor r9d, r9d
mov ecx, r9d
test edx, edx
je 0x140121324
mov r9, qword [r12 + 0x38]
nop dword [rax]
movsxd rax, ecx
cmp r8, qword [r9 + rax*8]
je 0x140121321
inc ecx
cmp ecx, edx
jl 0x140121310
jmp 0x14012134c
xor r9d, r9d
cmp ecx, edx
jge 0x14012134f
test r10b, 0x82
je 0x140121348
cmp word [rbx + 0x30], 0
jl 0x140121348
mov r8, qword [r8]
mov rdx, qword [rdi]
mov rcx, qword [r13]
call fcn.1400d4bd0
test eax, eax
je 0x14012134c
bts r15, rbp
xor r9d, r9d
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x38]
inc esi
inc rbp
add rdi, 0x20
cmp esi, r14d
jl 0x140121270
mov r13d, dword [rsp + 0x30]
mov edx, dword [r12 + 0x28]
mov r8, qword [rsp + 0x128]
mov qword [rsp + 0x48], r15
bt edx, 0xc
jb 0x140121800
bt edx, 8
jae 0x1401213ab
mov esi, dword [rsp + 0x30]
mov r11, r9
mov qword [rsp + 0x70], r9
mov eax, 1
mov word [rsp + 0x50], r9w
jmp 0x1401213f1
mov r11, qword [r12 + 0x20]
mov qword [rsp + 0x70], r11
test r11, r11
je 0x14012199c
test byte [r11 + 0x64], 4
jne 0x14012199c
cmp byte [r11 + 0x62], 0
movzx eax, word [r11 + 0x5e]
mov word [rsp + 0x50], ax
movzx eax, word [r11 + 0x60]
je 0x1401213ea
bt edx, 0xf
jb 0x1401213ea
mov sil, 1
jmp 0x1401213ed
xor sil, sil
mov dword [rsp + 0x30], esi
xor cl, cl
movzx eax, ax
xor dil, dil
mov byte [rsp + 0x35], cl
mov byte [rsp + 0x34], cl
mov r13d, r9d
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x78], eax
test eax, eax
je 0x1401217fb
nop dword [rax]
nop dword [rax + rax]
movzx r10d, word [r12 + 0x18]
mov bl, 1
cmp r13d, r10d
jge 0x14012149d
movzx eax, word [r12 + 0x2e]
cmp r13d, eax
jl 0x14012149d
mov r9, qword [r12 + 0x38]
movsxd rax, r13d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test word [rsp + 0x38], ax
je 0x140121473
mov ecx, 0x180
mov r9d, 0
test cx, ax
movzx eax, sil
mov ecx, r9d
cmove ecx, eax
movzx esi, cl
mov dword [rsp + 0x30], esi
jmp 0x1401217c4
test al, 1
je 0x14012149a
mov r8, qword [rcx]
lea edx, [r13 + 1]
cmp edx, r10d
jge 0x14012149a
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x140121498
inc edx
cmp edx, r10d
jl 0x140121483
jmp 0x14012149a
xor bl, bl
xor r9d, r9d
test r11, r11
je 0x1401214ca
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 0x1401214d3
jmp 0x1401214cd
xor r12b, r12b
mov r14d, 0xffffffff
test sil, sil
je 0x140121502
test r14d, r14d
js 0x140121502
cmp r13d, r10d
jl 0x140121502
mov rax, qword [r11 + 0x18]
movzx esi, sil
mov rcx, qword [rax + 8]
movsxd rax, r14d
shl rax, 5
cmp byte [rax + rcx + 0x18], 0
cmove esi, r9d
mov dword [rsp + 0x30], esi
mov ebp, r9d
test bl, bl
je 0x1401216b3
nop dword [rax]
cmp ebp, dword [rsp + 0x64]
jge 0x1401216af
mov eax, ebp
bt r15, rax
jb 0x1401216a5
mov rsi, qword [rsp + 0x128]
add rsi, 8
movsxd r15, ebp
mov rax, r15
shl rax, 5
add rsi, rax
mov rdx, qword [rsi]
test rdx, rdx
je 0x140121573
nop word [rax + rax]
mov eax, dword [rdx + 4]
test eax, 0x41000
je 0x140121573
bt eax, 0x12
jae 0x14012156a
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x14012156e
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140121550
test byte [rsp + 0x138], 0xc0
mov ecx, r9d
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x1401215b8
cmp byte [rdx], 0xa4
jne 0x1401216a0
mov eax, dword [rsp + 0x40]
cmp dword [rdx + 0x2c], eax
jne 0x1401216a0
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jne 0x1401216a0
jmp 0x140121638
mov rax, qword [r11 + 0x50]
movsxd rcx, r13d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x1401215f4
nop dword [rax]
mov eax, dword [r8 + 4]
test eax, 0x41000
je 0x1401215f4
bt eax, 0x12
jae 0x1401215eb
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x1401215ef
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x1401215d0
test rdx, rdx
je 0x140121623
nop dword [rax]
mov eax, dword [rdx + 4]
test eax, 0x41000
je 0x140121623
bt eax, 0x12
jae 0x14012161a
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x14012161e
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140121600
mov r9d, dword [rsp + 0x40]
xor ecx, ecx
call fcn.1400dcf30
mov r11, qword [rsp + 0x70]
test eax, eax
jne 0x14012169d
cmp r14d, 0xffffffff
je 0x1401216f3
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1400d4a00
test rax, rax
jne 0x140121664
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax]
lea r15, [0x1401d0510]
mov r11, qword [rsp + 0x70]
movsxd rcx, r13d
mov rax, qword [r11 + 0x40]
mov r9, qword [rax + rcx*8]
sub r9, rdx
movzx ecx, byte [rdx]
movzx r8d, byte [rdx + r9]
cmp ecx, r8d
jne 0x1401216e0
test ecx, ecx
jne 0x1401216ee
movsxd r15, ebp
movzx ebx, dil
test ecx, ecx
je 0x1401216f3
xor r9d, r9d
mov r15, qword [rsp + 0x48]
inc ebp
test bl, bl
jne 0x140121510
mov edi, dword [rsp + 0x44]
mov r8, qword [rsp + 0x128]
mov r12, qword [rsp + 0x58]
test r13d, r13d
je 0x1401216d3
movzx eax, word [rsp + 0x50]
cmp r13d, eax
jge 0x1401217d2
xor r13b, r13b
mov dword [rsp + 0x30], r13d
jmp 0x1401217d7
movzx ecx, byte [rcx + r15]
movzx eax, byte [r8 + r15]
sub ecx, eax
jne 0x140121692
inc rdx
jmp 0x140121681
cmp word [rsp + 0x60], 0
je 0x140121708
mov rcx, qword [rsp + 0x58]
lea eax, [r13 + 1]
mov word [rcx + 0x1e], ax
test byte [rsp + 0x138], 0x40
mov r8, qword [rsp + 0x128]
jne 0x14012176c
mov rax, r15
shl rax, 5
movzx ecx, byte [rax + r8 + 0x18]
and cl, 1
cmp byte [rsp + 0x35], 0
je 0x140121744
xor r12b, byte [rsp + 0x34]
cmp r12b, cl
je 0x14012176c
mov edi, dword [rsp + 0x44]
jmp 0x1401216bb
movzx edx, cl
xor dl, r12b
mov byte [rsp + 0x34], dl
je 0x140121767
mov rdx, qword [rsp + 0x150]
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x35], 1
mov r12, qword [rsp + 0x58]
mov rax, r15
shl rax, 5
test byte [rax + r8 + 0x18], 2
je 0x140121794
movzx eax, word [r12 + 0x18]
cmp r13d, eax
jne 0x1401217eb
or dword [r12 + 0x28], 0x80000
mov edi, dword [rsp + 0x44]
cmp r14d, 0xffffffff
mov esi, dword [rsp + 0x30]
mov eax, 1
movzx edi, dil
cmove edi, eax
mov rax, qword [rsp + 0x48]
bts rax, r15
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rax
mov r15, rax
xor r9d, r9d
inc r13d
cmp r13d, dword [rsp + 0x78]
jl 0x140121420
mov r13d, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x64]
test dil, dil
je 0x1401217f4
mov r13b, 1
mov dword [rsp + 0x30], r13d
jmp 0x140121809
mov edi, dword [rsp + 0x44]
jmp 0x1401216c0
mov r15, qword [rsp + 0x48]
jmp 0x140121800
mov r13d, dword [rsp + 0x30]
test r13b, r13b
je 0x140121902
mov rax, qword [rsp + 0x80]
xor ecx, ecx
or rax, qword [r12 + 8]
mov edi, ecx
mov r15, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
test r14d, r14d
je 0x140121902
mov r13, qword [rsp + 0x120]
mov r12, rax
nop dword [rax + rax]
mov eax, edi
bt r15, rax
jb 0x1401218e0
movsxd rbp, edi
mov rax, rbp
shl rax, 5
mov rbx, qword [rax + r8 + 8]
test rbx, rbx
je 0x140121876
lea rcx, [r13 + 0x290]
mov rdx, rbx
call fcn.14011c910
mov rsi, rax
xor ecx, ecx
jmp 0x140121879
mov rsi, rcx
test rsi, rsi
jne 0x1401218cf
mov dword [rsp + 0xc0], ecx
mov eax, 1
mov word [rsp + 0xbc], ax
lea rax, [fcn.1400d73e0]
mov qword [rsp + 0xa0], rax
lea rax, [0x1400d7230]
mov qword [rsp + 0xa8], rax
test rbx, rbx
je 0x1401218cf
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.1400d1910
cmp word [rsp + 0xbc], si
je 0x1401218de
mov rax, r12
not rax
test rsi, rax
jne 0x1401218de
bts r15, rbp
xor ecx, ecx
mov r8, qword [rsp + 0x128]
inc edi
cmp edi, r14d
jl 0x140121840
mov r12, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x30]
mov qword [rsp + 0x48], r15
mov r9, qword [rsp + 0x120]
movzx r10d, word [rsp + 0x138]
mov ecx, dword [rsp + 0x54]
mov r11d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x88]
movzx esi, word [rsp + 0x3c]
inc qword [rsp + 0x90]
inc ecx
mov rbx, qword [rsp + 0x90]
movzx eax, word [rsp + 0x140]
mov dword [rsp + 0x54], ecx
test r13b, r13b
jne 0x1401211b3
jmp 0x140121964
cmp byte [r12 + 0x1d], 0
je 0x140121964
test r10b, r10b
jns 0x140121969
cmp r15, rdi
jne 0x140121970
movzx eax, byte [rsp + 0x62]
jmp 0x14012199e
test r13b, r13b
jne 0x1401219b7
lea ecx, [r14 - 1]
test ecx, ecx
jle 0x14012199c
nop dword [rax]
mov edx, 1
shl rdx, cl
dec rdx
mov rax, rdx
and rax, r15
cmp rax, rdx
je 0x1401219b2
dec ecx
test ecx, ecx
jg 0x140121980
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 0x14012199e
mov al, 0xff
jmp 0x14012199e