Function at 0x180081b90
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rbp + 0x288], rax
mov rsi, rcx
lea rcx, [0x1800d44b4]
mov dword [rsp + 0x58], r9d
mov qword [rsp + 0x60], r8
mov r12, rdx
call fcn.18007e320
lea rcx, [0x1800d44b0]
mov rdi, rax
mov qword [rbp - 0x80], rax
call fcn.18007e320
lea rcx, [0x1800d467c]
mov rbx, rax
mov qword [rbp - 0x70], rax
call fcn.18007e320
mov qword [rsp + 0x70], rax
test rdi, rdi
je 0x18008249e
test rbx, rbx
je 0x18008249e
test rax, rax
je 0x18008249e
lea rcx, [rbp + 0xf0]
xor edx, edx
mov r8d, 0x170
xor ebx, ebx
call fcn.1800369b0
mov dword [rbp + 0xf0], 0x170
test r12, r12
jne 0x180081c49
mov rcx, rsi
call fcn.180080760
mov r12, rax
xor eax, eax
lea r8, [rbp - 0x60]
mov rdx, r12
lea r9d, [rax + 0x40]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
call rdi
test eax, eax
je 0x18008249a
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
mov eax, 0x5a4d
mov qword [rbp + 0xf8], r12
movups xmmword [rbp + 0x114], xmm0
movups xmmword [rbp + 0x124], xmm1
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x134], xmm0
movups xmmword [rbp + 0x144], xmm1
cmp word [rbp - 0x60], ax
jne 0x18008249a
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x108
call fcn.1800369b0
movsxd rdx, dword [rbp - 0x24]
lea r8, [rbp - 0x20]
add rdx, r12
mov r9d, 0x108
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call rdi
test eax, eax
je 0x18008249a
lea rcx, [rbp + 0x154]
lea rdx, [rbp - 0x20]
mov r8d, 0x108
call fcn.1800378f0
cmp dword [rbp - 0x20], 0x4550
movsxd rdi, dword [rbp - 0x24]
lea rax, [r12 + rdi]
mov qword [rbp + 0x100], rax
jne 0x18008249a
mov r8d, dword [rbp + 0x70]
mov ecx, 1
mov eax, ebx
test r8d, r8d
mov r9d, ecx
mov qword [rsp + 0x398], r15
cmove r9d, ebx
cmp edi, 0x40
mov dword [rsp + 0x44], ebx
cmovb eax, ecx
mov r15d, ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x48], r9d
test r9d, r9d
je 0x180081dd6
mov edi, 0x2000
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov rdx, r12
mov rcx, rsi
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], rax
call fcn.180080e00
test eax, eax
jne 0x180081dc3
cmp dword [rsp + 0x40], ebx
je 0x180082492
add edi, 0x8000
cmp edi, 0x1a000
jge 0x180082492
mov r8d, dword [rbp + 0x70]
jmp 0x180081d71
mov edi, dword [rbp - 0x24]
mov eax, dword [rsp + 0x44]
mov r15d, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x48]
jmp 0x180081ddb
mov eax, 0x14
mov dword [rsp + 0x54], eax
mov r8d, eax
movabs rax, 0xcccccccccccccccd
mul r8
mov rax, rdx
shr rax, 4
mov qword [rsp + 0x78], rax
test eax, eax
je 0x180082492
mov eax, eax
lea rcx, [rax + rax*4]
shl rcx, 2
cmp rcx, r8
jne 0x180082492
movzx eax, word [rbp - 0xc]
mov qword [rsp + 0x3a8], r13
mov qword [rsp + 0x3a0], r14
mov qword [rbp + 0xc0], rbx
mov r13d, ebx
mov r8d, ebx
lea ecx, [rax + rdi + 0x18]
mov dword [rsp + 0x44], ebx
mov edx, ebx
mov dword [rsp + 0x40], ebx
mov r14d, ebx
cmp bx, word [rbp - 0x1a]
jae 0x180081f40
mov eax, ecx
mov qword [rsp + 0x68], rax
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0x260]
lea r8d, [rdx + 0x28]
call fcn.1800369b0
mov rcx, qword [rsp + 0x68]
mov edx, r14d
lea rax, [rdx + rdx*4]
lea r8, [rbp + 0x260]
mov r9d, 0x28
lea rdx, [rcx + rax*8]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
add rdx, r12
call qword [rbp - 0x80]
test eax, eax
je 0x180082482
mov r9d, dword [rbp + 0x270]
mov edi, dword [rbp + 0xc8]
mov ecx, dword [rbp + 0x26c]
test r9d, r9d
mov edx, r9d
cmove edx, dword [rbp + 0x268]
test edi, edi
jne 0x180081ee8
mov r8d, dword [rbp + 0x70]
cmp r8d, ecx
jb 0x180081ee8
lea eax, [rcx + rdx]
cmp r8d, eax
jae 0x180081ee8
mov edi, ecx
mov dword [rbp + 0xc8], ecx
mov dword [rbp + 0xcc], edx
mov r8d, dword [rsp + 0x48]
test r8d, r8d
je 0x180081f10
test edi, edi
jne 0x180081f10
cmp r15d, ecx
jb 0x180081f10
lea eax, [rcx + rdx]
cmp r15d, eax
jae 0x180081f10
mov r8d, ecx
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x40], edx
jmp 0x180081f19
mov edx, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
mov ecx, dword [rbp + 0x274]
movzx eax, word [rbp - 0x1a]
add ecx, r9d
cmp r13d, ecx
cmovb r13d, ecx
inc r14d
cmp r14d, eax
jb 0x180081e60
mov r9d, dword [rsp + 0x48]
jmp 0x180081f46
mov edi, dword [rbp + 0xc8]
test r9d, r9d
je 0x180081f6c
test edi, edi
jne 0x180081f6c
test r8d, r8d
je 0x180081f63
mov dword [rbp + 0xc8], r8d
mov dword [rbp + 0xcc], edx
jmp 0x180081f6c
cmp dword [rbp + 8], ebx
jne 0x180082482
lea r8, [rbp - 0x20]
mov rdx, r12
mov rcx, rsi
call fcn.180080410
mov ecx, dword [rsp + 0x54]
mov r15d, dword [rbp + 0x74]
mov word [rsp + 0x44], ax
cmp r15d, ecx
cmovb r15d, ecx
mov ecx, dword [rsp + 0x58]
lea eax, [rcx + rcx*4]
mov r14d, ecx
shl eax, 2
shl r14d, 5
mov dword [rsp + 0x54], eax
lea eax, [rax + r15 + 7]
and eax, 0xfffffff8
add r14d, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], r14d
test ecx, ecx
je 0x180081ff0
mov rdx, qword [rsp + 0x60]
mov r8d, ecx
nop word [rax + rax]
mov rdi, qword [rdx]
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
add rdx, 8
not rcx
add ecx, 3
and ecx, 0xfffffffc
add r14d, ecx
dec r8
jne 0x180081fd0
mov ecx, r14d
mov edi, r14d
call fcn.18003783c
mov r13, rax
test rax, rax
je 0x180082482
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.1800369b0
mov ecx, dword [rbp]
mov edx, dword [rbp + 4]
mov eax, dword [rbp + 0xc]
add rdx, rcx
mov ecx, dword [rbp - 4]
add rcx, r12
mov r8d, r14d
add rcx, rdx
mov rdx, r12
add rax, rcx
mov rcx, rsi
cmp r12, rax
cmovb rdx, rax
call fcn.1800804d0
mov rdi, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x18008247a
mov eax, dword [rsp + 0x48]
mov ecx, ebx
mov dword [rsp + 0x4c], ebx
mov dword [rbp + 0x110], ebx
test eax, eax
je 0x180082095
mov edx, dword [rbp + 0x70]
lea rax, [rsp + 0x4c]
mov r8d, r15d
mov r9d, 0x40
mov rcx, rsi
add rdx, r12
mov qword [rsp + 0x20], rax
call qword [rsp + 0x70]
test eax, eax
je 0x18008247a
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x48]
mov edx, edi
mov edi, dword [rbp + 0x300]
mov dword [rbp + 0x110], ecx
sub edx, r12d
mov r8, r13
mov dword [rsp + 0x48], edx
test edi, edi
jne 0x1800820b9
mov r8d, dword [rsp + 0x54]
add r8, r13
test eax, eax
je 0x1800820dd
mov edx, dword [rbp + 0x70]
mov r9d, r15d
mov rcx, rsi
add rdx, r12
mov qword [rsp + 0x20], rbx
call qword [rbp - 0x80]
test eax, eax
je 0x18008247a
mov edx, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x58]
mov r9, qword [rsp + 0x78]
movsxd rcx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x54], ebx
mov r15, rbx
test r10d, r10d
je 0x1800821ec
add edx, ecx
lea rcx, [rcx + r13 + 8]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x50], edx
mov rax, qword [rsp + 0x60]
mov ecx, r8d
mov edx, r14d
sub edx, r8d
mov r8, qword [rax + r15*8]
add rcx, r13
call fcn.18007f7e0
test eax, eax
js 0x18008247a
mov rdx, qword [rsp + 0x68]
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
mov r10d, dword [rsp + 0x58]
test edi, edi
cdqe
movabs rdi, 0x8000000000000001
lea rax, [r15 + rax - 1]
cmove rax, r15
add rdx, 0x20
inc r15
lea rcx, [rax + rax*4]
lea eax, [r9 + 0x10]
mov qword [rsp + 0x68], rdx
mov dword [r13 + rcx*4], r9d
mov qword [rdx - 0x28], rdi
mov qword [rdx - 0x20], rbx
mov dword [r13 + rcx*4 + 0x10], eax
mov eax, dword [rsp + 0x48]
mov qword [rdx - 0x18], rdi
mov rdi, qword [rsp + 0x60]
add eax, r8d
mov qword [rdx - 0x10], rbx
mov dword [r13 + rcx*4 + 0xc], eax
mov qword [r13 + rcx*4 + 4], rbx
mov rdi, qword [rdi + r15*8 - 8]
or rcx, 0xffffffffffffffff
xor eax, eax
add r9d, 0x20
repne scasb al, byte [rdi]
mov eax, dword [rsp + 0x54]
mov edi, dword [rbp + 0x300]
not rcx
inc eax
mov dword [rsp + 0x50], r9d
add ecx, 3
mov dword [rsp + 0x54], eax
and ecx, 0xfffffffc
add r8d, ecx
mov dword [rsp + 0x40], r8d
cmp eax, r10d
jb 0x180082111
mov r9, qword [rsp + 0x78]
test edi, edi
je 0x18008220a
xor ecx, ecx
lea eax, [r10 + r9 - 1]
lea rax, [rax + rax*4]
mov qword [r13 + rax*4], rcx
mov qword [r13 + rax*4 + 8], rcx
mov dword [r13 + rax*4 + 0x10], ecx
mov edi, r10d
mov edx, ebx
add rdi, r9
je 0x18008222d
mov rcx, r13
cmp dword [rcx], ebx
jne 0x180082220
cmp dword [rcx + 0x10], ebx
je 0x18008222d
inc edx
add rcx, 0x14
mov eax, edx
cmp rax, rdi
jb 0x180082217
mov rdx, qword [rbp - 0x78]
mov r15, qword [rbp - 0x70]
mov r9d, r8d
mov r8, r13
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call r15
test eax, eax
je 0x18008247a
mov eax, dword [rsp + 0x48]
mov dword [rbp + 0x74], r14d
mov dword [rbp + 0x70], eax
mov eax, dword [rbp + 0xd8]
test eax, eax
je 0x18008232f
cmp dword [rbp + 0xdc], ebx
je 0x18008232f
lea rdi, [r12 + rax]
lea r8, [rbp + 0x260]
mov r9d, 0x14
mov rcx, rsi
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [rbp - 0x80]
test eax, eax
je 0x18008247a
mov r14, qword [rsp + 0x70]
lea rax, [rdi + 0x10]
mov r9d, 4
mov qword [rbp + 0x108], rax
mov eax, dword [rbp + 0x270]
lea r8d, [r9 + 0x10]
mov dword [rbp + 0x25c], eax
and eax, 0xfffffffe
mov rdx, rdi
mov dword [rbp + 0x270], eax
lea rax, [rsp + 0x4c]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call r14
test eax, eax
je 0x18008247a
lea r8, [rbp + 0x260]
mov r9d, 0x14
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call r15
test eax, eax
je 0x18008247a
mov r9d, dword [rsp + 0x4c]
lea rax, [rsp + 0x4c]
mov r8d, 0x14
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call r14
test eax, eax
je 0x18008247a
jmp 0x180082334
mov r14, qword [rsp + 0x70]
mov r8d, dword [rbp + 0x34]
lea rax, [rsp + 0x4c]
mov r9d, 0x40
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rax
call r14
test eax, eax
je 0x18008247a
mov edi, dword [rsp + 0x5c]
test edi, edi
jne 0x180082365
mov word [rbp - 0x44], bx
lea r8, [rbp - 0x60]
mov r9d, 0x40
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call r15
test eax, eax
je 0x18008247a
movsxd rdx, dword [rbp - 0x24]
lea r8, [rbp - 0x20]
mov r9d, 0x108
mov rcx, rsi
add rdx, r12
mov qword [rsp + 0x20], rbx
call r15
test eax, eax
je 0x18008247a
test edi, edi
jne 0x1800823de
lea r8, [rbp - 0x20]
mov rdx, r12
mov rcx, rsi
call fcn.180080410
movzx edi, word [rsp + 0x44]
movzx edx, di
movzx ecx, ax
call fcn.1800802a0
movzx ecx, word [rbp - 0x44]
movzx edx, ax
call fcn.1800802a0
mov word [rbp - 0x44], ax
jmp 0x1800823e3
movzx edi, word [rsp + 0x44]
lea r8, [rbp - 0x60]
mov r9d, 0x40
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call r15
test eax, eax
je 0x18008247a
mov r8d, dword [rbp + 0x34]
mov r9d, dword [rsp + 0x4c]
lea rax, [rsp + 0x4c]
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rax
call r14
test eax, eax
je 0x18008247a
cmp dword [rsp + 0x5c], ebx
jne 0x180082439
lea r8, [rbp - 0x20]
mov rdx, r12
mov rcx, rsi
call fcn.180080410
cmp di, ax
jne 0x18008247a
cmp dword [rbp + 0x308], ebx
je 0x180082475
mov r9d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
lea r8, [rbp + 0xf0]
mov dword [rsp + 0x28], r9d
lea rdx, [0x1800d4730]
mov rcx, rsi
mov r9d, 0x170
mov qword [rsp + 0x20], rax
call fcn.1800810f0
test eax, eax
je 0x18008247a
mov ebx, 1
mov rcx, r13
call fcn.180038270
mov r14, qword [rsp + 0x3a0]
mov r13, qword [rsp + 0x3a8]
mov r15, qword [rsp + 0x398]
mov eax, ebx
jmp 0x1800824a0
xor eax, eax
mov rcx, qword [rbp + 0x288]
xor rcx, rsp
call fcn.180036980
add rsp, 0x3b0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret