Function at 0x140031730
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 0x140031eb1
test rdx, rdx
je 0x140031eb1
lea r13, [rcx + 0x250]
mov eax, dword [r13]
cmp eax, 1
jae 0x1400317e6
cmp dword [0x14020e430], 2
jl 0x140031ef7
test dword [0x14020e47c], 0x100
je 0x140031ef7
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.140078180
jmp 0x140031ef7
mov ecx, 0x20
mov qword [rdx + 0x70], r13
call fcn.140003300
mov qword [rdi + 0x78], rax
call fcn.140002150
mov qword [rdi + 0x90], rax
call fcn.140002150
mov qword [rdi + 0x80], rax
call fcn.140002150
mov qword [rdi + 0x88], rax
call fcn.140002150
mov qword [rdi + 0x98], rax
cmp qword [rdi + 0x78], rbp
je 0x140031e64
cmp qword [rdi + 0x90], rbp
je 0x140031e64
cmp qword [rdi + 0x80], rbp
je 0x140031e64
cmp qword [rdi + 0x88], rbp
je 0x140031e64
test rax, rax
je 0x140031e64
cmp dword [0x14020e430], 4
jl 0x1400318ff
test dword [0x14020e4ac], 0x100
je 0x1400318ff
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.140078180
lea rbx, [r15 + 0x25c]
mov esi, r14d
mov dword [rsp + 0xf0], r14d
cmp dword [r13], r14d
jbe 0x140031bc5
lea r12, str.__04lu__Capability__d__0x_x
cmp dword [0x14020e430], 4
lea r9, str.__04lu__Domain__d__name__s_size__d_num_of_primitives__d__num_of_capabilites__u__0x_x_
jl 0x1400319a5
test dword [0x14020e4ac], 0x100
je 0x1400319a5
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.140078180
mov rax, qword [rdi + 0x138]
mov rdx, rbx
mov rcx, rdi
call qword [case.0x140023f87.0]
mov ebp, eax
test eax, eax
jne 0x140031d6e
mov edi, r14d
cmp byte [rbx + 0xc8], al
jbe 0x140031a3c
nop dword [rax]
cmp dword [0x14020e430], 4
jl 0x140031a2f
test dword [0x14020e4ac], 0x100
je 0x140031a2f
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.140078180
movzx eax, byte [rbx + 0xc8]
inc edi
cmp edi, eax
jb 0x1400319d0
cmp dword [rbx + 0xc0], 0
lea rsi, [rbx + 0xec]
mov rdi, qword [rsp + 0xe8]
mov r13d, r14d
jbe 0x140031b9b
nop dword [rax + rax]
mov r12d, esi
sub r12d, r15d
cmp dword [0x14020e430], 4
jl 0x140031b58
test dword [0x14020e4ac], 0x100
je 0x140031b58
mov r14d, dword [rsi + 0xc]
mov ecx, r14d
sub ecx, 1
je 0x140031aa6
cmp ecx, 1
je 0x140031a9d
lea rbp, [0x140127798]
jmp 0x140031aad
lea rbp, str.ESIF_PRIMITIVE_OP_SET
jmp 0x140031aad
lea rbp, str.ESIF_PRIMITIVE_OP_GET
mov r11d, dword [rsi + 0x14]
mov ecx, r11d
mov edi, dword [rsi + 0x10]
call fcn.14002ead0
mov ecx, edi
mov r8, rax
call fcn.14002ead0
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.140078180
mov rdi, qword [rsp + 0xe8]
mov rax, qword [rdi + 0x128]
mov rdx, rsi
mov rcx, rdi
call qword [case.0x140023f87.0]
mov ebp, eax
test eax, eax
jne 0x140031d3b
mov eax, dword [rsi]
inc r13d
inc dword [rsp + 0xe0]
add rsi, rax
cmp r13d, dword [rbx + 0xc0]
jb 0x140031a60
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 0x140031922
mov r12d, dword [rsp + 0xe0]
cmp dword [r15 + 0x254], 0
mov esi, r14d
jbe 0x140031c8d
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 [0x14020e430], 4
jl 0x140031c5d
test dword [0x14020e4ac], 0x100
je 0x140031c5d
mov r8d, dword [rbx]
mov ecx, r8d
call fcn.14002e560
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.140078180
mov rax, qword [rdi + 0x130]
mov rdx, rbx
mov rcx, rdi
call qword [case.0x140023f87.0]
mov ebp, eax
test eax, eax
jne 0x140031dc5
add rbx, 0x1c
inc esi
cmp esi, dword [r15 + 0x254]
jb 0x140031be0
cmp dword [r15 + 0x258], 0
jbe 0x140031efc
lea rsi, str.__04lu__Event___03d__type__s__d__n
cmp dword [0x14020e430], 4
jl 0x140031d05
test dword [0x14020e4ac], 0x100
je 0x140031d05
mov r8d, dword [rbx + 0x30]
mov ecx, r8d
call fcn.140030fe0
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.140078180
mov rax, qword [rdi + 0x140]
mov rdx, rbx
mov rcx, rdi
call qword [case.0x140023f87.0]
mov ebp, eax
test eax, eax
jne 0x140031e24
add rbx, 0x4c
inc r14d
cmp r14d, dword [r15 + 0x258]
jb 0x140031ca2
jmp 0x140031efc
cmp dword [0x14020e430], 1
jl 0x140031db8
test dword [0x14020e464], 0x100
je 0x140031db8
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 0x140031d9b
cmp dword [0x14020e430], 1
jl 0x140031db8
test dword [0x14020e464], 0x100
je 0x140031db8
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.140078180
mov r12d, dword [rsp + 0xe0]
jmp 0x140031efc
cmp dword [0x14020e430], 1
jl 0x140031efc
test dword [0x14020e464], 0x100
je 0x140031efc
mov ecx, dword [rbx]
call fcn.14002e560
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.140078180
jmp 0x140031efc
cmp dword [0x14020e430], 1
jl 0x140031efc
test dword [0x14020e464], 0x100
je 0x140031efc
mov ecx, dword [rbx + 0x30]
call fcn.140030fe0
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 0x140031e02
cmp dword [0x14020e430], 1
jl 0x140031eaa
test dword [0x14020e464], 0x100
je 0x140031eaa
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.140078180
mov ebp, 0x708
jmp 0x140031efc
cmp dword [0x14020e430], 1
jl 0x140031ef7
test dword [0x14020e464], 0x100
je 0x140031ef7
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.140078180
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 0x140031fa1
cmp dword [0x14020e430], 4
jl 0x140031fa1
test dword [0x14020e4ac], 0x100
je 0x140031fa1
mov ecx, ebp
call fcn.140030540
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.140078180
mov eax, ebp
add rsp, 0xc0
pop r15
pop r12
pop rbp
ret