Function at 0x14004207c
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.14005ad30
sub rsp, rax
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1120], rbx
mov rax, qword [0x14008b710]
xor rax, rsp
mov qword [rbp + 0xfd0], rax
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x50], rcx
mov rcx, rdx
call fcn.1400224b4
mov qword [rsp + 0x78], rax
xor r13d, r13d
mov byte [rsp + 0x40], r13b
xor edx, edx
mov rcx, r14
call fcn.14000908c
test al, al
je 0x14004214c
mov byte [rsp + 0x40], 1
mov cl, byte [r14 + 0x7f65]
mov byte [rsi + 0x7f65], cl
mov cl, byte [r14 + 0x7f64]
mov byte [rsi + 0x7f64], cl
mov al, byte [r14 + 0x7f67]
mov byte [rsi + 0x7f67], al
mov al, byte [r14 + 0x7f6b]
mov byte [rsi + 0x7f6b], al
mov al, byte [r14 + 0x7f6c]
mov byte [rsi + 0x7f6c], al
mov al, byte [r14 + 0x7f69]
mov byte [rsi + 0x7f69], al
mov al, byte [r14 + 0x7f6a]
mov byte [rsi + 0x7f6a], al
mov dword [rsi + 0x34a0], r13d
mov word [rsi + 0x349c], r13w
mov byte [rsp + 0x20], r13b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14000b780
mov byte [rsp + 0x20], r13b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rsi
call fcn.14000b780
mov rax, qword [r14]
mov rdi, qword [r14 + 0x7f50]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.14005bf80]
xor r8d, r8d
lea rdx, [rdi + 0xd]
mov rcx, r14
call rbx
mov r8d, dword [rsi + 0x3494]
sub r8d, 0xd
mov rdx, rsi
mov rcx, r14
call fcn.140022118
mov rax, qword [r14]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.14005bf80]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call rbx
mov edx, 0x10000
lea rcx, [rbp - 0x80]
call fcn.1400074ac
nop
mov rdi, r13
mov qword [rsp + 0x68], r13
mov rax, qword [r14]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.14005bf80]
mov r15, qword [rbp - 0x78]
mov r8, r15
mov rdx, qword [rbp - 0x80]
mov rcx, r14
call rbx
lea r12, [r15 - 0x1000]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov ebx, r13d
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x58], r13d
lea r15, [rsi + 0x3500]
xor edx, edx
mov rcx, r15
call fcn.140026e84
inc ebx
mov dword [rsp + 0x5c], ebx
test ebx, 0xfffff
jne 0x140042253
call fcn.14004bd9c
xor edx, edx
mov rax, rdi
div r12
mov rbx, rdx
add rbx, qword [rbp - 0x80]
movzx r8d, byte [rbx + 2]
mov dword [rsi + 0x3504], r8d
movzx edx, byte [rbx + 6]
shl edx, 8
movzx eax, byte [rbx + 5]
add edx, eax
mov dword [rsi + 0x350c], edx
movzx r13d, byte [rbx + 0x1b]
shl r13d, 8
movzx eax, byte [rbx + 0x1a]
add r13d, eax
cmp r8d, 0x74
jne 0x14004276e
cmp edx, 0x1000
jae 0x14004276e
lea eax, [r13 - 1]
cmp eax, 0x7fe
ja 0x14004276e
movzx ecx, byte [rbx + 1]
shl ecx, 8
movzx eax, byte [rbx]
add ecx, eax
mov dword [r15], ecx
movzx ecx, byte [rbx + 4]
shl ecx, 8
movzx eax, byte [rbx + 3]
add ecx, eax
mov dword [rsi + 0x3508], ecx
movzx ecx, byte [rbx + 0xa]
shl ecx, 8
movzx eax, byte [rbx + 9]
add ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 8]
add ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 7]
add ecx, eax
mov dword [rsi + 0x3514], ecx
mov al, byte [rbx + 0xe]
mov byte [rsp + 0x48], al
mov al, byte [rbx + 0xd]
mov byte [rsp + 0x49], al
mov al, byte [rbx + 0xc]
mov byte [rsp + 0x4a], al
mov al, byte [rbx + 0xb]
mov byte [rsp + 0x4b], al
mov al, byte [rbx + 0xf]
mov byte [rsi + 0x3518], al
mov dword [rsi + 0x4580], 2
movzx ecx, byte [rbx + 0x13]
shl ecx, 8
movzx eax, byte [rbx + 0x12]
add ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 0x11]
add ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 0x10]
add ecx, eax
mov dword [rsi + 0x4584], ecx
movzx edx, byte [rbx + 0x17]
shl edx, 8
movzx eax, byte [rbx + 0x16]
add edx, eax
shl edx, 8
movzx eax, byte [rbx + 0x15]
add edx, eax
shl edx, 8
movzx eax, byte [rbx + 0x14]
add edx, eax
lea rcx, [rsi + 0x4550]
call fcn.14004c7c8
movzx eax, byte [rbx + 0x18]
mov dword [rsi + 0x351c], eax
mov al, byte [rbx + 0x19]
mov byte [rsi + 0x3520], al
movzx ecx, byte [rbx + 0x1f]
shl ecx, 8
movzx eax, byte [rbx + 0x1e]
add ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 0x1d]
add ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 0x1c]
add ecx, eax
mov dword [rsi + 0x3524], ecx
mov r12d, dword [rsi + 0x3508]
mov r8d, r12d
and r8d, 0x100
mov ecx, 0
mov edx, ecx
je 0x140042418
movzx ecx, byte [rbx + 0x23]
shl rcx, 8
movzx eax, byte [rbx + 0x22]
add rcx, rax
shl rcx, 8
movzx eax, byte [rbx + 0x21]
add rcx, rax
shl rcx, 8
movzx eax, byte [rbx + 0x20]
add rcx, rax
movzx edx, byte [rbx + 0x27]
shl rdx, 8
movzx eax, byte [rbx + 0x26]
add rdx, rax
shl rdx, 8
movzx eax, byte [rbx + 0x25]
add rdx, rax
shl rdx, 8
movzx eax, byte [rbx + 0x24]
add rdx, rax
shl rcx, 0x20
mov eax, dword [rsi + 0x3514]
add rcx, rax
mov qword [rsi + 0x4568], 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 [rsi + 0x4570], rcx
neg r8d
sbb eax, eax
and eax, 8
lea edx, [rax + 0x20]
mov r8d, r13d
add rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14005ca40
bt r12d, 9
jae 0x1400424d8
lea rcx, [rbp - 0x50]
call fcn.14001c6b8
lea rax, [rbp - 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140042495
lea r12, [rsi + 0x3528]
mov eax, r13d
sub rax, r8
dec rax
lea r9, [rbp - 0x2f]
add r9, r8
mov qword [rsp + 0x30], 0x800
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.14001c704
jmp 0x1400424e7
lea r12, [rsi + 0x3528]
xor r10d, r10d
mov word [r12], r10w
mov r8d, dword [rsi + 0x3508]
mov r9d, r8d
and r9d, 0x400
je 0x14004251d
mov ecx, r8d
and ecx, 0x100
bts rcx, 0xa
shr rcx, 5
mov eax, r13d
add rax, rcx
mov rax, qword [rax + rbx]
mov qword [rsi + 0x45b1], rax
mov eax, dword [rsi + 0x350c]
sub eax, 2
test eax, eax
jle 0x140042779
test r8b, 8
je 0x140042554
and r8d, 0x100
bts r8d, 0xa
shr r8d, 5
test r9d, r9d
je 0x14004254d
add r8d, 8
lea eax, [r13 - 2]
add eax, r8d
movsxd r8, eax
lea rdx, [rbx + 2]
or ecx, 0xffffffff
call fcn.140018808
not ax
mov ecx, dword [rsi + 0x351c]
sub ecx, 0xf
cmp ecx, 0x19
ja 0x14004259e
mov cl, byte [rsi + 0x3520]
sub cl, 0x30
cmp cl, 8
ja 0x140042779
cmp byte [rsi + 0x3518], 0x20
ja 0x140042779
movzx eax, ax
cmp eax, dword [r15]
sete al
jmp 0x1400425a4
xor r10d, r10d
mov al, r10b
test al, al
je 0x140042779
mov rax, qword [r14]
mov ebx, dword [rsi + 0x350c]
add rbx, rdi
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [fcn.14005bf80]
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call rdi
mov eax, r13d
mov ebx, 0x800
cmp rax, rbx
jae 0x140042800
xor edi, edi
mov byte [rbp + r13 - 0x30], dil
call fcn.14004bd9c
cmp word [r12], di
jne 0x140042624
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.1400351e4
mov r8d, ebx
lea rdx, [rbp + 0x7d0]
lea rcx, [rbp - 0x30]
call fcn.14004abe0
mov r8d, ebx
mov rdx, r12
lea rcx, [rbp + 0x7d0]
call fcn.14004dcd8
mov ecx, dword [rsi + 0x3508]
mov eax, ecx
btr eax, 0xc
or dword [rsp + 0x58], eax
mov eax, ecx
and eax, 0x100
bts eax, 0xa
shr eax, 5
bt ecx, 0xa
jae 0x14004264b
add eax, 8
add eax, r13d
mov dword [rsi + 0x350c], eax
mov r13, qword [rsp + 0x50]
cmp byte [r13 + 0x6153], dil
jne 0x14004266f
mov rdx, r12
mov ecx, 0x71
call fcn.140001204
mov ebx, dword [rsp + 0x44]
mov r9d, 1
add ebx, r9d
mov dword [rsp + 0x44], ebx
mov edx, dword [r15 + 8]
mov eax, edx
shr eax, 0xe
and al, r9b
mov byte [r15 + 0x10], al
mov al, dl
and al, r9b
mov byte [r15 + 0x10a8], al
mov eax, edx
shr eax, 1
and al, r9b
mov byte [r15 + 0x10a9], al
mov eax, edx
shr eax, 2
and al, r9b
mov byte [r15 + 0x10ab], al
mov eax, edx
shr eax, 0xa
and al, r9b
mov byte [r15 + 0x10b0], al
mov eax, edx
shr eax, 4
and al, r9b
mov byte [r15 + 0x1100], al
mov eax, edx
and eax, 0xe0
cmp al, 0xe0
sete al
mov byte [r15 + 0x1101], al
test al, al
je 0x1400426f3
mov r8d, edi
jmp 0x140042704
mov ecx, edx
shr ecx, 5
and ecx, 7
mov r8d, 0x10000
shl r8d, cl
movsxd rax, r8d
mov qword [r15 + 0x1108], rax
mov eax, edx
shr eax, 3
and al, r9b
mov byte [r15 + 0x1102], al
mov eax, edx
shr eax, 0xb
and al, r9b
mov byte [r15 + 0x1103], al
shr edx, 8
and dl, r9b
mov byte [r15 + 0x1111], dl
add byte [r15 + 0x20], 0xd0
mov byte [rsp + 0x20], dil
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rsi
call fcn.14000b780
mov r8, qword [rsi + 0x4568]
mov rdx, rsi
mov rcx, r14
call fcn.140022118
mov rdi, qword [rsp + 0x68]
jmp 0x140042782
mov ebx, dword [rsp + 0x44]
mov r13, qword [rsp + 0x50]
jmp 0x140042787
mov r13, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x44]
mov r12, qword [rsp + 0x60]
inc rdi
mov qword [rsp + 0x68], rdi
mov rax, qword [rsp + 0x78]
add rax, 0xffffffffffffffe0
cmp rdi, rax
jge 0x140042806
xor edx, edx
mov rax, rdi
div r12
test rdx, rdx
mov ebx, dword [rsp + 0x5c]
jne 0x140042240
mov rax, qword [r14]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.14005bf80]
xor r8d, r8d
mov r13, qword [rsp + 0x70]
mov rdx, r13
mov rcx, r14
call rbx
mov rax, qword [r14]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.14005bf80]
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov rcx, r14
call rbx
add r13, r12
mov qword [rsp + 0x70], r13
mov ebx, dword [rsp + 0x5c]
jmp 0x140042240
call fcn.14005af04
int3
test byte [rsp + 0x58], 3
je 0x140042814
mov byte [rsi + 0x7f65], 1
xor edi, edi
test ebx, ebx
je 0x14004283e
cmp byte [rsp + 0x40], dil
jne 0x14004283a
cmp byte [r13 + 0x61a4], dil
jne 0x14004283a
call fcn.14004dadc
test al, al
je 0x14004283a
mov byte [rsi + 0x7f64], 1
test ebx, ebx
jne 0x14004285f
lea rdx, [r14 + 0x2c]
mov ecx, 0x41
call fcn.140001204
mov edx, 0xa
lea rcx, [0x14009b8d8]
call fcn.14001d0b4
jmp 0x1400428bb
mov rax, qword [rsi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.14005bf80]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call rbx
mov byte [rsp + 0x20], dil
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14000b780
mov byte [rsp + 0x20], dil
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rsi
call fcn.14000b780
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.14005bf80]
mov rcx, rsi
call rbx
nop
lea rcx, [rbp - 0x80]
call fcn.140007718
mov rcx, qword [rbp + 0xfd0]
xor rcx, rsp
call fcn.14005ada0
mov rbx, qword [rsp + 0x1120]
add rsp, 0x10e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret