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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x28], 0xffffffff
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x149c], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x14a0], 0x23d
mov dword [rsp + 0x20], 0
jmp 0x140085555
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x20], eax
jge 0x1400855e8
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*4]
test eax, eax
je 0x1400855d2
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x149c]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x149c], ecx
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4 + 0xba8], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax + 0x14a4], 0
jmp 0x1400855e3
movsxd rax, dword [rsp + 0x20]
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*4 + 2], cx
jmp 0x14008554b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x149c], 2
jge 0x1400856e8
cmp dword [rsp + 0x28], 2
jge 0x140085618
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
jmp 0x140085620
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x149c]
inc eax
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x149c], ecx
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4 + 0xba8], edx
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov ecx, 1
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*4], cx
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax + 0x14a4], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1700]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1700], eax
cmp qword [rsp + 0x60], 0
je 0x1400856e3
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*4 + 2]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x1704]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1704], eax
jmp 0x1400855e8
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x149c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x20], eax
jmp 0x14008571a
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jl 0x14008573a
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.140084e10
jmp 0x140085710
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x24], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xba8]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x149c]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
mov eax, dword [r8 + rax*4 + 0xba8]
mov dword [rdx + rcx + 0xba8], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x149c]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x149c], eax
mov r8d, 1
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.140084e10
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xba8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14a0]
dec eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x14a0], ecx
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax*4 + 0xba8], edx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14a0]
dec eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x14a0], ecx
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax*4 + 0xba8], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*4]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx*4]
add eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx*4], ax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x14a4]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx + 0x14a4]
cmp eax, ecx
jl 0x1400858d8
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x14a4]
mov dword [rsp + 0x54], eax
jmp 0x1400858f1
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x14a4]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
inc eax
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx + 0x14a4], al
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*4 + 2], dx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*4 + 2], dx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax + 0xba8], edx
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov r8d, 1
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.140084e10
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x149c], 2
jge 0x140085742
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14a0]
dec eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x14a0], ecx
movsxd rax, dword [rsp + 0x58]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
mov ecx, dword [r8 + rcx + 0xba8]
mov dword [rdx + rax*4 + 0xba8], ecx
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140085010
mov rax, qword [rsp + 0x80]
add rax, 0xb88
mov r8, rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.1400853e0
add rsp, 0x78
ret