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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov rax, qword [0x1400e3020]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0
mov eax, 0x10
imul rax, rax, 0
lea rax, [rsp + rax + 0xb0]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x2c], 0
cmp qword [rsp + 0x1b0], 0
je 0x1400647f3
mov rax, qword [rsp + 0x1b0]
cmp dword [rax], 0xbab1e
je 0x1400647fd
mov eax, 1
jmp 0x140064f40
mov rax, qword [rsp + 0x1b0]
movzx eax, byte [rax + 0x18a]
test eax, eax
je 0x14006481a
mov eax, 8
jmp 0x140064f40
cmp dword [rsp + 0x1c8], 0
jge 0x14006482e
mov eax, 0xa
jmp 0x140064f40
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140064928
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call fcn.140064f60
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x24], 0
jmp 0x140064875
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jae 0x140064915
mov qword [rsp + 0x70], 0xffffffffffffffff
mov eax, dword [rsp + 0x24]
mov ecx, 1
mov dword [rsp + 0x60], ecx
movzx ecx, al
mov eax, dword [rsp + 0x60]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400648c6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
mov rax, qword [rsp + rax*8 + 0x88]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x24]
add eax, 0x10
mov ecx, 1
mov dword [rsp + 0x64], ecx
movzx ecx, al
mov eax, dword [rsp + 0x64]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140064906
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
mov rax, qword [rsp + rax*8 + 0x88]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x140064910
jmp 0x140064915
jmp 0x14006486b
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
jmp 0x14006483f
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1b0]
call fcn.140061d80
cmp dword [rsp + 0x50], 0
jl 0x140064959
mov eax, dword [rsp + 0x1c8]
cmp dword [rsp + 0x50], eax
jge 0x140064959
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x1c8], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
movzx eax, byte [rsp + 0x1e0]
test eax, eax
je 0x1400649a6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x178], 0xffffffffffffffff
je 0x1400649a6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xa
jbe 0x1400649da
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, rax
call qword [fcn.1400114e0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400649d5
mov eax, 3
jmp 0x140064f40
mov byte [rsp + 0x2c], 1
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x58], 0
je 0x140064b4f
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140064b4f
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call fcn.140064f60
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x24], 0
jmp 0x140064a34
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jae 0x140064b3c
mov qword [rsp + 0x78], 0xffffffffffffffff
mov eax, dword [rsp + 0x24]
mov ecx, 1
mov dword [rsp + 0x68], ecx
movzx ecx, al
mov eax, dword [rsp + 0x68]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140064ab9
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x88]
mov qword [rdx + rcx], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov ecx, 0x300
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax + 8], cx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
mov rax, qword [rsp + rax*8 + 0x88]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x24]
add eax, 0x10
mov ecx, 1
mov dword [rsp + 0x6c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x6c]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140064b2d
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x88]
mov qword [rdx + rcx], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov ecx, 0x10
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax + 8], cx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
mov rax, qword [rsp + rax*8 + 0x88]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0xffffffffffffffff
jne 0x140064b37
jmp 0x140064b3c
jmp 0x140064a2a
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
jmp 0x1400649fe
mov dword [rsp + 0x24], 0
jmp 0x140064b63
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x1c0]
cmp dword [rsp + 0x24], eax
jae 0x140064c88
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x1b8]
mov rax, qword [r8 + rax]
mov qword [rdx + rcx], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax + 8], cx
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x1b8]
movsx eax, word [rcx + rax + 8]
and eax, 1
test eax, eax
je 0x140064bf2
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
movsx eax, word [rcx + rax + 8]
or eax, 0x300
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx + 8], ax
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x1b8]
movsx eax, word [rcx + rax + 8]
and eax, 2
test eax, eax
je 0x140064c36
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
movsx eax, word [rcx + rax + 8]
bts eax, 0xa
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx + 8], ax
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x1b8]
movsx eax, word [rcx + rax + 8]
and eax, 4
test eax, eax
je 0x140064c79
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
movsx eax, word [rcx + rax + 8]
or eax, 0x10
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx + 8], ax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140064b59
movzx eax, byte [rsp + 0x1e0]
test eax, eax
je 0x140064cfb
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x178], 0xffffffffffffffff
je 0x140064cfb
mov eax, 8
imul rax, rax, 0
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x1b0]
mov rax, qword [r8 + rax + 0x178]
mov qword [rdx + rcx], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov ecx, 0x300
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax + 8], cx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140064e9e
movsxd rax, dword [rsp + 0x1c8]
mov r8, rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.140090fc0
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jle 0x140064e9e
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x24], 0
jmp 0x140064d4a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x1c0]
cmp dword [rsp + 0x24], eax
jae 0x140064ded
xor eax, eax
mov word [rsp + 0x28], ax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
movsx eax, word [rcx + rax + 0xa]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
and eax, 0x300
test eax, eax
je 0x140064d9c
movzx eax, word [rsp + 0x28]
or eax, 1
mov word [rsp + 0x28], ax
mov eax, dword [rsp + 0x54]
and eax, 0x10
test eax, eax
je 0x140064db4
movzx eax, word [rsp + 0x28]
or eax, 4
mov word [rsp + 0x28], ax
mov eax, dword [rsp + 0x54]
and eax, 0x400
test eax, eax
je 0x140064dce
movzx eax, word [rsp + 0x28]
or eax, 2
mov word [rsp + 0x28], ax
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x1b8]
movzx edx, word [rsp + 0x28]
mov word [rcx + rax + 0xa], dx
jmp 0x140064d40
movzx eax, byte [rsp + 0x1e0]
test eax, eax
je 0x140064e9e
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x178], 0xffffffffffffffff
je 0x140064e9e
mov eax, dword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
movsx eax, word [rcx + rax + 0xa]
and eax, 0x300
test eax, eax
je 0x140064e9e
xor eax, eax
cmp eax, 1
je 0x140064e94
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, 0x40
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x1b0]
mov rcx, qword [rcx + rax + 0x178]
call fcn.140065fc0
cdqe
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jg 0x140064e92
jmp 0x140064e94
jmp 0x140064e45
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x140064eb2
mov rcx, qword [rsp + 0x30]
call qword [fcn.14001120c]
cmp qword [rsp + 0x1d0], 0
je 0x140064ecb
mov rax, qword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x1d8]
test eax, eax
je 0x140064ede
cmp dword [rsp + 0x20], 0
je 0x140064ee0
jmp 0x140064f3e
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x1b0]
call fcn.140061d20
test eax, eax
jne 0x140064f3e
cmp dword [rsp + 0x38], 0
je 0x140064f3e
mov eax, dword [rsp + 0x1c8]
cmp dword [rsp + 0x38], eax
jle 0x140064f1f
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x38], eax
jmp 0x140064f31
cmp dword [rsp + 0x38], 0
jge 0x140064f31
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, rax
call fcn.140090f40
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140006850
add rsp, 0x1a8
ret