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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x58
call fcn.14028b850
sub rsp, rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x90], 0
je 0x14018780d
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x38]
sub eax, 1
mov dword [rsp + 0x38], eax
test ecx, ecx
je 0x140187808
cmp dword [rsp + 0x24], 0
jne 0x14018779d
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 0x10
mov eax, dword [rsp + 0x4c]
or eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 8
mov eax, dword [rsp + 0x4c]
or eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x4c]
or eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 0x10
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 8
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140185310
mov r11, qword [rsp + 0x80]
mov qword [rsp + 0x30], r11
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x48]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x48]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
movzx edx, byte [rax]
movsxd rcx, dword [rsp + 0x24]
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax + rcx]
mov eax, edx
xor eax, ecx
mov byte [rsp + 0x3c], al
mov rax, qword [rsp + 0x60]
add rax, 1
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rsp + 0x3c]
mov byte [rcx], al
mov rax, qword [rsp + 0x68]
add rax, 1
mov qword [rsp + 0x68], rax
movsxd rdx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rsp + 0x3c]
mov byte [rcx + rdx], al
mov eax, dword [rsp + 0x24]
add eax, 1
and eax, 7
mov dword [rsp + 0x24], eax
jmp 0x140187522
jmp 0x140187afa
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x38]
sub eax, 1
mov dword [rsp + 0x38], eax
test ecx, ecx
je 0x140187afa
cmp dword [rsp + 0x24], 0
jne 0x140187a88
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 0x10
mov eax, dword [rsp + 0x4c]
or eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 8
mov eax, dword [rsp + 0x4c]
or eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x4c]
or eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 0x10
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 8
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140185310
mov r11, qword [rsp + 0x80]
mov qword [rsp + 0x30], r11
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x48]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x48]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x48]
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x60]
add rax, 1
mov qword [rsp + 0x60], rax
movsxd rcx, dword [rsp + 0x24]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x3c], al
movsxd rdx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rsp + 0x20]
mov byte [rcx + rdx], al
movzx ecx, byte [rsp + 0x3c]
movzx eax, byte [rsp + 0x20]
xor ecx, eax
mov rax, qword [rsp + 0x68]
mov byte [rax], cl
mov rax, qword [rsp + 0x68]
add rax, 1
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x24]
add eax, 1
and eax, 7
mov dword [rsp + 0x24], eax
jmp 0x14018780d
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x3c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0x88]
mov eax, dword [rsp + 0x24]
mov dword [rcx], eax
add rsp, 0x58
ret