Function at 0x690698d0
Capabilities:
Get process heap flags
Resolve function by parsing pe exports

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, 0x78
mov eax, dword [ecx]
test byte [0x6907a118], 8
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x3c], eax
jne 0x69069cc8
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x40]
sub eax, 3
cmp eax, 2
ja case.0x690699f9.0
test esi, esi
je case.0x690699f9.0
mov eax, dword [ebp - 0x3c]
test eax, eax
je case.0x690699f9.0
mov dword [esp], esi
mov ecx, 8
mov ebx, dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov dword [esp + 4], ecx
call ebx
mov dword [ebp - 0x50], eax
sub esp, 8
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp], esi
call ebx
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2ss xmm0, dword [ebp - 0x50]
pxor xmm3, xmm3
cvtsi2ss xmm1, eax
sub esp, 8
mov dword [esp], esi
mov eax, 0xa
mov dword [esp + 4], eax
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x69084f40]
cvtsd2ss xmm3, xmm0
movss dword [ebp - 0x54], xmm3
call ebx
mov dword [ebp - 0x50], eax
sub esp, 8
mov eax, 6
mov dword [esp + 4], eax
mov dword [esp], esi
call ebx
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2ss xmm0, dword [ebp - 0x50]
pxor xmm4, xmm4
mov edx, dword [ebp - 0x4c]
cvtsi2ss xmm1, eax
sub esp, 8
mov eax, dword [ebp - 0x44]
divss xmm0, xmm1
test eax, eax
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x69084f40]
cvtsd2ss xmm4, xmm0
movss dword [ebp - 0x50], xmm4
je 0x69069d90
cmp edi, 7
ja case.0x690699f9.0
jmp dword [edi*4 + 0x690847fc]
movss xmm0, dword [0x69084f78]
movups xmm1, xmm0
mov edi, dword [ebp - 0x44]
movss xmm2, dword [edi]
mulss xmm2, xmm1
mulss xmm1, dword [edi + 8]
cvttss2si eax, xmm2
movss xmm2, dword [edi + 4]
mov dword [ebp - 0x28], eax
mulss xmm2, xmm0
mulss xmm0, dword [edi + 0xc]
cvttss2si ecx, xmm2
pxor xmm2, xmm2
cvtsi2ss xmm2, eax
mov dword [ebp - 0x24], ecx
addss xmm1, xmm2
cvttss2si eax, xmm1
pxor xmm1, xmm1
cvtsi2ss xmm1, ecx
mov dword [ebp - 0x20], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0xc], edx
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.gdi32.dll_CreateEnhMetaFileW]
mov dword [ebp - 0x48], eax
sub esp, 0x10
test eax, eax
je 0x69069da0
mov edx, 8
mov edi, 0x2ec
mov dword [esp + 4], edx
mov dword [esp + 8], edi
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]
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
sub esp, 0xc
test eax, eax
je 0x69069e62
mov edx, dword [ebp - 0x40]
mov ecx, 2
mov edi, dword [ebp - 0x48]
movss xmm0, dword [0x69084f34]
movss xmm5, dword [ebp - 0x54]
movss xmm6, dword [ebp - 0x50]
movss dword [eax + 0x44], xmm0
movss dword [eax + 0x2c], xmm5
movss dword [eax + 0x30], xmm6
movss dword [eax + 0x40], xmm0
mov dword [eax + 0x4c], edx
mov edx, 0x60
mov dword [eax + 0x58], edi
mov dword [eax + 0x88], edx
mov dword [eax + 8], 2
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x48], 2
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x50], 0
mov dword [esp + 4], ecx
mov dword [esp], edi
call ebx
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
sub esp, 8
cmp eax, 2
sete al
movzx eax, al
mov dword [edx + 0x8c], eax
mov eax, 0x58
mov dword [esp], edi
mov dword [esp + 4], eax
call ebx
mov edx, dword [ebp - 0x3c]
pxor xmm0, xmm0
mov edx, dword [edx]
cvtsi2ss xmm0, eax
sub esp, 8
mov eax, 0x5a
movss dword [edx + 0x90], xmm0
mov dword [esp], edi
mov dword [esp + 4], eax
call ebx
mov edx, dword [ebp - 0x3c]
pxor xmm0, xmm0
mov edi, dword [edx]
cvtsi2ss xmm0, eax
sub esp, 8
lea eax, [edi + 0xe4]
mov dword [edi + 0xe8], eax
mov dword [edi + 0xe4], eax
mov eax, dword [ebp - 0x44]
movss dword [edi + 0x94], xmm0
test eax, eax
je 0x69069db8
mov eax, dword [edi + 0x4c]
xor edx, edx
sub eax, 4
cmp eax, 1
ja 0x69069cb3
lea eax, [ebp - 0x2c]
mov edx, 0x4001
mov dword [esp], eax
mov ecx, 0x1c
mov eax, edi
call sym._METAFILE_AllocateRecord
test eax, eax
mov edx, eax
jne 0x69069e10
cmp dword [edi + 0x4c], 5
mov eax, dword [ebp - 0x2c]
je 0x69069e00
mov dword [eax + 0xc], 0xdbc01002
mov ecx, 2
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [ebp - 0x3c], edx
call ebx
mov edx, dword [ebp - 0x3c]
sub esp, 8
dec eax
mov eax, dword [ebp - 0x2c]
je 0x69069df0
mov dword [eax + 0x10], 0
mov dword [esp], esi
mov eax, 0x58
mov dword [esp + 4], eax
mov dword [ebp - 0x3c], edx
call ebx
mov ecx, dword [ebp - 0x2c]
mov edx, 0x5a
mov dword [ecx + 0x14], eax
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], esi
call ebx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x68]
sub esp, 8
cmp eax, 4
jbe 0x69069cb3
mov ecx, dword [edi + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [edi + 0x58]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GdiComment]
mov edx, dword [ebp - 0x3c]
mov dword [edi + 0x68], 4
sub esp, 0xc
jmp 0x69069cb3
movss xmm0, dword [0x69084f7c]
movups xmm1, xmm0
jmp 0x69069a0b
mov edx, 2
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x1c
mov dword [ebp - 0x50], edx
mov eax, edx
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._debugstr_rectf
mov ebx, eax
mov eax, dword [ebp - 0x48]
call sym._wine_dbgstr_wn.constprop.0_3
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 0x20], edi
mov ebx, dword [ebp - 0x40]
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edx
mov edx, str._s__p__d__s__d__s__p_n
mov dword [esp + 0x24], ecx
mov ecx, str.GdipRecordMetafileFileName
mov dword [esp + 0x18], ebx
mov ebx, 0x6907a118
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_9
mov edx, dword [ebp - 0x50]
jmp 0x69069911
movss xmm0, dword [0x69084f34]
movups xmm1, xmm0
jmp 0x69069a0b
movss xmm0, dword [0x69084f78]
movups xmm1, xmm0
divss xmm0, dword [ebp - 0x50]
divss xmm1, dword [ebp - 0x54]
jmp 0x69069a0b
movss xmm0, dword [0x69084f80]
movups xmm1, xmm0
jmp 0x69069a0b
movss xmm0, dword [0x69084f84]
movups xmm1, xmm0
jmp 0x69069a0b
xor eax, eax
jmp 0x69069a60
lea esp, [ebp - 0x10]
mov edx, 1
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x1c
movss xmm0, dword [0x69084f88]
mov dword [edi + 0x70], 1
mov dword [edi + 0x74], 0
movss dword [edi + 0x7c], xmm0
movss dword [edi + 0x80], xmm0
mov dword [edi + 0x78], 0
jmp 0x69069bce
mov dword [eax + 0x10], 1
jmp 0x69069c3c
mov word [eax + 2], 1
jmp 0x69069c0d
mov eax, dword [ebp - 0x48]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CloseEnhMetaFile]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
mov esi, dword [ebp - 0x3c]
mov eax, dword fs:[0x18]
mov edx, dword [esi]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, 3
mov dword [esi], 0
sub esp, 0xc
jmp 0x69069cb3
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CloseEnhMetaFile]
push edx
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
mov edx, 3
push ecx
jmp 0x69069cb3