Function at 0x14004fb60
Capabilities:
Parse pe header
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
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x1408f0280]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rdx
mov r13, rcx
xor esi, esi
mov r8, qword [rdx]
test r8, r8
je 0x14004ff2a
mov r14d, 0x5a4d
cmp word [r8], r14w
jne 0x14004ff2a
movsxd rax, dword [r8 + 0x3c]
cmp dword [rax + r8], 0x4550
jne 0x14004ff2a
mov r12d, dword [rax + r8 + 0x50]
test r12, r12
je 0x14004ff2a
mov ecx, r12d
call fcn.1401181b8
mov rbx, rax
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.140153440
mov qword [rsp + 0x30], rbx
mov rdx, qword [rdi]
test rdx, rdx
je 0x14004ff19
cmp word [rdx], r14w
jne 0x14004ff19
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14004ff19
mov r8d, 0x1000
mov rcx, rbx
call fcn.140152da0
mov r15, qword [rdi]
movzx ecx, word [rbx]
cmp cx, r14w
jne 0x14004ff19
movsxd r14, dword [rbx + 0x3c]
add r14, rbx
cmp dword [r14], 0x4550
jne 0x14004ff19
movzx edi, word [r14 + 0x14]
add rdi, 0x18
add rdi, r14
je 0x14004ff19
xor eax, eax
cmp ax, word [r14 + 6]
jae 0x14004fc92
add rdi, 0x14
lea rax, [rdi - 0x14]
test rax, rax
je 0x14004fc80
mov r8d, dword [rdi - 4]
mov edx, dword [rdi]
add rdx, r15
mov ecx, dword [rdi - 8]
add rcx, rbx
call fcn.140152da0
inc esi
add rdi, 0x28
movzx eax, word [r14 + 6]
cmp esi, eax
jl 0x14004fc63
movzx ecx, word [rbx]
mov r14d, 0x5a4d
cmp cx, r14w
jne 0x14004ff19
movsxd r11, dword [rbx + 0x3c]
cmp dword [r11 + rbx], 0x4550
jne 0x14004ff19
mov rcx, qword [r11 + rbx + 0xb0]
test ecx, ecx
je 0x14004fd4b
mov rax, rcx
shr rax, 0x20
test eax, eax
je 0x14004fd4b
mov r9d, ecx
add r9, rbx
lea rdi, [r9 + rax]
je 0x14004fd4b
mov esi, 0xfff
mov eax, dword [r9]
test eax, eax
je 0x14004fd4b
mov ecx, dword [r9 + 4]
test ecx, ecx
je 0x14004fd4b
cmp rax, rdi
jae 0x14004fd4b
lea r10, [rax + rbx]
lea rdx, [r9 + 8]
lea rax, [rcx - 8]
shr rax, 1
test eax, eax
je 0x14004fd42
mov r8d, eax
nop
movzx ecx, word [rdx]
movzx eax, cx
shr ax, 0xc
and cx, si
cmp ax, 0xa
je 0x14004fd29
cmp ax, 3
jne 0x14004fd38
movzx ecx, cx
mov rax, rbx
sub rax, qword [r11 + rbx + 0x30]
add qword [rcx + r10], rax
add rdx, 2
sub r8, 1
jne 0x14004fd10
mov eax, dword [r9 + 4]
add r9, rax
jne 0x14004fce4
mov rdx, rbx
mov rcx, r13
call fcn.14004f970
test al, al
je 0x14004ff19
lea rcx, [r13 + 8]
mov r8, r12
call fcn.14004e0a0
mov rsi, rax
test rax, rax
je 0x14004ff19
cmp word [rbx], r14w
jne 0x14004ff0d
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rcx + rbx], 0x4550
jne 0x14004ff0d
mov r9d, dword [rcx + rbx + 0x50]
mov r8, rbx
mov rdx, rax
mov rcx, r13
call fcn.14004e3e0
test al, al
je 0x14004ff0d
lea rcx, str.mapped_n
call fcn.14004d830
cmp word [rbx], r14w
jne 0x14004ff0d
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rdi + rbx], 0x4550
jne 0x14004ff0d
mov eax, dword [rdi + rbx + 0x28]
test eax, eax
je 0x14004ff0d
lea r14, [rsi + rax]
lea rcx, [r13 + 8]
mov r8d, 0x1000
call fcn.14004e0a0
mov r15, rax
test rax, rax
je 0x14004ff0d
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
movabs rax, 0x1803085156e80c40
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov eax, dword [rdi + rbx + 0x50]
mov qword [rsp + 0x50], rax
mov r9d, 0xb0
lea r8, [rsp + 0x40]
mov rdx, r15
mov rcx, r13
call fcn.14004e3e0
test al, al
je 0x14004ff01
test r14, r14
je 0x14004ff01
mov word [rsp + 0x20], 0xb848
mov word [rsp + 0x2a], 0xe0ff
mov qword [rsp + 0x22], r14
mov r9d, ntohs
lea r8, [rsp + 0x20]
mov rdx, qword [r13 + 0xa0]
mov rcx, r13
call fcn.14004e480
test al, al
je 0x14004ff01
mov rax, qword [r13 + 0x88]
xor edx, edx
mov rcx, r15
call rax
lea r8, [r13 + 0xb0]
mov r9d, ntohs
mov rdx, qword [r13 + 0xa0]
mov rcx, r13
call fcn.14004e480
lea rcx, [r13 + 8]
mov rdx, r15
call fcn.140051ae0
lea rcx, str.executed_n
call fcn.14004d830
mov dil, 1
jmp 0x14004ff1c
lea rcx, [r13 + 8]
mov rdx, r15
call fcn.140051ae0
lea rcx, [r13 + 8]
mov rdx, rsi
call fcn.140051ae0
xor dil, dil
mov rcx, rbx
call fcn.140117d3c
movzx eax, dil
jmp 0x14004ff2c
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140117aa0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret