Function at 0x14017ed40
Capabilities:
Parse pe header

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x3e8
lea rbp, [rsp + 0x420]
xorps xmm4, xmm4
movabs rax, 0xfffffffffffffca0
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x14017ed68
mov qword [rbp - 0x40], rax
mov rsi, rcx
call fcn.14007af10
mov rcx, rax
call fcn.1400f4ce0
mov rdi, rax
mov dword [rbp - 0x80], 0x60
mov dword [rbp - 0x398], 0x10001b
mov rbx, qword [rsi + 8]
mov rcx, rbx
mov qword [rbp - 0x3a0], rcx
test rcx, rcx
je 0x14017edc5
mov rcx, qword [rbp - 0x3a0]
cmp dword [rcx + 8], 0
jne 0x14017edca
xor r14d, r14d
jmp 0x14017ede6
mov rcx, qword [rbp - 0x3a0]
cmp dword [rcx + 8], 0
jbe 0x14017f3e3
mov r14, qword [rbp - 0x3a0]
add r14, 0x10
mov r15, r14
mov r12d, dword [r15 + 0x3c]
add r12, r15
xor ecx, ecx
mov qword [rbp - 0x3a0], rcx
cmp word [r15], 0x5a4d
jne 0x14017f22b
xor ecx, ecx
cmp dword [r12], 0x4550
setne cl
test cl, cl
jne 0x14017f22b
cmp word [r12 + 0x18], 0x10b
jne 0x14017f252
mov rcx, rbx
call fcn.140077680
cmp eax, 0x398
jbe 0x14017f279
lea rcx, [rbx + 8]
mov rax, qword [rbx]
mov eax, dword [rax + 4]
mov byte [rcx + rax + 0x388], 2
mov ebx, 0xc
movzx ecx, byte [rsi + 0x20]
test ecx, ecx
je 0x14017ee5f
mov ebx, 0x800000c
mov rcx, rsi
call fcn.14017fb00
mov rdx, rax
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], rdi
lea r8, [rbp - 0xb8]
mov qword [rsp + 0x40], r8
lea r8, [rbp - 0x58]
mov qword [rsp + 0x48], r8
lea r8, [rbp - 0xc0]
lea r9, [rbp - 0xc8]
xor ecx, ecx
call fcn.14017eb00
test eax, eax
jne 0x14017eee4
cmp qword [rbp - 0x58], 0
je 0x14017eedd
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14017f3f0
test eax, eax
je 0x14017f284
mov rcx, qword [rbp - 0x58]
call fcn.14017f480
mov rcx, qword [rbp - 0x50]
call fcn.14017f480
xor esi, esi
jmp 0x14017f213
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x58]
call fcn.14017f9f0
mov esi, dword [r12 + 0x34]
mov rcx, qword [rbp - 0x58]
mov rdx, rsi
call fcn.14017f760
mov dword [rsp + 0x20], 0x40
mov r8d, dword [r12 + 0x50]
mov rcx, qword [rbp - 0x58]
mov rdx, rsi
mov r9d, 0x3000
call fcn.14017f800
test rax, rax
jne 0x14017ef3e
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14017f3f0
test eax, eax
je 0x14017f2ab
jmp 0x14017eecb
xor r9d, r9d
mov qword [rsp + 0x20], r9
mov r9d, dword [r12 + 0x54]
mov rcx, qword [rbp - 0x58]
mov rdx, rsi
mov r8, r15
call fcn.14017f8b0
test eax, eax
jne 0x14017ef79
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14017f3f0
test eax, eax
je 0x14017f2d2
jmp 0x14017eecb
xor edi, edi
cmp word [r12 + 6], 0
jbe 0x14017efd3
mov edx, dword [r14 + 0x3c]
add rdx, r15
lea r8d, [rdi + rdi*4]
shl r8d, 3
movsxd r8, r8d
lea r9, [rdx + r8 + 0xf8]
mov rcx, qword [rbp - 0x58]
xor edx, edx
mov qword [rsp + 0x20], rdx
mov edx, dword [r9 + 0xc]
add rdx, rsi
mov r8d, dword [r9 + 0x14]
add r8, r15
mov r9d, dword [r9 + 0x10]
call fcn.14017f8b0
test eax, eax
je 0x14017f00a
inc edi
movzx edi, di
movzx edx, word [r12 + 6]
cmp edi, edx
jl 0x14017ef84
movzx edx, byte [rbp - 0x40]
test edx, edx
je 0x14017f025
lea rdx, [rbp - 0x398]
mov rcx, qword [rbp - 0x50]
call fcn.14017f500
test eax, eax
jne 0x14017f054
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14017f3f0
test eax, eax
je 0x14017f2f9
jmp 0x14017eecb
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14017f3f0
test eax, eax
je 0x14017f320
jmp 0x14017eecb
lea rdx, [rbp - 0x398]
mov rcx, qword [rbp - 0x50]
call fcn.14017f640
test eax, eax
jne 0x14017f054
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14017f3f0
test eax, eax
je 0x14017f347
jmp 0x14017eecb
mov ecx, 8
call fcn.140103f60
mov rdi, rax
lea rcx, [0x1402e15d0]
mov edx, 8
call fcn.140002e00
mov ecx, esi
mov byte [rax + 0x10], cl
mov rcx, rsi
shr rcx, 8
mov byte [rax + 0x11], cl
mov rcx, rsi
shr rcx, 0x10
mov byte [rax + 0x12], cl
mov rcx, rsi
shr rcx, 0x18
mov byte [rax + 0x13], cl
mov rcx, rsi
shr rcx, 0x20
mov byte [rax + 0x14], cl
mov rcx, rsi
shr rcx, 0x28
mov byte [rax + 0x15], cl
mov rcx, rsi
shr rcx, 0x30
mov byte [rax + 0x16], cl
mov rcx, rsi
shr rcx, 0x38
mov byte [rax + 0x17], cl
mov rcx, rax
mov r8, rdi
xor edx, edx
mov r9d, 8
call fcn.1401b7350
xor edx, edx
mov qword [rsp + 0x20], rdx
mov edx, dword [rbp - 0x2f4]
add rdx, 8
mov rcx, qword [rbp - 0x58]
mov r8, rdi
mov r9d, 4
call fcn.14017f8b0
test eax, eax
jne 0x14017f149
test rdi, 0xffffffffffff0000
je 0x14017f12e
mov rcx, rdi
mov qword [rbp - 0x3a8], rcx
lea rcx, [rbp - 0x3d0]
call fcn.140003a60
mov rcx, qword [rbp - 0x3a8]
call sub.KERNEL32.DLL_LocalFree
lea rcx, [rbp - 0x3d0]
call fcn.140003ab0
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14017f3f0
test eax, eax
je 0x14017f36e
jmp 0x14017eecb
test rdi, 0xffffffffffff0000
je 0x14017f180
mov rcx, rdi
mov qword [rbp - 0x3a8], rcx
lea rcx, [rbp - 0x3d0]
call fcn.140003a60
mov rcx, qword [rbp - 0x3a8]
call sub.KERNEL32.DLL_LocalFree
lea rcx, [rbp - 0x3d0]
call fcn.140003ab0
mov edx, dword [r12 + 0x28]
add edx, esi
mov dword [rbp - 0x2e8], edx
movzx edx, byte [rbp - 0x40]
test edx, edx
je 0x14017f1c4
lea rdx, [rbp - 0x398]
mov rcx, qword [rbp - 0x50]
call fcn.14017f5a0
test eax, eax
jne 0x14017f1f3
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14017f3f0
test eax, eax
je 0x14017f395
jmp 0x14017eecb
lea rdx, [rbp - 0x398]
mov rcx, qword [rbp - 0x50]
call fcn.14017f6d0
test eax, eax
jne 0x14017f1f3
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14017f3f0
test eax, eax
je 0x14017f3bc
jmp 0x14017eecb
mov rcx, qword [rbp - 0x50]
call fcn.14017f970
mov rcx, qword [rbp - 0x58]
call fcn.14017f480
mov rcx, qword [rbp - 0x50]
call fcn.14017f480
mov esi, 1
movzx eax, sil
add rsp, 0x3e8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140178f60
mov rdx, rax
mov rcx, rsi
call fcn.1400d3e80
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x14028c220]
call fcn.140002ce0
mov rsi, rax
call fcn.140179010
mov rdx, rax
mov rcx, rsi
call fcn.140083eb0
mov rcx, rsi
call fcn.140003bc0
mov ecx, 0x15
call fcn.1400af9d0
int3
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140002225
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.1400d3e10
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140002225
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.1400d3e10
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140002225
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.1400d3e10
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140002225
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.1400d3e10
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140002225
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.1400d3e10
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140002225
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.1400d3e10
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140002225
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.1400d3e10
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140002225
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.1400d3e10
mov rcx, rsi
call fcn.140003bc0
lea rcx, [0x140291d38]
call fcn.140002ce0
mov rsi, rax
call fcn.140002225
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.1400d3e10
mov rcx, rsi
call fcn.140003bc0
call fcn.140124940
int3