Function at 0x14018e3a0
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 0x14018e3c8
mov qword [rbp - 0x40], rax
mov rsi, rcx
call fcn.14009f480
mov rcx, rax
call fcn.14011a200
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 0x14018e425
mov rcx, qword [rbp - 0x3a0]
cmp dword [rcx + 8], 0
jne 0x14018e42a
xor r14d, r14d
jmp 0x14018e446
mov rcx, qword [rbp - 0x3a0]
cmp dword [rcx + 8], 0
jbe 0x14018ecc1
mov r14, qword [rbp - 0x3a0]
add r14, 0x10
mov r15, r14
mov ecx, dword [r15 + 0x3c]
mov r12d, ecx
add r12, r15
xor ecx, ecx
mov qword [rbp - 0x3a0], rcx
cmp word [r15], 0x5a4d
jne 0x14018e93a
xor ecx, ecx
cmp dword [r12], 0x4550
setne cl
test cl, cl
jne 0x14018e93a
cmp word [r12 + 0x18], 0x10b
jne 0x14018e9fb
mov rcx, rbx
call fcn.14009b260
cmp eax, 0x398
jbe 0x14018eaba
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 0x14018e4c2
mov ebx, 0x800000c
mov rcx, rsi
call fcn.14018f3e0
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.14018e160
test eax, eax
jne 0x14018e547
cmp qword [rbp - 0x58], 0
je 0x14018e540
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14018ecd0
test eax, eax
je 0x14018eac5
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
xor esi, esi
jmp 0x14018e6af
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x58]
call fcn.14018f2d0
mov ecx, dword [r12 + 0x34]
mov edi, ecx
mov rcx, qword [rbp - 0x58]
mov rdx, rdi
call fcn.14018f040
mov dword [rsp + 0x20], 0x40
mov r8d, dword [r12 + 0x50]
mov rcx, qword [rbp - 0x58]
mov rdx, rdi
mov r9d, 0x3000
call fcn.14018f0e0
test rax, rax
jne 0x14018e5ba
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14018ecd0
test eax, eax
je 0x14018eafb
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
xor esi, esi
jmp 0x14018e6af
xor r9d, r9d
mov qword [rsp + 0x20], r9
mov r9d, dword [r12 + 0x54]
mov rcx, qword [rbp - 0x58]
mov rdx, rdi
mov r8, r15
call fcn.14018f190
test eax, eax
jne 0x14018e609
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14018ecd0
test eax, eax
je 0x14018eb31
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
xor esi, esi
jmp 0x14018e6af
xor esi, esi
cmp word [r12 + 6], 0
jbe 0x14018e663
mov edx, dword [r14 + 0x3c]
add rdx, r15
lea r8d, [rsi + rsi*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, rdi
mov r8d, dword [r9 + 0x14]
add r8, r15
mov r9d, dword [r9 + 0x10]
call fcn.14018f190
test eax, eax
je 0x14018e6b4
inc esi
movzx esi, si
movzx edx, word [r12 + 6]
cmp esi, edx
jl 0x14018e614
mov edx, dword [rbp - 0x40]
movzx edx, dl
test edx, edx
je 0x14018e6e0
lea rdx, [rbp - 0x398]
mov rcx, qword [rbp - 0x50]
call fcn.14018ede0
test eax, eax
jne 0x14018e720
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14018ecd0
test eax, eax
je 0x14018eb67
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
xor esi, esi
jmp 0x14018e922
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14018ecd0
test eax, eax
je 0x14018eb9d
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
xor esi, esi
jmp 0x14018e6af
lea rdx, [rbp - 0x398]
mov rcx, qword [rbp - 0x50]
call fcn.14018ef20
test eax, eax
jne 0x14018e720
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14018ecd0
test eax, eax
je 0x14018ebe9
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
xor esi, esi
jmp 0x14018e6af
mov ecx, 8
call fcn.14012a400
mov rbx, rax
lea rcx, [0x140306b78]
mov edx, 8
call fcn.140004430
mov ecx, edi
mov byte [rax + 0x10], cl
mov rcx, rdi
shr rcx, 8
mov byte [rax + 0x11], cl
mov rcx, rdi
shr rcx, 0x10
mov byte [rax + 0x12], cl
mov rcx, rdi
shr rcx, 0x18
mov byte [rax + 0x13], cl
mov rcx, rdi
shr rcx, 0x20
mov byte [rax + 0x14], cl
mov rcx, rdi
shr rcx, 0x28
mov byte [rax + 0x15], cl
mov rcx, rdi
shr rcx, 0x30
mov byte [rax + 0x16], cl
mov rcx, rdi
shr rcx, 0x38
mov byte [rax + 0x17], cl
mov rcx, rax
mov r8, rbx
xor edx, edx
mov r9d, 8
call fcn.1401cbf40
xor edx, edx
mov qword [rsp + 0x20], rdx
mov edx, dword [rbp - 0x2f4]
add rdx, 8
mov rcx, qword [rbp - 0x58]
mov r8, rbx
mov r9d, 4
call fcn.14018f190
test eax, eax
jne 0x14018e829
test rbx, 0xffffffffffff0000
je 0x14018e7fa
mov rcx, rbx
mov qword [rbp - 0x3a8], rcx
lea rcx, [rbp - 0x3d0]
call fcn.140004f80
mov rcx, qword [rbp - 0x3a8]
call sub.KERNEL32.DLL_LocalFree
lea rcx, [rbp - 0x3d0]
call fcn.140004fd0
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14018ecd0
test eax, eax
je 0x14018ec1f
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
xor esi, esi
jmp 0x14018e6af
test rbx, 0xffffffffffff0000
je 0x14018e860
mov rcx, rbx
mov qword [rbp - 0x3a8], rcx
lea rcx, [rbp - 0x3d0]
call fcn.140004f80
mov rcx, qword [rbp - 0x3a8]
call sub.KERNEL32.DLL_LocalFree
lea rcx, [rbp - 0x3d0]
call fcn.140004fd0
mov edx, dword [r12 + 0x28]
add edx, edi
mov dword [rbp - 0x2e8], edx
mov edx, dword [rbp - 0x40]
movzx edx, dl
test edx, edx
je 0x14018e8ba
lea rdx, [rbp - 0x398]
mov rcx, qword [rbp - 0x50]
call fcn.14018ee80
test eax, eax
jne 0x14018e8fd
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14018ecd0
test eax, eax
je 0x14018ec55
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
xor esi, esi
jmp 0x14018e6af
lea rdx, [rbp - 0x398]
mov rcx, qword [rbp - 0x50]
call fcn.14018efb0
test eax, eax
jne 0x14018e8fd
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
call fcn.14018ecd0
test eax, eax
je 0x14018ec8b
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
xor esi, esi
jmp 0x14018e6af
mov rcx, qword [rbp - 0x50]
call fcn.14018f250
mov rcx, qword [rbp - 0x58]
call fcn.14018ed60
mov rcx, qword [rbp - 0x50]
call fcn.14018ed60
mov esi, 1
jmp 0x14018e6af
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, [0x1403a10d8]
call fcn.1400b0080
mov rsi, rax
lea rcx, [0x1402b0d20]
call fcn.140004310
mov rdi, rax
mov rcx, rdi
call fcn.14007c6d0
mov rcx, rdi
mov edx, 2
call fcn.14007d130
mov rcx, rdi
mov edx, 2
call fcn.14007d190
lea rcx, [0x14039bc20]
call fcn.1400b0080
mov rdx, rax
mov rcx, rdi
call fcn.14007cfb0
mov rcx, rdi
call fcn.14007c7f0
mov rdi, rax
call fcn.140001f43
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403a65b0]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rdi, rax
call fcn.14000315d
mov ebx, dword [rax + 8]
mov rcx, rdi
mov rdx, rsi
call fcn.14012a930
mov dword [rdi + 0x50], ebx
mov rcx, rdi
call fcn.140004870
lea rcx, [0x14039e440]
call fcn.1400b0080
mov rsi, rax
lea rcx, [0x1402b0d20]
call fcn.140004310
mov rdi, rax
mov rcx, rdi
call fcn.14007c6d0
mov rcx, rdi
mov edx, 2
call fcn.14007d130
mov rcx, rdi
mov edx, 2
call fcn.14007d190
lea rcx, [0x140390900]
call fcn.1400b0080
mov rdx, rax
mov rcx, rdi
call fcn.14007cfb0
mov rcx, rdi
call fcn.14007c7f0
mov rdi, rax
call fcn.140001f43
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403a65b0]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402b4898]
call fcn.140004310
mov rdi, rax
mov rcx, rdi
call fcn.1400a8740
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004620
mov rcx, rdi
call fcn.140004870
mov ecx, 0x15
call fcn.1400d1ff0
int3
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rsi, rax
call fcn.14000315d
mov edi, dword [rax + 8]
mov ecx, edi
xor edx, edx
call fcn.140150b90
mov rdx, rax
mov rcx, rsi
call fcn.14012a930
mov dword [rsi + 0x50], edi
mov rcx, rsi
call fcn.140004870
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rsi, rax
call fcn.14000315d
mov edi, dword [rax + 8]
mov ecx, edi
xor edx, edx
call fcn.140150b90
mov rdx, rax
mov rcx, rsi
call fcn.14012a930
mov dword [rsi + 0x50], edi
mov rcx, rsi
call fcn.140004870
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rsi, rax
call fcn.14000315d
mov edi, dword [rax + 8]
mov ecx, edi
xor edx, edx
call fcn.140150b90
mov rdx, rax
mov rcx, rsi
call fcn.14012a930
mov dword [rsi + 0x50], edi
mov rcx, rsi
call fcn.140004870
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rsi, rax
call fcn.14000315d
mov edi, dword [rax + 8]
mov ecx, edi
xor edx, edx
call fcn.140150b90
mov rdx, rax
mov rcx, rsi
call fcn.14012a930
mov dword [rsi + 0x50], edi
mov rcx, rsi
call fcn.140004870
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rsi, rax
call fcn.14000315d
mov edi, dword [rax + 8]
mov ecx, edi
xor edx, edx
call fcn.140150b90
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140004620
mov dword [rsi + 0x48], 0x80131501
mov dword [rsi + 0x48], 0x80004005
mov dword [rsi + 0x50], edi
mov rcx, rsi
call fcn.140004870
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rsi, rax
call fcn.14000315d
mov edi, dword [rax + 8]
mov ecx, edi
xor edx, edx
call fcn.140150b90
mov rdx, rax
mov rcx, rsi
call fcn.14012a930
mov dword [rsi + 0x50], edi
mov rcx, rsi
call fcn.140004870
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rsi, rax
call fcn.14000315d
mov edi, dword [rax + 8]
mov ecx, edi
xor edx, edx
call fcn.140150b90
mov rdx, rax
mov rcx, rsi
call fcn.14012a930
mov dword [rsi + 0x50], edi
mov rcx, rsi
call fcn.140004870
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rsi, rax
call fcn.14000315d
mov edi, dword [rax + 8]
mov ecx, edi
xor edx, edx
call fcn.140150b90
mov rdx, rax
mov rcx, rsi
call fcn.14012a930
mov dword [rsi + 0x50], edi
mov rcx, rsi
call fcn.140004870
lea rcx, [0x1402b9f00]
call fcn.140004310
mov rsi, rax
call fcn.14000315d
mov edi, dword [rax + 8]
mov ecx, edi
xor edx, edx
call fcn.140150b90
mov rdx, rax
mov rcx, rsi
call fcn.14012a930
mov dword [rsi + 0x50], edi
mov rcx, rsi
call fcn.140004870
call fcn.14014de00
int3