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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov eax, 0xffffffff
mov word [rsp + 0x158], ax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x64], 1
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x10]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0xc8]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 1
and eax, 1
test eax, eax
je 0x1400d26d8
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x40], rax
jmp 0x1400d2808
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x1400d26fc
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rax
jmp 0x1400d2808
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov eax, 1
mov word [rsp + 0x13e], ax
mov eax, 1
mov word [rsp + 0x140], ax
lea rax, [rsp + 0x158]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x15c]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0x142], 5
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xf8], rax
mov eax, 3
mov word [rsp + 0x13c], ax
mov eax, dword [rsp + 0x144]
or eax, 3
mov dword [rsp + 0x144], eax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
movzx ecx, word [rcx + 0x3a]
mov word [rsp + rax + 0x15c], cx
mov qword [rsp + 0xb0], 2
cmp qword [rsp + 0xb0], 4
jae 0x1400d27b0
jmp 0x1400d27b5
call fcn.140124bb8
xor eax, eax
mov rcx, qword [rsp + 0xb0]
mov word [rsp + rcx + 0x15c], ax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
and eax, 1
test eax, eax
jne 0x1400d27fb
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x3a]
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x180]
cmp qword [rax + 0x18], 0
jne 0x1400d2ad1
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x3c]
and eax, 0x1020
test eax, eax
jne 0x1400d2ad1
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
and rax, 0x8000
test rax, rax
je 0x1400d2ad1
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 1
and eax, 1
test eax, eax
jne 0x1400d2ad1
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
and eax, 1
test eax, eax
jne 0x1400d2ad1
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
jne 0x1400d2ad1
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 3
and eax, 1
test eax, eax
jne 0x1400d2ad1
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 6
and eax, 1
test eax, eax
jne 0x1400d2ad1
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
jne 0x1400d2ad1
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x88]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xd8], rax
movzx ecx, word [rsp + 0x38]
call fcn.1400cdd50
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x80], rax
jmp 0x1400d2937
mov rax, qword [rsp + 0x80]
add rax, 0x38
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0x50], 0
jne 0x1400d2ad1
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x80], rax
jae 0x1400d2ad1
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x28]
and rax, rcx
test rax, rax
je 0x1400d2977
jmp 0x1400d2923
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call fcn.1400cdf20
test eax, eax
je 0x1400d2acc
mov eax, 1
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x18], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3e], ax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x20], 0
mov eax, 1
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3c], ax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x80]
mov qword [rax + rcx], rdx
movsx eax, word [rsp + 0x60]
movsx ecx, word [rsp + 0x38]
add eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x3f]
cmp eax, 2
je 0x1400d2a31
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x4000
test eax, eax
jne 0x1400d2a31
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x12]
add eax, 0x1c
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
jmp 0x1400d2a46
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x12]
sub eax, 0x19
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x12]
test eax, eax
jge 0x1400d2a5e
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov eax, 0x2b
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x30]
movzx edx, word [rax + 0x16]
movzx ecx, word [rsp + 0x60]
call fcn.140012280
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x4000
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x188]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x180]
call fcn.1400d05b0
mov dword [rsp + 0x50], eax
jmp 0x1400d2923
jmp 0x1400d2b1a
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 1
and eax, 1
test eax, eax
je 0x1400d2af2
mov qword [rsp + 0xb8], 0
jmp 0x1400d2b03
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x50], 0
jne 0x1400d3159
cmp qword [rsp + 0x40], 0
je 0x1400d3159
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x48], 0
je 0x1400d2b6d
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x48]
mov r8, qword [rsp + 0x88]
mov rax, qword [rsp + 0x48]
movzx edx, byte [rax + 0x3c]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x44]
call fcn.1400d1e20
test eax, eax
jne 0x1400d2b6d
jmp 0x1400d2ad3
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 9
and eax, 1
test eax, eax
je 0x1400d2b84
jmp 0x1400d2ad3
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
movzx eax, word [rax + rcx]
mov word [rsp + 0x38], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x18], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1a], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1c], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3e], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3c], ax
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x11], 0
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x188]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x180]
call fcn.1400d1c60
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
and eax, 3
cmp eax, 3
jne 0x1400d2ce2
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x100
cmp dword [rsp + 0x7c], 0
je 0x1400d2c69
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x90], eax
jmp 0x1400d2c74
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x90]
mov byte [rax + 0x11], cl
movsx eax, word [rsp + 0x38]
add eax, 0x10
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movzx r8d, word [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
call fcn.1400d07e0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x180]
call fcn.1400d05b0
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x16], cx
cmp dword [rsp + 0x50], 0
je 0x1400d2cdd
jmp 0x1400d3159
jmp 0x1400d3105
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 5
and eax, 1
test eax, eax
je 0x1400d2d11
mov qword [rsp + 0x150], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x240
jmp 0x1400d2e4f
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x68]
mov rax, qword [rax + 0x50]
and rax, rcx
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x48], 0
je 0x1400d2d6e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x150]
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x48]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1400d2320
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x200
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x150], rax
je 0x1400d2dbd
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 0xc
and eax, 1
test eax, eax
je 0x1400d2e0d
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 0xb
and eax, 1
test eax, eax
jne 0x1400d2e0d
cmp qword [rsp + 0x150], 0
je 0x1400d2e0d
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400d2150
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x1400d2de2
jmp 0x1400d2e0b
mov qword [rsp + 0x150], 0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x78]
mov eax, dword [rax + 0x38]
or eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
mov eax, dword [rsp + 0x78]
and eax, 0x40
jmp 0x1400d2e4f
cmp qword [rsp + 0x150], 0
jne 0x1400d2e4f
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x1400d2e43
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x20], 0
jne 0x1400d2e43
mov ecx, 0x2bc
call fcn.14000e370
test eax, eax
je 0x1400d2e4f
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x240
cmp dword [rsp + 0x7c], 0
jne 0x1400d2f0b
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
jne 0x1400d2f0b
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x48], 0
jne 0x1400d2f0b
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 1
and eax, 1
test eax, eax
jne 0x1400d2f0b
cmp qword [rsp + 0x150], 0
jne 0x1400d3105
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
jne 0x1400d3105
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x5c]
mov rcx, qword [rsp + 0x58]
movsx ecx, word [rcx + 0x3c]
cmp eax, ecx
jge 0x1400d3105
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x3c]
and eax, 4
test eax, eax
jne 0x1400d3105
movzx eax, byte [0x14013a897]
test eax, eax
je 0x1400d3105
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rax, qword [rax]
mov eax, dword [rax + 0x60]
and eax, 0x20
test eax, eax
jne 0x1400d3105
cmp dword [rsp + 0x7c], 0
je 0x1400d2f1f
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x94], eax
jmp 0x1400d2f2a
mov dword [rsp + 0x94], 0
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x94]
mov byte [rax + 0x11], cl
movsx eax, word [rsp + 0x38]
mov dword [rsp + 0xa4], eax
mov rcx, qword [rsp + 0x40]
movsx ecx, word [rcx + 0x5c]
imul ecx, ecx, 0xf
mov rdx, qword [rsp + 0x58]
movsx edx, word [rdx + 0x3c]
mov dword [rsp + 0xa0], edx
mov eax, ecx
cdq
mov ecx, dword [rsp + 0xa0]
idiv ecx
mov ecx, dword [rsp + 0xa4]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
cmp qword [rsp + 0x150], 0
je 0x1400d30a2
movsx eax, word [rsp + 0x38]
add eax, 0x10
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x70]
add rax, 0x70
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x68], 0
jmp 0x1400d2fd2
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x68], eax
jge 0x1400d3086
movsxd rax, dword [rsp + 0x68]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xc0]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0xa8]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call fcn.1400744f0
test eax, eax
jne 0x1400d3026
jmp 0x1400d3086
mov rax, qword [rsp + 0x98]
movsx eax, word [rax + 0x10]
test eax, eax
jg 0x1400d3052
mov rax, qword [rsp + 0x98]
movsx eax, word [rax + 0x10]
movsx ecx, word [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov word [rsp + 0x3c], ax
jmp 0x1400d3081
movzx eax, word [rsp + 0x3c]
dec ax
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
je 0x1400d3081
movsx eax, word [rsp + 0x3c]
sub eax, 0x13
mov word [rsp + 0x3c], ax
jmp 0x1400d2fc8
movzx edx, word [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax + 0x14]
call fcn.140012280
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movzx r8d, word [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
call fcn.1400d07e0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
je 0x1400d30d8
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x50], 0
je 0x1400d30d8
jmp 0x1400d30ee
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x180]
call fcn.1400d05b0
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x16], cx
cmp dword [rsp + 0x50], 0
je 0x1400d3105
jmp 0x1400d3159
mov rax, qword [rsp + 0x180]
mov byte [rax + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call fcn.1400d0d10
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x180]
movzx eax, byte [rax + 0x20]
cmp eax, 1
jne 0x1400d3154
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
bts eax, 8
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x30], eax
jmp 0x1400d2ad3
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140124a90
add rsp, 0x170
pop rdi
ret