Function at 0x4026e0
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, 0x168
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x14c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x150], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x154], eax
mov eax, 0xfde9
call sym._strdupAtoW
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x40285d
mov ebx, eax
lea eax, [ebp - 0x144]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetFileInformationByHandle]
sub esp, 8
test eax, eax
je 0x40281a
mov eax, dword [ebp - 0x150]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FileTimeToDosDateTime]
movzx ecx, word [ebp - 0x144]
sub esp, 0xc
and ecx, 0x27
mov word [esi], cx
movzx eax, word [edi]
test ax, ax
je 0x4027e8
mov edx, edi
jmp 0x4027dc
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
je 0x4027e8
cmp ax, 0x7f
jbe 0x4027d0
or cl, 0x80
mov word [esi], cx
mov dword [esp + 8], edi
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ecx, dword [ebp - 0x154]
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x34]
mov dword [ecx], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 0xffffffff
sub esp, 0xc
jmp 0x40280e
mov esi, dword [ebp - 0x154]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x150], eax
mov dword [esi], eax
test byte [section..data], 2
jne 0x402894
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
jmp 0x402847
test edi, edi
je 0x402a74
mov eax, edi
shr eax, 0x10
je 0x402a5c
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x402990
cmp word [edi], 0
je 0x402a7e
mov ecx, edx
lea edx, [edx + 1]
cmp word [edi + ecx*2 + 2], 0
jne 0x4028d4
mov word [ebp - 0x144], 0x224c
lea eax, [ebp - 0x142]
mov dword [ebp - 0x14c], edi
jmp 0x402928
cmp dx, 9
je 0x4029d8
cmp dx, 0xa
jne 0x4029f2
mov ebx, 0x6e5c
add eax, 2
mov word [eax - 2], bx
lea esi, [ebp - 0x22]
lea edx, [ecx - 1]
cmp eax, esi
ja 0x402967
test ecx, ecx
jle 0x402967
mov ecx, edx
add dword [ebp - 0x14c], 2
mov esi, dword [ebp - 0x14c]
movzx edx, word [esi - 2]
cmp dx, 0xd
je 0x4029c7
jbe 0x4028f8
cmp dx, 0x22
je 0x402a43
cmp dx, 0x5c
jne 0x4029e9
mov edx, 0x5c5c
add eax, 2
mov word [eax - 2], dx
jmp 0x402918
mov byte [eax], 0x22
test edx, edx
jle 0x402a94
mov word [eax + 1], 0x2e2e
lea edx, [eax + 4]
mov byte [eax + 3], 0x2e
lea eax, [ebp - 0x144]
mov byte [edx], 0
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov esi, dword [ebp - 0x150]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_open__s:_error__u_n
mov dword [esp + 0x14], esi
mov dword [esp + 8], str.fci_get_open_info
mov dword [esp + 4], 0x405000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40287d
mov edx, 0x725c
add eax, 2
mov word [eax - 2], dx
jmp 0x402918
mov esi, 0x745c
add eax, 2
mov word [eax - 2], si
jmp 0x402918
lea esi, [edx - 0x20]
cmp si, 0x5e
jbe 0x402a54
mov esi, edx
mov byte [eax], 0x5c
add eax, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov esi, edx
shr si, 8
and esi, 0xf
mov byte [eax - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov esi, edx
and edx, 0xf
shr si, 4
movzx edx, byte [edx + str.0123456789abcdefGCC:__GNU__10.3.0]
and esi, 0xf
mov byte [eax - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov byte [eax - 1], dl
mov byte [eax - 2], bl
jmp 0x402918
mov ebx, 0x225c
add eax, 2
mov word [eax - 2], bx
jmp 0x402918
mov byte [eax], dl
inc eax
jmp 0x402918
movzx eax, di
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402990
mov eax, str._null_
jmp 0x402990
mov word [ebp - 0x144], 0x224c
lea eax, [ebp - 0x142]
mov byte [ebp - 0x142], 0x22
lea edx, [eax + 1]
jmp 0x40297f