Function at 0x62e43660
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
lea edi, [ebp - 0xe1e]
push ebx
push ecx
sub esp, 0xe68
mov eax, dword [ecx]
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0xe30], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe34], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xe38], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xe2c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xe44], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xe3c], eax
mov eax, dword [ecx + 0x1c]
mov ecx, 0x101
mov dword [ebp - 0xe40], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, 0x280
lea edi, [ebp - 0xa1a]
rep stosd dword es:[edi], eax
xor eax, eax
mov word [edi], ax
test byte [0x62e46018], 1
jne 0x62e43a18
mov eax, dword [ebp - 0xe30]
test eax, eax
je 0x62e43aa0
mov eax, dword [ebp - 0xe2c]
test eax, eax
je 0x62e43830
mov eax, dword [ebp - 0xe2c]
mov dword [esp + 4], str.Basic
mov edi, dword [sym.imp.ucrtbase.dll__wcsicmp]
mov dword [esp], eax
call edi
test eax, eax
jne 0x62e437f8
mov edx, dword [ebp - 0xe40]
mov eax, edx
and eax, 1
cmp eax, 1
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 0x40082
mov eax, ebx
or eax, 0x40
and edx, 2
cmove ebx, eax
test esi, esi
je 0x62e43b90
mov eax, dword [esi]
test eax, eax
je 0x62e43767
mov edx, dword [esi + 4]
lea ecx, [edx - 1]
cmp ecx, 0x200
jbe 0x62e43b30
mov eax, dword [esi + 0x10]
test eax, eax
je 0x62e43780
mov esi, dword [esi + 0x14]
lea edx, [esi - 1]
cmp edx, 0x4ff
jbe 0x62e43b68
mov eax, dword [ebp - 0xe3c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 0x501
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xa1a]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xe1e]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe38]
mov dword [esp + 0x14], 0x202
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe30]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe34]
mov dword [esp], eax
call sym.credui.dll_CredUIPromptForCredentialsW
sub esp, 0x28
mov ebx, eax
test eax, eax
je 0x62e43858
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x20
mov eax, dword [ebp - 0xe2c]
mov dword [esp + 4], str.NTLM
mov dword [esp], eax
call edi
test eax, eax
je 0x62e43723
mov eax, dword [ebp - 0xe2c]
mov dword [esp + 4], str.Negotiate
mov dword [esp], eax
call edi
test eax, eax
je 0x62e43723
nop
test byte [0x62e46018], 1
jne 0x62e43c00
lea esp, [ebp - 0x10]
mov ebx, 0x554
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x20
lea eax, [ebp - 0xe1e]
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcschr]
mov esi, eax
test eax, eax
je 0x62e43ab8
lea eax, [eax + 2]
cmp word [esi + 2], 0
mov dword [ebp - 0xe34], eax
je 0x62e43c94
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x62e43890
sub eax, dword [ebp - 0xe34]
mov edx, eax
add eax, 2
sar edx, 1
mov dword [ebp - 0xe30], eax
mov dword [ebp - 0xe40], edx
mov eax, dword [ebp - 0xe2c]
mov dword [esp + 4], str.NTLM
mov dword [esp], eax
call edi
test eax, eax
jne 0x62e43c40
lea edx, [ebp - 0xe1e]
mov eax, esi
sub eax, edx
mov edx, eax
add eax, 2
mov dword [ebp - 0xe2c], eax
sar edx, 1
lea eax, [ebp - 0xe1e]
mov dword [ebp - 0xe38], edx
mov dword [ebp - 0xe48], eax
xor edx, edx
mov eax, dword [ebp - 0xe30]
mov word [esi], dx
mov esi, dword [ebp - 0xe2c]
lea eax, [eax + esi + 0x1c]
cmp word [ebp - 0xa1a], 0
je 0x62e43c80
lea edi, [ebp - 0xa1a]
nop
add edi, 2
cmp word [edi], 0
jne 0x62e43920
lea esi, [ebp - 0xa1a]
sub edi, esi
lea esi, [edi + 2]
sar edi, 1
mov dword [ebp - 0xe3c], edi
add eax, esi
mov dword [esp + 4], 0
mov dword [esp + 8], eax
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 edi, eax
test eax, eax
je 0x62e43ccb
lea ecx, [eax + 0x1c]
mov edx, dword [ebp - 0xe34]
mov eax, dword [ebp - 0xe30]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [ebp - 0xe34], ecx
call sym._memcpy
mov ecx, dword [ebp - 0xe34]
mov edx, dword [ebp - 0xe40]
mov eax, dword [ebp - 0xe38]
mov dword [edi], ecx
add ecx, dword [ebp - 0xe30]
mov dword [edi + 4], edx
test eax, eax
jne 0x62e43bc0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea eax, [ebp - 0xa1a]
mov dword [esp + 8], esi
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0xe2c], ecx
call sym._memcpy
mov eax, dword [ebp - 0xe3c]
mov ecx, dword [ebp - 0xe2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0xe44]
mov dword [edi + 0x10], ecx
mov dword [eax], edi
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x20
mov eax, dword [ebp - 0xe2c]
call sym._wine_dbgstr_wn.constprop.0
mov ebx, eax
mov eax, dword [ebp - 0xe30]
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0xe40]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0xe3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0xe44]
mov dword [esp + 0xc], str.__s___p___lu___s___p___p___p___lx__stub_n
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0xe38]
mov dword [esp + 8], str.SspiPromptForCredentialsW
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0xe34]
mov dword [esp + 4], 0x62e46018
mov dword [esp + 0x14], edx
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0xe30]
test eax, eax
jne 0x62e436f4
lea esp, [ebp - 0x10]
mov ebx, 0x57
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x20
cmp word [ebp - 0xe1e], 0
lea eax, [ebp - 0xe1e]
je 0x62e43cad
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x62e43ad0
lea esi, [ebp - 0xe1e]
sub eax, esi
mov esi, eax
sar esi, 1
mov dword [ebp - 0xe40], esi
lea esi, [eax + 2]
add eax, 0x20
mov dword [ebp - 0xe30], esi
mov dword [ebp - 0xe48], 0
lea esi, [ebp - 0xe1e]
mov dword [ebp - 0xe38], 0
mov dword [ebp - 0xe2c], 2
mov dword [ebp - 0xe34], esi
jmp 0x62e4390b
lea ecx, [edx + edx]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe1e]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [ebp - 0xe40], edx
call sym._memcpy
mov edx, dword [ebp - 0xe40]
xor eax, eax
mov word [ebp + edx*2 - 0xe1e], ax
jmp 0x62e43767
mov dword [esp + 4], eax
lea edx, [esi + esi]
lea eax, [ebp - 0xa1a]
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memcpy
xor ecx, ecx
mov word [ebp + esi*2 - 0xa1a], cx
jmp 0x62e43780
lea eax, [ebp - 0xa1a]
mov dword [esp + 4], 0x501
mov ecx, 0x202
lea edx, [ebp - 0xe1e]
mov dword [esp], eax
mov eax, dword [ebp - 0xe30]
call sym._find_existing_credential
jmp 0x62e43780
mov edx, dword [ebp - 0xe48]
mov eax, dword [ebp - 0xe2c]
mov dword [esp], ecx
mov dword [ebp - 0xe30], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym._memcpy
mov ecx, dword [ebp - 0xe30]
mov edx, dword [ebp - 0xe38]
mov dword [edi + 8], ecx
add ecx, dword [ebp - 0xe2c]
mov dword [edi + 0xc], edx
jmp 0x62e439c5
mov eax, dword [ebp - 0xe2c]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.package__s_not_supported_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.SspiPromptForCredentialsW
mov dword [esp + 4], 0x62e46018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x62e4383d
mov eax, dword [ebp - 0xe2c]
mov dword [esp + 4], str.Negotiate
mov dword [esp], eax
call edi
test eax, eax
je 0x62e438cd
mov dword [ebp - 0xe38], 0
mov dword [ebp - 0xe2c], 2
mov dword [ebp - 0xe48], 0
jmp 0x62e438f6
mov dword [ebp - 0xe3c], 0
mov esi, 2
jmp 0x62e4393c
mov dword [ebp - 0xe40], 0
mov dword [ebp - 0xe30], 2
jmp 0x62e438b2
mov dword [ebp - 0xe40], 0
mov eax, 0x20
mov dword [ebp - 0xe30], 2
jmp 0x62e43af7
mov ebx, 0xe
jmp 0x62e437e5