Function at 0x180060ee0
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 [0x1800d7110]
xor rax, rsp
mov qword [rbp + 0x288], rax
mov rsi, rcx
lea rcx, [0x1800b0254]
mov dword [rsp + 0x58], r9d
mov qword [rsp + 0x60], r8
mov r12, rdx
call fcn.18005d630
lea rcx, [0x1800b0250]
mov rdi, rax
mov qword [rbp - 0x80], rax
call fcn.18005d630
lea rcx, [0x1800b0434]
mov rbx, rax
mov qword [rbp - 0x70], rax
call fcn.18005d630
mov qword [rsp + 0x70], rax
test rdi, rdi
je 0x1800617ee
test rbx, rbx
je 0x1800617ee
test rax, rax
je 0x1800617ee
lea rcx, [rbp + 0xf0]
xor edx, edx
mov r8d, 0x170
xor ebx, ebx
call fcn.180029630
mov dword [rbp + 0xf0], 0x170
test r12, r12
jne 0x180060f99
mov rcx, rsi
call fcn.18005fab0
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 0x1800617ea
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 0x1800617ea
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x108
call fcn.180029630
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 0x1800617ea
lea rcx, [rbp + 0x154]
lea rdx, [rbp - 0x20]
mov r8d, 0x108
call fcn.18002a1e0
cmp dword [rbp - 0x20], 0x4550
movsxd rdi, dword [rbp - 0x24]
lea rax, [r12 + rdi]
mov qword [rbp + 0x100], rax
jne 0x1800617ea
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 0x180061126
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.180060150
test eax, eax
jne 0x180061113
cmp dword [rsp + 0x40], ebx
je 0x1800617e2
add edi, 0x8000
cmp edi, 0x1a000
jge 0x1800617e2
mov r8d, dword [rbp + 0x70]
jmp 0x1800610c1
mov edi, dword [rbp - 0x24]
mov eax, dword [rsp + 0x44]
mov r15d, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x48]
jmp 0x18006112b
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 0x1800617e2
mov eax, eax
lea rcx, [rax + rax*4]
shl rcx, 2
cmp rcx, r8
jne 0x1800617e2
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 0x180061290
mov eax, ecx
mov qword [rsp + 0x68], rax
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0x260]
lea r8d, [rdx + 0x28]
call fcn.180029630
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 0x1800617d2
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 0x180061238
mov r8d, dword [rbp + 0x70]
cmp r8d, ecx
jb 0x180061238
lea eax, [rcx + rdx]
cmp r8d, eax
jae 0x180061238
mov edi, ecx
mov dword [rbp + 0xc8], ecx
mov dword [rbp + 0xcc], edx
mov r8d, dword [rsp + 0x48]
test r8d, r8d
je 0x180061260
test edi, edi
jne 0x180061260
cmp r15d, ecx
jb 0x180061260
lea eax, [rcx + rdx]
cmp r15d, eax
jae 0x180061260
mov r8d, ecx
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x40], edx
jmp 0x180061269
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 0x1800611b0
mov r9d, dword [rsp + 0x48]
jmp 0x180061296
mov edi, dword [rbp + 0xc8]
test r9d, r9d
je 0x1800612bc
test edi, edi
jne 0x1800612bc
test r8d, r8d
je 0x1800612b3
mov dword [rbp + 0xc8], r8d
mov dword [rbp + 0xcc], edx
jmp 0x1800612bc
cmp dword [rbp + 8], ebx
jne 0x1800617d2
lea r8, [rbp - 0x20]
mov rdx, r12
mov rcx, rsi
call fcn.18005f760
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 0x180061340
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 0x180061320
mov ecx, r14d
mov edi, r14d
call fcn.180029d7c
mov r13, rax
test rax, rax
je 0x1800617d2
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.180029630
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.18005f820
mov rdi, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1800617ca
mov eax, dword [rsp + 0x48]
mov ecx, ebx
mov dword [rsp + 0x4c], ebx
mov dword [rbp + 0x110], ebx
test eax, eax
je 0x1800613e5
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 0x1800617ca
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 0x180061409
mov r8d, dword [rsp + 0x54]
add r8, r13
test eax, eax
je 0x18006142d
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 0x1800617ca
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 0x18006153c
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.18005eb30
test eax, eax
js 0x1800617ca
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 0x180061461
mov r9, qword [rsp + 0x78]
test edi, edi
je 0x18006155a
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 0x18006157d
mov rcx, r13
cmp dword [rcx], ebx
jne 0x180061570
cmp dword [rcx + 0x10], ebx
je 0x18006157d
inc edx
add rcx, 0x14
mov eax, edx
cmp rax, rdi
jb 0x180061567
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 0x1800617ca
mov eax, dword [rsp + 0x48]
mov dword [rbp + 0x74], r14d
mov dword [rbp + 0x70], eax
mov eax, dword [rbp + 0xd8]
test eax, eax
je 0x18006167f
cmp dword [rbp + 0xdc], ebx
je 0x18006167f
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 0x1800617ca
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 0x1800617ca
lea r8, [rbp + 0x260]
mov r9d, 0x14
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call r15
test eax, eax
je 0x1800617ca
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 0x1800617ca
jmp 0x180061684
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 0x1800617ca
mov edi, dword [rsp + 0x5c]
test edi, edi
jne 0x1800616b5
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 0x1800617ca
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 0x1800617ca
test edi, edi
jne 0x18006172e
lea r8, [rbp - 0x20]
mov rdx, r12
mov rcx, rsi
call fcn.18005f760
movzx edi, word [rsp + 0x44]
movzx edx, di
movzx ecx, ax
call fcn.18005f5f0
movzx ecx, word [rbp - 0x44]
movzx edx, ax
call fcn.18005f5f0
mov word [rbp - 0x44], ax
jmp 0x180061733
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 0x1800617ca
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 0x1800617ca
cmp dword [rsp + 0x5c], ebx
jne 0x180061789
lea r8, [rbp - 0x20]
mov rdx, r12
mov rcx, rsi
call fcn.18005f760
cmp di, ax
jne 0x1800617ca
cmp dword [rbp + 0x308], ebx
je 0x1800617c5
mov r9d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
lea r8, [rbp + 0xf0]
mov dword [rsp + 0x28], r9d
lea rdx, [0x1800b04e8]
mov rcx, rsi
mov r9d, 0x170
mov qword [rsp + 0x20], rax
call fcn.180060440
test eax, eax
je 0x1800617ca
mov ebx, 1
mov rcx, r13
call fcn.180029a70
mov r14, qword [rsp + 0x3a0]
mov r13, qword [rsp + 0x3a8]
mov r15, qword [rsp + 0x398]
mov eax, ebx
jmp 0x1800617f0
xor eax, eax
mov rcx, qword [rbp + 0x288]
xor rcx, rsp
call fcn.180029600
add rsp, 0x3b0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret