Function at 0x140054e00
Capabilities:
Get thread local storage value
Map section object

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov r8, qword [rdx + 8]
lea r15, [0x14015b298]
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
lea rcx, [rax + 0x10]
mov edx, 5
mov qword [rax + 0x20], rbx
mov rsi, r15
mov ebp, ebx
call qword [rdi]
test eax, eax
jns 0x140054e5b
mov r8, qword [rdi + 8]
lea rcx, [rsp + 0xc8]
mov edx, 5
call qword [rdi]
test eax, eax
js 0x1400550ca
mov rcx, qword [rsp + 0xc8]
lea r8, [rsp + 0x58]
mov r9d, 0x18
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQuerySection]
test eax, eax
js 0x140054efc
mov eax, dword [rsp + 0x60]
bt eax, 0x1b
jae 0x140054e92
lea rsi, [0x14015edd8]
jmp 0x140054ebf
bt eax, 0x17
jae 0x140054ea1
lea rsi, [0x14015a9d0]
jmp 0x140054ebf
bt eax, 0x18
jae 0x140054eb0
lea rsi, [0x14015ee10]
jmp 0x140054ebf
bt eax, 0x1a
lea rsi, str.Reserve
cmovae rsi, r15
movzx eax, byte [0x14018b710]
lea rcx, [rsp + 0x70]
mov byte [rsp + 0x7a], al
xor r8d, r8d
mov rax, qword [rsp + 0x68]
mov edx, 1
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x70], 0x10c
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhFormat
mov rcx, rax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAutoDereferenceObject
mov rbp, rax
mov rcx, qword [rsp + 0xc8]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 2
lea r8, [rsp + 0xd0]
mov dword [rsp + 0x40], ebx
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x50], 1
mov qword [rsp + 0xd0], rbx
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x140055071
mov rdx, qword [rsp + 0xd0]
lea r8, [rsp + 0xd8]
mov rcx, 0xffffffffffffffff
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhGetProcessMappedFileName
mov rdx, qword [rsp + 0xd0]
mov rcx, 0xffffffffffffffff
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
test ebx, ebx
js 0x140055069
mov ecx, dword [0x140190208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0xd8]
mov rdi, rax
test rbx, rbx
je 0x14005504f
mov eax, dword [rax]
cmp eax, 0x40
jae 0x140054fcb
mov qword [rdi + rax*8 + 8], rbx
inc dword [rdi]
jmp 0x14005504f
mov rcx, qword [rdi + 0x210]
test rcx, rcx
jne 0x140055003
mov dword [rdi + 0x20c], 0x40
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8d, 0x200
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rdi + 0x210], rax
mov eax, dword [rdi + 0x20c]
cmp dword [rdi + 0x208], eax
jne 0x14005503f
add eax, eax
mov r8, rcx
mov r9d, eax
mov edx, 4
mov dword [rdi + 0x20c], eax
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
shl r9, 3
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rcx, rax
mov qword [rdi + 0x210], rax
mov eax, dword [rdi + 0x208]
mov qword [rcx + rax*8], rbx
inc dword [rdi + 0x208]
mov rcx, rbx
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhResolveDevicePrefix
test rax, rax
je 0x140055071
mov rcx, rax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAutoDereferenceObject
mov rbx, rax
jmp 0x140055071
mov rbx, qword [rsp + 0xd8]
mov r8, rsi
mov edx, 0x408
mov rcx, r14
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
test rbp, rbp
je 0x14005508b
mov r15, qword [rbp + 8]
mov r8, r15
mov edx, 0x44a
mov rcx, r14
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
test rbx, rbx
je 0x1400550a7
mov r8, qword [rbx + 8]
jmp 0x1400550ae
lea r8, [0x14015ea30]
mov edx, 0x3ee
mov rcx, r14
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret