Function at 0x140031d20
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r12
push r15
sub rsp, 0xc0
mov qword [rax + 0x20], rbx
mov r15, rcx
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov rdi, rdx
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
xor r14d, r14d
mov dword [rsp + 0xe0], r14d
mov ebp, r14d
mov r12d, r14d
test rcx, rcx
je 0x1400324a1
test rdx, rdx
je 0x1400324a1
lea r13, [rcx + 0x250]
mov eax, dword [r13]
cmp eax, 1
jae 0x140031dd6
cmp dword [0x14020a150], 2
jl 0x1400324e7
test dword [0x14020a19c], 0x100
je 0x1400324e7
mov dword [rsp + 0x30], eax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_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, [r14 + 2]
mov dword [rsp + 0x20], 0x1f3
call fcn.140077c20
jmp 0x1400324e7
mov ecx, 0x20
mov qword [rdx + 0x70], r13
call fcn.140003840
mov qword [rdi + 0x78], rax
call fcn.140002160
mov qword [rdi + 0x90], rax
call fcn.140002160
mov qword [rdi + 0x80], rax
call fcn.140002160
mov qword [rdi + 0x88], rax
call fcn.140002160
mov qword [rdi + 0x98], rax
cmp qword [rdi + 0x78], rbp
je 0x140032454
cmp qword [rdi + 0x90], rbp
je 0x140032454
cmp qword [rdi + 0x80], rbp
je 0x140032454
cmp qword [rdi + 0x88], rbp
je 0x140032454
test rax, rax
je 0x140032454
cmp dword [0x14020a150], 4
jl 0x140031eef
test dword [0x14020a1cc], 0x100
je 0x140031eef
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.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20f
call fcn.140077c20
lea rbx, [r15 + 0x25c]
mov esi, r14d
mov dword [rsp + 0xf0], r14d
cmp dword [r13], r14d
jbe 0x1400321b5
lea r12, str.__04lu__Capability__d__0x_x
cmp dword [0x14020a150], 4
lea r9, str.__04lu__Domain__d__name__s_size__d_num_of_primitives__d__num_of_capabilites__u__0x_x_
jl 0x140031f95
test dword [0x14020a1cc], 0x100
je 0x140031f95
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.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
mov dword [rsp + 0x20], 0x21a
call fcn.140077c20
mov rax, qword [rdi + 0x138]
mov rdx, rbx
mov rcx, rdi
call qword [case.0x1400246b7.0]
mov ebp, eax
test eax, eax
jne 0x14003235e
mov edi, r14d
cmp byte [rbx + 0xc8], al
jbe 0x14003202c
nop dword [rax]
cmp dword [0x14020a150], 4
jl 0x14003201f
test dword [0x14020a1cc], 0x100
je 0x14003201f
mov eax, edi
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_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], r12
mov dword [rsp + 0x20], 0x227
call fcn.140077c20
movzx eax, byte [rbx + 0xc8]
inc edi
cmp edi, eax
jb 0x140031fc0
cmp dword [rbx + 0xc0], 0
lea rsi, [rbx + 0xec]
mov rdi, qword [rsp + 0xe8]
mov r13d, r14d
jbe 0x14003218b
nop dword [rax + rax]
mov r12d, esi
sub r12d, r15d
cmp dword [0x14020a150], 4
jl 0x140032148
test dword [0x14020a1cc], 0x100
je 0x140032148
mov r14d, dword [rsi + 0xc]
mov ecx, r14d
sub ecx, 1
je 0x140032096
cmp ecx, 1
je 0x14003208d
lea rbp, [0x14011f5a8]
jmp 0x14003209d
lea rbp, str.ESIF_PRIMITIVE_OP_SET
jmp 0x14003209d
lea rbp, str.ESIF_PRIMITIVE_OP_GET
mov r11d, dword [rsi + 0x14]
mov ecx, r11d
mov edi, dword [rsi + 0x10]
call fcn.14002f180
mov ecx, edi
mov r8, rax
call fcn.14002f180
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.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_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.140077c20
mov rdi, qword [rsp + 0xe8]
mov rax, qword [rdi + 0x128]
mov rdx, rsi
mov rcx, rdi
call qword [case.0x1400246b7.0]
mov ebp, eax
test eax, eax
jne 0x14003232b
mov eax, dword [rsi]
inc r13d
inc dword [rsp + 0xe0]
add rsi, rax
cmp r13d, dword [rbx + 0xc0]
jb 0x140032050
xor r14d, r14d
lea r12, str.__04lu__Capability__d__0x_x
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 0x140031f12
mov r12d, dword [rsp + 0xe0]
cmp dword [r15 + 0x254], 0
mov esi, r14d
jbe 0x14003227d
lea r13, str.__04lu__Algorithm__03d_:__action_type__u__s__temp_xform__u_tempC1__u_percent_xform__u_size__u
nop dword [rax]
cmp dword [0x14020a150], 4
jl 0x14003224d
test dword [0x14020a1cc], 0x100
je 0x14003224d
mov r8d, dword [rbx]
mov ecx, r8d
call fcn.14002ec10
mov ecx, dword [rbx + 0x18]
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_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.140077c20
mov rax, qword [rdi + 0x130]
mov rdx, rbx
mov rcx, rdi
call qword [case.0x1400246b7.0]
mov ebp, eax
test eax, eax
jne 0x1400323b5
add rbx, 0x1c
inc esi
cmp esi, dword [r15 + 0x254]
jb 0x1400321d0
cmp dword [r15 + 0x258], 0
jbe 0x1400324ec
lea rsi, str.__04lu__Event___03d__type__s__d__n
cmp dword [0x14020a150], 4
jl 0x1400322f5
test dword [0x14020a1cc], 0x100
je 0x1400322f5
mov r8d, dword [rbx + 0x30]
mov ecx, r8d
call fcn.140031630
mov dword [rsp + 0x48], r8d
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
mov qword [rsp + 0x40], rax
lea r8, str.esif_fpc_load
mov dword [rsp + 0x38], r14d
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.140077c20
mov rax, qword [rdi + 0x140]
mov rdx, rbx
mov rcx, rdi
call qword [case.0x1400246b7.0]
mov ebp, eax
test eax, eax
jne 0x140032414
add rbx, 0x4c
inc r14d
cmp r14d, dword [r15 + 0x258]
jb 0x140032292
jmp 0x1400324ec
cmp dword [0x14020a150], 1
jl 0x1400323a8
test dword [0x14020a184], 0x100
je 0x1400323a8
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
jmp 0x14003238b
cmp dword [0x14020a150], 1
jl 0x1400323a8
test dword [0x14020a184], 0x100
je 0x1400323a8
mov dword [rsp + 0x30], esi
lea rax, str.Fail_to_insert_domain__d_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x21f
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
mov edx, 1
lea r8, str.esif_fpc_load
mov ecx, 0x100
call fcn.140077c20
mov r12d, dword [rsp + 0xe0]
jmp 0x1400324ec
cmp dword [0x14020a150], 1
jl 0x1400324ec
test dword [0x14020a184], 0x100
je 0x1400324ec
mov ecx, dword [rbx]
call fcn.14002ec10
mov qword [rsp + 0x30], rax
lea rax, str.Fail_to_insert_algorithm____s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x25a
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
mov edx, 1
lea r8, str.esif_fpc_load
mov ecx, 0x100
call fcn.140077c20
jmp 0x1400324ec
cmp dword [0x14020a150], 1
jl 0x1400324ec
test dword [0x14020a184], 0x100
je 0x1400324ec
mov ecx, dword [rbx + 0x30]
call fcn.140031630
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 0x1400323f2
cmp dword [0x14020a150], 1
jl 0x14003249a
test dword [0x14020a184], 0x100
je 0x14003249a
lea rax, str.Fail_to_allocate_linked_list_or_hash_table_n
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
lea r8, str.esif_fpc_load
mov dword [rsp + 0x20], 0x201
mov ecx, 0x100
call fcn.140077c20
mov ebp, 0x708
jmp 0x1400324ec
cmp dword [0x14020a150], 1
jl 0x1400324e7
test dword [0x14020a184], 0x100
je 0x1400324e7
lea rax, str.The_fpc_pointer_or_dsp_pointer_is_NULL_n
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
lea r8, str.esif_fpc_load
mov dword [rsp + 0x20], 0x1ec
mov ecx, 0x100
call fcn.140077c20
mov ebp, 0x8fc
mov r14, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xf8]
test r15, r15
je 0x140032591
cmp dword [0x14020a150], 4
jl 0x140032591
test dword [0x14020a1cc], 0x100
je 0x140032591
mov ecx, ebp
call fcn.140030b90
mov qword [rsp + 0x50], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_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], r12d
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.140077c20
mov eax, ebp
add rsp, 0xc0
pop r15
pop r12
pop rbp
ret