Function at 0x615419c0
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 eax, dword [ecx + 8]
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
test byte [0x61544018], 1
jne 0x61541bc0
mov eax, edi
or eax, esi
jne 0x61541b38
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x61541d38
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
cmp word [eax], 0
je 0x61541cf7
mov eax, dword [ebp - 0x1c]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x61541a28
mov ebx, dword [ebp - 0x1c]
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x61541c70
mov eax, dword [ebp - 0x24]
lea eax, [eax + eax + 0x1e]
test esi, esi
je 0x61541a5c
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ebx*2 + 2]
test ecx, ecx
je 0x61541a63
mov ebx, dword [ebp - 0x2c]
lea eax, [eax + ebx*2 + 2]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x61541cbf
lea edx, [eax + 0x1c]
test edi, edi
je 0x61541ac6
mov eax, dword [ebp - 0x24]
lea ecx, [eax + eax + 2]
mov dword [esp + 8], ecx
mov dword [ebp - 0x34], ecx
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [ebp - 0x30], edx
call sym._memcpy
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 4], eax
mov dword [ebx], edx
add edx, ecx
test esi, esi
je 0x61541af2
mov eax, dword [ebp - 0x20]
mov dword [esp], edx
mov dword [esp + 4], esi
lea edi, [eax + eax + 2]
mov dword [esp + 8], edi
mov dword [ebp - 0x24], edx
call sym._memcpy
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], edx
add edx, edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x61541b1c
mov esi, dword [ebp - 0x2c]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [esi + esi + 2]
mov dword [esp + 8], eax
mov dword [ebp - 0x1c], edx
call sym._memcpy
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], edx
mov eax, dword [ebp - 0x28]
mov dword [eax], ebx
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test edi, edi
je 0x61541d08
cmp word [edi], 0
mov eax, edi
je 0x61541d48
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x61541b50
sub eax, edi
sar eax, 1
mov dword [ebp - 0x24], eax
test esi, esi
je 0x61541cd2
cmp word [esi], 0
je 0x61541c20
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x61541b78
sub eax, esi
sar eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x61541c58
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0
jne 0x61541a22
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
test edi, edi
jne 0x61541a43
jmp 0x61541a4e
mov eax, dword [ebp - 0x1c]
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x20], eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov ebx, eax
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s__s__s__p_n
mov dword [esp + 8], str.SspiEncodeStringsAsAuthIdentity
mov dword [esp + 4], 0x61544018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x615419f2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
test eax, eax
jne 0x61541b93
lea esi, [esi]
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0
lea eax, [eax + eax + 2]
lea eax, [eax + ebx*2 + 0x1e]
jmp 0x61541a63
test edi, edi
jne 0x61541c38
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
lea eax, [eax + eax + 0x1e]
jmp 0x61541a63
mov eax, 0x1c
test esi, esi
jne 0x61541a4e
jmp 0x61541a5c
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x61541a07
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x61541b1c
lea esp, [ebp - 0x10]
mov eax, 0xe
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
jne 0x61541d6a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
lea eax, [eax + eax + 0x1e]
jmp 0x61541a63
mov dword [ebp - 0x2c], 0
mov eax, 0x1c
jmp 0x61541a5c
test esi, esi
je 0x61541c82
cmp word [esi], 0
mov dword [ebp - 0x24], 0
jne 0x61541b72
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
test eax, eax
jne 0x61541b93
jmp 0x61541c5c
mov eax, 0x80090308
jmp 0x61541b23
test esi, esi
je 0x61541d58
mov dword [ebp - 0x24], 0
jmp 0x61541b68
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
test eax, eax
je 0x61541cdd
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x20], edx
cmp word [eax], 0
jne 0x61541a22
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x61541a43