Function at 0x18000aeb0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor r12d, r12d
mov rbx, rcx
mov rcx, qword [rcx + 0x60]
mov rdi, r9
mov r14, r8
mov qword [rsp + 0x40], r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
mov esi, r12d
mov r13d, r12d
lea r15d, [r12 + 1]
test rcx, rcx
jne 0x18000af17
cmp dword [rbx + 0x54], r12d
jne 0x18000af17
mov rax, qword [rbx + 0x2c]
mov qword [rbx + 0x1c], rax
mov rax, qword [rbx + 0x34]
jmp 0x18000af26
mov rax, qword [rcx]
mov qword [rbx + 0x1c], rax
mov rax, qword [rcx + 8]
mov dword [rbx + 0x5c], r15d
lea rdx, [rsp + 0xb0]
mov r8d, 0x20
mov rcx, rbx
mov qword [rbx + 0x24], rax
mov dword [rbx + 0x44], r12d
mov dword [rbx + 0x48], r12d
mov qword [rbx + 0x4c], r12
call fcn.180001480
test eax, eax
jne 0x18000af57
xor eax, eax
jmp 0x18000b357
mov eax, 0x5a4d
cmp word [rsp + 0xb0], ax
jne 0x18000af50
cmp word [rsp + 0xc8], 0x40
mov dword [rbp], 7
mov dword [r14], r15d
jae 0x18000afc5
movzx eax, word [rsp + 0xb4]
cmp ax, 2
jb 0x18000af50
movzx edx, word [rsp + 0xb2]
movzx r8d, ax
mov rcx, rbx
shl r8d, 9
lea r8d, [r8 + rdx - 0x200]
movsxd rdx, r8d
mov qword [rdi], rdx
add rdx, 0xffffffffffffffe0
call fcn.180001740
test eax, eax
setne r12b
add r12d, 2
mov dword [r14], r12d
jmp 0x18000b354
mov edx, 0x1c
mov rcx, rbx
call fcn.180001740
test eax, eax
je 0x18000b348
lea rdx, [rsp + 0xd8]
mov r8d, 2
mov rcx, rbx
call fcn.180001480
test eax, eax
je 0x18000b348
movzx eax, word [rsp + 0xd8]
cmp ax, 0x40
jb 0x18000b348
movzx eax, ax
mov rcx, rbx
sub eax, 0x3e
movsxd rdx, eax
call fcn.180001740
test eax, eax
je 0x18000b348
lea rdx, [rsp + 0xb0]
mov r8d, 0x18
mov rcx, rbx
call fcn.180001480
test eax, eax
je 0x18000b348
movzx eax, word [rsp + 0xc6]
mov ecx, 0x2000
and ax, cx
cmp r12w, ax
je 0x18000b05e
mov dword [rbp], 8
cmp dword [rsp + 0xb0], 0x4550
jne 0x18000b348
lea rdx, [rsp + 0x20]
mov r8d, 0x18
mov rcx, rbx
call fcn.180001480
test eax, eax
je 0x18000b348
movzx eax, word [rsp + 0x20]
mov ecx, 0x10b
cmp ax, cx
jne 0x18000b12c
lea rdx, [rsp + 0xd8]
mov r8d, 4
mov rcx, rbx
call fcn.180001480
test eax, eax
je 0x18000b348
lea rdx, [rsp + 0x50]
mov r8d, 0x44
mov rcx, rbx
call fcn.180001480
test eax, eax
je 0x18000b348
mov r14d, dword [rsp + 0x90]
mov eax, dword [rsp + 0x58]
mov ebp, r12d
mov dword [rsp + 0xd8], eax
test r14d, r14d
je 0x18000b19a
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rbx
call fcn.180001480
test eax, eax
je 0x18000b348
cmp ebp, 2
cmove esi, dword [rsp + 0x20]
inc ebp
cmp ebp, r14d
jb 0x18000b100
jmp 0x18000b19a
mov ecx, 0x20b
cmp ax, cx
jne 0x18000b348
lea rdx, [rsp + 0x50]
mov r8d, 0x58
mov rcx, rbx
call fcn.180001480
test eax, eax
je 0x18000b348
mov r14d, dword [rsp + 0xa4]
mov eax, dword [rsp + 0x5c]
mov ebp, r12d
mov dword [rsp + 0xd8], eax
test r14d, r14d
je 0x18000b19a
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rbx
call fcn.180001480
test eax, eax
je 0x18000b348
cmp ebp, 2
cmove esi, dword [rsp + 0x20]
inc ebp
cmp ebp, r14d
jb 0x18000b170
movzx r15d, word [rsp + 0xb6]
mov r14, r12
mov ebp, r12d
test r15d, r15d
je 0x18000b1eb
nop
lea rdx, [rsp + 0xb0]
mov r8d, 0x28
mov rcx, rbx
call fcn.180001480
test eax, eax
je 0x18000b239
cmp dword [rsp + 0xbc], esi
mov eax, dword [rsp + 0xc0]
cmove r13d, dword [rsp + 0xc4]
inc ebp
add r14, rax
cmp ebp, r15d
jb 0x18000b1b0
mov r8, qword [rbx + 0x4c]
mov ecx, dword [rsp + 0xd8]
xor edx, edx
mov rax, r8
div rcx
test rdx, rdx
setne r12b
lea rdx, [rax + r12]
imul rdx, rcx
mov rcx, rbx
sub rdx, r8
call fcn.180001740
test eax, eax
je 0x18000b239
test r13d, r13d
je 0x18000b313
lea rax, [rsp + 0x20]
test rax, rax
je 0x18000b24f
mov rax, qword [rbx + 0x1c]
sub rax, qword [rbx + 0x2c]
jmp 0x18000b254
test rdi, rdi
je 0x18000b245
mov rax, qword [rbx + 0x4c]
mov qword [rdi], rax
mov eax, 1
jmp 0x18000b357
mov rax, qword [rsp + 0x20]
sub r13d, eax
mov rcx, rbx
mov edx, r13d
call fcn.180001740
lea rdx, [rsp + 0x20]
mov r8d, 0x10
mov rcx, rbx
call fcn.180001480
mov ebp, 1
cmp bp, word [rsp + 0x2c]
jne 0x18000b318
lea r8d, [rbp + 7]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180001480
mov rdx, qword [rsp + 0x20]
bt edx, 0x1f
jae 0x18000b318
and edx, 0x7fffffff
mov rcx, rbx
sub rdx, 0x18
call fcn.180001740
lea r8d, [rbp + 7]
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.180001480
cmp word [rsp + 0xd8], 3
jne 0x18000b318
cmp word [rsp + 0xda], 0x4d
jne 0x18000b318
cmp word [rsp + 0xdc], 0x55
jne 0x18000b318
cmp word [rsp + 0xde], 0x49
jne 0x18000b318
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
sub eax, 7
je 0x18000b30b
cmp eax, ebp
jne 0x18000b318
mov dword [rcx], 0x23
jmp 0x18000b318
mov dword [rcx], 0x24
jmp 0x18000b318
mov ebp, 1
mov rsi, qword [rsp + 0x40]
mov rdx, r14
mov rcx, rbx
mov dword [rsi], 2
call fcn.180001740
test eax, eax
je 0x18000b338
mov dword [rsi], 3
test rdi, rdi
je 0x18000b344
mov rax, qword [rbx + 0x4c]
mov qword [rdi], rax
mov eax, ebp
jmp 0x18000b357
test rdi, rdi
je 0x18000b354
mov rax, qword [rbx + 0x4c]
mov qword [rdi], rax
mov eax, r15d
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.18002d590
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret