Function at 0x18004ed10
Capabilities:
Parse pe header

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x3e8], rbx
mov rax, qword [0x1800e0280]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov word [rbp - 0x30], cx
mov qword [rbp - 0x2e], rax
mov qword [rbp - 0x26], rax
mov qword [rbp - 0x1e], rax
mov qword [rbp - 0x16], rax
mov qword [rbp - 0xe], rax
mov qword [rbp - 6], rax
mov qword [rbp + 2], rax
mov dword [rbp + 0xa], eax
mov word [rbp + 0xe], ax
mov dword [rsp + 0x44], ecx
mov word [rbp + 0xb0], cx
mov qword [rbp + 0xb2], rax
mov qword [rbp + 0xba], rax
mov word [rbp + 0xc2], ax
mov word [rbp + 0x1b0], cx
xor edx, edx
mov r8d, 0xee
lea rcx, [rbp + 0x1b2]
call fcn.1800743b0
xor eax, eax
mov word [rbp + 0xd0], ax
xor edx, edx
mov r8d, 0xde
lea rcx, [rbp + 0xd2]
call fcn.1800743b0
xor eax, eax
mov dword [rbp - 0x58], eax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov dword [rbp - 0x34], eax
test rsi, rsi
je 0x18004f66f
lea r9d, [rax + 0x18]
lea r8, [rbp - 0x78]
mov rdx, rdi
mov rcx, rbx
call fcn.18006ca48
test eax, eax
je 0x18004f66f
mov rdi, qword [rbp - 0x78]
mov qword [rsp + 0x78], rdi
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x40]
lea r8, [rbp - 0x30]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f66f
mov eax, 0x5a4d
cmp word [rbp - 0x30], ax
jne 0x18004f66f
movsxd rdx, dword [rbp + 0xc]
add rdx, rdi
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 4]
lea r8, [rsp + 0x44]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f66f
cmp dword [rsp + 0x44], 0x4550
jne 0x18004f66f
movsxd rax, dword [rbp + 0xc]
lea rdx, [rdi + 4]
add rdx, rax
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x14]
lea r8, [rbp + 0xb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f66f
mov r9d, 0xf0
movzx eax, word [rbp + 0xc0]
cmp ax, r9w
je 0x18004ef1d
mov r9d, 0xe0
cmp ax, r9w
jne 0x18004f66f
movsxd rax, dword [rbp + 0xc]
lea rdx, [rdi + 0x18]
add rdx, rax
xor eax, eax
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xd0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f66f
mov eax, 0x10b
cmp word [rbp + 0xd0], ax
jne 0x18004f66f
jmp 0x18004ef70
movsxd rax, dword [rbp + 0xc]
lea rdx, [rdi + 0x18]
add rdx, rax
xor eax, eax
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f66f
mov eax, 0x20b
cmp word [rbp + 0x1b0], ax
jne 0x18004f66f
cmp dword [rbp + 0x21c], 1
jb 0x18004ef70
mov eax, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x224]
jmp 0x18004ef89
cmp dword [rbp + 0x12c], 1
jb 0x18004f66f
mov eax, dword [rbp + 0x130]
mov ecx, dword [rbp + 0x134]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x40], eax
mov edx, eax
add rdx, rdi
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x28]
lea r8, [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f66f
mov eax, dword [rbp - 0x3c]
add rax, rdi
mov qword [rsp + 0x48], rax
mov eax, dword [rbp - 0x38]
add rax, rdi
mov qword [rbp - 0x80], rax
mov eax, dword [rbp - 0x34]
add rax, rdi
mov qword [rsp + 0x68], rax
mov ecx, dword [rbp - 0x44]
mov eax, 4
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.1800724a0
mov qword [rsp + 0x58], rax
mov ecx, dword [rbp - 0x40]
mov eax, 4
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1800724a0
mov rdi, rax
mov qword [rsp + 0x38], rax
mov ecx, dword [rbp - 0x40]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800724a0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18004f650
test rdi, rdi
je 0x18004f646
test rax, rax
je 0x18004f646
mov r9d, dword [rbp - 0x44]
shl r9, 2
xor eax, eax
mov qword [rsp + 0x20], rax
mov r8, rcx
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f646
mov r9d, dword [rbp - 0x40]
shl r9, 2
xor eax, eax
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, qword [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f646
mov r9d, dword [rbp - 0x40]
add r9, r9
xor eax, eax
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f646
xor r8d, r8d
mov ecx, r8d
mov dword [rsp + 0x48], ecx
cmp dword [rbp - 0x40], ecx
jbe 0x18004f646
lea r9d, [r8 + 1]
nop word [rax + rax]
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], r8
mov byte [rbp + 0x10], 0
mov ebx, r8d
mov qword [rbp + 0x20], r8
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rax, qword [rbp + 0x10]
mov byte [rax], 0
mov rdi, r8
mov eax, ecx
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x68], rax
jmp 0x18004f143
xor r8d, r8d
mov edx, dword [rax]
add rdx, rdi
add rdx, qword [rsp + 0x78]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f620
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
lea rax, [rbp + 0x10]
cmovae rax, qword [rbp + 0x10]
add rdx, qword [rbp + 0x20]
jne 0x18004f18d
xor eax, eax
mov edx, eax
jmp 0x18004f190
sub rdx, rax
movzx r9d, byte [rsp + 0x30]
mov r8d, 1
lea rcx, [rbp + 0x10]
call fcn.180024ac0
cmp byte [rsp + 0x30], 0
mov r9d, 1
cmove ebx, r9d
inc rdi
test ebx, ebx
mov rax, qword [rsp + 0x68]
je 0x18004f140
cmp byte [rsi], 0
jne 0x18004f1cc
xor eax, eax
mov r9d, eax
jmp 0x18004f1da
or r9, 0xffffffffffffffff
inc r9
cmp byte [rsi + r9], 0
jne 0x18004f1d0
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.180003ac0
cmp rax, 0xffffffffffffffff
jne 0x18004f22e
cmp qword [rbp + 0x28], 0x10
jb 0x18004f1ff
mov rcx, qword [rbp + 0x10]
call fcn.180073478
mov qword [rbp + 0x28], 0xf
xor r8d, r8d
mov qword [rbp + 0x20], r8
mov byte [rbp + 0x10], r8b
mov ecx, dword [rsp + 0x48]
inc ecx
mov dword [rsp + 0x48], ecx
cmp ecx, dword [rbp - 0x40]
lea r9d, [r8 + 1]
jb 0x18004f0f0
jmp 0x18004f641
mov edx, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
movzx eax, word [rdi + rdx*2]
mov r9, qword [rsp + 0x58]
mov ecx, dword [r9 + rax*4]
mov eax, dword [rsp + 0x40]
cmp ecx, eax
jb 0x18004f5d7
add eax, dword [rsp + 0x50]
cmp ecx, eax
ja 0x18004f5d7
xor ecx, ecx
mov ebx, ecx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], rcx
mov byte [rbp + 0x30], cl
mov qword [rbp + 0x40], rcx
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rax, qword [rbp + 0x30]
mov byte [rax], cl
mov edi, ecx
lea rsi, [r9 + rdx*4]
lea eax, [rcx + 1]
jmp 0x18004f2a2
xor ecx, ecx
mov edx, dword [rsi]
add rdx, rdi
add rdx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18004f59c
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
lea rax, [rbp + 0x30]
cmovae rax, qword [rbp + 0x30]
add rdx, qword [rbp + 0x40]
jne 0x18004f2ef
xor eax, eax
mov edx, eax
jmp 0x18004f2f2
sub rdx, rax
movzx r9d, byte [rsp + 0x30]
mov r8d, 1
lea rcx, [rbp + 0x30]
call fcn.180024ac0
cmp byte [rsp + 0x30], 0
mov eax, 1
cmove ebx, eax
inc rdi
test ebx, ebx
je 0x18004f2a0
mov rsi, qword [rbp + 0x40]
test rsi, rsi
je 0x18004f59c
cmp rsi, rax
jb 0x18004f59c
lea rdi, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdi, qword [rbp + 0x30]
nop
test rsi, rsi
je 0x18004f59c
mov r8, rsi
mov edx, 0x2e
mov rcx, rdi
call fcn.1800730a4
mov rbx, rax
test rax, rax
je 0x18004f59c
cmp byte [rax], 0x2e
je 0x18004f379
sub rdi, rax
dec rdi
add rsi, rdi
lea rdi, [rax + 1]
jmp 0x18004f340
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rax, qword [rbp + 0x30]
sub rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x18004f59c
xor esi, esi
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x68], 0xf
mov qword [rbp + 0x60], rsi
mov byte [rbp + 0x50], sil
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rsi
mov byte [rbp + 0x70], sil
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x30]
call fcn.18001b8e0
mov rdi, rax
lea rax, [rbp + 0x50]
cmp rax, rdi
je 0x18004f421
cmp qword [rbp + 0x68], 0x10
jb 0x18004f404
mov rcx, qword [rbp + 0x50]
call fcn.180073478
mov qword [rbp + 0x68], 0xf
mov qword [rbp + 0x60], rsi
mov byte [rbp + 0x50], 0
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.180003910
nop
cmp qword [rbp + 0xa8], 0x10
jb 0x18004f437
mov rcx, qword [rbp + 0x90]
call fcn.180073478
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rsi
mov byte [rbp + 0x90], 0
lea r8, [rbx + 1]
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x30]
call fcn.18001b8e0
mov rbx, rax
lea rax, [rbp + 0x70]
cmp rax, rbx
je 0x18004f4aa
cmp qword [rbp + 0x88], 0x10
jb 0x18004f487
mov rcx, qword [rbp + 0x70]
call fcn.180073478
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rsi
mov byte [rbp + 0x70], 0
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.180003910
nop
cmp qword [rbp + 0xa8], 0x10
jb 0x18004f4c0
mov rcx, qword [rbp + 0x90]
call fcn.180073478
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rsi
mov byte [rbp + 0x90], 0
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, qword [rbp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.18004eaf0
lea r8, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae r8, qword [rbp + 0x70]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.18004ed10
mov rbx, rax
mov rcx, qword [rsp + 0x58]
call fcn.180073444
mov rcx, qword [rsp + 0x38]
call fcn.180073444
mov rcx, qword [rsp + 0x60]
call fcn.180073444
nop
cmp qword [rbp + 0x88], 0x10
jb 0x18004f544
mov rcx, qword [rbp + 0x70]
call fcn.180073478
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rsi
mov byte [rbp + 0x70], 0
cmp qword [rbp + 0x68], 0x10
jb 0x18004f56a
mov rcx, qword [rbp + 0x50]
call fcn.180073478
mov qword [rbp + 0x68], 0xf
mov qword [rbp + 0x60], rsi
mov byte [rbp + 0x50], 0
cmp qword [rbp + 0x48], 0x10
jb 0x18004f58a
mov rcx, qword [rbp + 0x30]
call fcn.180073478
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], rsi
mov byte [rbp + 0x30], 0
jmp 0x18004f5fb
cmp qword [rbp + 0x48], 0x10
jb 0x18004f5ac
mov rcx, qword [rbp + 0x30]
call fcn.180073478
mov qword [rbp + 0x48], 0xf
xor ebx, ebx
mov qword [rbp + 0x40], rbx
mov byte [rbp + 0x30], bl
cmp qword [rbp + 0x28], 0x10
jb 0x18004f5cd
mov rcx, qword [rbp + 0x10]
call fcn.180073478
mov qword [rbp + 0x20], rbx
mov byte [rbp + 0x10], 0
jmp 0x18004f639
mov rbx, rcx
add rbx, qword [rsp + 0x78]
mov rcx, r9
call fcn.180073444
mov rcx, qword [rsp + 0x38]
call fcn.180073444
mov rcx, rdi
call fcn.180073444
xor esi, esi
cmp qword [rbp + 0x28], 0x10
jb 0x18004f60b
mov rcx, qword [rbp + 0x10]
call fcn.180073478
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], rsi
mov byte [rbp + 0x10], 0
mov rax, rbx
jmp 0x18004f671
cmp qword [rbp + 0x28], 0x10
jb 0x18004f630
mov rcx, qword [rbp + 0x10]
call fcn.180073478
xor eax, eax
mov qword [rbp + 0x20], rax
mov byte [rbp + 0x10], al
mov qword [rbp + 0x28], 0xf
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call fcn.180073444
test rdi, rdi
je 0x18004f65d
mov rcx, rdi
call fcn.180073444
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x18004f66f
mov rcx, rax
call fcn.180073444
xor eax, eax
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.180072850
mov rbx, qword [rsp + 0x3e8]
add rsp, 0x3b0
pop rdi
pop rsi
pop rbp
ret