Function at 0x6d9db600
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x664
mov eax, dword [0x6d9ee108]
xor eax, esp
mov dword [esp + 0x660], eax
mov eax, dword [0x6d9ee7f8]
cmp byte [eax + 0x38], 0x62
push ebx
push esi
push edi
jne 0x6d9db728
xor ebx, ebx
cmp byte [eax + 0x53], bl
jne 0x6d9db632
cmp byte [eax + 0x54], bl
je 0x6d9db637
mov ebx, 1
cmp byte [eax + 0x50], 0
je 0x6d9db640
or ebx, 2
push ebp
call fcn.6d9dedc0
mov esi, eax
mov eax, dword [0x6d9ee7f8]
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 0x6d9db657
sub eax, ecx
inc eax
push eax
push ebp
call fcn.6d9dade0
push 4
mov dword [esp + 0x1c], 4
call fcn.6d9def90
lea ecx, [esp + 0x1c]
push 4
push ecx
mov dword [esp + 0x24], eax
call fcn.6d9dade0
mov edx, edi
push edi
sar edx, 0x1f
mov dword [esp + 0x28], edi
call fcn.6d9def90
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 4
push eax
call fcn.6d9dade0
push esi
mov dword [esp + 0x34], esi
call fcn.6d9def90
lea ecx, [esp + 0x34]
push 4
push ecx
mov dword [esp + 0x3c], eax
call fcn.6d9dade0
mov esi, 6
mov al, 0xe
call fcn.6d9dae80
push ebx
mov dword [esp + 0x40], ebx
call fcn.6d9def90
lea edx, [esp + 0x40]
push 4
push edx
mov dword [esp + 0x48], eax
call fcn.6d9dade0
mov eax, dword [0x6d9ee7f8]
movzx eax, word [eax + 0x3c]
push eax
mov dword [esp + 0x4c], eax
call fcn.6d9def80
movzx ecx, ax
lea edx, [esp + 0x4c]
push 2
push edx
mov dword [esp + 0x54], ecx
call fcn.6d9dade0
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.6d9e7ff3
add esp, 0x664
ret
cmp byte [eax + 0x51], 0
je 0x6d9db738
cmp byte [eax + 0x52], 0
jne 0x6d9db867
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.6d9df1f0
lea ecx, [esp + 0x24]
push ecx
call fcn.6d9deca0
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x6d9db7b1
lea edx, [esp + 0x14]
push edx
push str.Cant_open__s
lea eax, [esp + 0x120]
push 0x154
push eax
call fcn.6d9def10
push 0x2e9
push str.hprof_io.c
lea ecx, [esp + 0x130]
push ecx
push 0
push 1
mov byte [esp + 0x28f], 0
call fcn.6d9d5d70
add esp, 0x24
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.msvcr100.dll__ctime64]
push eax
mov eax, dword [0x6d9ee7f8]
mov ecx, dword [eax + 0x10]
push ecx
push str._s__created__s_n
call fcn.6d9daf60
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 0x6d9db808
je 0x6d9db81f
lea eax, [esp + 0x26c]
push esi
push eax
call fcn.6d9dade0
add esp, 8
test esi, esi
jg 0x6d9db7d3
jmp 0x6d9db81f
call dword [sym.imp.msvcr100.dll__errno]
mov ecx, dword [eax]
push ecx
push esi
mov ebx, str.read
call fcn.6d9dac20
add esp, 8
push edi
call fcn.6d9ded60
push str._n_________n_n
call fcn.6d9daf60
mov ecx, dword [0x6d9ee7f8]
mov edi, dword [ecx + 0x11c]
add esp, 8
test edi, edi
je 0x6d9db867
movzx edx, byte [ecx + 0x74]
mov eax, dword [ecx + 0x118]
mov ecx, dword [ecx + 0x70]
push edx
call fcn.6d9dacf0
mov eax, dword [0x6d9ee7f8]
add esp, 4
mov dword [eax + 0x11c], 0
mov ecx, dword [esp + 0x66c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6d9e7ff3
add esp, 0x664
ret