Function at 0x180084410
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd8], rsi
mov rax, qword [0x1801c1040]
xor rax, rbp
mov qword [rbp + 0x80], rax
mov r15, r8
mov rsi, rdx
mov qword [rbp + 0x78], rcx
call fcn.180083b20
mov r9, rax
test rax, rax
jne 0x180084585
lea rsi, vtable.el::base::Writer.0
mov qword [rbp], rsi
xor r14d, r14d
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], 0x10
lea rax, str.C:Users_nnamaOneDrive_
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0x125
lea rax, str.unsigned_char___cdecl_MEM::FindPattern_const_wchar_t__const_char__const_char__
mov qword [rbp + 0x28], rax
mov word [rbp + 0x30], r14w
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x40], r14b
mov qword [rbp + 0x48], r14
lea rax, [0x180110a30]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
lea r8, str.default
lea edx, [r9 + 1]
lea rcx, [rbp]
call fcn.180013dc0
mov rbx, rax
cmp byte [rax + 0x40], r14b
je 0x180084519
mov rcx, qword [rax + 0x48]
add rcx, 0x50
lea rdx, str.failed_to_get_module_handle_for:__
call fcn.180006c60
mov rcx, qword [0x1801c8ac8]
test dword [rcx + 0x28], 0x2000
jbe 0x180084519
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x180110a44]
call fcn.180006c60
lea rdx, [rbp + 0x78]
mov rcx, rbx
call fcn.180084a30
mov rbx, rax
cmp byte [rax + 0x40], 0
je 0x180084567
mov rcx, qword [rax + 0x48]
add rcx, 0x50
lea rdx, [0x18019e5e0]
call fcn.180006c60
mov rcx, qword [0x1801c8ac8]
test dword [rcx + 0x28], 0x2000
jbe 0x180084567
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x180110a44]
call fcn.180006c60
nop
mov qword [rbp], rsi
lea rcx, [rbp]
call fcn.180014370
lea rcx, [rbp + 0x60]
call fcn.1800064e0
nop
xor eax, eax
jmp 0x1800849f4
mov eax, 0x5a4d
cmp word [r9], ax
je 0x18008466d
lea rsi, vtable.el::base::Writer.0
mov qword [rbp], rsi
xor r14d, r14d
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], 0x10
lea rax, str.C:Users_nnamaOneDrive_
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0x12e
lea rax, str.unsigned_char___cdecl_MEM::FindPattern_const_wchar_t__const_char__const_char__
mov qword [rbp + 0x28], rax
mov word [rbp + 0x30], r14w
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x40], r14b
mov qword [rbp + 0x48], r14
lea rax, [0x180110a30]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
lea r8, str.default
lea edx, [r14 + 1]
lea rcx, [rbp]
call fcn.180013dc0
mov rbx, rax
cmp byte [rax + 0x40], r14b
je 0x18008464f
mov rcx, qword [rax + 0x48]
add rcx, 0x50
lea rdx, str.failed_to_get_module_size__image_is_invalid
call fcn.180006c60
mov rcx, qword [0x1801c8ac8]
test dword [rcx + 0x28], 0x2000
jbe 0x18008464f
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x180110a44]
call fcn.180006c60
nop
mov qword [rbp], rsi
lea rcx, [rbp]
call fcn.180014370
lea rcx, [rbp + 0x60]
call fcn.1800064e0
nop
xor eax, eax
jmp 0x1800849f4
movsxd rax, dword [r9 + 0x3c]
cmp dword [rax + r9], 0x4550
je 0x180084758
lea rsi, vtable.el::base::Writer.0
mov qword [rbp], rsi
xor r14d, r14d
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], 0x10
lea rax, str.C:Users_nnamaOneDrive_
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0x135
lea rax, str.unsigned_char___cdecl_MEM::FindPattern_const_wchar_t__const_char__const_char__
mov qword [rbp + 0x28], rax
mov word [rbp + 0x30], r14w
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x40], r14b
mov qword [rbp + 0x48], r14
lea rax, [0x180110a30]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
lea r8, str.default
lea edx, [r14 + 1]
lea rcx, [rbp]
call fcn.180013dc0
mov rbx, rax
cmp byte [rax + 0x40], r14b
je 0x18008473a
mov rcx, qword [rax + 0x48]
add rcx, 0x50
lea rdx, str.failed_to_get_module_size__image_is_invalid
call fcn.180006c60
mov rcx, qword [0x1801c8ac8]
test dword [rcx + 0x28], 0x2000
jbe 0x18008473a
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x180110a44]
call fcn.180006c60
nop
mov qword [rbp], rsi
lea rcx, [rbp]
call fcn.180014370
lea rcx, [rbp + 0x60]
call fcn.1800064e0
nop
xor eax, eax
jmp 0x1800849f4
mov rbx, r15
movzx r12d, byte [r15]
test r12b, r12b
je 0x18008476c
inc rbx
cmp byte [rbx], 0
jne 0x180084764
sub rbx, r15
mov edi, dword [rax + r9 + 0x50]
sub rdi, rbx
add rdi, r9
xor r14d, r14d
cmp r9, rdi
jae 0x1800847ec
cmp r12b, 0x3f
je 0x180084790
movzx eax, byte [rsi]
cmp byte [r9], al
jne 0x1800847e4
cmp rbx, 1
je 0x1800847d6
lea rax, [r9 + 1]
mov r8, r15
sub r8, r9
mov r10, rsi
sub r10, r9
mov r11, r9
not r11
mov rdx, r9
cmp byte [rax + r8], 0x3f
je 0x1800847c6
lea r9, [rax - 1]
movzx ecx, byte [r10 + rax]
cmp byte [rax], cl
jne 0x1800847e4
mov r9, rdx
inc rax
lea rdx, [r11 + rax]
lea rcx, [rbx - 1]
cmp rdx, rcx
jne 0x1800847ac
mov r15, r9
test r9, r9
jne 0x1800849f1
jmp 0x1800847ef
inc r9
cmp r9, rdi
jb 0x180084782
mov r15, r14
lea rax, [rbx + rbx*2]
lea rcx, [rax + 0x10]
mov rdx, r14
cmp rcx, rax
cmova rdx, rcx
test rdx, rdx
je 0x180084861
cmp rdx, 0x400
ja 0x180084844
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x180084822
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1800ef860
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x180084864
mov dword [rdi], 0xcccc
add rdi, 0x10
jmp 0x180084864
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x180084864
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x180084864
mov rdi, r14
mov rdx, rdi
mov r8, r14
test rbx, rbx
je 0x1800848a5
lea r9, str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF
nop word [rax + rax]
movzx eax, byte [r8 + rsi]
lea rcx, [r9 + rax*2]
movzx eax, byte [rcx]
mov byte [rdx], al
movzx eax, byte [rcx + 1]
mov byte [rdx + 1], al
mov byte [rdx + 2], 0x20
add rdx, 3
inc r8
cmp r8, rbx
jb 0x180084880
mov byte [rdx - 1], r14b
lea rsi, vtable.el::base::Writer.0
mov qword [rbp], rsi
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], 0x10
lea rax, str.C:Users_nnamaOneDrive_
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0x16f
lea rax, str.unsigned_char___cdecl_MEM::FindPattern_const_wchar_t__const_char__const_char__
mov qword [rbp + 0x28], rax
mov word [rbp + 0x30], r14w
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x40], r14b
mov qword [rbp + 0x48], r14
lea rax, [0x180110a30]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
lea r8, str.default
mov edx, 1
lea rcx, [rbp]
call fcn.180013dc0
mov rbx, rax
cmp byte [rax + 0x40], 0
je 0x180084961
mov rcx, qword [rax + 0x48]
add rcx, 0x50
lea rdx, str.pattern_not_found:__
call fcn.180006c60
mov rcx, qword [0x1801c8ac8]
test dword [rcx + 0x28], 0x2000
jbe 0x180084961
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x180110a44]
call fcn.180006c60
cmp byte [rbx + 0x40], 0
je 0x1800849da
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
mov rdx, rdi
call fcn.180006c60
mov rax, qword [0x1801c8ac8]
test dword [rax + 0x28], 0x2000
jbe 0x18008499b
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x180110a44]
call fcn.180006c60
cmp byte [rbx + 0x40], 0
je 0x1800849da
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x18019e5e0]
call fcn.180006c60
mov rax, qword [0x1801c8ac8]
test dword [rax + 0x28], 0x2000
jbe 0x1800849da
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x180110a44]
call fcn.180006c60
nop
mov qword [rbp], rsi
lea rcx, [rbp]
call fcn.180014370
lea rcx, [rbp + 0x60]
call fcn.1800064e0
nop
mov rax, r15
mov rcx, qword [rbp + 0x80]
xor rcx, rbp
call fcn.180084bc0
mov rbx, qword [rbp + 0xc8]
mov rsi, qword [rbp + 0xd8]
lea rsp, [rbp + 0x90]
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret