Function at 0x1406db720
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 0x1406db775
mov rax, qword [rcx]
mov rax, qword [rax]
test byte [rax + 0x60], 0x40
jne 0x1406dbab0
mov rax, qword [rsp + 0x158]
mov eax, dword [rax]
mov dword [rsp + 0xcc], eax
mov esi, eax
cmp ax, 0x3f
ja 0x1406dbab0
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 0x1406dbbae
movzx eax, dx
xor r11d, r11d
lea r15, [0x140bcc700]
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 0x1406db85c
cmp r14, qword [rsp + 0xa0]
jae 0x1406dc288
mov rsi, qword [rsp + 0x88]
lea rax, [rsi + 1]
cmp qword [rsp + 0xa8], rsi
je 0x1406dc27e
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 0x1406dbb6d
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 0x1406db81b
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x38]
test dh, 4
jne 0x1406dbb8b
movzx eax, word [rsp + 0x78]
and ax, 0x80
mov word [rsp + 0x96], ax
je 0x1406db8c4
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 0x1406dc1d0
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 0x1406db970
mov rbx, qword [rbp]
test rbx, rbx
jne 0x1406db94d
jmp 0x1406db970
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1406db970
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x1406dbad0
test eax, 0x80000
jne 0x1406db940
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1406db94d
nop dword [rax + rax]
add edi, 1
add rbp, 0x20
cmp r12d, edi
jne 0x1406db920
mov rax, qword [rsp + 0x30]
mov r13d, r12d
mov edx, dword [rax + 0x38]
test dh, 0x10
jne 0x1406dbbc0
test dh, 1
jne 0x1406dbc93
mov rax, qword [rsp + 0x30]
mov r11, qword [rax + 0x20]
test r11, r11
je 0x1406dbab0
test byte [r11 + 0x64], 4
jne 0x1406dbab0
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 0x1406dc1c1
and dh, 0x80
je 0x1406dc1ef
test eax, eax
je 0x1406dba4a
mov byte [rsp + 0x7b], 0
jmp 0x1406dbcad
mov ebp, r12d
add esi, 1
add rdi, 0x20
cmp r13d, esi
jle 0x1406dba18
test bpl, bpl
jne 0x1406dbe00
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x1406dbe50
movzx eax, word [rsp + 0xc6]
cmp eax, ecx
jg 0x1406dbe50
cmp byte [rsp + 0x48], 0
jne 0x1406dbe5b
cmp byte [rsp + 0x7b], 0
jne 0x1406dbe5b
mov r11, r14
mov r10d, r13d
cmp r14, qword [rsp + 0xa0]
je 0x1406dbbae
lea ecx, [r10 - 1]
test ecx, ecx
jle 0x1406dbab0
cmp ecx, 0x3f
jg 0x1406dc25d
mov eax, 1
mov rdx, r11
shl rax, cl
sub rax, 1
and rdx, rax
cmp rdx, rax
je 0x1406dc25d
mov r8d, 1
jmp 0x1406dbaab
mov rax, r8
mov rdx, r11
shl rax, cl
sub rax, 1
and rdx, rax
cmp rdx, rax
je 0x1406dc25d
sub ecx, 1
jne 0x1406dba92
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 0x1406db970
mov eax, dword [rsp + 0x3c]
cmp dword [rbx + 0x2c], eax
jne 0x1406db970
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 + 0x70]
movzx eax, word [rsp + 0x94]
mov dword [rsp + 0x20], eax
call fcn.1406db670
mov r8, rax
test rax, rax
je 0x1406db970
movzx eax, word [rax + 0x14]
cmp ax, 1
je 0x1406dc218
mov qword [rsp + 0x48], r8
test al, 0x82
je 0x1406dbb4b
cmp word [rbx + 0x30], 0
jns 0x1406dc137
mov ecx, edi
mov eax, 1
add edi, 1
add rbp, 0x20
shl rax, cl
or r14, rax
cmp r12d, edi
jne 0x1406db920
jmp 0x1406db97c
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x38]
test dh, 4
je 0x1406db8a4
cmp byte [rax + 0x20], 0
mov r11, r14
je 0x1406dc270
movzx eax, word [rsp + 0xc8]
and ax, 0x280
cmp ax, 0x80
je 0x1406dc270
movzx eax, byte [rsp + 0xcc]
jmp 0x1406dbab2
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, [0x1406b6a40]
lea rsi, [0x14069e520]
jmp 0x1406dbc24
mov rax, qword [rsp + 0x150]
mov rdx, r12
lea rcx, [rax + 0x258]
call fcn.1406b64a0
test rax, rax
je 0x1406dbc41
mov rdx, qword [rsp + 0xb0]
not rdx
test rdx, rax
je 0x1406dbc32
add ebp, 1
add rdi, 0x20
cmp r13d, ebp
jle 0x1406db81b
bt r14, rbp
jb 0x1406dbc14
mov r12, qword [rdi]
test r12, r12
jne 0x1406dbbe8
mov eax, 1
mov ecx, ebp
shl rax, cl
or r14, rax
jmp 0x1406dbc14
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.1406b7fd0
cmp word [rsp + 0xf4], 0
je 0x1406dbc14
mov eax, 1
mov ecx, ebp
shl rax, cl
or r14, rax
jmp 0x1406dbc14
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 0x1406dbd3d
movzx edx, word [rdi + 0x3e]
cmp edx, r12d
jg 0x1406dbd55
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 0x1406dc086
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 0x1406dba34
mov rdi, qword [rsp + 0x30]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x50], r12d
movzx eax, word [rdi + 0x18]
cmp eax, r12d
jg 0x1406dbce8
test r13d, r13d
setg r10b
test r11, r11
je 0x1406dc0d1
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 0x1406dbdc8
movsx edi, dx
cmp byte [rsp + 0x7b], 0
mov dword [rsp + 0x38], edi
je 0x1406dbdc8
test edi, edi
js 0x1406dc0f2
cmp eax, dword [rsp + 0x50]
jg 0x1406dbdc8
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 0x1406dba18
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 0x1406dba00
mov r8, qword [rdi]
mov rdx, r8
test r8, r8
jne 0x1406dbe39
jmp 0x1406dba00
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1406dba00
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1406dbe90
test eax, 0x80000
jne 0x1406dbe28
mov rdx, qword [rdx + 0x10]
jmp 0x1406dbe30
cmp byte [rsp + 0x48], 0
je 0x1406dba4a
mov rsi, qword [rsp + 0x30]
mov rsi, qword [rsi + 8]
or qword [rsp + 0xb0], rsi
test r13d, r13d
je 0x1406db81b
mov rax, qword [rsp + 0x158]
add rax, 8
mov qword [rsp + 0x40], rax
jmp 0x1406dbbd1
test byte [rsp + 0x78], 0xc0
setne bpl
cmp dword [rsp + 0x38], 0xffffffff
jl 0x1406dc010
movzx eax, byte [rdx]
add eax, 0x59
test al, 0xfd
jne 0x1406dba03
mov eax, dword [rsp + 0x3c]
cmp dword [rdx + 0x2c], eax
jne 0x1406dba03
movsx eax, word [rdx + 0x30]
cmp eax, dword [rsp + 0x38]
jne 0x1406dba03
cmp dword [rsp + 0x38], 0xffffffff
je 0x1406dbf44
mov rax, qword [rsp + 0x150]
mov rdx, r8
mov qword [rsp + 0x70], r11
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
call fcn.1406d4080
mov rcx, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
test rax, rax
je 0x1406dc0e6
mov rcx, qword [rsp + 0x60]
mov rdx, qword [r11 + 0x40]
mov r8, qword [rdx + rcx]
mov rcx, qword [rax]
jmp 0x1406dbf33
movzx edx, byte [r15 + rdx]
cmp byte [r15 + rax], dl
jne 0x1406dba03
add rbx, 1
movzx eax, byte [rcx + rbx]
movzx edx, byte [r8 + rbx]
cmp eax, edx
jne 0x1406dbf20
test eax, eax
jne 0x1406dbf2f
cmp word [rsp + 0x96], 0
mov r12, qword [rsp + 0x80]
je 0x1406dbf65
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 0x1406dbfc8
cmp byte [rsp + 0xc4], 0
jne 0x1406dc116
mov edx, eax
and edx, 1
cmp dl, byte [rsp + 0x93]
je 0x1406dc101
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 0x1406dbfe6
mov rdi, qword [rsp + 0x30]
movzx eax, word [rdi + 0x18]
cmp eax, dword [rsp + 0x50]
jne 0x1406dba18
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 0x1406dbd28
movsxd rax, dword [rsp + 0x40]
shl rax, 5
add rax, qword [r11 + 0x50]
mov r8, qword [rax + 8]
test r8, r8
jne 0x1406dc041
jmp 0x1406dba03
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
test r8, r8
je 0x1406dba03
mov eax, dword [r8 + 4]
test eax, 0x82000
je 0x1406dc060
test eax, 0x80000
jne 0x1406dc030
mov r8, qword [r8 + 0x10]
jmp 0x1406dc038
mov r9d, dword [rsp + 0x3c]
xor ecx, ecx
mov qword [rsp + 0x68], r11
call fcn.1406d92e0
mov r11, qword [rsp + 0x68]
test eax, eax
jne 0x1406dba03
mov r8, qword [rdi]
jmp 0x1406dbed4
test r13d, r13d
setg r10b
and edx, 1
je 0x1406dbd5c
mov rdx, qword [rsp + 0x58]
mov r9, qword [r8]
cmp eax, edx
jg 0x1406dc0bc
jmp 0x1406dbd5c
add rdx, 1
cmp eax, edx
jle 0x1406dbd5c
mov r8, qword [rcx + rdx*8]
cmp qword [r8], r9
jne 0x1406dc0b0
xor r10d, r10d
test r11, r11
jne 0x1406dbd65
mov dword [rsp + 0x38], 0xffffffff
mov byte [rsp + 0x93], 0
jmp 0x1406dbdc8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
jmp 0x1406dbf04
cmp dword [rsp + 0x38], 0xfffffffe
setne byte [rsp + 0x7b]
jmp 0x1406dbdc8
mov byte [rsp + 0xc5], 0
mov byte [rsp + 0xc4], 1
jmp 0x1406dbfc8
mov edx, eax
movzx ecx, byte [rsp + 0x93]
xor cl, byte [rsp + 0xc5]
and edx, 1
cmp cl, dl
jne 0x1406dba18
jmp 0x1406dbfc8
mov rax, qword [rsp + 0x150]
mov rdx, qword [rbp]
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
call fcn.1406d4080
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
test rax, rax
mov rbx, rax
je 0x1406dc264
mov rax, qword [r8]
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test byte [rax + 5], 4
jne 0x1406dc208
mov r8, r9
call fcn.1406d42b0
test rax, rax
je 0x1406db970
mov r8, qword [rax]
mov rcx, qword [rbx]
jmp 0x1406dc1ab
movzx ebx, byte [r15 + rdx]
cmp byte [r15 + rax], bl
jne 0x1406db970
add rsi, 1
movzx eax, byte [rcx + rsi]
movzx edx, byte [r8 + rsi]
cmp eax, edx
jne 0x1406dc198
test eax, eax
jne 0x1406dc1a7
jmp 0x1406dbb4b
test eax, eax
jne 0x1406dbcad
jmp 0x1406dba4a
test dh, 0x10
je 0x1406db990
mov rsi, qword [rsp + 0x30]
mov rsi, qword [rsi + 8]
or qword [rsp + 0xb0], rsi
jmp 0x1406db81b
mov byte [rsp + 0x7b], 1
test eax, eax
jne 0x1406dbcad
jmp 0x1406dbe5b
mov r8, rdx
mov rdx, r9
call fcn.1406d42b0
jmp 0x1406dc183
mov rax, qword [rsp + 0x30]
movzx edx, word [rax + 0x3c]
test dx, dx
je 0x1406db970
mov rax, qword [rax + 0x48]
sub edx, 1
lea rdx, [rax + rdx*8 + 8]
cmp qword [rax], r8
je 0x1406dbb4b
add rax, 8
cmp rdx, rax
jne 0x1406dc236
add edi, 1
add rbp, 0x20
cmp r12d, edi
jne 0x1406db920
jmp 0x1406db97c
mov eax, ecx
jmp 0x1406dbab2
mov rax, qword [rcx]
mov rbx, qword [rax + 0x10]
jmp 0x1406dc166
cmp qword [rsp + 0xa0], r11
je 0x1406dbbae
mov eax, 0xffffffff
jmp 0x1406dbab2
jne 0x1406dc27e
jmp 0x1406dbbae