Function at 0x140032070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x188]
sub rsp, 0x288
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rax, qword [0x1401a7d98]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov qword [rsp + 0x68], r9
mov rdi, r8
mov qword [rsp + 0x60], r8
mov r12, rcx
mov rax, qword [rcx]
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x70], rcx
mov r8d, 1
mov qword [rsp + 0x78], r8
mov dword [rsp + 0x58], 0x2000
lea rcx, [rsp + 0x58]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], r8
movaps xmm0, xmmword [rdx]
movdqa xmmword [rbp], xmm0
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x80]
lea rdx, [rbp]
mov rcx, r12
mov rax, qword [rax + 0x90]
call qword [case.0x14010a1e6.0]
xor r14d, r14d
test eax, eax
js 0x14003256b
mov dword [rbp + 0x50], r14d
mov rax, qword [r12]
movups xmm0, xmmword [rbp + 0x98]
movdqu xmmword [rbp + 0x10], xmm0
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x10]
mov rcx, r12
mov rax, qword [rax + 0xc8]
call qword [case.0x14010a1e6.0]
test eax, eax
js 0x14003256b
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
mov dword [rbp + 0xe0], 0xffff0000
xor eax, eax
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r14
mov ebx, dword [rbp + 0x50]
test rbx, rbx
je 0x1400321ce
lea eax, [r14 + 0x18]
mul rbx
mov r8, rax
lea rax, [r14 - 1]
cmovo r8, rax
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
test rax, rax
je 0x1400321da
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rbx
jmp 0x1400321d5
lea rax, [0x14014663b]
test rax, rax
jne 0x14003221b
lea rax, str.onecore_basewcp_toolsmtcommonmt_util.h
mov qword [rbp - 0x50], rax
lea rax, str.IdentityFromElement
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 0xcf
lea rax, str.AttributeList.Allocate_MapLength_
mov qword [rbp - 0x38], rax
mov r8d, 0xc0000017
lea rcx, [rbp - 0x50]
call fcn.1400c81b4
mov edi, 0xc0000017
jmp 0x1400324c4
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov edx, dword [rbp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.14003302c
test rax, rax
jne 0x14003228a
lea rax, str.onecore_basewcp_toolsmtcommonmt_util.h
mov qword [rbp - 0x30], rax
lea rax, str.IdentityFromElement
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], 0xd2
lea rax, str.StringPool.Allocate_MapLength_
mov qword [rbp - 0x18], rax
mov r8d, 0xc0000017
lea rcx, [rbp - 0x30]
call fcn.1400c81b4
mov edi, 0xc0000017
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
jmp 0x14003247d
mov rbx, r14
mov r15d, r14d
mov rsi, qword [rsp + 0x48]
cmp dword [rbp + 0x50], r14d
jbe 0x14003243f
mov r13, r14
mov rax, qword [r12]
movups xmm0, xmmword [rbp + 0x98]
movdqu xmmword [rbp + 0x20], xmm0
lea r9, [rbp + 0x70]
mov r8d, r15d
lea rdx, [rbp + 0x20]
mov rcx, r12
mov rax, qword [rax + 0xc0]
call qword [case.0x14010a1e6.0]
mov edi, eax
test eax, eax
js 0x140032282
mov rax, qword [r12]
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x30]
mov rcx, r12
mov rax, qword [rax + 0x38]
call qword [case.0x14010a1e6.0]
mov edi, eax
test eax, eax
js 0x140032282
movdqa xmm0, xmmword [0x14016d310]
movdqu xmmword [rbp + 0x100], xmm0
mov rax, qword [r12]
lea rcx, [rbp + 0x110]
mov qword [rbp - 0x70], rcx
mov edx, 4
mov qword [rbp - 0x68], rdx
lea rcx, [rbp + 0x100]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdx
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x40], xmm0
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x40]
mov rcx, r12
mov rax, qword [rax + 0x88]
call qword [case.0x14010a1e6.0]
mov edi, eax
test eax, eax
js 0x140032282
mov byte [rsp + 0x40], r14b
lea r8, [rsp + 0x40]
mov rdx, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x130]
call fcn.1400cd3b0
mov edi, eax
test eax, eax
js 0x140032282
cmp byte [rsp + 0x40], r14b
jne 0x14003242d
mov r14, qword [rbp + 0x58]
add r14, r13
inc rbx
mov qword [rsp + 0x58], rbx
add r13, 0x18
and qword [r14], 0
and qword [r14 + 8], 0
and qword [r14 + 0x10], 0
cmp qword [rbp + 0x118], 0
jne 0x14003242a
mov eax, r15d
lea rbx, [rax + rax*8]
shl rbx, 3
mov rcx, qword [rbp + 0x130]
test rcx, rcx
je 0x1400323fc
lea rdx, [rsi + 0x18]
add rdx, rbx
call fcn.1400c7220
mov edi, eax
test eax, eax
js 0x140032282
lea rax, [rsi + 0x18]
add rax, rbx
mov qword [r14 + 8], rax
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x140032425
add rbx, 0x30
add rbx, rsi
mov rdx, rbx
call fcn.1400c7220
mov edi, eax
test eax, eax
js 0x140032282
mov qword [r14 + 0x10], rbx
mov rbx, qword [rsp + 0x58]
xor r14d, r14d
inc r15d
cmp r15d, dword [rbp + 0x50]
jb 0x1400322a2
mov rdi, qword [rsp + 0x60]
mov qword [rbp + 0x60], rbx
mov rax, qword [rdi]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xb0]
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, rdi
mov rax, qword [rax + 0xa0]
call qword [case.0x14010a1e6.0]
mov edi, eax
test eax, eax
jns 0x1400324f5
test rsi, rsi
je 0x1400324c4
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea r9, [0x140033130]
mov r8, qword [rsi - 8]
mov edx, 0x48
mov rcx, rsi
call fcn.140109b18
mov rax, qword gs:[0x60]
lea r8, [rsi - 8]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
nop
mov r8, qword [rbp + 0x58]
test r8, r8
je 0x1400324f1
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r14
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
nop
mov eax, edi
jmp 0x14003256b
test rsi, rsi
je 0x14003253c
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea r9, [0x140033130]
mov r8, qword [rsi - 8]
mov edx, 0x48
mov rcx, rsi
call fcn.140109b18
mov rax, qword gs:[0x60]
lea r8, [rsi - 8]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
nop
mov r8, qword [rbp + 0x58]
test r8, r8
je 0x140032569
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r14
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
nop
xor eax, eax
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140109af0
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret