Function at 0x69061a40
Capabilities:
Get process heap flags

Disassembly:
sub esp, 0x5c
mov dword [esp + 0x50], esi
mov esi, ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x4c], ebx
mov ebx, eax
mov eax, dword [eax + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebp
mov edx, ecx
sub edx, eax
cmp edx, 3
jle 0x69061b80
mov edi, dword [ebx]
lea ebp, [eax + 4]
mov dword [ebx + 8], ebp
mov edx, edi
add edx, eax
mov dword [esp + 0x2c], edx
je 0x69061b80
mov edx, dword [edx]
mov dword [esi], edx
cmp edx, 0x10000001
je 0x69061c80
ja 0x69061b60
cmp edx, 5
ja 0x69061ba0
mov eax, 0x14
mov ebp, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], eax
mov eax, 8
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov dword [esp + 0x2c], edx
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebp
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x69061cf9
mov edx, dword [esp + 0x2c]
mov eax, 0x14
mov dword [esp + 8], eax
mov eax, 8
mov dword [esp + 4], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebp
sub esp, 0xc
test eax, eax
mov edx, dword [esp + 0x2c]
mov ebp, eax
je 0x69061cd1
mov eax, dword [esp + 0x60]
mov ecx, edi
mov edx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, ebx
call sym._metafile_read_region_node
test eax, eax
mov edx, eax
jne 0x69061c30
mov eax, dword [esp + 0x60]
mov ecx, ebp
mov edx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, ebx
call sym._metafile_read_region_node
test eax, eax
mov edx, eax
jne 0x69061c30
mov dword [esi + 4], edi
mov eax, dword [esp + 0x28]
mov dword [esi + 8], ebp
add dword [eax], 2
jmp 0x69061b82
sub edx, 0x10000002
cmp edx, 1
ja 0x69061be0
mov eax, dword [esp + 0x60]
inc dword [eax]
lea esi, [esi]
lea esi, [esi]
nop
xor edx, edx
mov ebx, dword [esp + 0x4c]
mov eax, edx
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
add esp, 0x5c
ret
cmp edx, 0x10000000
jne 0x69061be0
sub ecx, ebp
cmp ecx, 0xf
jle 0x69061c20
add eax, 0x14
add edi, ebp
mov dword [ebx + 8], eax
je 0x69061c20
mov edx, dword [edi]
mov eax, dword [esp + 0x60]
mov dword [esi + 4], edx
mov edx, dword [edi + 4]
mov dword [esi + 8], edx
mov edx, dword [edi + 8]
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x10], edx
xor edx, edx
inc dword [eax]
jmp 0x69061b82
test byte [0x6907a118], 1
je 0x69061c20
mov eax, dword [esp + 0x2c]
mov edx, str.metafile_read_region_node
mov ecx, 0x6907a118
mov eax, dword [eax]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, 0x690841ec
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0_9
lea esi, [esi]
mov edx, 2
jmp 0x69061b82
mov dword [esp + 8], edi
xor ebx, ebx
xor edi, edi
mov dword [esp + 4], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword fs:[0x18]
mov dword [esp + 0x28], edx
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov edx, dword [esp + 0x28]
jmp 0x69061b82
mov edx, ecx
sub edx, ebp
cmp edx, 3
jle 0x69061c20
add eax, 8
add ebp, edi
mov dword [ebx + 8], eax
je 0x69061c20
mov edx, dword [ebp]
sub ecx, eax
cmp edx, ecx
jg 0x69061c20
add edx, eax
add eax, edi
mov dword [ebx + 8], edx
je 0x69061c20
mov edx, dword [ebp]
lea ecx, [esp + 0x3c]
call sym._metafile_deserialize_path
test eax, eax
mov edx, eax
jne 0x69061b80
mov eax, dword [esp + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x60]
inc dword [eax]
jmp 0x69061b82
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, 3
sub esp, 0xc
jmp 0x69061b82
mov edx, 3
jmp 0x69061b82