Function at 0x18002d7f8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x18006a040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, qword [0x1801acc78]
mov rdi, r8
mov qword [rsp + 0x28], rax
mov rbx, rdx
test r8, r8
je 0x18002daad
mov eax, 0xffff
movzx r12d, ax
cmp r8, rax
jae 0x18002d850
movzx r12d, r8w
jmp 0x18002d871
cmp byte [r8], 0x23
jne 0x18002d871
lea rcx, [r8 + 1]
call fcn.180043ea0
lea ecx, [rax - 1]
cmp ecx, 0xfffd
ja 0x18002d871
movzx r12d, ax
mov edi, r12d
mov rdx, rbx
call fcn.18002d2b8
mov rsi, rax
test rax, rax
je 0x18002daad
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x18002daad
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rcx + rsi], 0x4550
jne 0x18002daad
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov rcx, rsi
call fcn.18002d210
mov rbp, rax
test rax, rax
je 0x18002daad
mov r14d, dword [rsp + 0x20]
test r14d, r14d
je 0x18002daad
mov ecx, dword [rax + 0x14]
test ecx, ecx
je 0x18002daad
cmp r14d, 0x28
ja 0x18002d8fa
mov eax, dword [rax + 0x18]
cmp ecx, eax
cmova eax, ecx
imul r14d, eax, 0xff
add r14d, dword [rbp + 0x24]
sub r14d, ebp
add r14d, esi
mov r8d, dword [rbp + 0x20]
xor r13d, r13d
mov edx, dword [rbp + 0x1c]
add r8, rsi
mov eax, dword [rbp + 0x24]
add rdx, rsi
add rax, rsi
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
test ecx, ecx
je 0x18002daad
movzx r9d, word [rax + r13*2]
cmp dword [rdx + r9*4], 0
je 0x18002da90
mov r8d, dword [r8 + r13*4]
mov r15d, dword [rdx + r9*4]
add r8, rsi
add r15, rsi
cmp r15, rbp
jbe 0x18002da58
mov eax, r14d
add rax, rbp
cmp r15, rax
jae 0x18002da58
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], 0
jne 0x18002d961
inc ebx
cmp ebx, 0x100
jae 0x18002da8b
mov r8d, ebx
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.180053e30
xor eax, eax
test ebx, ebx
je 0x18002da8b
lea rcx, [rsp + 0x40]
cmp byte [rcx], 0x2e
je 0x18002d9ab
inc eax
inc rcx
cmp eax, ebx
jb 0x18002d998
jmp 0x18002da8b
cmp eax, 0x100
jae 0x18002dada
lea ebx, [rax + 1]
mov byte [rsp + rax + 0x40], 0
add rbx, r15
je 0x18002da8b
cmp byte [rbx], 0x23
jne 0x18002da1b
lea rcx, [rbx + 1]
test rcx, rcx
je 0x18002da8b
mov eax, 0xffff
cmp r12w, ax
jae 0x18002da8b
call fcn.180043ea0
mov ebx, eax
lea ecx, [rbx - 1]
cmp ecx, 0xfffe
ja 0x18002da8b
movzx ecx, r12w
cmp ebx, ecx
jne 0x18002da8b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movzx r8d, bx
jmp 0x18002da49
mov r8, rbx
mov rax, rdi
sub r8, rdi
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x18002da37
inc rax
test edx, edx
jne 0x18002da24
test ecx, ecx
jne 0x18002da8b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r8, rbx
mov rcx, qword [rsp + 0x28]
mov rdx, rax
call fcn.18002d538
jmp 0x18002daaf
mov eax, 0xffff
cmp rdi, rax
jbe 0x18002da7f
mov rax, rdi
sub r8, rdi
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x18002da7b
inc rax
test edx, edx
jne 0x18002da68
test ecx, ecx
je 0x18002daa8
lea ecx, [r9 + 1]
movzx eax, r12w
cmp ecx, eax
je 0x18002daa8
mov r8, qword [rsp + 0x20]
inc r13d
cmp r13d, dword [rbp + 0x14]
jae 0x18002daad
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
jmp 0x18002d927
mov rax, r15
jmp 0x18002daaf
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180032420
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180032a0c
int3