Function at 0x180064329
Capabilities:
Access peb ldr_data
Enumerate pe sections
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
jmp 0x180069960
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x20]
lea rcx, [0x180176042]
call fcn.180065e77
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
call fcn.180064be9
mov qword [rbp + 0xa8], rax
xor eax, eax
cmp eax, 1
je 0x180069a27
mov rax, qword [rbp + 0xa8]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180069a14
mov rax, qword [rbp + 0xa8]
movsxd rax, dword [rax + 0x3c]
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0x40
jb 0x180069a14
cmp qword [rbp + 0x188], 0x400
jae 0x180069a14
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x188]
cmp dword [rax], 0x4550
jne 0x180069a14
jmp 0x180069a27
mov rax, qword [rbp + 0xa8]
dec rax
mov qword [rbp + 0xa8], rax
jmp 0x1800699a7
mov rax, qword gs:[0x60]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
je 0x180069f10
mov rax, qword [rbp + 0x1a8]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1a8]
movzx eax, word [rax + 0x48]
mov word [rbp + 0x84], ax
mov qword [rbp + 0x1e8], 0
mov ecx, dword [rbp + 0x1e8]
call fcn.180064f3b
mov eax, eax
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1c8]
movzx eax, byte [rax]
cmp eax, 0x61
jl 0x180069ae0
mov rax, qword [rbp + 0x1c8]
movzx eax, byte [rax]
sub eax, 0x20
cdqe
mov rcx, qword [rbp + 0x1e8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1e8], rax
jmp 0x180069afe
mov rax, qword [rbp + 0x1c8]
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x1e8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1c8]
inc rax
mov qword [rbp + 0x1c8], rax
movzx eax, word [rbp + 0x84]
dec ax
mov word [rbp + 0x84], ax
movzx eax, word [rbp + 0x84]
test eax, eax
jne 0x180069a98
cmp dword [rbp + 0x1e8], 0x6a4abc5b
jne 0x180069d3e
mov rax, qword [rbp + 0x1a8]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x128]
lea rax, [rcx + rax + 0x88]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
mov eax, 3
mov word [rbp + 0x84], ax
movzx eax, word [rbp + 0x84]
test eax, eax
jle 0x180069d39
mov rax, qword [rbp + 0x108]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180065bc0
mov dword [rbp + 0x164], eax
cmp dword [rbp + 0x164], 0xec0e4e8e
je 0x180069c4f
cmp dword [rbp + 0x164], 0x7c0dfcaa
je 0x180069c4f
cmp dword [rbp + 0x164], 0x91afca54
jne 0x180069d10
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x148]
movzx eax, word [rax]
mov rcx, qword [rbp + 0xe8]
lea rax, [rcx + rax*4]
mov qword [rbp + 0xe8], rax
cmp dword [rbp + 0x164], 0xec0e4e8e
jne 0x180069cb1
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
jmp 0x180069cff
cmp dword [rbp + 0x164], 0x7c0dfcaa
jne 0x180069cd9
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
jmp 0x180069cff
cmp dword [rbp + 0x164], 0x91afca54
jne 0x180069cff
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
movzx eax, word [rbp + 0x84]
dec ax
mov word [rbp + 0x84], ax
mov rax, qword [rbp + 0x108]
add rax, 4
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x148]
add rax, 2
mov qword [rbp + 0x148], rax
jmp 0x180069bf4
jmp 0x180069edc
cmp dword [rbp + 0x1e8], 0x3cfa685d
jne 0x180069edc
mov rax, qword [rbp + 0x1a8]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x128]
lea rax, [rcx + rax + 0x88]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
mov eax, 1
mov word [rbp + 0x84], ax
movzx eax, word [rbp + 0x84]
test eax, eax
jle 0x180069edc
mov rax, qword [rbp + 0x108]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180065bc0
mov dword [rbp + 0x164], eax
cmp dword [rbp + 0x164], 0x534c0ab8
jne 0x180069eb3
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x148]
movzx eax, word [rax]
mov rcx, qword [rbp + 0xe8]
lea rax, [rcx + rax*4]
mov qword [rbp + 0xe8], rax
cmp dword [rbp + 0x164], 0x534c0ab8
jne 0x180069ea2
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
movzx eax, word [rbp + 0x84]
dec ax
mov word [rbp + 0x84], ax
mov rax, qword [rbp + 0x108]
add rax, 4
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x148]
add rax, 2
mov qword [rbp + 0x148], rax
jmp 0x180069e03
cmp qword [rbp + 8], 0
je 0x180069efa
cmp qword [rbp + 0x28], 0
je 0x180069efa
cmp qword [rbp + 0x48], 0
je 0x180069efa
cmp qword [rbp + 0x68], 0
je 0x180069efa
jmp 0x180069f10
mov rax, qword [rbp + 0x1a8]
mov rax, qword [rax]
mov qword [rbp + 0x1a8], rax
jmp 0x180069a5b
mov rax, qword [rbp + 0xa8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x188]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rbp + 0x48]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x188]
mov eax, dword [rax + 0x54]
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x3b8], rax
mov rax, qword [rbp + 0x1a8]
dec rax
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x3b8], 0
je 0x180069fe0
mov rax, qword [rbp + 0x1e8]
mov rcx, qword [rbp + 0x1c8]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rbp + 0x1e8]
inc rax
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1c8]
inc rax
mov qword [rbp + 0x1c8], rax
jmp 0x180069f80
mov rax, qword [rbp + 0x188]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x188]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x188]
movzx eax, word [rax + 6]
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0x3b8], rax
mov rax, qword [rbp + 0x228]
dec rax
mov qword [rbp + 0x228], rax
cmp qword [rbp + 0x3b8], 0
je 0x18006a101
mov rax, qword [rbp + 0x1a8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1a8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1a8]
mov eax, dword [rax + 0x10]
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x208]
mov qword [rbp + 0x3b8], rax
mov rax, qword [rbp + 0x208]
dec rax
mov qword [rbp + 0x208], rax
cmp qword [rbp + 0x3b8], 0
je 0x18006a0ea
mov rax, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1e8]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rbp + 0x1c8]
inc rax
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1e8]
inc rax
mov qword [rbp + 0x1e8], rax
jmp 0x18006a08a
mov rax, qword [rbp + 0x1a8]
add rax, 0x28
mov qword [rbp + 0x1a8], rax
jmp 0x18006a010
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x188]
lea rax, [rcx + rax + 0x88]
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
cmp dword [rax + 0xc], 0
je 0x18006a340
mov rax, qword [rbp + 0x1e8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [rbp + 8]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x1e8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x1e8]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1a8]
cmp qword [rax], 0
je 0x18006a329
cmp qword [rbp + 0x208], 0
je 0x18006a2b6
mov rax, qword [rbp + 0x208]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x18006a2b6
mov rax, qword [rbp + 0xa8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x128]
lea rax, [rcx + rax + 0x88]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x208]
mov rax, qword [rax]
and rax, 0xffff
mov rcx, qword [rbp + 0x128]
mov ecx, dword [rcx + 0x10]
sub rax, rcx
mov rcx, qword [rbp + 0xe8]
lea rax, [rcx + rax*4]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x1a8]
mov qword [rcx], rax
jmp 0x18006a2f6
mov rax, qword [rbp + 0x1a8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
add rax, 2
mov rdx, rax
mov rcx, qword [rbp + 0xa8]
call qword [rbp + 0x28]
mov rcx, qword [rbp + 0x1a8]
mov qword [rcx], rax
mov rax, qword [rbp + 0x1a8]
add rax, 8
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x208], 0
je 0x18006a324
mov rax, qword [rbp + 0x208]
add rax, 8
mov qword [rbp + 0x208], rax
jmp 0x18006a1ad
mov rax, qword [rbp + 0x1e8]
add rax, 0x14
mov qword [rbp + 0x1e8], rax
jmp 0x18006a13d
mov rax, qword [rbp + 0x188]
mov rax, qword [rax + 0x30]
mov rcx, qword [rbp + 0xc8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rbp + 0x188]
lea rax, [rcx + rax + 0x88]
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
cmp dword [rax + 4], 0
je 0x18006a633
mov rax, qword [rbp + 0x1c8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
cmp dword [rax + 4], 0
je 0x18006a633
mov rax, qword [rbp + 0x1e8]
mov eax, dword [rax]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1e8]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1e8]
add rax, 8
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0x3b8], rax
mov rax, qword [rbp + 0x1c8]
dec rax
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x3b8], 0
je 0x18006a610
mov rax, qword [rbp + 0x208]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 0xa
jne 0x18006a4a4
mov eax, 0xfff
mov rcx, qword [rbp + 0x208]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rbp + 0x1a8]
mov rax, qword [rcx + rax]
add rax, qword [rbp + 0xa8]
mov ecx, 0xfff
mov rdx, qword [rbp + 0x208]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rbp + 0x1a8]
mov qword [rdx + rcx], rax
jmp 0x18006a5f9
mov rax, qword [rbp + 0x208]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 3
jne 0x18006a50d
mov eax, 0xfff
mov rcx, qword [rbp + 0x208]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rbp + 0x1a8]
mov eax, dword [rcx + rax]
add eax, dword [rbp + 0xa8]
mov ecx, 0xfff
mov rdx, qword [rbp + 0x208]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rbp + 0x1a8]
mov dword [rdx + rcx], eax
jmp 0x18006a5f9
mov rax, qword [rbp + 0x208]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 1
jne 0x18006a586
mov eax, 0xfff
mov rcx, qword [rbp + 0x208]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rbp + 0xa8]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rbp + 0x1a8]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rbp + 0x208]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rbp + 0x1a8]
mov word [rdx + rcx], ax
jmp 0x18006a5f9
mov rax, qword [rbp + 0x208]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 2
jne 0x18006a5f9
mov eax, 0xfff
mov rcx, qword [rbp + 0x208]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rbp + 0xa8]
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rbp + 0x1a8]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rbp + 0x208]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rbp + 0x1a8]
mov word [rdx + rcx], ax
mov rax, qword [rbp + 0x208]
add rax, 2
mov qword [rbp + 0x208], rax
jmp 0x18006a40b
mov rax, qword [rbp + 0x1e8]
mov eax, dword [rax + 4]
mov rcx, qword [rbp + 0x1e8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1e8], rax
jmp 0x18006a3ac
mov rax, qword [rbp + 0x188]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1a8], rax
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rbp + 0x68]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0xc8]
call qword [rbp + 0x1a8]
mov rax, qword [rbp + 0x1a8]
lea rsp, [rbp + 0x3c8]
pop rdi
pop rbp
ret