Function at 0x1400035c8
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 r13
push r14
push r15
sub rsp, 0x50
xor r14d, r14d
lea rcx, [rax - 0x54]
xor edx, edx
lea r8d, [r14 + 0x2c]
mov ebx, r14d
mov ebp, r14d
mov dword [rax - 0x58], r14d
call fcn.140184970
lea r13, [0x14024a510]
mov eax, 0xd27
mov r10d, 0x159c00
mov r8, r13
mov esi, r14d
movzx edx, r14w
lea r15d, [r14 + 1]
mov word [rsp + 0x88], ax
mov r9d, r10d
cmp r15w, dx
jne 0x140003632
mov edx, r14d
mov cl, byte [r8]
movzx eax, dx
add dx, r15w
mov al, byte [rsp + rax*2 + 0x88]
add cl, 9
xor al, cl
mov byte [r8], al
add r8, r15
sub r9, r15
jne 0x140003629
movsxd rax, dword [0x14024a54c]
mov ecx, 0x5a4d
cmp word [0x14024a510], cx
lea rdi, [rax + r13]
jne 0x140003893
cmp dword [rdi], 0x4550
jne 0x140003893
cmp dword [rdi + 0x54], r10d
ja 0x140003889
add rax, 0x108
cmp rax, r10
ja 0x140003889
mov eax, 0x8664
cmp word [rdi + 4], ax
je 0x1400036b0
mov ecx, 0xc1
call qword [0x1403b4020]
jmp 0x1400038cd
movzx eax, word [rdi + 6]
movzx ecx, word [rdi + 0x14]
test eax, eax
je 0x1400036eb
lea rdx, [rdi + 0x24]
mov r8d, eax
add rdx, rcx
cmp dword [rdx + 4], r14d
jne 0x1400036d3
mov ecx, dword [rdx]
mov eax, dword [rdi + 0x38]
jmp 0x1400036d8
mov ecx, dword [rdx + 4]
mov eax, dword [rdx]
add rcx, rax
cmp rcx, rbp
cmova rbp, rcx
add rdx, 0x28
sub r8, r15
jne 0x1400036c6
lea rcx, [rsp + 0x20]
call qword [0x1403b4028]
mov r8d, dword [rsp + 0x24]
lea edx, [r8 - 1]
lea ebx, [r8 - 1]
lea rcx, [r8 - 1]
add ebx, dword [rdi + 0x50]
not edx
add rcx, rbp
and rbx, rdx
and rcx, rdx
cmp rbx, rcx
jne 0x1400036a0
mov rcx, qword [rdi + 0x30]
mov ebp, 4
mov r8d, 0x3000
mov r9d, ebp
mov rdx, rbx
call qword [0x1403b4030]
mov rsi, rax
test rax, rax
jne 0x140003761
mov r9d, ebp
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [0x1403b4030]
mov rsi, rax
test rax, rax
jne 0x140003761
lea ecx, [rbp + 0xa]
jmp 0x1400036a5
call qword [0x1403b4060]
mov edx, 8
lea r8d, [rdx + 0x20]
mov rcx, rax
call qword [0x1403b4038]
mov rbx, rax
test rax, rax
jne 0x14000378b
mov ecx, 0xe
jmp 0x140003898
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 [0x1403b4030]
mov rbp, rax
test rax, rax
je 0x140003781
mov r8d, dword [rdi + 0x54]
mov rdx, r13
mov rcx, rax
call fcn.140187210
movsxd rcx, dword [0x14024a54c]
mov r9, rbx
add rcx, rbp
mov r8, rdi
mov qword [rbx], rcx
mov qword [rcx + 0x30], rsi
call fcn.140002eec
test eax, eax
je 0x14000389e
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x140003800
mov rcx, rbx
call fcn.14000300c
mov dword [rbx + 0x20], eax
jmp 0x140003804
mov dword [rbx + 0x20], r15d
mov rcx, rbx
call fcn.1400030cc
test eax, eax
je 0x14000389e
mov rcx, rbx
call fcn.140003338
test eax, eax
je 0x14000389e
mov rax, qword [rbx]
cmp dword [rax + 0xd0], r14d
je 0x14000385a
mov ecx, dword [rax + 0xd0]
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x14000385a
jmp 0x140003852
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, r15d
call rax
lea rdi, [rdi + 8]
mov rax, qword [rdi]
test rax, rax
jne 0x140003842
mov rax, qword [rbx]
cmp dword [rax + 0x28], r14d
je 0x140003884
mov rcx, qword [rbx + 8]
mov eax, dword [rax + 0x28]
xor r8d, r8d
add rax, rcx
mov edx, r15d
call rax
test eax, eax
jne 0x140003880
mov ecx, 0x45a
jmp 0x140003898
mov dword [rbx + 0x1c], r15d
mov rax, rbx
jmp 0x1400038cf
mov ecx, 0xd
jmp 0x1400036a5
mov ecx, 0xc1
call qword [0x1403b4020]
test rsi, rsi
je 0x1400038b4
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x1403b4048]
test rbx, rbx
je 0x1400038cd
call qword [0x1403b4060]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x1403b4058]
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret