Function at 0x63585a00
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov edi, dword [ecx]
test esi, esi
setne dl
test ebx, ebx
sete cl
and ecx, edx
test byte [0x6359d100], 8
jne 0x63585a50
test cl, cl
je 0x63585ada
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._lu__p__u_n
mov dword [esp + 8], str.GetRoleTextA
mov dword [esp + 4], 0x6359d100
mov dword [esp], 3
mov byte [ebp - 0x30], dl
mov byte [ebp - 0x2c], cl
call sym._wine_dbg_log.constprop.0_1
movzx ecx, byte [ebp - 0x2c]
movzx edx, byte [ebp - 0x30]
test cl, cl
jne 0x63585a39
test byte [0x6359d100], 8
je 0x63585ada
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._lu__p__u_n
mov dword [esp + 8], str.GetRoleTextW
mov dword [esp + 4], 0x6359d100
mov dword [esp], 3
mov byte [ebp - 0x2c], dl
call sym._wine_dbg_log.constprop.0_1
movzx edx, byte [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x2c], dl
mov dword [esp + 8], eax
mov eax, dword [0x6359d224]
mov dword [esp + 0xc], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
test eax, eax
jne 0x63585b30
test ebx, ebx
je 0x63585a39
movzx edx, byte [ebp - 0x2c]
test dl, dl
je 0x63585a39
mov byte [esi], 0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
lea edx, [eax + 1]
mov dword [esp + 4], 0
lea eax, [edx + edx]
mov dword [ebp - 0x34], edx
mov dword [esp + 8], eax
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x30], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x2c], eax
sub esp, 0xc
test eax, eax
je 0x63585a39
mov edx, dword [ebp - 0x34]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.oleacc.dll_GetRoleTextW
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x20
test esi, esi
je 0x63585c80
cmp ebx, eax
jb 0x63585c50
mov dword [esp + 0x10], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov eax, esi
sub esp, 0x20
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x34]
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
lea eax, [edx - 1]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov byte [esi], 0
sub esp, 0xc
jmp 0x63585a39
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
jmp 0x63585c17