Function at 0x1801e4730
Capabilities:
Enumerate pe sections
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1b0], rbx
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x60], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor esi, esi
mov qword [rbp - 0x68], rsi
mov byte [rsp + 0x41], sil
mov byte [rsp + 0x42], sil
xor r12b, r12b
mov byte [rsp + 0x40], r12b
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], esi
mov dword [rbp - 4], 1
mov eax, 0xa
mov dword [rsp + 0x60], eax
mov dword [rbp], eax
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp - 0x58], rsi
mov dword [rbp - 0x50], esi
mov dword [rbp - 0x4c], 1
mov dword [rbp - 0x48], eax
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0x18], rsi
mov dword [rbp + 0x20], esi
mov dword [rbp + 0x24], 1
mov dword [rbp + 0x28], eax
movdqu xmmword [rbp + 0x30], xmm0
or ebx, 0xffffffff
lea rdx, [0x1802ac170]
call fcn.1802396d4
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1801e4ecd
mov r9, rax
lea edx, [rsi + 1]
lea r8d, [rsi + 8]
lea rcx, [rbp + 0x50]
call fcn.18023996c
cmp rax, 8
jne 0x1801e4ec4
mov dword [rbp + 0x48], 0x474e5089
mov dword [rbp + 0x4c], 0xa1a0a0d
mov r8, rax
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x50]
call fcn.180233730
test eax, eax
jne 0x1801e4ec4
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1801e3a40
test eax, eax
je 0x1801e4ec4
cmp eax, 0x52444849
jne 0x1801e4e7c
cmp dword [rbp - 0x18], 0x19
jne 0x1801e4e7c
mov rcx, qword [rbp - 0x20]
movzx r15d, byte [rcx + 8]
shl r15d, 8
movzx eax, byte [rcx + 9]
add r15d, eax
shl r15d, 8
movzx eax, byte [rcx + 0xa]
add r15d, eax
shl r15d, 8
movzx eax, byte [rcx + 0xb]
add r15d, eax
mov dword [rbp - 0x80], r15d
mov dword [rsp + 0x50], r15d
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 + 0x48], edi
mov r14d, edi
lea eax, [r15 - 1]
cmp eax, 0x3fff
ja 0x1801e4e72
lea eax, [rdi - 1]
cmp eax, 0x3fff
ja 0x1801e4e72
mov dword [rsp + 0x54], esi
mov ebx, esi
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x5c], 1
mov r13d, esi
mov dword [rsp + 0x58], esi
mov eax, edi
imul eax, r15d
shl eax, 2
mov dword [rsp + 0x78], eax
mov r8d, edi
mov edx, r15d
lea rcx, [rbp - 0x10]
call fcn.1801e36c0
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.1801e3b00
test eax, eax
jne 0x1801e4e42
mov r8d, edi
mov edx, r15d
lea rcx, [rbp - 0x58]
call fcn.1801e36c0
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.180254cc4
test eax, eax
jne 0x1801e4e47
mov r15, qword [rbp - 0x38]
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1801e3a40
test eax, eax
je 0x1801e4e47
mov rdi, qword [rbp - 0x30]
cmp eax, 0x4c546361
jne 0x1801e49a5
test r12b, r12b
jne 0x1801e4cf9
cmp byte [rsp + 0x41], r12b
jne 0x1801e4cf9
mov byte [rsp + 0x41], 1
mov byte [rsp + 0x42], 1
jmp 0x1801e4d7b
cmp eax, 0x4c546366
jne 0x1801e4c77
test r12b, r12b
je 0x1801e4abd
cmp byte [rsp + 0x41], 0
je 0x1801e4cf9
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.1801e3d40
test eax, eax
jne 0x1801e4e28
mov r8d, dword [rbp + 0x48]
mov edx, dword [rbp - 0x80]
lea rcx, [rbp + 0x18]
call fcn.1801e36c0
mov r12, qword [rbp + 0x30]
cmp r13d, 2
jne 0x1801e4a06
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rbp - 0x40]
mov rcx, r12
call fcn.180232390
mov dword [rsp + 0x30], r14d
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x54]
movzx r8d, byte [rsp + 0x58]
mov rdx, qword [rbp + 0x10]
mov rcx, r15
call fcn.1801e38c0
mov eax, dword [rsp + 0x5c]
mov dword [rbp - 0x4c], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x48], eax
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
call fcn.1801e50c0
mov r15, qword [rbp + 0x38]
cmp r13d, 2
je 0x1801e4ab3
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rbp - 0x40]
mov rcx, r12
call fcn.180232390
cmp r13d, 1
jne 0x1801e4ab3
mov ebx, esi
test r14d, r14d
je 0x1801e4ab3
mov eax, dword [rsp + 0x50]
lea r12d, [rax*4]
mov eax, dword [rsp + 0x54]
lea r13d, [rax*4]
mov edi, dword [rsp + 0x7c]
nop dword [rax]
lea eax, [rbx + rdi]
mov rcx, qword [r15 + rax*8]
add rcx, r13
mov r8, r12
xor edx, edx
call fcn.180233580
inc ebx
cmp ebx, r14d
jb 0x1801e4a90
mov rdi, qword [rbp - 0x30]
mov r12, qword [rbp + 0x30]
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r15
jmp 0x1801e4ac1
mov r12, qword [rbp - 0x40]
movzx ecx, byte [rdi + 0xc]
shl ecx, 8
movzx eax, byte [rdi + 0xd]
add ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0xe]
add ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0xf]
add ecx, eax
mov dword [rsp + 0x50], ecx
movzx r14d, byte [rdi + 0x10]
shl r14d, 8
movzx eax, byte [rdi + 0x11]
add r14d, eax
shl r14d, 8
movzx eax, byte [rdi + 0x12]
add r14d, eax
shl r14d, 8
movzx eax, byte [rdi + 0x13]
add r14d, eax
movzx edx, byte [rdi + 0x14]
shl edx, 8
movzx eax, byte [rdi + 0x15]
add edx, eax
shl edx, 8
movzx eax, byte [rdi + 0x16]
add edx, eax
shl edx, 8
movzx eax, byte [rdi + 0x17]
add edx, eax
mov dword [rsp + 0x54], edx
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 + 0x7c], ebx
movzx r8d, byte [rdi + 0x1c]
shl r8d, 8
movzx eax, byte [rdi + 0x1d]
add r8d, eax
mov dword [rsp + 0x5c], r8d
movzx r8d, byte [rdi + 0x1e]
shl r8d, 8
movzx eax, byte [rdi + 0x1f]
add r8d, eax
mov dword [rsp + 0x60], r8d
movzx r13d, byte [rdi + 0x20]
movzx r8d, byte [rdi + 0x21]
mov dword [rsp + 0x58], r8d
lea eax, [rcx - 1]
cmp eax, 0x3fff
ja 0x1801e4d9d
lea eax, [r14 - 1]
cmp eax, 0x3fff
ja 0x1801e4d9d
lea eax, [rdx + rcx]
cmp eax, dword [rbp - 0x80]
ja 0x1801e4d9d
lea eax, [rbx + r14]
cmp eax, dword [rbp + 0x48]
ja 0x1801e4d9d
cmp r13d, 2
ja 0x1801e4d9d
cmp r8d, 1
ja 0x1801e4d9d
movzx r9d, byte [rsp + 0x40]
test r9b, r9b
je 0x1801e4c19
mov rcx, qword [rdi + 0xc]
mov rax, qword [rbp - 0x20]
mov qword [rax + 8], rcx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.1801e3b00
test eax, eax
jne 0x1801e4d9d
jmp 0x1801e4c1e
mov byte [rsp + 0x42], 0
mov rax, qword [rbp - 0x60]
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, rsi
cmp byte [rsp + 0x42], sil
setne al
movzx r12d, byte [rsp + 0x40]
cmp rdx, rax
jne 0x1801e4d7b
mov dword [rsp + 0x58], esi
cmp r13d, 2
jne 0x1801e4d7b
mov r13d, 1
jmp 0x1801e4d7b
cmp eax, 0x54414449
jne 0x1801e4c8f
mov r12b, 1
mov byte [rsp + 0x40], r12b
mov r9d, dword [rbp - 0x28]
mov r8, rdi
jmp 0x1801e4cd2
cmp eax, 0x54416466
jne 0x1801e4cee
cmp byte [rsp + 0x41], 0
je 0x1801e4cf9
mov r9d, dword [rbp - 0x28]
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 + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.1801e3ca0
test eax, eax
jne 0x1801e4db5
jmp 0x1801e4d7b
cmp eax, 0x444e4549
je 0x1801e4dcb
movzx ecx, byte [rdi + 4]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x1801e4d10
sub cl, 0x61
cmp cl, 0x19
ja 0x1801e4dad
movzx ecx, byte [rdi + 5]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x1801e4d27
sub cl, 0x61
cmp cl, 0x19
ja 0x1801e4dad
movzx ecx, byte [rdi + 6]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x1801e4d3a
sub cl, 0x61
cmp cl, 0x19
ja 0x1801e4dad
movzx ecx, byte [rdi + 7]
lea eax, [rcx - 0x41]
cmp al, 0x39
ja 0x1801e4dad
sub cl, 0x5b
cmp cl, 5
jbe 0x1801e4dad
test r12b, r12b
jne 0x1801e4d7b
mov r9d, dword [rbp - 0x28]
mov r8, rdi
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.1801e3ca0
test eax, eax
jne 0x1801e4db5
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.1801e4f10
jmp 0x1801e4d83
mov rcx, rdi
call fcn.180085310
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.180254cc4
test eax, eax
jne 0x1801e4e47
jmp 0x1801e4963
mov rcx, r15
call fcn.180085310
mov rcx, r12
call fcn.180085310
mov rcx, rdi
jmp 0x1801e4e3d
mov rcx, r15
call fcn.180085310
mov rcx, qword [rbp - 0x40]
call fcn.180085310
mov rcx, rdi
jmp 0x1801e4e3d
test r12b, r12b
je 0x1801e4e28
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.1801e3d40
test eax, eax
jne 0x1801e4e28
mov dword [rsp + 0x30], r14d
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x54]
movzx r8d, byte [rsp + 0x58]
mov rdx, qword [rbp + 0x10]
mov rcx, r15
call fcn.1801e38c0
mov eax, dword [rsp + 0x5c]
mov dword [rbp - 0x4c], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x48], eax
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
call fcn.1801e50c0
jmp 0x1801e4e39
mov rcx, r15
call fcn.180085310
mov rcx, qword [rbp - 0x40]
call fcn.180085310
mov rcx, qword [rbp - 0x30]
call fcn.180085310
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x10]
call fcn.180085310
mov rcx, qword [rbp + 8]
call fcn.180085310
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1801e4e79
mov ebx, esi
cmp byte [rsp + 0x42], sil
sete bl
jmp 0x1801e4e7c
mov rcx, qword [rsp + 0x48]
jmp 0x1801e4ec7
or ebx, 0xffffffff
mov rax, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
sub rax, rdx
sar rax, 4
test rax, rax
je 0x1801e4eb7
mov rcx, rsi
add rcx, rcx
mov rcx, qword [rdx + rcx*8]
call fcn.180085310
inc esi
mov rax, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
sub rax, rdx
sar rax, 4
mov ecx, esi
cmp rcx, rax
jb 0x1801e4e93
mov qword [rbp - 0x70], rdx
mov rcx, qword [rbp - 0x20]
call fcn.180085310
mov rcx, rdi
call fcn.180239ab8
nop
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1801e4ee6
mov r8, qword [rbp - 0x68]
sub r8, rdx
sar r8, 4
call fcn.18007fd70
mov eax, ebx
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret