Function at 0x10001f20
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [edx + edx]
push ebx
mov ebx, eax
sub esp, 0x38
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
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_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100021f1
mov edi, eax
add esi, eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], esi
mov dword [edi], eax
xor eax, eax
mov al, byte [ebx + 4]
mov dword [edi + 4], 0
mov word [ebp - 0x26], ax
mov word [edi + 8], ax
mov eax, dword [ebx + 5]
mov dword [edi + 0xa], eax
mov eax, dword [ebx + 9]
cmp byte [ebx + 0xd], 0xff
mov dword [edi + 0xe], eax
jne 0x10002200
mov ax, word [ebx + 0xe]
mov word [edi + 0x12], 0xffff
mov word [edi + 0x14], ax
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x20], eax
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
lea edx, [edi + 0x16]
lea esi, [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], edx
sub eax, edx
mov ecx, dword [ebp - 0x20]
sar eax, 1
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x10], edx
call ecx
sub esp, 0x18
mov edi, dword [ebp - 0x24]
mov ebx, eax
mov dword [esp], esi
call edi
mov edx, dword [ebp - 0x10]
lea ebx, [edx + ebx*2]
mov ecx, dword [ebp - 0x20]
lea edi, [esi + eax + 1]
mov eax, dword [ebp - 0x1c]
sub eax, ebx
mov dword [esp + 0x10], ebx
sar eax, 1
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
sub esp, 0x18
mov esi, eax
mov eax, dword [ebp - 0x24]
mov dword [esp], edi
call eax
lea edx, [edi + eax + 1]
lea eax, [ebx + esi*2]
mov esi, dword [ebp - 0x2c]
test byte [esi], 0x40
jne 0x10002260
cmp word [ebp - 0x26], 0
jne 0x100020d8
jmp 0x100021e8
mov word [ebx], 0xffff
lea ecx, [ebx + 4]
mov ax, word [esi]
lea edx, [esi + 2]
mov word [ebx + 2], ax
mov bl, byte [edx]
xor eax, eax
mov al, bl
lea esi, [edx + 1]
inc eax
lea edi, [ecx + 2]
and eax, 0xfffffffe
mov dword [ebp - 0x18], esi
mov word [ecx], ax
xor eax, eax
mov al, bl
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
cmp eax, 4
jae 0x100021c8
xor edx, edx
test byte [ebp - 0x10], 2
je 0x100020ae
mov dx, word [esi]
mov word [edi], dx
mov edx, 2
test byte [ebp - 0x10], 1
je 0x100020ba
mov cl, byte [esi + edx]
mov byte [edi + edx], cl
and ebx, 0xff
mov edx, dword [ebp - 0x18]
inc ebx
add edx, eax
and ebx, 0xfffffffe
mov eax, dword [ebp - 0x14]
add eax, ebx
dec word [ebp - 0x26]
je 0x100021e8
add eax, 3
mov cx, word [edx + 8]
and eax, 0xfffffffc
mov edi, dword [edx]
mov esi, dword [edx + 4]
mov ebx, dword [edx + 0xa]
mov dword [eax], ebx
mov dword [eax + 4], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov word [eax + 0x10], cx
cmp byte [edx + 0xe], 0
jns 0x10002170
mov word [eax + 0x12], 0xffff
xor ecx, ecx
mov cl, byte [edx + 0xe]
lea esi, [edx + 0xf]
mov edx, ecx
lea ebx, [eax + 0x16]
mov word [eax + 0x14], dx
cmp byte [esi], 0xff
je 0x10002060
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], ebx
sub eax, ebx
mov dword [esp + 0xc], 0xffffffff
sar eax, 1
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x18
mov edi, eax
mov eax, dword [ebp - 0x24]
mov dword [esp], esi
call eax
lea ecx, [ebx + edi*2]
lea edx, [esi + eax + 1]
jmp 0x10002072
lea edi, [eax + 0x12]
mov eax, dword [ebp - 0x1c]
sub eax, edi
lea ebx, [edx + 0xe]
sar eax, 1
mov dword [esp + 8], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], ebx
call eax
mov edx, dword [ebp - 0x10]
lea esi, [ebx + eax + 1]
lea ebx, [edi + edx*2]
jmp 0x1000211a
test edi, 2
jne 0x100022b8
mov ecx, dword [ebp - 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x1000209b
cmp eax, dword [ebp - 0x1c]
ja 0x100022cf
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x2c]
add ebx, 0xd
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
lea edi, [eax + 0x12]
mov eax, dword [ebp - 0x1c]
sub eax, edi
mov dword [esp + 0x10], edi
sar eax, 1
mov dword [esp + 4], 0
mov dword [esp + 0x14], eax
mov dword [esp], 0
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x20], eax
call eax
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], ebx
mov dword [ebp - 0x24], eax
call eax
mov edx, dword [ebp - 0x10]
lea edx, [edi + edx*2]
lea esi, [ebx + eax + 1]
jmp 0x10001fb6
lea esi, [edx + 2]
mov dx, word [edx]
mov word [eax], dx
lea ebx, [eax + 2]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], ebx
sub eax, ebx
mov dword [esp + 0xc], 0xffffffff
sar eax, 1
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x18
mov edi, eax
mov eax, dword [ebp - 0x24]
mov dword [esp], esi
call eax
lea edx, [esi + eax + 1]
lea eax, [ebx + edi*2]
jmp 0x1000204e
mov si, word [esi]
mov word [edi], si
lea edi, [ecx + 4]
lea ecx, [eax - 2]
lea esi, [edx + 3]
mov dword [ebp - 0x10], ecx
jmp 0x100021d4
mov dword [esp + 8], 0x83
mov dword [esp + 4], str..._wine_9.10_dlls_commdlg.dll16_filedlg.c
mov dword [esp], str.out___end
call dword [sym.imp.ucrtbase.dll__assert]
lea esi, [esi]