Function at 0x140064810
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 0x140064883
mov rax, qword [rsp + 0x1b0]
cmp dword [rax], 0xbab1e
je 0x14006488d
mov eax, 1
jmp 0x140064fd0
mov rax, qword [rsp + 0x1b0]
movzx eax, byte [rax + 0x18a]
test eax, eax
je 0x1400648aa
mov eax, 8
jmp 0x140064fd0
cmp dword [rsp + 0x1c8], 0
jge 0x1400648be
mov eax, 0xa
jmp 0x140064fd0
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400649b8
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call fcn.140064ff0
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x24], 0
jmp 0x140064905
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jae 0x1400649a5
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 0x140064956
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 0x140064996
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 0x1400649a0
jmp 0x1400649a5
jmp 0x1400648fb
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
jmp 0x1400648cf
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1b0]
call fcn.140061e10
cmp dword [rsp + 0x50], 0
jl 0x1400649e9
mov eax, dword [rsp + 0x1c8]
cmp dword [rsp + 0x50], eax
jge 0x1400649e9
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 0x140064a36
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x178], 0xffffffffffffffff
je 0x140064a36
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xa
jbe 0x140064a6a
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 0x140064a65
mov eax, 3
jmp 0x140064fd0
mov byte [rsp + 0x2c], 1
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x58], 0
je 0x140064bdf
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140064bdf
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call fcn.140064ff0
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x24], 0
jmp 0x140064ac4
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jae 0x140064bcc
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 0x140064b49
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 0x140064bbd
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 0x140064bc7
jmp 0x140064bcc
jmp 0x140064aba
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
jmp 0x140064a8e
mov dword [rsp + 0x24], 0
jmp 0x140064bf3
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x1c0]
cmp dword [rsp + 0x24], eax
jae 0x140064d18
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 0x140064c82
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 0x140064cc6
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 0x140064d09
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 0x140064be9
movzx eax, byte [rsp + 0x1e0]
test eax, eax
je 0x140064d8b
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x178], 0xffffffffffffffff
je 0x140064d8b
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 0x140064f2e
movsxd rax, dword [rsp + 0x1c8]
mov r8, rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.140091050
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jle 0x140064f2e
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x24], 0
jmp 0x140064dda
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x1c0]
cmp dword [rsp + 0x24], eax
jae 0x140064e7d
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 0x140064e2c
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 0x140064e44
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 0x140064e5e
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 0x140064dd0
movzx eax, byte [rsp + 0x1e0]
test eax, eax
je 0x140064f2e
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x178], 0xffffffffffffffff
je 0x140064f2e
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 0x140064f2e
xor eax, eax
cmp eax, 1
je 0x140064f24
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.140066050
cdqe
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jg 0x140064f22
jmp 0x140064f24
jmp 0x140064ed5
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x140064f42
mov rcx, qword [rsp + 0x30]
call qword [fcn.14001120c]
cmp qword [rsp + 0x1d0], 0
je 0x140064f5b
mov rax, qword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x1d8]
test eax, eax
je 0x140064f6e
cmp dword [rsp + 0x20], 0
je 0x140064f70
jmp 0x140064fce
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x1b0]
call fcn.140061db0
test eax, eax
jne 0x140064fce
cmp dword [rsp + 0x38], 0
je 0x140064fce
mov eax, dword [rsp + 0x1c8]
cmp dword [rsp + 0x38], eax
jle 0x140064faf
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x38], eax
jmp 0x140064fc1
cmp dword [rsp + 0x38], 0
jge 0x140064fc1
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, rax
call fcn.140090fd0
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140006850
add rsp, 0x1a8
ret