Function at 0x140083500
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]
movzx eax, word [rax]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
and eax, 0xfff
mov word [rsp + 0x28], ax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x2c], 0
movsx eax, word [rsp + 0x28]
add eax, 3
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x20]
and eax, 0x8000
test eax, eax
je 0x1400837ca
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x2c]
add eax, 2
mov dword [rsp + 0x2c], eax
movsx eax, word [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jge 0x1400837c8
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x38], al
mov dword [rsp + 0x3c], 8
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x40], 0
jmp 0x1400835d4
mov eax, dword [rsp + 0x40]
add eax, 1
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x38]
shr al, 1
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x40], eax
jge 0x1400837c3
movsx eax, word [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jge 0x1400837c3
movzx eax, byte [rsp + 0x38]
and eax, 1
test eax, eax
je 0x140083781
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov word [rsp + 0x48], ax
mov eax, 0xffffffff
mov word [rsp + 0x54], ax
mov eax, 0xffffffff
mov word [rsp + 0x5c], ax
xor eax, eax
mov word [rsp + 0x50], ax
xor eax, eax
mov word [rsp + 0x4c], ax
xor eax, eax
mov word [rsp + 0x58], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x2c]
add eax, 2
mov dword [rsp + 0x2c], eax
xor eax, eax
mov word [rsp + 0x58], ax
mov eax, dword [rsp + 0x24]
sub eax, 1
mov dword [rsp + 0x60], eax
jmp 0x14008366e
mov eax, dword [rsp + 0x60]
sar eax, 1
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x10
jl 0x140083685
movzx eax, word [rsp + 0x58]
add ax, 1
mov word [rsp + 0x58], ax
jmp 0x140083664
mov eax, 0xfff
mov word [rsp + 0x44], ax
movsx eax, word [rsp + 0x58]
movzx ecx, al
movzx eax, word [rsp + 0x44]
shr ax, cl
mov word [rsp + 0x44], ax
movzx edx, word [rsp + 0x48]
movsx ecx, word [rsp + 0x58]
mov eax, 0xc
sub eax, ecx
movzx ecx, al
mov eax, edx
sar eax, cl
mov word [rsp + 0x5c], ax
movzx eax, word [rsp + 0x48]
movzx ecx, word [rsp + 0x44]
and eax, ecx
add eax, 3
mov word [rsp + 0x54], ax
mov dword [rsp + 0x60], 0
jmp 0x1400836ea
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
movsx eax, word [rsp + 0x54]
cmp dword [rsp + 0x60], eax
jge 0x140083770
movsx eax, word [rsp + 0x5c]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, dword [rsp + 0x60]
lea eax, [rcx + rax - 1]
mov dword [rsp + 0x64], eax
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x24]
add eax, ecx
cmp dword [rsp + 0x64], eax
jge 0x140083751
cmp dword [rsp + 0x64], 0
jl 0x140083751
movsxd r8, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x24]
add eax, ecx
movsxd rdx, eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + r8 + 0x18]
mov byte [rcx + rdx + 0x18], al
jmp 0x14008376b
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x24]
add eax, ecx
movsxd rcx, eax
mov rax, qword [rsp + 0x80]
mov byte [rax + rcx + 0x18], 0
jmp 0x1400836df
movsx ecx, word [rsp + 0x54]
mov eax, dword [rsp + 0x24]
add eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x1400837be
movsxd rdx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rcx + rdx + 0x18], al
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
jmp 0x1400835be
jmp 0x140083578
jmp 0x14008381a
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x68], rax
movsx eax, word [rsp + 0x28]
sub eax, 2
cdqe
cmp rax, 0x10000
ja 0x14008380e
movsx eax, word [rsp + 0x28]
sub eax, 2
movsxd r8, eax
mov rcx, qword [rsp + 0x80]
add rcx, 0x18
mov rdx, qword [rsp + 0x68]
call sub.MSVCR90.dll_memcpy
movsx eax, word [rsp + 0x28]
sub eax, 2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret