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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xb8]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x110]
add rax, 0xb8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
call fcn.1400365c0
movzx eax, al
test eax, eax
je 0x140037710
cmp qword [rsp + 0x68], 0
je 0x140037701
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0xa
jne 0x140037701
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
jmp 0x1400376c8
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
movsx eax, byte [rax]
test eax, eax
jne 0x140037748
mov rax, qword [rsp + 0x120]
mov qword [rax], 0
mov rax, qword [rsp + 0x118]
jmp 0x140037dce
mov qword [rsp + 0x28], 0
mov rax, qword [0x140078e68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x118], rax
jne 0x140037773
mov byte [rsp + 0x20], 1
jmp 0x1400377ac
mov eax, 2
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x118]
call fcn.140050100
test eax, eax
jne 0x14003779b
mov dword [rsp + 0x30], 1
jmp 0x1400377a3
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140037861
mov rax, qword [rsp + 0x110]
add rax, 0x240
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x240]
mov qword [rsp + 0xa0], rcx
mov rcx, rax
mov rax, qword [rsp + 0xa0]
call qword [rax + 0x10]
mov rdx, rax
mov ecx, 0x68
call fcn.1400039c0
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xa8]
call fcn.140038ef0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x110]
mov ecx, dword [rcx + 0xb8]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x110]
add rax, 0x240
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x118]
add rax, 2
mov qword [rsp + 0x118], rax
jmp 0x140037db6
mov rax, qword [0x140078e60]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x118], rax
jne 0x140037883
mov byte [rsp + 0x21], 1
jmp 0x1400378bc
mov eax, 4
mov r8d, eax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x118]
call fcn.140050100
test eax, eax
jne 0x1400378ab
mov dword [rsp + 0x34], 1
jmp 0x1400378b3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140037971
mov rax, qword [rsp + 0x110]
add rax, 0x240
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x240]
mov qword [rsp + 0xb0], rcx
mov rcx, rax
mov rax, qword [rsp + 0xb0]
call qword [rax + 0x10]
mov rdx, rax
mov ecx, 0x68
call fcn.1400039c0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xb8]
call fcn.140038c70
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x110]
mov ecx, dword [rcx + 0xb8]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x110]
add rax, 0x240
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x118]
add rax, 4
mov qword [rsp + 0x118], rax
jmp 0x140037db6
mov rax, qword [str.___CDATA_]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x118], rax
jne 0x140037999
mov byte [rsp + 0x22], 1
jmp 0x1400379d5
mov eax, 9
mov r8d, eax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x118]
call fcn.140050100
test eax, eax
jne 0x1400379c4
mov dword [rsp + 0x38], 1
jmp 0x1400379cc
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140037abd
mov rax, qword [rsp + 0x110]
add rax, 0x1c0
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x1c0]
mov qword [rsp + 0xc0], rcx
mov rcx, rax
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x10]
mov rdx, rax
mov ecx, 0x70
call fcn.1400039c0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x50]
call fcn.140037e70
mov rax, qword [rsp + 0x50]
lea rcx, vtable.tinyxml2::XMLText.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x68], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x110]
mov ecx, dword [rcx + 0xb8]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x110]
add rax, 0x1c0
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x118]
add rax, 9
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x88]
mov byte [rax + 0x68], 1
jmp 0x140037db6
mov rax, qword [0x140078e50]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x118], rax
jne 0x140037ae5
mov byte [rsp + 0x23], 1
jmp 0x140037b21
mov eax, 2
mov r8d, eax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x118]
call fcn.140050100
test eax, eax
jne 0x140037b10
mov dword [rsp + 0x3c], 1
jmp 0x140037b18
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140037bd6
mov rax, qword [rsp + 0x110]
add rax, 0x240
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x240]
mov qword [rsp + 0xc8], rcx
mov rcx, rax
mov rax, qword [rsp + 0xc8]
call qword [rax + 0x10]
mov rdx, rax
mov ecx, 0x68
call fcn.1400039c0
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd0]
call fcn.140039170
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x110]
mov ecx, dword [rcx + 0xb8]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x110]
add rax, 0x240
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x118]
add rax, 2
mov qword [rsp + 0x118], rax
jmp 0x140037db6
mov rax, qword [0x140078e48]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x118], rax
jne 0x140037bfe
mov byte [rsp + 0x24], 1
jmp 0x140037c3a
mov eax, 1
mov r8d, eax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x118]
call fcn.140050100
test eax, eax
jne 0x140037c29
mov dword [rsp + 0x40], 1
jmp 0x140037c31
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140037cee
mov rax, qword [rsp + 0x110]
add rax, 0xc0
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0xc0]
mov qword [rsp + 0xd8], rcx
mov rcx, rax
mov rax, qword [rsp + 0xd8]
call qword [rax + 0x10]
mov rdx, rax
mov ecx, 0x78
call fcn.1400039c0
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xe0]
call fcn.140039680
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x110]
mov ecx, dword [rcx + 0xb8]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x110]
add rax, 0xc0
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x118]
inc rax
mov qword [rsp + 0x118], rax
jmp 0x140037db6
mov rax, qword [rsp + 0x110]
add rax, 0x1c0
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x1c0]
mov qword [rsp + 0xe8], rcx
mov rcx, rax
mov rax, qword [rsp + 0xe8]
call qword [rax + 0x10]
mov rdx, rax
mov ecx, 0x70
call fcn.1400039c0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x58]
call fcn.140037e70
mov rax, qword [rsp + 0x58]
lea rcx, vtable.tinyxml2::XMLText.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x58]
mov byte [rax + 0x68], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x110]
add rax, 0x1c0
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x110]
mov ecx, dword [rcx + 0xb8]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x110]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0xb8], ecx
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x118]
add rsp, 0x108
ret