Function at 0x14002d160
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rdi
push r15
sub rsp, 0xc0
mov qword [rax - 0x28], r12
mov r15, rcx
xor r12d, r12d
mov qword [rax - 0x38], r14
mov dword [rsp + 0xe0], r12d
mov r14, rdx
mov ebp, r12d
mov edi, r12d
test rcx, rcx
je 0x14002d989
test rdx, rdx
je 0x14002d989
mov qword [rax - 0x30], r13
lea r13, [rcx + 0x250]
mov eax, dword [r13]
cmp eax, 1
jae 0x14002d20b
cmp dword [0x1401b83f0], 2
jl 0x14002d201
test dword [0x1401b843c], 0x100
je 0x14002d201
mov dword [rsp + 0x30], eax
lea r9, str.....esif_uf_dspmgr.c
lea rax, str.No_domain_error__number_of_domain___d__less_than_1__n
mov ecx, 0x100
mov qword [rsp + 0x28], rax
lea r8, str.esif_fpc_load
lea edx, [r12 + 2]
mov dword [rsp + 0x20], 0x1f3
call fcn.140067120
mov ebp, 0x8fc
jmp 0x14002d780
mov ecx, 0x20
mov qword [rdx + 0x70], r13
call fcn.140003380
mov qword [r14 + 0x78], rax
call fcn.1400020e0
mov qword [r14 + 0x90], rax
call fcn.1400020e0
mov qword [r14 + 0x80], rax
call fcn.1400020e0
mov qword [r14 + 0x88], rax
call fcn.1400020e0
mov qword [r14 + 0x98], rax
cmp qword [r14 + 0x78], rdi
je 0x14002d939
cmp qword [r14 + 0x90], rdi
je 0x14002d939
cmp qword [r14 + 0x80], rdi
je 0x14002d939
cmp qword [r14 + 0x88], rdi
je 0x14002d939
test rax, rax
je 0x14002d939
cmp dword [0x1401b83f0], 4
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0xb8], rsi
jl 0x14002d334
test dword [0x1401b846c], 0x100
je 0x14002d334
mov eax, dword [r15 + 0x258]
lea rcx, [r15 + 0x33]
movzx edx, byte [r15 + 0x12]
lea r9, [r15 + 0x13]
movzx r8d, byte [r15 + 0x11]
mov dword [rsp + 0x70], eax
mov eax, dword [r15 + 0x254]
mov dword [rsp + 0x68], eax
mov eax, dword [r13]
mov dword [rsp + 0x60], eax
mov eax, dword [r15]
mov dword [rsp + 0x58], eax
lea rax, str._fpc____p__FPC_name__s_ver__x__x_desc__s_size__u_num_domains__d_num_algorithms__d_num_events__d
mov qword [rsp + 0x50], rcx
mov ecx, 0x100
mov dword [rsp + 0x48], edx
mov edx, 4
mov dword [rsp + 0x40], r8d
lea r8, str.esif_fpc_load
mov qword [rsp + 0x38], r9
lea r9, str.....esif_uf_dspmgr.c
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20f
call fcn.140067120
lea rbx, [r15 + 0x25c]
mov esi, r12d
mov dword [rsp + 0xf0], r12d
cmp dword [r13], r12d
jbe 0x14002d5eb
cmp dword [0x1401b83f0], 4
lea r13, str.__04lu__Capability__d__0x_x
lea r9, str.__04lu__Domain__d__name__s_size__d_num_of_primitives__d__num_of_capabilites__u__0x_x_
jl 0x14002d3da
test dword [0x1401b846c], 0x100
je 0x14002d3da
movzx ecx, byte [rbx + 0xc8]
lea rdx, [rbx + 4]
mov eax, dword [rbx + 0xc4]
mov r8d, ebx
mov dword [rsp + 0x60], eax
sub r8d, r15d
mov eax, dword [rbx + 0xc0]
mov dword [rsp + 0x58], ecx
mov ecx, 0x100
mov dword [rsp + 0x50], eax
mov eax, dword [rbx]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rdx
mov edx, 4
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r8d
lea r8, str.esif_fpc_load
mov qword [rsp + 0x28], r9
lea r9, str.....esif_uf_dspmgr.c
mov dword [rsp + 0x20], 0x21a
call fcn.140067120
mov rdi, qword [r14 + 0x130]
mov rcx, rdi
call qword [0x1400f6818]
mov rdx, rbx
mov rcx, r14
call rdi
mov ebp, eax
test eax, eax
jne 0x14002d87d
mov edi, r12d
cmp byte [rbx + 0xc8], al
jbe 0x14002d473
cmp dword [0x1401b83f0], 4
jl 0x14002d466
test dword [0x1401b846c], 0x100
je 0x14002d466
mov eax, edi
lea r9, str.....esif_uf_dspmgr.c
lea r8, str.esif_fpc_load
mov edx, 4
movzx ecx, byte [rax + rbx + 0xcc]
mov eax, ebx
mov dword [rsp + 0x40], ecx
sub eax, r15d
mov dword [rsp + 0x38], edi
add eax, 0xc4
mov dword [rsp + 0x30], eax
mov ecx, 0x100
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x227
call fcn.140067120
movzx eax, byte [rbx + 0xc8]
inc edi
cmp edi, eax
jb 0x14002d407
cmp dword [rbx + 0xc0], 0
lea rsi, [rbx + 0xec]
mov r13d, r12d
jbe 0x14002d5c9
nop word [rax + rax]
mov r12d, esi
sub r12d, r15d
cmp dword [0x1401b83f0], 4
jl 0x14002d588
test dword [0x1401b846c], 0x100
je 0x14002d588
mov r14d, dword [rsi + 0xc]
mov ecx, r14d
sub ecx, 1
je 0x14002d4d6
cmp ecx, 1
je 0x14002d4cd
lea rbp, [0x1400f70d0]
jmp 0x14002d4dd
lea rbp, str.ESIF_PRIMITIVE_OP_SET
jmp 0x14002d4dd
lea rbp, str.ESIF_PRIMITIVE_OP_GET
mov r11d, dword [rsi + 0x14]
mov ecx, r11d
mov edi, dword [rsi + 0x10]
call fcn.14002a950
mov ecx, edi
mov r8, rax
call fcn.14002a950
mov ecx, dword [rsi + 0x18]
movzx edx, word [rsi + 8]
movzx r9d, word [rsi + 6]
movzx r10d, word [rsi + 4]
mov dword [rsp + 0x90], ecx
mov ecx, 0x100
mov qword [rsp + 0x88], r8
lea r8, str.esif_fpc_load
mov dword [rsp + 0x80], r11d
mov qword [rsp + 0x78], rax
mov eax, dword [rsi]
mov dword [rsp + 0x70], edi
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x58], edx
mov edx, 4
mov dword [rsp + 0x50], r9d
lea r9, str.....esif_uf_dspmgr.c
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], eax
lea rax, str.__04lu__Primitive__03d_:_size__3d_tuple_id___03u__03u__03u__operation__u__s__req_type__u__s__res_type__u__s__num_actions__u
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x23b
call fcn.140067120
mov r14, qword [rsp + 0xe8]
mov rdi, qword [r14 + 0x120]
mov rcx, rdi
call qword [0x1400f6818]
mov rdx, rsi
mov rcx, r14
call rdi
mov ebp, eax
test eax, eax
jne 0x14002d822
mov eax, dword [rsi]
inc r13d
inc dword [rsp + 0xe0]
add rsi, rax
cmp r13d, dword [rbx + 0xc0]
jb 0x14002d490
xor r12d, r12d
mov esi, dword [rsp + 0xf0]
mov eax, dword [rbx]
inc esi
add rbx, rax
mov dword [rsp + 0xf0], esi
cmp esi, dword [r15 + 0x250]
jb 0x14002d350
cmp dword [r15 + 0x254], 0
mov esi, r12d
jbe 0x14002d6b5
lea r13, str.__04lu__Algorithm__03d_:__action_type__u__s__temp_xform__u_tempC1__u_percent_xform__u_size__u
cmp dword [0x1401b83f0], 4
jl 0x14002d680
test dword [0x1401b846c], 0x100
je 0x14002d680
mov r8d, dword [rbx]
mov ecx, r8d
call fcn.14002a620
mov ecx, dword [rbx + 0x18]
lea r9, str.....esif_uf_dspmgr.c
mov dword [rsp + 0x68], ecx
mov edx, ebx
mov ecx, dword [rbx + 0xc]
sub edx, r15d
mov dword [rsp + 0x60], ecx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x58], ecx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x50], ecx
mov ecx, 0x100
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], r8d
lea r8, str.esif_fpc_load
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edx
mov edx, 4
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x255
call fcn.140067120
mov rdi, qword [r14 + 0x128]
mov rcx, rdi
call qword [0x1400f6818]
mov rdx, rbx
mov rcx, r14
call rdi
mov ebp, eax
test eax, eax
jne 0x14002d8b4
add rbx, 0x1c
inc esi
cmp esi, dword [r15 + 0x254]
jb 0x14002d603
cmp dword [r15 + 0x258], 0
jbe 0x14002d769
lea rsi, str.__04lu__Event___03d__type__s__d__n
nop word [rax + rax]
cmp dword [0x1401b83f0], 4
jl 0x14002d733
test dword [0x1401b846c], 0x100
je 0x14002d733
mov r8d, dword [rbx + 0x30]
mov ecx, r8d
call fcn.14002cca0
mov dword [rsp + 0x48], r8d
lea r9, str.....esif_uf_dspmgr.c
mov qword [rsp + 0x40], rax
lea r8, str.esif_fpc_load
mov dword [rsp + 0x38], r12d
mov ecx, ebx
sub ecx, r15d
mov edx, 4
mov dword [rsp + 0x30], ecx
mov ecx, 0x100
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x267
call fcn.140067120
mov rdi, qword [r14 + 0x138]
mov rcx, rdi
call qword [0x1400f6818]
mov rdx, rbx
mov rcx, r14
call rdi
mov ebp, eax
test eax, eax
jne 0x14002d8f6
add rbx, 0x4c
inc r12d
cmp r12d, dword [r15 + 0x258]
jb 0x14002d6d0
mov edi, dword [rsp + 0xe0]
mov rsi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xf8]
mov r13, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xb0]
test r15, r15
je 0x14002d814
cmp dword [0x1401b83f0], 4
jl 0x14002d814
test dword [0x1401b846c], 0x100
je 0x14002d814
mov ecx, ebp
call fcn.14002c250
mov qword [rsp + 0x50], rax
lea r9, str.....esif_uf_dspmgr.c
mov eax, dword [r15 + 0x258]
lea r8, str.esif_fpc_load
mov dword [rsp + 0x48], eax
mov edx, 4
mov eax, dword [r15 + 0x254]
mov ecx, 0x100
mov dword [rsp + 0x40], eax
mov eax, dword [r15 + 0x250]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], eax
lea rax, str._u_domains___u_primitives_and__u_algorithms__u_events_inserted__status__s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x278
call fcn.140067120
mov eax, ebp
add rsp, 0xc0
pop r15
pop rdi
pop rbp
ret
cmp dword [0x1401b83f0], 1
jl 0x14002d769
test dword [0x1401b8424], 0x100
je 0x14002d769
movzx eax, word [rsi + 4]
mov dword [rsp + 0x30], eax
lea rax, str.Fail_to_insert_primitive__id___d__n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x23f
lea r9, str.....esif_uf_dspmgr.c
mov edx, 1
lea r8, str.esif_fpc_load
mov ecx, 0x100
call fcn.140067120
jmp 0x14002d769
cmp dword [0x1401b83f0], 1
jl 0x14002d769
test dword [0x1401b8424], 0x100
je 0x14002d769
mov dword [rsp + 0x30], esi
lea rax, str.Fail_to_insert_domain__d_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x21f
jmp 0x14002d85b
cmp dword [0x1401b83f0], 1
jl 0x14002d769
test dword [0x1401b8424], 0x100
je 0x14002d769
mov ecx, dword [rbx]
call fcn.14002a620
mov qword [rsp + 0x30], rax
lea rax, str.Fail_to_insert_algorithm____s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x25a
jmp 0x14002d85b
cmp dword [0x1401b83f0], 1
jl 0x14002d769
test dword [0x1401b8424], 0x100
je 0x14002d769
mov ecx, dword [rbx + 0x30]
call fcn.14002cca0
mov qword [rsp + 0x30], rax
lea rax, str.Fail_to_insert_event____s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x26c
jmp 0x14002d85b
cmp dword [0x1401b83f0], 1
jl 0x14002d97f
test dword [0x1401b8424], 0x100
je 0x14002d97f
lea rax, str.Fail_to_allocate_linked_list_or_hash_table_n
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.....esif_uf_dspmgr.c
lea r8, str.esif_fpc_load
mov dword [rsp + 0x20], 0x201
mov ecx, 0x100
call fcn.140067120
mov ebp, 0x708
jmp 0x14002d780
cmp dword [0x1401b83f0], 1
jl 0x14002d9cf
test dword [0x1401b8424], 0x100
je 0x14002d9cf
lea rax, str.The_fpc_pointer_or_dsp_pointer_is_NULL_n
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.....esif_uf_dspmgr.c
lea r8, str.esif_fpc_load
mov dword [rsp + 0x20], 0x1ec
mov ecx, 0x100
call fcn.140067120
mov ebp, 0x8fc
jmp 0x14002d788