Function at 0x140002000
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov dword [rax + 0x10], edx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
xor r13d, r13d
lea rcx, [rax - 0x54]
xor edx, edx
lea r8d, [r13 + 0x2c]
mov rbx, r13
mov rbp, r13
mov dword [rax - 0x58], r13d
call fcn.1400035b0
lea r11, [0x1408130f0]
mov eax, 0xd27
mov r10d, 0x1e9200
mov r8, r11
mov rsi, r13
mov dx, r13w
lea r14d, [r13 + 1]
mov word [rsp + 0x88], ax
mov r9, r10
cmp r14w, dx
jne 0x14000206a
mov edx, r13d
mov cl, byte [r8]
movzx eax, dx
add dx, r14w
mov al, byte [rsp + rax*2 + 0x88]
add cl, 9
xor al, cl
mov byte [r8], al
add r8, r14
sub r9, r14
jne 0x140002061
movsxd rax, dword [0x14081312c]
mov ecx, 0x5a4d
lea rdi, [rax + r11]
cmp word [0x1408130f0], cx
jne 0x1400022d5
cmp dword [rdi], 0x4550
jne 0x1400022d5
cmp dword [rdi + 0x54], r10d
ja 0x1400022cb
add rax, 0x108
cmp rax, r10
ja 0x1400022cb
mov eax, 0x8664
cmp word [rdi + 4], ax
je 0x1400020e8
mov ecx, 0xc1
call qword [0x141862a70]
jmp 0x14000230f
movzx eax, word [rdi + 6]
movzx ecx, word [rdi + 0x14]
cmp eax, r13d
jbe 0x140002122
lea rdx, [rcx + rdi + 0x24]
mov r8, rax
cmp dword [rdx + 4], r13d
jne 0x14000210a
mov ecx, dword [rdi + 0x38]
mov eax, dword [rdx]
jmp 0x14000210f
mov ecx, dword [rdx]
mov eax, dword [rdx + 4]
add rcx, rax
cmp rcx, rbp
cmova rbp, rcx
add rdx, 0x28
sub r8, r14
jne 0x1400020fd
lea rcx, [rsp + 0x20]
call qword [0x141862a90]
mov r11d, dword [rsp + 0x24]
mov eax, dword [rdi + 0x50]
lea edx, [r11 - 1]
lea r12d, [rax + r11 - 1]
lea rcx, [r11 + rbp - 1]
not edx
and r12, rdx
and rcx, rdx
cmp r12, rcx
jne 0x1400020d8
mov rcx, qword [rdi + 0x30]
mov ebp, 4
mov r8d, 0x3000
mov r9d, ebp
mov rdx, r12
call qword [0x141862ab8]
mov rsi, rax
cmp rax, r13
jne 0x140002199
mov r9d, ebp
mov r8d, 0x3000
mov rdx, r12
xor ecx, ecx
call qword [0x141862ab8]
mov rsi, rax
cmp rax, r13
jne 0x140002199
mov ecx, 0xe
jmp 0x1400022da
call qword [0x141862aa8]
mov edx, 8
lea r8d, [rdx + 0x20]
mov rcx, rax
call qword [0x141862a80]
mov rbx, rax
cmp rax, r13
je 0x14000218f
mov qword [rax + 8], rsi
mov eax, dword [rsp + 0x24]
mov r9d, ebp
mov dword [rbx + 0x24], eax
mov edx, dword [rdi + 0x54]
mov r8d, 0x1000
mov rcx, rsi
call qword [0x141862ab8]
mov rbp, rax
cmp rax, r13
je 0x14000218f
mov r8d, dword [rdi + 0x54]
lea rdx, [0x1408130f0]
mov rcx, rax
call fcn.1400031c0
movsxd rax, dword [0x14081312c]
lea rcx, [0x1408130f0]
add rax, rbp
mov r9, rbx
mov r8, rdi
mov qword [rbx], rax
mov edx, 0x1e9200
mov qword [rax + 0x30], rsi
call fcn.140001928
cmp eax, r13d
je 0x1400022e0
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x14000223f
mov rcx, rbx
call fcn.140001a44
mov dword [rbx + 0x20], eax
jmp 0x140002243
mov dword [rbx + 0x20], r14d
mov rcx, rbx
call fcn.140001b04
cmp eax, r13d
je 0x1400022e0
mov rcx, rbx
call fcn.140001d84
cmp eax, r13d
je 0x1400022e0
mov rax, qword [rbx]
cmp dword [rax + 0xd0], r13d
je 0x14000229b
mov ecx, dword [rax + 0xd0]
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
cmp rdi, r13
je 0x14000229b
jmp 0x140002293
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, r14d
call rax
add rdi, 8
mov rax, qword [rdi]
cmp rax, r13
jne 0x140002283
mov rax, qword [rbx]
cmp dword [rax + 0x28], r13d
je 0x1400022c6
mov rcx, qword [rbx + 8]
mov eax, dword [rax + 0x28]
xor r8d, r8d
add rax, rcx
mov edx, r14d
call rax
cmp eax, r13d
jne 0x1400022c2
mov ecx, 0x45a
jmp 0x1400022da
mov dword [rbx + 0x1c], r14d
mov rax, rbx
jmp 0x140002311
mov ecx, 0xd
jmp 0x1400020dd
mov ecx, 0xc1
call qword [0x141862a70]
cmp rsi, r13
je 0x1400022f6
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x141862a98]
cmp rbx, r13
je 0x14000230f
call qword [0x141862aa8]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x141862aa0]
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret