Function at 0x6d7250da
Capabilities:
Get thread local storage value
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
lea ecx, [ebp - 0x1c]
call fcn.6d64bc19
cmp dword [ebp + 0x10], 0
jne 0x6d7252a6
mov edx, dword [ebp + 8]
test edx, edx
je 0x6d72511c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x6d72511c
mov dword [ebp + 0x10], edx
jmp 0x6d725128
push dword [ebp + 0xc]
call fcn.6d7252eb
pop ecx
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x6d725143
push str.Could_not_map_vmid_to_user_name
push dword [0x6d7c30f8]
push 0x58d
jmp 0x6d7252ce
push dword [ebp + 0x10]
call fcn.6d72465d
mov esi, eax
push esi
mov dword [ebp - 0xc], esi
call fcn.6d724a37
pop ecx
test eax, eax
pop ecx
jne 0x6d725179
push esi
call fcn.6d71c29c
mov dword [esp], str.Process_not_found
push dword [0x6d7c30f8]
push 0x599
jmp 0x6d7252ce
push dword [ebp + 0xc]
push esi
call fcn.6d7247d0
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 0x10]
call fcn.6d724771
mov dword [ebp + 0xc], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.6d735879
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.6d735879
mov dword [ebp - 8], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x10]
and ecx, 3
cmp eax, dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
je 0x6d72520e
push eax
call fcn.6d71c29c
pop ecx
push dword [ebp - 0xc]
call fcn.6d71c29c
push ebx
call fcn.6d71c29c
push dword [ebp + 0xc]
call fcn.6d71c29c
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
xor edi, edi
add esp, 0xc
cmp dword [eax], edi
jne 0x6d72524a
push esi
push dword [ebp - 4]
call fcn.6d725692
cmp dword [esi + 4], edi
pop ecx
pop ecx
mov dword [ebp + 0x1c], eax
jne 0x6d7252de
push esi
push 4
push dword [ebp - 8]
call fcn.6d725659
add esp, 0xc
cmp dword [esi + 4], edi
mov ebx, eax
jne 0x6d7252de
push dword [ebp + 0x1c]
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
jne 0x6d725290
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Could_not_map_PerfMemory
push dword [0x6d7c3174]
push 0x5c7
push str.C:_BUILD_AREA_jdk1.5.0_13_hotspot_srcoswin32_vmperfMemory_win32.cpp
push esi
jmp 0x6d7252d6
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x6d7252de
cmp dword [ebp + 0x10], 1
jne 0x6d7252be
push str.Unsupported_access_mode
push dword [0x6d7c30f8]
push 0x57a
jmp 0x6d7252ce
push str.Illegal_access_mode
push dword [0x6d7c30f8]
push 0x57f
push str.C:_BUILD_AREA_jdk1.5.0_13_hotspot_srcoswin32_vmperfMemory_win32.cpp
push dword [ebp + 0x1c]
call fcn.6d6a8f0c
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.6d6a63ec
pop edi
pop esi
pop ebx
leave
ret