Function at 0x1801e3f40
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov qword [rbp - 0x78], r8
mov r14, rdx
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xor r15d, r15d
mov qword [rbp - 0x80], r15
mov byte [rsp + 0x41], r15b
mov byte [rsp + 0x42], r15b
xor r12b, r12b
mov byte [rsp + 0x40], r12b
mov qword [rbp - 0x28], r15
mov dword [rbp - 0x20], r15d
mov dword [rbp - 0x1c], 1
mov eax, 0xa
mov dword [rsp + 0x54], eax
mov dword [rbp - 0x18], eax
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x68], r15d
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x60], eax
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp], r15
mov dword [rbp + 8], r15d
mov dword [rbp + 0xc], 1
mov dword [rbp + 0x10], eax
movdqu xmmword [rbp + 0x18], xmm0
or r13d, 0xffffffff
mov edi, 8
cmp edx, edi
cmovl edi, edx
movsxd rbx, edi
mov r8, rbx
mov rdx, rcx
lea rcx, [rbp + 0x38]
call fcn.180232390
lea rax, [rsi + rbx]
mov qword [0x180344508], rax
sub r14d, edi
mov dword [0x180344510], r14d
mov dword [rbp + 0x30], 0x474e5089
mov dword [rbp + 0x34], 0xa1a0a0d
lea r8d, [r15 + 8]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.180233730
test eax, eax
jne 0x1801e46ea
lea rcx, [rbp - 0x38]
call fcn.1801e3e40
test eax, eax
jne 0x1801e4077
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1801e4703
mov r8, qword [rbp - 0x80]
sub r8, rdx
sar r8, 4
jmp 0x1801e46fe
cmp eax, 0x52444849
jne 0x1801e468f
cmp dword [rbp - 0x30], 0x19
jne 0x1801e468f
mov rcx, qword [rbp - 0x38]
movzx r14d, byte [rcx + 8]
shl r14d, 8
movzx eax, byte [rcx + 9]
add r14d, eax
shl r14d, 8
movzx eax, byte [rcx + 0xa]
add r14d, eax
shl r14d, 8
movzx eax, byte [rcx + 0xb]
add r14d, eax
mov dword [rbp + 0x38], r14d
mov dword [rsp + 0x44], r14d
movzx edi, byte [rcx + 0xc]
shl edi, 8
movzx eax, byte [rcx + 0xd]
add edi, eax
shl edi, 8
movzx eax, byte [rcx + 0xe]
add edi, eax
shl edi, 8
movzx eax, byte [rcx + 0xf]
add edi, eax
mov dword [rbp + 0x30], edi
mov esi, edi
lea eax, [r14 - 1]
cmp eax, 0x3fff
ja 0x1801e4059
lea eax, [rdi - 1]
cmp eax, 0x3fff
ja 0x1801e4059
mov dword [rsp + 0x48], r15d
mov ebx, r15d
mov dword [rsp + 0x6c], ebx
mov dword [rsp + 0x50], 1
mov r13d, r15d
mov dword [rsp + 0x4c], r15d
mov eax, edi
imul eax, r14d
shl eax, 2
mov dword [rsp + 0x68], eax
mov r8d, edi
mov edx, r14d
lea rcx, [rbp - 0x28]
call fcn.1801e36c0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x28]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1801e3b00
test eax, eax
jne 0x1801e465e
mov r8d, edi
mov edx, r14d
lea rcx, [rbp - 0x70]
call fcn.1801e36c0
cmp dword [0x180344510], ebx
jle 0x1801e465e
mov r14, qword [rbp - 0x50]
nop dword [rax + rax]
lea rcx, [rbp - 0x48]
call fcn.1801e3e40
test eax, eax
je 0x1801e465e
mov rdi, qword [rbp - 0x48]
cmp eax, 0x4c546361
jne 0x1801e41cf
test r12b, r12b
jne 0x1801e4521
cmp byte [rsp + 0x41], r12b
jne 0x1801e4521
mov byte [rsp + 0x41], 1
mov byte [rsp + 0x42], 1
jmp 0x1801e45a0
cmp eax, 0x4c546366
jne 0x1801e449f
test r12b, r12b
je 0x1801e42ec
cmp byte [rsp + 0x41], 0
je 0x1801e4521
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1801e3d40
test eax, eax
jne 0x1801e4644
mov r8d, dword [rbp + 0x30]
mov edx, dword [rbp + 0x38]
lea rcx, [rbp]
call fcn.1801e36c0
mov r12, qword [rbp + 0x18]
cmp r13d, 2
jne 0x1801e4230
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rbp - 0x58]
mov rcx, r12
call fcn.180232390
mov dword [rsp + 0x30], esi
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x48]
movzx r8d, byte [rsp + 0x4c]
mov rdx, qword [rbp - 8]
mov rcx, r14
call fcn.1801e38c0
mov eax, dword [rsp + 0x50]
mov dword [rbp - 0x64], eax
mov eax, dword [rsp + 0x54]
mov dword [rbp - 0x60], eax
lea rdx, [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
call fcn.1801e50c0
mov r14, qword [rbp + 0x20]
cmp r13d, 2
je 0x1801e42e2
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rbp - 0x58]
mov rcx, r12
call fcn.180232390
cmp r13d, 1
jne 0x1801e42e2
mov ebx, r15d
test esi, esi
je 0x1801e42e2
mov eax, dword [rsp + 0x44]
lea r12d, [rax*4]
mov eax, dword [rsp + 0x48]
lea r13d, [rax*4]
mov edi, dword [rsp + 0x6c]
nop word [rax + rax]
lea eax, [rbx + rdi]
mov rcx, qword [r14 + rax*8]
add rcx, r13
mov r8, r12
xor edx, edx
call fcn.180233580
inc ebx
cmp ebx, esi
jb 0x1801e42c0
mov rdi, qword [rbp - 0x48]
mov r12, qword [rbp + 0x18]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r14
jmp 0x1801e42f0
mov r12, qword [rbp - 0x58]
movzx edx, byte [rdi + 0xd]
movzx eax, byte [rdi + 0xc]
shl eax, 8
add edx, eax
shl edx, 8
movzx eax, byte [rdi + 0xe]
add edx, eax
shl edx, 8
movzx eax, byte [rdi + 0xf]
add edx, eax
mov dword [rsp + 0x44], edx
movzx esi, byte [rdi + 0x10]
shl esi, 8
movzx eax, byte [rdi + 0x11]
add esi, eax
shl esi, 8
movzx eax, byte [rdi + 0x12]
add esi, eax
shl esi, 8
movzx eax, byte [rdi + 0x13]
add esi, eax
movzx ecx, byte [rdi + 0x14]
shl ecx, 8
movzx eax, byte [rdi + 0x15]
add ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0x16]
add ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0x17]
add ecx, eax
mov dword [rsp + 0x48], ecx
movzx ebx, byte [rdi + 0x18]
shl ebx, 8
movzx eax, byte [rdi + 0x19]
add ebx, eax
shl ebx, 8
movzx eax, byte [rdi + 0x1a]
add ebx, eax
shl ebx, 8
movzx eax, byte [rdi + 0x1b]
add ebx, eax
mov dword [rsp + 0x6c], ebx
movzx r8d, byte [rdi + 0x1c]
shl r8d, 8
movzx eax, byte [rdi + 0x1d]
add r8d, eax
mov dword [rsp + 0x50], r8d
movzx r8d, byte [rdi + 0x1e]
shl r8d, 8
movzx eax, byte [rdi + 0x1f]
add r8d, eax
mov dword [rsp + 0x54], r8d
movzx r13d, byte [rdi + 0x20]
movzx r8d, byte [rdi + 0x21]
mov dword [rsp + 0x4c], r8d
lea eax, [rdx - 1]
cmp eax, 0x3fff
ja 0x1801e45ba
lea eax, [rsi - 1]
cmp eax, 0x3fff
ja 0x1801e45ba
lea eax, [rcx + rdx]
cmp eax, dword [rbp + 0x38]
ja 0x1801e45ba
lea eax, [rbx + rsi]
cmp eax, dword [rbp + 0x30]
ja 0x1801e45ba
cmp r13d, 2
ja 0x1801e45ba
cmp r8d, 1
ja 0x1801e45ba
movzx r9d, byte [rsp + 0x40]
test r9b, r9b
je 0x1801e4440
mov rcx, qword [rdi + 0xc]
mov rax, qword [rbp - 0x38]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x28]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1801e3b00
test eax, eax
jne 0x1801e45ba
jmp 0x1801e4445
mov byte [rsp + 0x42], 0
mov rax, qword [rbp - 0x78]
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, r15
cmp byte [rsp + 0x42], r15b
setne al
movzx r12d, byte [rsp + 0x40]
cmp rdx, rax
jne 0x1801e45a0
mov dword [rsp + 0x4c], r15d
cmp r13d, 2
jne 0x1801e45a0
mov r13d, 1
jmp 0x1801e45a0
cmp eax, 0x54414449
jne 0x1801e44b7
mov r12b, 1
mov byte [rsp + 0x40], r12b
mov r9d, dword [rbp - 0x40]
mov r8, rdi
jmp 0x1801e44fa
cmp eax, 0x54416466
jne 0x1801e4516
cmp byte [rsp + 0x41], 0
je 0x1801e4521
mov r9d, dword [rbp - 0x40]
lea ecx, [r9 - 0x10]
lea r8, [rdi + 4]
mov eax, ecx
shr eax, 0x18
mov byte [r8], al
mov eax, ecx
shr eax, 0x10
mov byte [r8 + 1], al
mov eax, ecx
shr eax, 8
mov byte [r8 + 2], al
mov byte [r8 + 3], cl
mov dword [rdi + 8], 0x54414449
add r9d, 0xfffffffc
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1801e3ca0
test eax, eax
jne 0x1801e45d2
jmp 0x1801e45a0
cmp eax, 0x444e4549
je 0x1801e45e8
movzx ecx, byte [rdi + 4]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x1801e4538
sub cl, 0x61
cmp cl, 0x19
ja 0x1801e45ca
movzx ecx, byte [rdi + 5]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x1801e454b
sub cl, 0x61
cmp cl, 0x19
ja 0x1801e45ca
movzx ecx, byte [rdi + 6]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x1801e455e
sub cl, 0x61
cmp cl, 0x19
ja 0x1801e45ca
movzx ecx, byte [rdi + 7]
lea eax, [rcx - 0x41]
cmp al, 0x39
ja 0x1801e45ca
sub cl, 0x5b
cmp cl, 5
jbe 0x1801e45ca
test r12b, r12b
jne 0x1801e45a0
mov r9d, dword [rbp - 0x40]
mov r8, rdi
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1801e3ca0
test eax, eax
jne 0x1801e45d2
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x70]
call fcn.1801e4f10
jmp 0x1801e45a8
mov rcx, rdi
call fcn.180085310
cmp dword [0x180344510], 0
jle 0x1801e465e
jmp 0x1801e4190
mov rcx, r14
call fcn.180085310
mov rcx, r12
call fcn.180085310
mov rcx, rdi
jmp 0x1801e4659
mov rcx, r14
call fcn.180085310
mov rcx, qword [rbp - 0x58]
call fcn.180085310
mov rcx, rdi
jmp 0x1801e4659
test r12b, r12b
je 0x1801e4644
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1801e3d40
test eax, eax
jne 0x1801e4644
mov dword [rsp + 0x30], esi
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x48]
movzx r8d, byte [rsp + 0x4c]
mov rdx, qword [rbp - 8]
mov rcx, r14
call fcn.1801e38c0
mov eax, dword [rsp + 0x50]
mov dword [rbp - 0x64], eax
mov eax, dword [rsp + 0x54]
mov dword [rbp - 0x60], eax
lea rdx, [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
call fcn.1801e50c0
jmp 0x1801e4655
mov rcx, r14
call fcn.180085310
mov rcx, qword [rbp - 0x58]
call fcn.180085310
mov rcx, qword [rbp - 0x48]
call fcn.180085310
mov rcx, qword [rbp - 8]
call fcn.180085310
mov rcx, qword [rbp - 0x10]
call fcn.180085310
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1801e468b
mov r13d, r15d
cmp byte [rsp + 0x42], r15b
sete r13b
jmp 0x1801e468f
or r13d, 0xffffffff
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
sub rax, rdx
sar rax, 4
test rax, rax
je 0x1801e46d8
mov rcx, r15
nop dword [rax + rax]
add rcx, rcx
mov rcx, qword [rdx + rcx*8]
call fcn.180085310
inc r15d
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
sub rax, rdx
sar rax, 4
mov ecx, r15d
cmp rcx, rax
jb 0x1801e46b0
mov qword [rsp + 0x78], rdx
mov rcx, qword [rbp - 0x38]
call fcn.180085310
mov r15, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1801e4703
sub r15, rdx
sar r15, 4
mov r8, r15
call fcn.18007fd70
mov eax, r13d
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret