Function at 0x1400851c4
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.1400f1270
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1120], rbx
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0xfd0], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x70], rcx
mov rcx, rdx
call fcn.1400681cc
mov qword [rsp + 0x68], rax
xor r13d, r13d
mov byte [rsp + 0x40], r13b
xor edx, edx
mov rcx, rdi
call fcn.140051378
test al, al
je 0x14008528d
mov byte [rsp + 0x40], 1
mov cl, byte [rdi + 0x7f6d]
mov byte [rbx + 0x7f6d], cl
mov cl, byte [rdi + 0x7f6c]
mov byte [rbx + 0x7f6c], cl
mov al, byte [rdi + 0x7f6f]
mov byte [rbx + 0x7f6f], al
mov al, byte [rdi + 0x7f73]
mov byte [rbx + 0x7f73], al
mov al, byte [rdi + 0x7f74]
mov byte [rbx + 0x7f74], al
mov al, byte [rdi + 0x7f71]
mov byte [rbx + 0x7f71], al
mov al, byte [rdi + 0x7f72]
mov byte [rbx + 0x7f72], al
mov dword [rbx + 0x34b8], r13d
mov word [rbx + 0x34b4], r13w
mov byte [rsp + 0x20], r13b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400539b4
mov byte [rsp + 0x20], r13b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rbx
call fcn.1400539b4
mov rax, qword [rdi]
mov rdx, qword [rdi + 0x7f58]
add rdx, 0xd
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x20]
mov r8d, dword [rbx + 0x34ac]
sub r8d, 0xd
mov rdx, rbx
mov rcx, rdi
call fcn.140067e54
mov rax, qword [rdi]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov edx, 0x10000
lea rcx, [rsp + 0x78]
call fcn.140004068
nop
mov r12, r13
mov rax, qword [rdi]
mov rsi, qword [rbp - 0x80]
mov r8, rsi
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call qword [rax + 0x18]
lea r15, [rsi - 0x1000]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov esi, r13d
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x4c], r13d
lea r14, [rbx + 0x3518]
xor edx, edx
mov rcx, r14
call fcn.14006c448
inc esi
mov dword [rsp + 0x50], esi
test esi, 0xfffff
jne 0x14008536d
call fcn.14008ee00
xor edx, edx
mov rax, r12
div r15
mov rsi, rdx
add rsi, qword [rsp + 0x78]
movzx r8d, byte [rsi + 2]
mov dword [rbx + 0x351c], r8d
movzx edx, byte [rsi + 6]
shl edx, 8
movzx eax, byte [rsi + 5]
add edx, eax
mov dword [rbx + 0x3524], edx
movzx r13d, byte [rsi + 0x1b]
shl r13d, 8
movzx eax, byte [rsi + 0x1a]
add r13d, eax
cmp r8d, 0x74
jne 0x140085866
cmp edx, 0x1000
jae 0x140085866
lea eax, [r13 - 1]
cmp eax, 0x7fe
ja 0x140085866
movzx ecx, byte [rsi + 1]
shl ecx, 8
movzx eax, byte [rsi]
add ecx, eax
mov dword [r14], ecx
movzx ecx, byte [rsi + 4]
shl ecx, 8
movzx eax, byte [rsi + 3]
add ecx, eax
mov dword [rbx + 0x3520], ecx
movzx ecx, byte [rsi + 0xa]
shl ecx, 8
movzx eax, byte [rsi + 9]
add ecx, eax
shl ecx, 8
movzx eax, byte [rsi + 8]
add ecx, eax
shl ecx, 8
movzx eax, byte [rsi + 7]
add ecx, eax
mov dword [rbx + 0x352c], ecx
mov al, byte [rsi + 0xe]
mov byte [rsp + 0x48], al
mov al, byte [rsi + 0xd]
mov byte [rsp + 0x49], al
mov al, byte [rsi + 0xc]
mov byte [rsp + 0x4a], al
mov al, byte [rsi + 0xb]
mov byte [rsp + 0x4b], al
mov al, byte [rsi + 0xf]
mov byte [rbx + 0x3530], al
mov dword [rbx + 0x4590], 2
movzx ecx, byte [rsi + 0x13]
shl ecx, 8
movzx eax, byte [rsi + 0x12]
add ecx, eax
shl ecx, 8
movzx eax, byte [rsi + 0x11]
add ecx, eax
shl ecx, 8
movzx eax, byte [rsi + 0x10]
add ecx, eax
mov dword [rbx + 0x4594], ecx
movzx edx, byte [rsi + 0x17]
shl edx, 8
movzx eax, byte [rsi + 0x16]
add edx, eax
shl edx, 8
movzx eax, byte [rsi + 0x15]
add edx, eax
shl edx, 8
movzx eax, byte [rsi + 0x14]
add edx, eax
lea rcx, [rbx + 0x4560]
call fcn.14008f8d4
mov al, byte [rsi + 0x18]
mov byte [rbx + 0x3531], al
mov al, byte [rsi + 0x19]
mov byte [rbx + 0x3532], al
movzx ecx, byte [rsi + 0x1f]
shl ecx, 8
movzx eax, byte [rsi + 0x1e]
add ecx, eax
shl ecx, 8
movzx eax, byte [rsi + 0x1d]
add ecx, eax
shl ecx, 8
movzx eax, byte [rsi + 0x1c]
add ecx, eax
mov dword [rbx + 0x3534], ecx
mov r15d, dword [rbx + 0x3520]
mov r8d, r15d
and r8d, 0x100
mov ecx, 0
mov edx, ecx
je 0x140085532
movzx ecx, byte [rsi + 0x23]
shl rcx, 8
movzx eax, byte [rsi + 0x22]
add rcx, rax
shl rcx, 8
movzx eax, byte [rsi + 0x21]
add rcx, rax
shl rcx, 8
movzx eax, byte [rsi + 0x20]
add rcx, rax
movzx edx, byte [rsi + 0x27]
shl rdx, 8
movzx eax, byte [rsi + 0x26]
add rdx, rax
shl rdx, 8
movzx eax, byte [rsi + 0x25]
add rdx, rax
shl rdx, 8
movzx eax, byte [rsi + 0x24]
add rdx, rax
shl rcx, 0x20
mov eax, dword [rbx + 0x352c]
add rcx, rax
mov qword [rbx + 0x4578], rcx
movzx ecx, byte [rsp + 0x48]
shl rcx, 8
movzx eax, byte [rsp + 0x49]
add rcx, rax
shl rcx, 8
movzx eax, byte [rsp + 0x4a]
add rcx, rax
shl rcx, 8
shl rdx, 0x20
add rcx, rdx
movzx eax, byte [rsp + 0x4b]
add rcx, rax
mov qword [rbx + 0x4580], rcx
neg r8d
sbb eax, eax
and eax, 8
lea edx, [rax + 0x20]
mov r8d, r13d
add rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.1400f2690
bt r15d, 9
jae 0x1400855f2
lea rcx, [rbp - 0x58]
call fcn.140062c58
lea rax, [rbp - 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400855af
lea r15, [rbx + 0x3538]
mov eax, r13d
sub rax, r8
dec rax
lea r9, [rbp - 0x2f]
add r9, r8
mov qword [rsp + 0x30], 0x800
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.140062ca4
jmp 0x1400855ff
lea r15, [rbx + 0x3538]
xor edx, edx
mov word [r15], dx
mov r8d, dword [rbx + 0x3520]
mov r9d, r8d
and r9d, 0x400
je 0x140085635
mov ecx, r8d
and ecx, 0x100
bts rcx, 0xa
shr rcx, 5
mov eax, r13d
add rax, rcx
mov rax, qword [rax + rsi]
mov qword [rbx + 0x45c1], rax
mov eax, dword [rbx + 0x3524]
sub eax, 2
test eax, eax
jle 0x14008586f
test r8b, 8
je 0x14008566c
and r8d, 0x100
bts r8d, 0xa
shr r8d, 5
test r9d, r9d
je 0x140085665
add r8d, 8
lea eax, [r13 - 2]
add eax, r8d
movsxd r8, eax
lea rdx, [rsi + 2]
or ecx, 0xffffffff
call fcn.14005edc0
not ax
mov cl, byte [rbx + 0x3531]
sub cl, 0xf
cmp cl, 0x19
ja 0x1400856b8
mov cl, byte [rbx + 0x3532]
sub cl, 0x30
cmp cl, 8
ja 0x14008586f
cmp byte [rbx + 0x3530], 0x20
ja 0x14008586f
movzx eax, ax
cmp eax, dword [r14]
sete al
xor esi, esi
jmp 0x1400856bd
xor esi, esi
mov al, sil
test al, al
je 0x14008586f
mov rax, qword [rdi]
mov edx, dword [rbx + 0x3524]
add rdx, r12
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x20]
cmp r13d, 0x800
jae 0x1400858d4
mov byte [rbp + r13 - 0x30], sil
call fcn.14008ee00
cmp word [r15], si
jne 0x14008572c
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.1400792f0
mov esi, 0x800
mov r8d, esi
lea rdx, [rbp + 0x7d0]
lea rcx, [rbp - 0x30]
call fcn.14008de3c
mov r8d, esi
mov rdx, r15
lea rcx, [rbp + 0x7d0]
call fcn.140090cf8
mov ecx, dword [rbx + 0x3520]
mov eax, ecx
btr eax, 0xc
or dword [rsp + 0x4c], eax
mov eax, ecx
and eax, 0x100
bts eax, 0xa
shr eax, 5
bt ecx, 0xa
jae 0x140085753
add eax, 8
add eax, r13d
mov dword [rbx + 0x3524], eax
mov rdx, r15
mov ecx, 0x6c
call fcn.140012be8
mov esi, dword [rsp + 0x44]
mov r9d, 1
add esi, r9d
mov dword [rsp + 0x44], esi
mov edx, dword [r14 + 8]
mov eax, edx
shr eax, 0xe
and al, r9b
mov byte [r14 + 0x10], al
mov al, dl
and al, r9b
mov byte [r14 + 0x10a0], al
mov eax, edx
shr eax, 1
and al, r9b
mov byte [r14 + 0x10a1], al
mov eax, edx
shr eax, 2
and al, r9b
mov byte [r14 + 0x10a3], al
mov eax, edx
shr eax, 0xa
and al, r9b
mov byte [r14 + 0x10a8], al
mov eax, edx
shr eax, 4
and al, r9b
mov byte [r14 + 0x10f8], al
mov eax, edx
and eax, 0xe0
cmp al, 0xe0
sete al
mov byte [r14 + 0x10f9], al
xor r13d, r13d
test al, al
je 0x1400857f0
mov r8d, r13d
jmp 0x140085801
mov ecx, edx
shr ecx, 5
and ecx, 7
mov r8d, 0x10000
shl r8d, cl
movsxd rax, r8d
mov qword [r14 + 0x1100], rax
mov eax, edx
shr eax, 3
and al, r9b
mov byte [r14 + 0x10fa], al
mov eax, edx
shr eax, 0xb
and al, r9b
mov byte [r14 + 0x10fb], al
shr edx, 8
and dl, r9b
mov byte [r14 + 0x1109], dl
add byte [r14 + 0x1a], 0xd0
mov byte [rsp + 0x20], r13b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rbx
call fcn.1400539b4
mov r8, qword [rbx + 0x4578]
mov rdx, rbx
mov rcx, rdi
call fcn.140067e54
jmp 0x140085876
mov esi, dword [rsp + 0x44]
xor r13d, r13d
jmp 0x14008587b
xor r13d, r13d
mov esi, dword [rsp + 0x44]
mov r15, qword [rsp + 0x58]
inc r12
mov rax, qword [rsp + 0x68]
add rax, 0xffffffffffffffe0
cmp r12, rax
jge 0x1400858da
xor edx, edx
mov rax, r12
div r15
test rdx, rdx
mov esi, dword [rsp + 0x50]
jne 0x14008535a
mov rax, qword [rdi]
xor r8d, r8d
mov r13, qword [rsp + 0x60]
mov rdx, r13
mov rcx, rdi
call qword [rax + 0x20]
mov rax, qword [rdi]
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call qword [rax + 0x18]
add r13, r15
mov qword [rsp + 0x60], r13
jmp 0x14008535a
call fcn.1400f104c
int3
test byte [rsp + 0x4c], 3
je 0x1400858e8
mov byte [rbx + 0x7f6d], 1
test esi, esi
je 0x140085915
cmp byte [rsp + 0x40], r13b
jne 0x140085911
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x61a4], r13b
jne 0x140085911
call fcn.140090c6c
test al, al
je 0x140085911
mov byte [rbx + 0x7f6c], 1
test esi, esi
jne 0x140085936
lea rdx, [rdi + 0x26]
mov ecx, 0x41
call fcn.140012be8
mov edx, 0xa
lea rcx, [0x14017f200]
call fcn.140063514
jmp 0x14008597a
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + 0x20]
mov byte [rsp + 0x20], r13b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400539b4
mov byte [rsp + 0x20], r13b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rbx
call fcn.1400539b4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x78]
call fcn.140008088
mov rcx, qword [rbp + 0xfd0]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x1120]
add rsp, 0x10e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret