Function at 0x180068d84
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor r13d, r13d
mov r14, r8
mov rsi, rdx
mov dword [rbp + 0x40], r13d
mov rbx, rcx
mov qword [rbp - 0x48], r13
xor edx, edx
lea rcx, [rbp - 0x38]
lea r8d, [r13 + 0x38]
mov r15d, r13d
mov edi, r13d
call fcn.1800abaa0
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x38], rbx
mov rcx, rbx
call fcn.180068be8
test eax, eax
je 0x180068f2b
mov ecx, 0x4000
mov dword [rbp - 8], ecx
call fcn.1800686e8
xor ecx, ecx
mov qword [rbp - 0x10], rax
test rax, rax
jne 0x180068e16
lea r9, [0x1800f7d08]
xor edx, edx
lea r8, [0x1800f7d08]
call fcn.1800689dc
jmp 0x180068f2b
lea r9, [rbp - 0x38]
mov r8d, 0x40
mov rdx, rsi
call fcn.180068c18
test eax, eax
je 0x180068f2b
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x180068e68
cmp dword [rsi + 0x3c], r13d
jle 0x180068e68
movsxd rcx, dword [rsi + 0x3c]
lea r9, [rbp - 0x38]
mov r8d, 4
lea rdx, [rbp - 0x4c]
call fcn.180068c18
test eax, eax
je 0x180068f2b
cmp dword [rbp - 0x4c], 0x4550
je 0x180068e81
xor edx, edx
lea r9, [0x1800f7d08]
xor ecx, ecx
lea r8d, [rdx + 1]
call fcn.180068b40
jmp 0x180068f2b
movsxd rax, dword [rsi + 0x3c]
mov ebx, 0x80
mov dword [r14 + 0xa0], r13d
mov r15, rax
cmp eax, 0x110
jb 0x180068ec0
lea r9, [rbp - 0x38]
mov rdx, rsi
lea r8d, [rbx + 0x10]
mov ecx, ebx
call fcn.180068c18
test eax, eax
je 0x180068f28
cmp dword [rsi], 0x82c8851f
jne 0x180068ec0
mov dword [r14 + 0xa0], ebx
lea r9, [rbp - 0x38]
mov r8d, 0x14
mov rdx, rsi
lea rcx, [r15 + 4]
call fcn.180068c18
test eax, eax
je 0x180068f28
add r15, 0x18
lea r9, [rbp - 0x38]
mov rcx, r15
lea rdx, [rbp + 0x58]
mov r8d, 2
call fcn.180068c18
test eax, eax
je 0x180068f28
mov eax, 0x10b
mov edi, 1
cmp word [rbp + 0x58], ax
jne 0x180068f6d
movzx eax, word [rsi + 0x10]
cmp ax, 0x78
jae 0x180068f64
lea r9, [0x1800f7d08]
xor edx, edx
xor ecx, ecx
mov r8d, edi
call fcn.180068b40
mov rdi, r13
mov r15d, edi
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x180068f39
call fcn.1800aea38
test rdi, rdi
je 0x180068f46
mov rcx, rdi
call fcn.1800aea38
mov rbx, qword [rsp + 0xc8]
mov eax, r15d
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, edi
mov ecx, 0xe0
jmp 0x180068f8e
mov eax, 0x20b
cmp word [rbp + 0x58], ax
jne 0x180068f12
movzx eax, word [rsi + 0x10]
mov ecx, 0x88
cmp ax, cx
jb 0x180068f12
mov ebx, r13d
mov ecx, 0xf0
movzx r12d, ax
cmp r12d, ecx
cmovae r12d, ecx
movzx ecx, word [rsi + 2]
mov dword [rbp - 0x50], ecx
test r12d, r12d
je 0x180068fc2
lea r9, [rbp - 0x38]
mov r8d, r12d
mov rdx, rsi
mov rcx, r15
call fcn.180068c18
test eax, eax
je 0x180068f25
mov ecx, dword [rbp - 0x50]
lea eax, [r15 + 0x40]
mov dword [r14], eax
test ebx, ebx
je 0x18006900e
lea eax, [r15 + 0x80]
mov dword [r14 + 4], eax
mov eax, dword [rsi + 0x80]
mov dword [r14 + 0xc], eax
mov eax, dword [rsi + 0x84]
mov dword [r14 + 0x14], eax
mov eax, dword [rsi + 0x40]
mov dword [r14 + 0x10], eax
mov byte [r14 + 0x9c], r13b
cmp word [rsi + 0x44], di
sete al
mov byte [r14 + 0x9d], al
mov rbx, qword [rsi + 0x70]
jmp 0x180069050
lea eax, [r15 + 0x90]
mov dword [r14 + 4], eax
mov eax, dword [rsi + 0x90]
mov dword [r14 + 0xc], eax
mov eax, dword [rsi + 0x94]
mov dword [r14 + 0x14], eax
mov eax, dword [rsi + 0x40]
mov dword [r14 + 0x10], eax
mov byte [r14 + 0x9c], dil
cmp word [rsi + 0x44], di
sete al
mov byte [r14 + 0x9d], al
mov rbx, qword [rsi + 0x80]
mov eax, dword [r14 + 4]
add eax, 4
mov qword [rbp - 0x40], rbx
mov dword [r14 + 8], eax
mov eax, r12d
add r15, rax
mov dword [r14 + 0x18], r13d
mov byte [r14 + 0x9e], r13b
mov dword [r14 + 0xb0], r15d
cmp dword [r14 + 0xa0], r13d
je 0x180069095
cmp byte [r14 + 0x9c], r13b
jne 0x180069095
cmp byte [r14 + 0x9d], r13b
je 0x180069095
mov r13d, edi
test ebx, ebx
jne 0x1800690a2
test r13d, r13d
je 0x180069265
mov eax, 0x333
mov word [rbp + 0x58], ax
cmp cx, ax
jbe 0x1800690b2
mov ecx, eax
mov edx, 0xffff
cmp cx, dx
lea eax, [rdx - 1]
cmovne ax, cx
movzx eax, ax
mov dword [rbp - 0x50], eax
lea r12d, [rax + rax*4]
shl r12d, 3
mov ecx, r12d
call fcn.1800686e8
mov qword [rbp - 0x48], rax
mov rdx, rax
test rax, rax
jne 0x180069105
lea r9, [0x1800f7d08]
xor ecx, ecx
lea r8, [0x1800f7d08]
call fcn.1800689dc
mov rdi, qword [rbp - 0x48]
mov r15d, dword [rbp + 0x40]
jmp 0x180068f2b
test r12d, r12d
je 0x180069121
lea r9, [rbp - 0x38]
mov r8d, r12d
mov rcx, r15
call fcn.180068c18
test eax, eax
je 0x1800690f8
mov rdx, qword [rbp - 0x48]
add dword [r14 + 0xb0], r12d
mov r15d, dword [rbp - 0x50]
test r13d, r13d
je 0x180069170
xor r13d, r13d
mov rax, rdx
movzx ecx, r13w
cmp r13w, r15w
jae 0x180069170
mov r8b, byte [0x1800ff178]
mov r9d, dword [str.INIT]
cmp dword [rax], r9d
jne 0x18006915a
cmp byte [rax + 4], r8b
je 0x180069169
add rax, 0x28
add cx, di
cmp cx, r15w
jae 0x180069170
jmp 0x18006914f
mov byte [r14 + 0x9e], dil
mov r8, rdx
movzx r9d, r15w
mov edx, dword [rbp - 0x3c]
mov ecx, ebx
call fcn.180069344
mov ebx, eax
test eax, eax
je 0x180069265
lea rax, [rbp - 0x38]
mov r8, rsi
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov ecx, ebx
call fcn.180069274
test rax, rax
je 0x180069265
mov ecx, dword [rax + 4]
test ecx, ecx
jns 0x180069265
lea rax, [rbp - 0x38]
mov r12d, 0x7fffffff
and ecx, r12d
mov qword [rsp + 0x20], rax
add ecx, ebx
mov r8, rsi
mov edx, 0x360
call fcn.180069274
test rax, rax
je 0x180069265
mov ecx, dword [rax + 4]
test ecx, ecx
jns 0x180069265
and ecx, r12d
lea rax, [rbp - 0x38]
add ecx, ebx
mov qword [rsp + 0x20], rax
mov r8, rsi
xor edx, edx
call fcn.180069274
test rax, rax
je 0x180069265
mov eax, dword [rax + 4]
test eax, eax
js 0x180069265
lea ecx, [rbx + rax]
mov r8d, 0x10
lea r9, [rbp - 0x38]
mov rdx, rsi
call fcn.180068c18
test eax, eax
je 0x1800690f8
mov r12d, 0x80
cmp dword [rsi + 4], r12d
jne 0x180069265
mov r8, qword [rbp - 0x48]
movzx r9d, r15w
mov ecx, dword [rsi]
mov edx, r12d
call fcn.180069344
lea rdx, [r14 + 0x1c]
mov ecx, eax
lea r9, [rbp - 0x38]
mov r8d, r12d
call fcn.180068c18
test eax, eax
je 0x1800690f8
mov dword [r14 + 0x18], ebx
mov r15d, edi
mov rdi, qword [rbp - 0x48]
jmp 0x180068f2b