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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14021f740]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, rcx
xor r15d, r15d
mov r12d, r15d
mov dword [rsp + 0x20], r15d
lea edx, [r15 + 0x30]
call fcn.14002b3a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 6
mov qword [rbp + 0x88], 0xf
mov eax, dword [str.Header]
mov dword [rbp + 0x70], eax
movzx eax, word [0x140184b54]
mov word [rbp + 0x74], ax
mov byte [rbp + 0x76], r12b
lea r9, [rbp + 0x70]
xor r8d, r8d
mov edx, dword [rsi + 0x38]
mov rcx, rsi
call fcn.140018170
mov r14, rax
mov qword [rsp + 0x28], rax
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x14004f15f
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f15a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f15a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov ebx, dword [rsi + 0x38]
movzx ecx, byte [rsi + 0x180]
lea eax, [rcx - 1]
cmp al, 1
jbe 0x14004f456
cmp cl, 3
jne 0x14004f2e5
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], 0xf
mov ecx, 0x20
call fcn.14016cc68
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x40], 0x10
mov qword [rbp + 0x48], 0x1f
movups xmm0, xmmword [str.ROM_Address_Base]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
lea r9, [rbp + 0x30]
mov r8d, 2
mov edx, ebx
mov rcx, r14
call fcn.140018240
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14004f225
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f220
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
mov edx, ebx
mov rcx, rsi
call fcn.140018750
movzx eax, ax
mov dword [rsi + 0x1c0], eax
cmp byte [rsi + 0x181], 5
je 0x14004f244
add ebx, 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], 0xb
mov qword [rbp + 0x68], 0xf
movsd xmm0, qword [str.End_Address]
movsd qword [rbp + 0x50], xmm0
movzx eax, word [0x140186600]
mov word [rbp + 0x58], ax
movzx eax, byte [0x140186602]
mov byte [rbp + 0x5a], al
mov byte [rbp + 0x5b], 0
lea r9, [rbp + 0x50]
mov r8d, 2
lea edx, [rbx + 0x10]
mov rcx, r14
call fcn.140018240
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14004f2d5
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f2d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f2d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
lea edx, [rbx + 0x10]
mov rcx, rsi
call fcn.14004f8a0
jmp 0x14004f432
cmp cl, 4
jne 0x14004f43b
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], 0xf
mov ecx, 0x20
call fcn.14016cc68
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x40], 0x10
mov qword [rbp + 0x48], 0x1f
movups xmm0, xmmword [str.ROM_Address_Base]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
lea r9, [rbp + 0x30]
mov r8d, 2
mov edx, ebx
mov rcx, r14
call fcn.140018240
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14004f380
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f37b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f37b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
mov edx, ebx
mov rcx, rsi
call fcn.140018750
movzx eax, ax
mov dword [rsi + 0x1c0], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], 0xb
mov qword [rbp + 0x68], 0xf
movsd xmm0, qword [str.End_Address]
movsd qword [rbp + 0x50], xmm0
movzx eax, word [0x140186600]
mov word [rbp + 0x58], ax
movzx eax, byte [0x140186602]
mov byte [rbp + 0x5a], al
mov byte [rbp + 0x5b], 0
lea r9, [rbp + 0x50]
mov r8d, 2
lea edx, [rbx + 2]
mov rcx, r14
call fcn.140018240
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14004f424
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f41f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f41f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
lea edx, [rbx + 2]
mov rcx, rsi
call fcn.14004f8a0
add ebx, 4
movzx eax, ax
mov dword [rsi + 0x1c4], eax
mov eax, dword [rsi + 0x1c4]
mov ecx, dword [rsi + 0x38]
cmp eax, ecx
jae 0x14004f44f
xor al, al
jmp 0x14004f84b
sub eax, ecx
mov dword [rsi + 0x3c], eax
jmp 0x14004f469
mov eax, dword [rsi + 0x1bc]
mov dword [rsi + 0x1c0], eax
mov dword [rsi + 0x1c4], r15d
xor r13b, r13b
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea r11, [0x1401845c8]
lea r10, [0x1401845c0]
cmp byte [rsi + 0xe8], 0
je 0x14004f4c8
mov rdi, qword [rsi + 0xd0]
cmp ebx, dword [rdi + 0x10]
jb 0x14004f49e
lea eax, [rbx + 2]
cmp eax, dword [rdi + 0x14]
jbe 0x14004f4b6
mov edx, ebx
mov rcx, rdi
call fcn.140121da0
lea r10, [0x1401845c0]
lea r11, [0x1401845c8]
mov eax, ebx
sub eax, dword [rdi + 0x10]
mov rdx, qword [rdi + 8]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
jmp 0x14004f4d7
mov eax, ebx
sub eax, dword [rsi + 0x90]
mov rdx, qword [rsi + 0x88]
mov r8d, eax
inc eax
movzx r9d, byte [rax + rdx]
movzx eax, byte [r8 + rdx]
shl r9w, 8
or r9w, ax
movzx eax, word [rsi + 0x1bc]
sub ax, word [rsi + 0x1c0]
add ax, r9w
movzx eax, ax
cmp eax, dword [rsi + 0x1c4]
je 0x14004f7c2
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x40], r11
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r12d, 1
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], rdi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], r15d
lea rdx, [0x140186608]
lea rcx, [rsp + 0x40]
call fcn.14001a5f0
movzx edx, r13b
inc edx
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]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov r15d, 0xf
mov qword [rbp + 0x48], r15
mov byte [rbp + 0x30], 0
or r12d, 4
mov dword [rsp + 0x20], r12d
movups xmmword [rbp + 0x50], xmm0
mov ecx, dword [rbp - 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14004f61c
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x14004f619
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov r14, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rdi, rax
cmp rax, qword [rbp - 0x50]
cmovb rdi, qword [rbp - 0x50]
sub rdi, r14
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x14004f65a
mov ecx, dword [rbp - 0x48]
test cl, 4
jne 0x14004f652
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x14004f652
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov r14, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rdi, rax
sub rdi, r14
jmp 0x14004f65a
mov rdi, qword [rbp + 0x58]
mov r14, qword [rbp + 0x50]
test r14, r14
je 0x14004f672
mov r8, rdi
mov rdx, r14
lea rcx, [rbp + 0x30]
call fcn.140016820
mov r15, qword [rbp + 0x48]
and r12d, 0xfffffffb
or r12d, 2
lea rdx, [rbp + 0x30]
cmp r15, 0xf
cmova rdx, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xor r15d, r15d
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r15b
jne 0x14004f6b0
lea rcx, [rbp + 0x90]
call fcn.1400067d0
nop
lea r9, [rbp + 0x90]
mov r8d, 2
mov edx, ebx
mov r14, qword [rsp + 0x28]
mov rcx, r14
call fcn.140018240
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x14004f724
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f71f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f87b
call fcn.14016cca4
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14004f779
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f773
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f882
call fcn.14016cca4
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], rdi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.14001ad40
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14004f830
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 4
mov qword [rbp + 0x48], 0xf
mov dword [rbp + 0x30], 0x4c4c554e
mov byte [rbp + 0x34], 0
lea r9, [rbp + 0x30]
mov r8d, 2
mov edx, ebx
mov rcx, r14
call fcn.140018240
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14004f830
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f82b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f889
call fcn.14016cca4
add ebx, 2
inc r13b
cmp r13b, 8
jb 0x14004f473
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
mov al, 1
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14016cd40
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3