Function at 0x140003b78
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
sub rsp, 0x50
xor ebx, ebx
lea rcx, [rax - 0x38]
xor edx, edx
xor ebp, ebp
lea r8d, [rbx + 0x30]
call fcn.1401afe70
movsxd rax, dword [0x14027c50c]
lea r13, [0x14027c4d0]
xor esi, esi
mov ecx, 0x5a4d
cmp word [0x14027c4d0], cx
lea rdi, [rax + r13]
jne 0x140003dfc
cmp dword [rdi], 0x4550
jne 0x140003dfc
mov ecx, 0xe0c00
cmp dword [rdi + 0x54], ecx
ja 0x140003df2
add rax, 0x108
cmp rax, rcx
ja 0x140003df2
mov eax, 0x8664
cmp word [rdi + 4], ax
je 0x140003c0e
mov ecx, 0xc1
call qword [0x14036ceb8]
jmp 0x140003e36
movzx eax, word [rdi + 6]
movzx ecx, word [rdi + 0x14]
test eax, eax
je 0x140003c49
lea rdx, [rdi + 0x24]
mov r8d, eax
add rdx, rcx
cmp dword [rdx + 4], ebx
jne 0x140003c30
mov ecx, dword [rdx]
mov eax, dword [rdi + 0x38]
jmp 0x140003c35
mov ecx, dword [rdx + 4]
mov eax, dword [rdx]
add rcx, rax
cmp rcx, rbp
cmova rbp, rcx
add rdx, 0x28
sub r8, 1
jne 0x140003c24
lea rcx, [rsp + 0x20]
call qword [0x14036cec0]
mov edx, dword [rsp + 0x24]
lea r8d, [rdx - 1]
lea ebx, [rdx - 1]
not r8d
add ebx, dword [rdi + 0x50]
lea rcx, [rdx - 1]
add rcx, rbp
and rbx, r8
and rcx, r8
cmp rbx, rcx
jne 0x140003bfe
mov rcx, qword [rdi + 0x30]
mov ebp, 4
mov r9d, ebp
mov r8d, 0x3000
mov rdx, rbx
call qword [0x14036cec8]
mov rsi, rax
test rax, rax
jne 0x140003cbe
mov r9d, ebp
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [0x14036cec8]
mov rsi, rax
test rax, rax
jne 0x140003cbe
lea ecx, [rbp + 0xa]
jmp 0x140003c03
call qword [0x14036cef8]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x20]
call qword [0x14036ced0]
mov rbx, rax
test rax, rax
jne 0x140003ce8
mov ecx, 0xe
jmp 0x140003e01
mov qword [rax + 8], rsi
mov r9d, ebp
mov eax, dword [rsp + 0x24]
mov r8d, 0x1000
mov dword [rbx + 0x24], eax
mov rcx, rsi
mov edx, dword [rdi + 0x54]
call qword [0x14036cec8]
mov rbp, rax
test rax, rax
je 0x140003cde
mov r8d, dword [rdi + 0x54]
mov rdx, r13
mov rcx, rax
call fcn.1401afa20
movsxd rcx, dword [0x14027c50c]
mov r9, rbx
add rcx, rbp
mov r8, rdi
mov qword [rbx], rcx
mov qword [rcx + 0x30], rsi
call fcn.140003450
test eax, eax
je 0x140003e07
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x140003d5d
mov rcx, rbx
call fcn.140003570
mov dword [rbx + 0x20], eax
jmp 0x140003d64
mov dword [rbx + 0x20], 1
mov rcx, rbx
call fcn.140003628
test eax, eax
je 0x140003e07
mov rcx, rbx
call fcn.1400038b4
test eax, eax
je 0x140003e07
mov rax, qword [rbx]
cmp dword [rax + 0xd0], 0
je 0x140003dbf
mov ecx, dword [rax + 0xd0]
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x140003dbf
jmp 0x140003db7
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea edx, [r8 + 1]
call rax
lea rdi, [rdi + 8]
mov rax, qword [rdi]
test rax, rax
jne 0x140003da6
mov rax, qword [rbx]
cmp dword [rax + 0x28], 0
je 0x140003ded
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov eax, dword [rax + 0x28]
add rax, rcx
lea edx, [r8 + 1]
call rax
test eax, eax
jne 0x140003de6
mov ecx, 0x45a
jmp 0x140003e01
mov dword [rbx + 0x1c], 1
mov rax, rbx
jmp 0x140003e38
mov ecx, 0xd
jmp 0x140003c03
mov ecx, 0xc1
call qword [0x14036ceb8]
test rsi, rsi
je 0x140003e1d
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x14036cee0]
test rbx, rbx
je 0x140003e36
call qword [0x14036cef8]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x14036cef0]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r13
ret