Function at 0x62e42b60
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x98
mov edi, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x50], edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x58], esi
mov esi, dword [eax + 0x1c]
mov dword [ebp - 0x4c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x54], edi
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x5c], esi
mov edi, dword [eax + 0x24]
mov esi, dword [eax + 0x20]
test byte [0x62e46018], 8
jne 0x62e42cf8
mov eax, edi
and eax, 0x40080
cmp eax, 0x80
je 0x62e42d81
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x62e42ed0
test edi, 0x40
je 0x62e42bdf
test esi, esi
je 0x62e42ed0
test edi, 0x81
je 0x62e42cc0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
test ebx, ebx
je 0x62e42da0
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x44], edx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x40], edx
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
test esi, esi
je 0x62e42f08
mov edx, dword [esi]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [0x62e460a8]
mov dword [esp + 0xc], sym._CredDialogProc_16
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x64
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
test eax, eax
jle 0x62e42ee8
cmp eax, 2
je 0x62e43020
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x62e42c8a
mov dword [esi], eax
test eax, eax
je 0x62e42ca6
test edi, 0x20000
jne 0x62e42df0
test edi, 2
je 0x62e43080
xor ebx, ebx
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x28
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
call sym._find_existing_credential
test eax, eax
jne 0x62e42ca6
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
test ebx, ebx
jne 0x62e42bfc
jmp 0x62e42da0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0x58]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp - 0x68]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], str.__p___s___p___ld___s___ld___p___ld___p__0x_08lx__n
mov dword [esp + 8], str.CredUIPromptForCredentialsW
mov dword [esp + 4], 0x62e46018
mov dword [esp], 3
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
call sym._wine_dbg_log.constprop.0
mov eax, edi
and eax, 0x40080
cmp eax, 0x80
jne 0x62e42bc4
lea esp, [ebp - 0x10]
mov ebx, 0x3ec
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x28
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
test esi, esi
je 0x62e43060
mov edx, dword [esi]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], 0
jmp 0x62e42c47
mov dword [esp], 0x62e46080
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov esi, dword [0x62e46160]
mov dword [ebp - 0x50], 0
mov eax, dword fs:[0x18]
mov ebx, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [ebp - 0x54], eax
sub esp, 4
cmp esi, 0x62e46160
je 0x62e430a0
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x4c]
jmp 0x62e42e3e
mov esi, dword [esi]
cmp esi, 0x62e46160
je 0x62e42f28
mov eax, dword [esi + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call ebx
sub esp, 8
test eax, eax
jne 0x62e42e30
mov eax, dword [esi + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x10]
sub esp, 0xc
cmp word [eax], 0
je 0x62e42e9d
mov edx, eax
add edx, 2
cmp word [edx], 0
jne 0x62e42e80
cmp eax, edx
je 0x62e42e9d
lea esi, [esi]
mov ecx, eax
inc eax
mov byte [ecx], 0
cmp eax, edx
jne 0x62e42e90
mov eax, dword [esi + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
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_HeapFree]
mov dword [ebp - 0x50], 1
sub esp, 0xc
jmp 0x62e42e30
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 0x28
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
lea esp, [ebp - 0x10]
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x28
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x62e42c44
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x58]
mov ebx, dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x62e430a0
mov edx, dword [ebp - 0x38]
cmp word [edx], 0
je 0x62e43150
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x62e42f50
sub eax, edx
lea edx, [eax + 2]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x4c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x4c]
sub esp, 0xc
mov dword [esi + 0xc], eax
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov edx, dword [ebp - 0x30]
cmp word [edx], 0
je 0x62e43146
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x62e42fb0
sub eax, edx
lea edx, [eax + 2]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x4c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x4c]
sub esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov eax, edi
shr eax, 0x12
and eax, 1
mov dword [esi + 0x14], eax
mov dword [esp], 0x62e46080
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x62e42ca6
mov ebx, 0x4c7
test byte [0x62e46018], 8
je 0x62e42ca8
mov dword [esp + 0xc], str.dialog_cancelled_n
mov dword [esp + 8], str.CredUIPromptForCredentialsW
mov dword [esp + 4], 0x62e46018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x62e42ca8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x62e42c47
mov eax, edi
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
shr eax, 0x12
and eax, 1
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
call sym._save_credentials
mov ebx, eax
jmp 0x62e42ca8
mov dword [esp + 8], 0x18
mov ebx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x4c]
sub esp, 0xc
mov esi, eax
cmp word [edx], 0
mov eax, edx
je 0x62e4315a
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x62e430e0
sub eax, dword [ebp - 0x4c]
lea edx, [eax + 2]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x50]
sub esp, 0xc
mov dword [esi + 8], eax
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov eax, dword [0x62e46164]
mov dword [esi], 0x62e46160
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [0x62e46164], esi
jmp 0x62e42f3c
mov edx, 2
jmp 0x62e42fbe
mov edx, 2
jmp 0x62e42f5e
mov edx, 2
jmp 0x62e430ef