Function at 0x1800c29d0
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, rdx
mov rbx, rcx
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x1800c2a60
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor edx, edx
mov r8d, 0x1000002
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1800c2ac6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800c2a9a
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x1800c2a95
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800c2cf6
mov rcx, r8
call fcn.1800d9c1c
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], send
mov qword [rbx + 0x10], rsi
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x1800c2af7
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
jmp 0x1800c2a59
movsxd rax, dword [rax + 0x3c]
mov ecx, 0x5a4d
cmp word [r14], cx
jne 0x1800c2cd0
cmp dword [rax + r14], 0x4550
jne 0x1800c2cd0
mov eax, dword [rax + r14 + 0x78]
add rax, r14
mov qword [rsp + 0xd8], rax
mov ecx, dword [rax + 0x1c]
add rcx, r14
mov qword [rsp + 0x40], rcx
mov r15d, dword [rax + 0x20]
add r15, r14
mov r12d, dword [rax + 0x24]
add r12, r14
mov edi, esi
mov r13d, esi
cmp dword [rax + 0x18], esi
jle 0x1800c2c6f
nop
movzx eax, word [r12]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xd0], eax
mov edx, dword [r15]
add rdx, r14
je 0x1800c2ccc
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800c2b84
lea rcx, [rsp + 0x58]
call fcn.1800091d0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800c2ba5
mov rdx, qword [rbx]
lea rcx, [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
cmp rsi, 0xf
seta bpl
mov rdi, qword [rsp + 0x58]
cmova rcx, rdi
mov r8, qword [rsp + 0x68]
cmp r8, qword [rbx + 0x10]
jne 0x1800c2bd4
call fcn.18010c1c0
test eax, eax
je 0x1800c2c2f
test bpl, bpl
je 0x1800c2c0a
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800c2c02
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c2cf0
mov rcx, rdi
call fcn.1800d9c1c
inc r13d
add r12, 2
add r15, 4
mov rax, qword [rsp + 0xd8]
xor esi, esi
cmp r13d, dword [rax + 0x18]
jge 0x1800c2c68
mov rcx, qword [rsp + 0x40]
jmp 0x1800c2b50
cmp rsi, 0xf
jbe 0x1800c2c66
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800c2c5e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c2cf0
mov rcx, rdi
call fcn.1800d9c1c
xor esi, esi
mov edi, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800c2cc5
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1800c2cc0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800c2cf6
mov rcx, r8
call fcn.1800d9c1c
mov eax, edi
jmp 0x1800c2a9c
mov edi, esi
jmp 0x1800c2c6f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x1800c2a60
call fcn.1800e5f80
nop
call fcn.1800e5f80
int3