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

Disassembly:
jmp 0x140076d50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x20]
lea rcx, [0x14019f02a]
call fcn.1400720d9
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0xa8], rax
xor eax, eax
cmp eax, 1
je 0x140076e1e
mov rax, qword [rbp + 0xa8]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140076e0b
mov rax, qword [rbp + 0xa8]
movsxd rax, dword [rax + 0x3c]
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0x40
jb 0x140076e0b
cmp qword [rbp + 0x188], 0x400
jae 0x140076e0b
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 0x140076e0b
jmp 0x140076e1e
mov rax, qword [rbp + 0xa8]
dec rax
mov qword [rbp + 0xa8], rax
jmp 0x140076d9e
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 0x140077307
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.1400710c1
mov eax, eax
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1c8]
movzx eax, byte [rax]
cmp eax, 0x61
jl 0x140076ed7
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 0x140076ef5
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 0x140076e8f
cmp dword [rbp + 0x1e8], 0x6a4abc5b
jne 0x140077135
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 0x140077130
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.140071dff
mov dword [rbp + 0x164], eax
cmp dword [rbp + 0x164], 0xec0e4e8e
je 0x140077046
cmp dword [rbp + 0x164], 0x7c0dfcaa
je 0x140077046
cmp dword [rbp + 0x164], 0x91afca54
jne 0x140077107
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 0x1400770a8
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 0x1400770f6
cmp dword [rbp + 0x164], 0x7c0dfcaa
jne 0x1400770d0
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 0x1400770f6
cmp dword [rbp + 0x164], 0x91afca54
jne 0x1400770f6
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 0x140076feb
jmp 0x1400772d3
cmp dword [rbp + 0x1e8], 0x3cfa685d
jne 0x1400772d3
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 0x1400772d3
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.140071dff
mov dword [rbp + 0x164], eax
cmp dword [rbp + 0x164], 0x534c0ab8
jne 0x1400772aa
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 0x140077299
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 0x1400771fa
cmp qword [rbp + 8], 0
je 0x1400772f1
cmp qword [rbp + 0x28], 0
je 0x1400772f1
cmp qword [rbp + 0x48], 0
je 0x1400772f1
cmp qword [rbp + 0x68], 0
je 0x1400772f1
jmp 0x140077307
mov rax, qword [rbp + 0x1a8]
mov rax, qword [rax]
mov qword [rbp + 0x1a8], rax
jmp 0x140076e52
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 0x1400773d7
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 0x140077377
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 0x1400774f8
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 0x1400774e1
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 0x140077481
mov rax, qword [rbp + 0x1a8]
add rax, 0x28
mov qword [rbp + 0x1a8], rax
jmp 0x140077407
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 0x140077737
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 0x140077720
cmp qword [rbp + 0x208], 0
je 0x1400776ad
mov rax, qword [rbp + 0x208]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x1400776ad
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 0x1400776ed
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 0x14007771b
mov rax, qword [rbp + 0x208]
add rax, 8
mov qword [rbp + 0x208], rax
jmp 0x1400775a4
mov rax, qword [rbp + 0x1e8]
add rax, 0x14
mov qword [rbp + 0x1e8], rax
jmp 0x140077534
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 0x140077a2a
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 0x140077a2a
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 0x140077a07
mov rax, qword [rbp + 0x208]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 0xa
jne 0x14007789b
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 0x1400779f0
mov rax, qword [rbp + 0x208]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 3
jne 0x140077904
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 0x1400779f0
mov rax, qword [rbp + 0x208]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 1
jne 0x14007797d
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 0x1400779f0
mov rax, qword [rbp + 0x208]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 2
jne 0x1400779f0
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 0x140077802
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 0x1400777a3
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]
nop
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0xc8]
call qword [rbp + 0x1a8]
nop
mov rax, qword [rbp + 0x1a8]
lea rsp, [rbp + 0x3c8]
pop rdi
pop rbp
ret