Function at 0x140199030
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 eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0xa0], 0
je 0x14019937f
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x38]
sub eax, 1
mov dword [rsp + 0x38], eax
test ecx, ecx
je 0x14019937a
cmp dword [rsp + 0x24], 0
jne 0x14019930f
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov dword [rsp + 0x48], 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 + 0x48]
or eax, ecx
mov dword [rsp + 0x48], 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 + 0x48]
or eax, ecx
mov dword [rsp + 0x48], 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, 0x18
mov eax, dword [rsp + 0x48]
or eax, ecx
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
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]
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, 0x18
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 + 0x48]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140196ab0
mov r11d, dword [rsp + 0x40]
mov dword [rsp + 0x48], r11d
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
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 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]
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, 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 + 0x28]
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 + 0x28]
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 + 0x28]
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 + 0x28]
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 rax, qword [rsp + 0x90]
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 0x140199082
jmp 0x14019967e
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x38]
sub eax, 1
mov dword [rsp + 0x38], eax
test ecx, ecx
je 0x14019967e
cmp dword [rsp + 0x24], 0
jne 0x14019960c
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov dword [rsp + 0x48], 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 + 0x48]
or eax, ecx
mov dword [rsp + 0x48], 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 + 0x48]
or eax, ecx
mov dword [rsp + 0x48], 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, 0x18
mov eax, dword [rsp + 0x48]
or eax, ecx
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
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]
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, 0x18
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 + 0x48]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140196ab0
mov r11d, dword [rsp + 0x40]
mov dword [rsp + 0x48], r11d
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
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 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]
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, 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 + 0x28]
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 + 0x28]
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 + 0x28]
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 + 0x28]
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 rax, qword [rsp + 0x90]
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 0x14019937f
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x3c]
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 + 0x48], eax
mov rcx, qword [rsp + 0x98]
mov eax, dword [rsp + 0x24]
mov dword [rcx], eax
add rsp, 0x58
ret