Function at 0x2612b137a
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
sub rsp, 0x108
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
call sym.lDRYIgxGNdYEdMbVu
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
movzx eax, word [rax]
cmp ax, 0x5a4d
jne 0x2612b13f4
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0x3c]
cdqe
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0x3f
jbe 0x2612b13f4
cmp qword [rbp + 0x10], 0x3ff
ja 0x2612b13f4
mov rax, qword [rbp + 0x58]
add qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2612b13fb
sub qword [rbp + 0x58], 1
jmp 0x2612b13b4
nop
mov dword [rbp - 0x14], 0x60
mov eax, dword [rbp - 0x14]
mov rax, qword gs:[rax]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x40], rax
jmp 0x2612b17d1
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x40]
movzx eax, word [rax + 0x48]
mov word [rbp + 0x1e], ax
mov qword [rbp + 0x30], 0
mov rax, qword [rbp + 0x30]
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x24]
mov dword [rbp - 0x28], eax
mov dword [rbp - 0x2c], 0xd
and dword [rbp - 0x2c], 0x1f
mov eax, dword [rbp - 0x2c]
mov edx, dword [rbp - 0x28]
mov ecx, eax
ror edx, cl
mov eax, edx
nop
mov eax, eax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x38]
movzx eax, byte [rax]
cmp al, 0x60
jbe 0x2612b149e
mov rax, qword [rbp + 0x38]
movzx eax, byte [rax]
movzx eax, al
sub eax, 0x20
cdqe
add qword [rbp + 0x30], rax
jmp 0x2612b14ac
mov rax, qword [rbp + 0x38]
movzx eax, byte [rax]
movzx eax, al
add qword [rbp + 0x30], rax
add qword [rbp + 0x38], 1
sub word [rbp + 0x1e], 1
cmp word [rbp + 0x1e], 0
jne 0x2612b1453
mov rax, qword [rbp + 0x30]
cmp eax, 0x6a4abc5b
jne 0x2612b165f
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
add rax, 0x88
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x50], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x48], rax
mov word [rbp + 0x1e], 3
jmp 0x2612b164f
mov rax, qword [rbp + 0x50]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp - 0x38], rax
mov ebx, 0
mov dword [rbp - 0x3c], ebx
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x44], 0xd
and dword [rbp - 0x44], 0x1f
mov eax, dword [rbp - 0x44]
mov edx, dword [rbp - 0x40]
mov ecx, eax
ror edx, cl
mov eax, edx
nop
mov ebx, eax
mov rax, qword [rbp - 0x38]
movzx eax, byte [rax]
movsx eax, al
add ebx, eax
add qword [rbp - 0x38], 1
mov rax, qword [rbp - 0x38]
movzx eax, byte [rax]
test al, al
jne 0x2612b1559
mov eax, ebx
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0xec0e4e8e
je 0x2612b15bc
cmp dword [rbp - 4], 0x7c0dfcaa
je 0x2612b15bc
cmp dword [rbp - 4], 0x91afca54
jne 0x2612b1645
mov rax, qword [rbp]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax]
movzx eax, ax
shl rax, 2
add qword [rbp - 0x10], rax
cmp dword [rbp - 4], 0xec0e4e8e
jne 0x2612b1600
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x78], rax
jmp 0x2612b163a
cmp dword [rbp - 4], 0x7c0dfcaa
jne 0x2612b161e
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x70], rax
jmp 0x2612b163a
cmp dword [rbp - 4], 0x91afca54
jne 0x2612b163a
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x68], rax
movzx eax, word [rbp + 0x1e]
sub eax, 1
mov word [rbp + 0x1e], ax
add qword [rbp + 0x50], 4
add qword [rbp + 0x48], 2
cmp word [rbp + 0x1e], 0
jne 0x2612b1541
jmp 0x2612b17aa
mov rax, qword [rbp + 0x30]
cmp eax, 0x3cfa685d
jne 0x2612b17aa
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
add rax, 0x88
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x50], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x48], rax
mov word [rbp + 0x1e], 1
jmp 0x2612b179f
mov rax, qword [rbp + 0x50]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp - 0x50], rax
mov ebx, 0
mov dword [rbp - 0x54], ebx
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x58], eax
mov dword [rbp - 0x5c], 0xd
and dword [rbp - 0x5c], 0x1f
mov eax, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x58]
mov ecx, eax
ror edx, cl
mov eax, edx
nop
mov ebx, eax
mov rax, qword [rbp - 0x50]
movzx eax, byte [rax]
movsx eax, al
add ebx, eax
add qword [rbp - 0x50], 1
mov rax, qword [rbp - 0x50]
movzx eax, byte [rax]
test al, al
jne 0x2612b16fb
mov eax, ebx
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0x534c0ab8
jne 0x2612b1795
mov rax, qword [rbp]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax]
movzx eax, ax
shl rax, 2
add qword [rbp - 0x10], rax
cmp dword [rbp - 4], 0x534c0ab8
jne 0x2612b178a
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x60], rax
movzx eax, word [rbp + 0x1e]
sub eax, 1
mov word [rbp + 0x1e], ax
add qword [rbp + 0x50], 4
add qword [rbp + 0x48], 2
cmp word [rbp + 0x1e], 0
jne 0x2612b16e3
cmp qword [rbp + 0x78], 0
je 0x2612b17c6
cmp qword [rbp + 0x70], 0
je 0x2612b17c6
cmp qword [rbp + 0x68], 0
je 0x2612b17c6
cmp qword [rbp + 0x60], 0
jne 0x2612b17de
mov rax, qword [rbp + 0x40]
mov rax, qword [rax]
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
jne 0x2612b1433
jmp 0x2612b17df
nop
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x58]
add rax, rdx
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x50]
mov edx, eax
mov rax, qword [rbp + 0x68]
mov r9d, 0x40
mov r8d, 0x3000
mov ecx, 0
call rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x54]
mov eax, eax
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x30], rax
jmp 0x2612b185a
mov rax, qword [rbp + 0x38]
lea rdx, [rax + 1]
mov qword [rbp + 0x38], rdx
mov rcx, rax
mov rax, qword [rbp + 0x30]
lea rdx, [rax + 1]
mov qword [rbp + 0x30], rdx
mov rdx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov rax, qword [rbp + 0x40]
lea rdx, [rax - 1]
mov qword [rbp + 0x40], rdx
test rax, rax
jne 0x2612b1837
mov rax, qword [rbp + 0x10]
add rax, 0x18
mov rdx, rax
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x14]
movzx eax, ax
add rax, rdx
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 6]
movzx eax, ax
mov qword [rbp + 0x20], rax
jmp 0x2612b1909
mov rax, qword [rbp + 0x40]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x40]
mov eax, dword [rax + 0x14]
mov edx, eax
mov rax, qword [rbp + 0x58]
add rax, rdx
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x40]
mov eax, dword [rax + 0x10]
mov eax, eax
mov qword [rbp + 0x28], rax
jmp 0x2612b18f3
mov rax, qword [rbp + 0x30]
lea rdx, [rax + 1]
mov qword [rbp + 0x30], rdx
mov rcx, rax
mov rax, qword [rbp + 0x38]
lea rdx, [rax + 1]
mov qword [rbp + 0x38], rdx
mov rdx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov rax, qword [rbp + 0x28]
lea rdx, [rax - 1]
mov qword [rbp + 0x28], rdx
test rax, rax
jne 0x2612b18d0
add qword [rbp + 0x40], 0x28
mov rax, qword [rbp + 0x20]
lea rdx, [rax - 1]
mov qword [rbp + 0x20], rdx
test rax, rax
jne 0x2612b1899
mov rax, qword [rbp + 0x10]
add rax, 0x90
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x30], rax
jmp 0x2612b1a86
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x78]
mov rcx, rdx
call rax
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x10]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x40], rax
jmp 0x2612b1a71
cmp qword [rbp + 0x28], 0
je 0x2612b1a2e
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
test rax, rax
jns 0x2612b1a2e
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x58]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
add rax, 0x88
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x58]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x58]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
movzx edx, ax
mov rax, qword [rbp]
mov eax, dword [rax + 0x10]
mov ecx, eax
mov rax, rdx
sub rax, rcx
shl rax, 2
add qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x58]
add rdx, rcx
mov qword [rax], rdx
jmp 0x2612b1a60
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
lea rdx, [rax + 2]
mov rax, qword [rbp + 0x58]
mov r8, qword [rbp + 0x70]
mov rcx, rax
call r8
mov rdx, rax
mov rax, qword [rbp + 0x40]
mov qword [rax], rdx
add qword [rbp + 0x40], 8
cmp qword [rbp + 0x28], 0
je 0x2612b1a71
add qword [rbp + 0x28], 8
mov rax, qword [rbp + 0x40]
mov rax, qword [rax]
test rax, rax
jne 0x2612b1990
add qword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0xc]
test eax, eax
jne 0x2612b1944
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x30]
mov rdx, qword [rbp + 8]
sub rdx, rax
mov qword [rbp + 0x58], rdx
mov rax, qword [rbp + 0x10]
add rax, 0xb0
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov eax, dword [rax + 4]
test eax, eax
je 0x2612b1c89
mov rax, qword [rbp + 0x38]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x30], rax
jmp 0x2612b1c7a
mov rax, qword [rbp + 0x30]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 4]
mov eax, eax
sub rax, 8
shr rax, 1
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x30]
add rax, 8
mov qword [rbp + 0x28], rax
jmp 0x2612b1c58
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0xa0
jne 0x2612b1b63
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x40]
add rax, rdx
mov rdx, qword [rax]
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
and ax, 0xfff
movzx ecx, ax
mov rax, qword [rbp + 0x40]
add rax, rcx
mov rcx, rax
mov rax, qword [rbp + 0x58]
add rax, rdx
mov qword [rcx], rax
jmp 0x2612b1c53
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0x30
jne 0x2612b1bb3
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x40]
add rax, rdx
mov edx, dword [rax]
mov rax, qword [rbp + 0x58]
mov r8d, eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
and ax, 0xfff
movzx ecx, ax
mov rax, qword [rbp + 0x40]
add rax, rcx
mov rcx, rax
lea eax, [rdx + r8]
mov dword [rcx], eax
jmp 0x2612b1c53
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0x10
jne 0x2612b1c06
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x40]
add rax, rdx
movzx ecx, word [rax]
mov rax, qword [rbp + 0x58]
shr rax, 0x10
mov r8d, eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x40]
add rax, rdx
mov rdx, rax
lea eax, [rcx + r8]
mov word [rdx], ax
jmp 0x2612b1c53
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0x20
jne 0x2612b1c53
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x40]
add rax, rdx
movzx ecx, word [rax]
mov rax, qword [rbp + 0x58]
mov r8d, eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x40]
add rax, rdx
mov rdx, rax
lea eax, [rcx + r8]
mov word [rdx], ax
add qword [rbp + 0x28], 2
mov rax, qword [rbp + 0x38]
lea rdx, [rax - 1]
mov qword [rbp + 0x38], rdx
test rax, rax
jne 0x2612b1b15
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 4]
mov eax, eax
add qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 4]
test eax, eax
jne 0x2612b1add
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x28]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x60]
mov r8d, 0
mov edx, 0
mov rcx, 0xffffffffffffffff
call rax
mov r9, qword [rbp + 0x40]
mov rax, qword [rbp + 8]
mov r8d, 0
mov edx, 1
mov rcx, rax
call r9
mov rax, qword [rbp + 0x40]
add rsp, 0x108
pop rbx
pop rbp
ret