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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rcx + 0x70]
mov rsi, rdx
mov r13, rcx
mov qword [rsp + 0x28], rdx
cmp rax, qword [rcx + 0x78]
je 0x14003837d
mov qword [rcx + 0x78], rax
lea r15, [rcx + 0x88]
mov rax, qword [r15]
cmp rax, qword [r15 + 8]
je 0x140038391
mov qword [r15 + 8], rax
mov rcx, qword [rcx + 0xa0]
mov rdx, qword [r13 + 0xa8]
cmp rcx, rdx
je 0x1400383be
lea r8, [r13 + 0xa0]
call fcn.140035c80
mov rax, qword [r13 + 0xa0]
mov qword [r13 + 0xa8], rax
mov r12d, dword [rsi + 0x34]
xor ebp, ebp
add r12, 0x28
add r12, rsi
mov eax, dword [r12]
inc eax
movsxd r14, eax
test eax, eax
jle 0x1400384c3
xor esi, esi
lea rbx, [r12 - 0xc]
movzx ecx, byte [rbx + 0xa]
test cl, cl
je 0x140038451
movzx eax, word [rbx]
mov rdx, qword [r13 + 0x78]
mov word [rsp + 0x38], ax
mov eax, dword [rbx + 2]
mov dword [rsp + 0x3c], eax
mov eax, dword [rbx + 6]
mov dword [rsp + 0x40], eax
movzx eax, byte [rbx + 0xb]
mov byte [rsp + 0x45], al
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x44], cl
cmp rdx, qword [r13 + 0x80]
je 0x140038433
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], eax
add qword [r13 + 0x78], 0x14
jmp 0x140038441
lea r8, [rsp + 0x38]
lea rcx, [r13 + 0x70]
call fcn.140036390
inc ebp
inc rsi
sub rbx, 0x10
cmp rsi, r14
jl 0x1400383e3
jmp 0x1400384c3
shl ebp, 4
lea rdx, str.object_count:
movsxd rax, ebp
sub r12, rax
mov eax, dword [r12 - 4]
mov dword [r13 + 0xe4], eax
mov eax, dword [r12]
mov dword [r13 + 0xe8], eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004760
mov edx, dword [r13 + 0xe4]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str.__oid:
call fcn.140004760
mov edx, dword [r13 + 0xe8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400094e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r12, qword [rsp + 0x28]
lea rsi, [r13 + 0xb8]
movsx rbx, word [r12 + 0x3e]
lea rdi, [r12 + 0x3e]
xor r8d, r8d
lea rdx, [0x1400ec608]
mov rcx, rsi
add rdi, 2
call fcn.1400201c0
mov rbp, rbx
test rbx, rbx
jle 0x14003854a
movzx ebx, byte [rsp + 0x20]
xor r14d, r14d
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
movzx r9d, byte [r14 + rdi]
cmp rcx, rdx
jae 0x140038531
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140038526
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140038542
movzx r8d, bl
mov edx, 1
mov rcx, rsi
call fcn.140007860
inc r14
cmp r14, rbp
jl 0x140038500
add rdi, rbp
lea rdx, str.name:
mov eax, dword [rdi]
mov dword [r13 + 0xd8], eax
mov eax, dword [rdi + 4]
mov dword [r13 + 0xdc], eax
mov eax, dword [rdi + 8]
add rdi, 0xc
mov dword [r13 + 0xe0], eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004760
cmp qword [rsi + 0x18], 0x10
mov r8, qword [rsi + 0x10]
jb 0x14003858f
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140006c80
lea rdx, str.__width:
mov rcx, rax
call fcn.140004760
mov edx, dword [r13 + 0xd8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str.__height:
call fcn.140004760
mov edx, dword [r13 + 0xdc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str.__tile_count:
call fcn.140004760
mov edx, dword [r13 + 0xe0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400094e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [0x14015b9b8]
cmp byte [rax + 0x28], 0
je 0x14003896a
xor r14d, r14d
cmp dword [r13 + 0xe0], r14d
jle 0x14003896a
nop dword [rax + rax]
mov rax, rdi
sub rax, r12
cmp rax, 0x32
jl 0x14003893a
movzx eax, word [rdi + 4]
lea rsi, [rdi + 4]
mov rdx, qword [r15 + 8]
movzx ebx, word [rdi]
mov word [rsp + 0x2a], ax
movzx eax, word [rdi + 6]
mov word [rsp + 0x2e], ax
movzx eax, byte [rdi + 8]
mov byte [rsp + 0x30], al
movzx eax, byte [rdi + 9]
mov byte [rsp + 0x31], al
mov word [rsp + 0x28], bx
cmp rdx, qword [r15 + 0x10]
je 0x140038692
movsd xmm0, qword [rsp + 0x28]
movzx eax, word [rsp + 0x30]
movsd qword [rdx], xmm0
mov word [rdx + 8], ax
add qword [r15 + 8], 0xa
jmp 0x14003869f
lea r8, [rsp + 0x28]
mov rcx, r15
call fcn.140036160
cmp word [rsi], 0
mov rdi, rsi
je 0x1400386ac
lea rdi, [rsi + 2]
mov rcx, qword [0x14015b9b8]
add rdi, 4
mov edx, ebx
mov rsi, rdi
call fcn.1400355a0
test al, al
je case.0x1400386f7.52
movzx eax, byte [rdi]
inc rdi
mov ebp, eax
dec eax
cmp eax, 0x49
ja case.0x1400386f7.5
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x389f0]
mov ecx, dword [rdx + rax*4 + 0x38984]
add rcx, rdx
jmp rcx
movsx rdi, word [rdi]
add rdi, 4
add rdi, rsi
jmp case.0x1400386f7.52
movsx rdi, word [rdi]
add rdi, 7
add rdi, rsi
jmp case.0x1400386f7.52
mov eax, dword [rsi + 6]
shl eax, 2
movsxd rdi, eax
add rdi, 0x12
add rdi, rsi
jmp case.0x1400386f7.52
lea rdi, [rsi + 6]
jmp case.0x1400386f7.52
lea rdi, [rsi + 2]
jmp case.0x1400386f7.52
lea rdi, [rsi + 5]
jmp case.0x1400386f7.52
movsx rdi, word [rsi + 5]
add rdi, 7
add rdi, rsi
jmp case.0x1400386f7.52
movsx rdi, word [rdi]
add rdi, 0x1a
add rdi, rsi
jmp case.0x1400386f7.52
lea rdi, [rsi + 0x13]
jmp case.0x1400386f7.52
movsx rdi, word [rdi]
add rdi, 8
add rdi, rsi
jmp case.0x1400386f7.52
lea rdi, [rsi + 9]
jmp case.0x1400386f7.52
mov eax, dword [rsi + 2]
shl eax, 2
movsxd rdi, eax
add rdi, 6
add rdi, rsi
jmp case.0x1400386f7.52
lea rdi, [rsi + 7]
jmp case.0x1400386f7.52
mov eax, 0xd42
cmp bx, ax
jne case.0x1400386f7.52
movsx rdi, word [rdi]
add rdi, 3
add rdi, rsi
jmp case.0x1400386f7.52
movsx rdi, word [rdi]
add rdi, 0x23
add rdi, rsi
jmp case.0x1400386f7.52
lea rdi, [rsi + 0x16]
jmp case.0x1400386f7.52
lea rdi, [rsi + 0x11]
jmp case.0x1400386f7.52
mov eax, dword [rsi + 6]
shl eax, 2
movsxd rdi, eax
add rdi, 0xa
add rdi, rsi
jmp case.0x1400386f7.52
movsx rdi, word [rdi]
add rdi, 0x1d
add rdi, rsi
jmp case.0x1400386f7.52
lea rdi, [rsi + 0xa]
jmp case.0x1400386f7.52
lea rdi, [rsi + 0x15]
jmp case.0x1400386f7.52
lea rdi, [rsi + 0xf]
jmp case.0x1400386f7.52
imul eax, dword [rdi], 0xf
movsxd rdi, eax
add rdi, 0xd
add rdi, rsi
jmp case.0x1400386f7.52
lea rdi, [rsi + 0x12]
jmp case.0x1400386f7.52
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.unhandled_type
call fcn.140004760
mov edx, ebp
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._index:
call fcn.140004760
mov edx, r14d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str.__item_id:
call fcn.140004760
movzx edx, bx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x1400094e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.preview_40_first_byte:
call fcn.140004760
xor ebx, ebx
mov rsi, rdi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400eeb90]
call fcn.140004760
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400ecf68]
call fcn.140004760
movzx edx, byte [rsi]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400ed2c8]
call fcn.140004760
inc ebx
lea rsi, [rsi + 1]
cmp ebx, 0x28
jl 0x1400388c1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400094e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc r14d
cmp r14d, dword [r13 + 0xe0]
jl 0x140038630
jmp 0x14003896a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.failed_serialize
call fcn.140004760
lea rdx, [0x1400094e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [r15]
cmp rax, qword [r15 + 8]
je 0x14003896a
mov qword [r15 + 8], rax
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret