Function at 0x6d2fb430
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x664
mov eax, dword [0x6d30e108]
xor eax, esp
mov dword [esp + 0x660], eax
mov eax, dword [0x6d30e7f8]
cmp byte [eax + 0x38], 0x62
push ebx
push esi
push edi
jne 0x6d2fb558
xor ebx, ebx
cmp byte [eax + 0x53], bl
jne 0x6d2fb462
cmp byte [eax + 0x54], bl
je 0x6d2fb467
mov ebx, 1
cmp byte [eax + 0x50], 0
je 0x6d2fb470
or ebx, 2
push ebp
call fcn.6d2febc0
mov esi, eax
mov eax, dword [0x6d30e7f8]
mov ebp, dword [eax + 0x10]
mov eax, ebp
mov edi, edx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d2fb487
sub eax, ecx
inc eax
push eax
push ebp
call fcn.6d2fac10
push 4
mov dword [esp + 0x1c], 4
call fcn.6d2fed90
lea ecx, [esp + 0x1c]
push 4
push ecx
mov dword [esp + 0x24], eax
call fcn.6d2fac10
mov edx, edi
push edi
sar edx, 0x1f
mov dword [esp + 0x28], edi
call fcn.6d2fed90
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 4
push eax
call fcn.6d2fac10
push esi
mov dword [esp + 0x34], esi
call fcn.6d2fed90
lea ecx, [esp + 0x34]
push 4
push ecx
mov dword [esp + 0x3c], eax
call fcn.6d2fac10
mov esi, 6
mov al, 0xe
call fcn.6d2facb0
push ebx
mov dword [esp + 0x40], ebx
call fcn.6d2fed90
lea edx, [esp + 0x40]
push 4
push edx
mov dword [esp + 0x48], eax
call fcn.6d2fac10
mov eax, dword [0x6d30e7f8]
movzx eax, word [eax + 0x3c]
push eax
mov dword [esp + 0x4c], eax
call fcn.6d2fed80
movzx ecx, ax
lea edx, [esp + 0x4c]
push 2
push edx
mov dword [esp + 0x54], ecx
call fcn.6d2fac10
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.6d307d33
add esp, 0x664
ret
cmp byte [eax + 0x51], 0
je 0x6d2fb568
cmp byte [eax + 0x52], 0
jne 0x6d2fb697
push 0
call dword [sym.imp.msvcr100.dll__time64]
push str.jvm.hprof.txt
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push 0x104
push eax
mov dword [esp + 0x20], edx
call fcn.6d2fef90
lea ecx, [esp + 0x24]
push ecx
call fcn.6d2feaa0
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x6d2fb5e1
lea edx, [esp + 0x14]
push edx
push str.Cant_open__s
lea eax, [esp + 0x120]
push 0x154
push eax
call fcn.6d2fed10
push 0x2e0
push str..._.._.._src_share_demo_jvmti_hprof_hprof_io.c
lea ecx, [esp + 0x130]
push ecx
push 0
push 1
mov byte [esp + 0x28f], 0
call fcn.6d2f5ce0
add esp, 0x24
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.msvcr100.dll__ctime64]
push eax
mov eax, dword [0x6d30e7f8]
mov ecx, dword [eax + 0x10]
push ecx
push str._s__created__s_n
call fcn.6d2fad90
add esp, 0x10
push 0x400
lea edx, [esp + 0x270]
push edx
push edi
call sub.msvcr100.dll__read
mov esi, eax
add esp, 0xc
test esi, esi
js 0x6d2fb638
je 0x6d2fb64f
lea eax, [esp + 0x26c]
push esi
push eax
call fcn.6d2fac10
add esp, 8
test esi, esi
jg 0x6d2fb603
jmp 0x6d2fb64f
call dword [sym.imp.msvcr100.dll__errno]
mov ecx, dword [eax]
push ecx
push esi
mov ebx, str.read
call fcn.6d2faa50
add esp, 8
push edi
call fcn.6d2feb60
push str._n_________n_n
call fcn.6d2fad90
mov ecx, dword [0x6d30e7f8]
mov edi, dword [ecx + 0x11c]
add esp, 8
test edi, edi
je 0x6d2fb697
movzx edx, byte [ecx + 0x74]
mov eax, dword [ecx + 0x118]
mov ecx, dword [ecx + 0x70]
push edx
call fcn.6d2fab20
mov eax, dword [0x6d30e7f8]
add esp, 4
mov dword [eax + 0x11c], 0
mov ecx, dword [esp + 0x66c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6d307d33
add esp, 0x664
ret