Function at 0x1000b600
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x664
mov eax, dword [0x1001e108]
xor eax, esp
mov dword [esp + 0x660], eax
mov eax, dword [0x1001e7f8]
cmp byte [eax + 0x38], 0x62
push ebx
push esi
push edi
jne 0x1000b728
xor ebx, ebx
cmp byte [eax + 0x53], bl
jne 0x1000b632
cmp byte [eax + 0x54], bl
je 0x1000b637
mov ebx, 1
cmp byte [eax + 0x50], 0
je 0x1000b640
or ebx, 2
push ebp
call fcn.1000edc0
mov esi, eax
mov eax, dword [0x1001e7f8]
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 0x1000b657
sub eax, ecx
inc eax
push eax
push ebp
call fcn.1000ade0
push 4
mov dword [esp + 0x1c], 4
call fcn.1000ef90
lea ecx, [esp + 0x1c]
push 4
push ecx
mov dword [esp + 0x24], eax
call fcn.1000ade0
mov edx, edi
push edi
sar edx, 0x1f
mov dword [esp + 0x28], edi
call fcn.1000ef90
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 4
push eax
call fcn.1000ade0
push esi
mov dword [esp + 0x34], esi
call fcn.1000ef90
lea ecx, [esp + 0x34]
push 4
push ecx
mov dword [esp + 0x3c], eax
call fcn.1000ade0
mov esi, 6
mov al, 0xe
call fcn.1000ae80
push ebx
mov dword [esp + 0x40], ebx
call fcn.1000ef90
lea edx, [esp + 0x40]
push 4
push edx
mov dword [esp + 0x48], eax
call fcn.1000ade0
mov eax, dword [0x1001e7f8]
movzx eax, word [eax + 0x3c]
push eax
mov dword [esp + 0x4c], eax
call fcn.1000ef80
movzx ecx, ax
lea edx, [esp + 0x4c]
push 2
push edx
mov dword [esp + 0x54], ecx
call fcn.1000ade0
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.10017ff3
add esp, 0x664
ret
cmp byte [eax + 0x51], 0
je 0x1000b738
cmp byte [eax + 0x52], 0
jne 0x1000b867
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.1000f1f0
lea ecx, [esp + 0x24]
push ecx
call fcn.1000eca0
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x1000b7b1
lea edx, [esp + 0x14]
push edx
push str.Cant_open__s
lea eax, [esp + 0x120]
push 0x154
push eax
call fcn.1000ef10
push 0x2e9
push str.hprof_io.c
lea ecx, [esp + 0x130]
push ecx
push 0
push 1
mov byte [esp + 0x28f], 0
call fcn.10005d70
add esp, 0x24
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.msvcr100.dll__ctime64]
push eax
mov eax, dword [0x1001e7f8]
mov ecx, dword [eax + 0x10]
push ecx
push str._s__created__s_n
call fcn.1000af60
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 0x1000b808
je 0x1000b81f
lea eax, [esp + 0x26c]
push esi
push eax
call fcn.1000ade0
add esp, 8
test esi, esi
jg 0x1000b7d3
jmp 0x1000b81f
call dword [sym.imp.msvcr100.dll__errno]
mov ecx, dword [eax]
push ecx
push esi
mov ebx, str.read
call fcn.1000ac20
add esp, 8
push edi
call fcn.1000ed60
push str._n_________n_n
call fcn.1000af60
mov ecx, dword [0x1001e7f8]
mov edi, dword [ecx + 0x11c]
add esp, 8
test edi, edi
je 0x1000b867
movzx edx, byte [ecx + 0x74]
mov eax, dword [ecx + 0x118]
mov ecx, dword [ecx + 0x70]
push edx
call fcn.1000acf0
mov eax, dword [0x1001e7f8]
add esp, 4
mov dword [eax + 0x11c], 0
mov ecx, dword [esp + 0x66c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10017ff3
add esp, 0x664
ret