Function at 0x328213daa
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.caller
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
movzx eax, word [rax]
cmp ax, 0x5a4d
jne 0x328213e24
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x3c]
cdqe
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0x3f
jbe 0x328213e24
cmp qword [rbp + 0x10], 0x3ff
ja 0x328213e24
mov rax, qword [rbp + 0x50]
add qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x328213e2b
sub qword [rbp + 0x50], 1
jmp 0x328213de4
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 + 0x38], rax
jmp 0x328214201
mov rax, qword [rbp + 0x38]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x38]
movzx eax, word [rax + 0x48]
mov word [rbp + 0x5e], ax
mov qword [rbp + 0x28], 0
mov rax, qword [rbp + 0x28]
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 + 0x28], rax
mov rax, qword [rbp + 0x30]
movzx eax, byte [rax]
cmp al, 0x60
jbe 0x328213ece
mov rax, qword [rbp + 0x30]
movzx eax, byte [rax]
movzx eax, al
sub eax, 0x20
cdqe
add qword [rbp + 0x28], rax
jmp 0x328213edc
mov rax, qword [rbp + 0x30]
movzx eax, byte [rax]
movzx eax, al
add qword [rbp + 0x28], rax
add qword [rbp + 0x30], 1
sub word [rbp + 0x5e], 1
cmp word [rbp + 0x5e], 0
jne 0x328213e83
mov rax, qword [rbp + 0x28]
cmp eax, 0x6a4abc5b
jne 0x32821408f
mov rax, qword [rbp + 0x38]
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 + 0x48], rax
mov rax, qword [rbp + 0x48]
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 + 0x48], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x40], rax
mov word [rbp + 0x5e], 3
jmp 0x32821407f
mov rax, qword [rbp + 0x48]
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 0x328213f89
mov eax, ebx
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0xec0e4e8e
je 0x328213fec
cmp dword [rbp - 4], 0x7c0dfcaa
je 0x328213fec
cmp dword [rbp - 4], 0x91afca54
jne 0x328214075
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 + 0x40]
movzx eax, word [rax]
movzx eax, ax
shl rax, 2
add qword [rbp - 0x10], rax
cmp dword [rbp - 4], 0xec0e4e8e
jne 0x328214030
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 0x32821406a
cmp dword [rbp - 4], 0x7c0dfcaa
jne 0x32821404e
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 0x32821406a
cmp dword [rbp - 4], 0x91afca54
jne 0x32821406a
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 + 0x5e]
sub eax, 1
mov word [rbp + 0x5e], ax
add qword [rbp + 0x48], 4
add qword [rbp + 0x40], 2
cmp word [rbp + 0x5e], 0
jne 0x328213f71
jmp 0x3282141da
mov rax, qword [rbp + 0x28]
cmp eax, 0x3cfa685d
jne 0x3282141da
mov rax, qword [rbp + 0x38]
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 + 0x48], rax
mov rax, qword [rbp + 0x48]
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 + 0x48], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x40], rax
mov word [rbp + 0x5e], 1
jmp 0x3282141cf
mov rax, qword [rbp + 0x48]
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 0x32821412b
mov eax, ebx
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0x534c0ab8
jne 0x3282141c5
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 + 0x40]
movzx eax, word [rax]
movzx eax, ax
shl rax, 2
add qword [rbp - 0x10], rax
cmp dword [rbp - 4], 0x534c0ab8
jne 0x3282141ba
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 + 0x5e]
sub eax, 1
mov word [rbp + 0x5e], ax
add qword [rbp + 0x48], 4
add qword [rbp + 0x40], 2
cmp word [rbp + 0x5e], 0
jne 0x328214113
cmp qword [rbp + 0x78], 0
je 0x3282141f6
cmp qword [rbp + 0x70], 0
je 0x3282141f6
cmp qword [rbp + 0x68], 0
je 0x3282141f6
cmp qword [rbp + 0x60], 0
jne 0x32821420e
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
jne 0x328213e63
jmp 0x32821420f
nop
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x50]
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 + 0x38], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
jmp 0x32821428a
mov rax, qword [rbp + 0x30]
lea rdx, [rax + 1]
mov qword [rbp + 0x30], rdx
mov rcx, rax
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 1]
mov qword [rbp + 0x28], rdx
mov rdx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov rax, qword [rbp + 0x38]
lea rdx, [rax - 1]
mov qword [rbp + 0x38], rdx
test rax, rax
jne 0x328214267
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 + 0x38], rax
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 6]
movzx eax, ax
mov qword [rbp + 0x18], rax
jmp 0x328214339
mov rax, qword [rbp + 0x38]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x38]
mov eax, dword [rax + 0x14]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x38]
mov eax, dword [rax + 0x10]
mov eax, eax
mov qword [rbp + 0x20], rax
jmp 0x328214323
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 1]
mov qword [rbp + 0x28], 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 + 0x20]
lea rdx, [rax - 1]
mov qword [rbp + 0x20], rdx
test rax, rax
jne 0x328214300
add qword [rbp + 0x38], 0x28
mov rax, qword [rbp + 0x18]
lea rdx, [rax - 1]
mov qword [rbp + 0x18], rdx
test rax, rax
jne 0x3282142c9
mov rax, qword [rbp + 0x10]
add rax, 0x90
mov qword [rbp + 0x30], 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
jmp 0x3282144b6
mov rax, qword [rbp + 0x28]
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 + 0x50], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x10]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x38], rax
jmp 0x3282144a1
cmp qword [rbp + 0x20], 0
je 0x32821445e
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
test rax, rax
jns 0x32821445e
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
add rax, 0x88
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x20]
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 + 0x38]
mov rdx, qword [rbp + 0x50]
add rdx, rcx
mov qword [rax], rdx
jmp 0x328214490
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
lea rdx, [rax + 2]
mov rax, qword [rbp + 0x50]
mov r8, qword [rbp + 0x70]
mov rcx, rax
call r8
mov rdx, rax
mov rax, qword [rbp + 0x38]
mov qword [rax], rdx
add qword [rbp + 0x38], 8
cmp qword [rbp + 0x20], 0
je 0x3282144a1
add qword [rbp + 0x20], 8
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
test rax, rax
jne 0x3282143c0
add qword [rbp + 0x28], 0x14
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0xc]
test eax, eax
jne 0x328214374
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0x30]
mov rax, qword [rbp + 8]
sub rax, rdx
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x10]
add rax, 0xb0
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 4]
test eax, eax
je 0x3282146b9
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
jmp 0x3282146aa
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 4]
mov eax, eax
sub rax, 8
shr rax, 1
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x28]
add rax, 8
mov qword [rbp + 0x20], rax
jmp 0x328214688
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0xa0
jne 0x328214593
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov rcx, qword [rax]
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x50]
add rax, rcx
mov qword [rdx], rax
jmp 0x328214683
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0x30
jne 0x3282145e3
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov ecx, dword [rax]
mov rax, qword [rbp + 0x50]
mov r8d, eax
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov rdx, rax
lea eax, [rcx + r8]
mov dword [rdx], eax
jmp 0x328214683
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0x10
jne 0x328214636
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
movzx ecx, word [rax]
mov rax, qword [rbp + 0x50]
shr rax, 0x10
mov r8d, eax
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov rdx, rax
lea eax, [rcx + r8]
mov word [rdx], ax
jmp 0x328214683
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 1]
and eax, 0xfffffff0
cmp al, 0x20
jne 0x328214683
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
movzx ecx, word [rax]
mov rax, qword [rbp + 0x50]
mov r8d, eax
mov rax, qword [rbp + 0x20]
movzx eax, word [rax]
and ax, 0xfff
movzx edx, ax
mov rax, qword [rbp + 0x38]
add rax, rdx
mov rdx, rax
lea eax, [rcx + r8]
mov word [rdx], ax
add qword [rbp + 0x20], 2
mov rax, qword [rbp + 0x30]
lea rdx, [rax - 1]
mov qword [rbp + 0x30], rdx
test rax, rax
jne 0x328214545
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 4]
mov eax, eax
add qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 4]
test eax, eax
jne 0x32821450d
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x28]
mov edx, eax
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x60]
mov r8d, 0
mov edx, 0
mov rcx, 0xffffffffffffffff
call rax
mov r9, qword [rbp + 0x38]
mov rax, qword [rbp + 8]
mov r8d, 0
mov edx, 1
mov rcx, rax
call r9
mov rax, qword [rbp + 0x38]
add rsp, 0x108
pop rbx
pop rbp
ret