joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64a45ed0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 0xc]
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov ecx, dword fs:[0x18]
mov dword [esp + 8], 0x54
mov dword [esp + 4], 8
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64a46090
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [eax], 4
mov eax, dword [ebx]
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx]
mov dword [eax + 0x20], 0
mov edx, dword [esi]
mov eax, dword [ebx]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 4]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 8]
mov dword [eax + 0x14], edx
mov esi, dword [esi + 0xc]
mov dword [eax + 0x18], esi
mov eax, dword [ebx]
mov dword [eax + 0x2c], 1
mov esi, dword [ebx]
mov dword [esp + 8], 4
mov dword [esp + 4], 8
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esi + 0x24], eax
mov esi, dword [ebx]
mov dword [esp + 8], 4
mov dword [esp + 4], 8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [esi + 0x28], eax
mov edx, dword [ebx]
sub esp, 0xc
mov eax, dword [edx + 0x24]
test eax, eax
je 0x64a46028
mov edx, dword [edx + 0x28]
test edx, edx
je 0x64a46028
fld1
fst dword [eax]
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
fst dword [eax]
mov eax, dword [ebx]
fldz
mov dword [eax + 0x30], 0
mov eax, dword [ebx]
mov dword [eax + 0x34], 0
mov eax, dword [ebx]
mov dword [eax + 0x38], 0
fst dword [esp + 0x18]
fst dword [esp + 0x14]
fxch st(1)
fst dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
mov eax, dword [ebx]
add eax, 0x3c
mov dword [esp], eax
call sym.gdiplus.dll_GdipSetMatrixElements
xor eax, eax
sub esp, 0x1c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], eax
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx]
sub esp, 0xc
mov eax, dword [eax + 0x28]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov dword [ebx], 0
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, 3
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x64a46630
Capabilities:
Get process heap flags
Get process heap force 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, 0x38
mov esi, dword [ecx]
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
test byte [0x64ab5018], 8
jne 0x64a466e8
mov dword [ebp - 0x1c], edx
cmp esi, 0x34
ja 0x64a466d0
test ebx, ebx
je 0x64a466d0
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
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 dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64a46760
mov dword [eax], 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [eax + 8], edx
mov eax, dword [ebx]
mov dword [eax + 0xc], edi
mov eax, dword [ebx]
mov dword [eax + 4], esi
test byte [0x64ab5018], 8
jne 0x64a46730
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__d___ld___ld___p__n
mov dword [esp + 8], str.GdipCreateHatchBrush
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x1c]
jmp 0x64a4665c
mov eax, dword [ebx]
mov dword [esp + 0xc], 0x64ab7000
mov dword [esp + 8], str.GdipCreateHatchBrush
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x64a466bb
mov eax, 3
jmp 0x64a466bd

Function at 0x64a47910
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x64ab5018], 8
jne 0x64a479c8
test esi, esi
je 0x64a479fc
mov dword [esp + 8], 8
mov dword [esp + 4], 8
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 dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x64a47a10
mov dword [eax], 0
mov eax, dword [esi]
mov dword [eax + 4], ebx
test byte [0x64ab5018], 8
jne 0x64a47998
xor eax, eax
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, dword [esi]
mov dword [esp + 0xc], 0x64ab7000
mov dword [esp + 8], str.GdipCreateSolidFill
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x64a47983
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__lx___p__n
mov dword [esp + 8], str.GdipCreateSolidFill
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test esi, esi
jne 0x64a4793d
lea esp, [ebp - 0xc]
mov eax, 2
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, 3
jmp 0x64a47985
Function at 0x64a49050
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, 0x28
mov ebx, dword [ecx]
test byte [0x64ab5018], 8
jne 0x64a491a0
test ebx, ebx
je 0x64a491d0
mov eax, dword [ebx]
cmp eax, 3
je 0x64a491e8
cmp eax, 4
je 0x64a49110
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
cmp eax, 2
jne 0x64a490df
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDisposeImage
mov eax, dword [ebx + 0x20]
sub esp, 4
mov dword [esp], eax
call sym.gdiplus.dll_GdipDisposeImageAttributes
mov edx, dword [ebx + 0x24]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 4
mov dword [esp + 8], edx
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 esi
sub esp, 0xc
mov dword [esp + 8], ebx
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 esi
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, dword [ebx + 0x24]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x28]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x30]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x34]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x64a490df
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64ab71e5
mov dword [esp + 8], str.GdipDeleteBrush
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test ebx, ebx
jne 0x64a4907b
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, dword [ebx + 4]
mov edi, dword fs:[0x18]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeletePath
mov eax, dword [ebx + 0x24]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x28]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x30]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x38]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x3c]
sub esp, 0xc
jmp 0x64a49177
Function at 0x64a4be60
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, 0x38
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
test byte [0x64ab5018], 8
jne 0x64a4bfa8
test ebx, ebx
sete al
test esi, esi
sete dl
or al, dl
jne 0x64a4bf90
test edi, edi
je 0x64a4bf90
mov esi, dword [esi]
test esi, esi
jle 0x64a4bf90
mov ecx, dword [edi]
cmp ecx, 3
jne 0x64a4bf90
mov eax, dword [edi + 4]
cmp esi, dword [eax + 4]
jg 0x64a4bf90
mov dword [ebp - 0x1c], 4
cmp esi, 1
je 0x64a4bf05
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebx]
mov eax, 1
jmp 0x64a4bee7
add eax, 1
cmp esi, eax
jle 0x64a4bef0
mov ecx, edx
mov edx, dword [ebx + eax*4]
cmp edx, ecx
je 0x64a4bee0
mov ecx, dword [ebp - 0x1c]
cmp esi, eax
je 0x64a4bfe0
lea eax, [esi*4]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], 8
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
test eax, eax
je 0x64a4bf95
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [ebp - 0x1c], eax
call sym._memcpy
mov eax, dword [edi + 0x30]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x34], esi
xor ecx, ecx
sub esp, 0xc
mov eax, ecx
mov dword [edi + 0x30], edx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov ecx, 2
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x64ab7225
mov dword [esp + 8], str.GdipSetPathGradientSurroundColorsWithCount
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x64a4be89
mov dword [ebp - 0x1c], 4
mov esi, 1
jmp 0x64a4bf05
Function at 0x64a4dd20
Capabilities:
Access peb ldr_data
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, 0x28
mov ebx, dword [ecx]
test byte [0x64ab5028], 8
jne 0x64a4ddc0
test ebx, ebx
je 0x64a4ddf0
mov eax, dword [ebx + 8]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0xc]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64ab81a2
mov dword [esp + 8], str.GdipDeleteCustomLineCap
mov dword [esp + 4], 0x64ab5028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test ebx, ebx
jne 0x64a4dd4b
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x64a4fb40
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
test byte [0x64ab5078], 8
jne 0x64a4fbe0
test ebx, ebx
je 0x64a4fc10
mov eax, dword [ebx]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
je 0x64a4fb7d
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x64a4fbb0
mov dword [esp + 8], ebx
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 esi
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
lock sub dword [eax + 0x50], 1
jne 0x64a4fb7d
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 esi
sub esp, 0xc
jmp 0x64a4fb7d
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64ab865c
mov dword [esp + 8], str.GdipDeleteFont
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test ebx, ebx
jne 0x64a4fb6a
lea esp, [ebp - 0xc]
mov eax, 2
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4

Function at 0x64a50670
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, 0x28
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x64ab5078], 8
jne 0x64a50700
test esi, esi
je 0x64a506e8
test ebx, ebx
je 0x64a506e8
mov dword [esp + 8], 0xe4
mov dword [esp + 4], 8
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 dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64a50738
mov edi, eax
mov ecx, 0x39
xor eax, eax
rep movsd dword es:[edi], dword [esi]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64ab8676
mov dword [esp + 8], str.GdipCloneFont
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x64a50692
mov eax, 3
jmp 0x64a506d3
Function at 0x64a51110
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x14
mov eax, dword [ecx]
test eax, eax
je 0x64a51170
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x64a51140
mov ecx, dword [ebp - 4]
xor eax, eax
leave
lea esp, [ecx - 4]
ret 4
lock sub dword [eax + 0x50], 1
jne 0x64a5112e
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]
sub esp, 0xc
jmp 0x64a5112e
mov ecx, dword [ebp - 4]
mov eax, 2
leave
lea esp, [ecx - 4]
ret 4

Function at 0x64a51aa0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x64ab5078], 8
jne 0x64a51b60
test ebx, ebx
je 0x64a51b90
mov dword [esp + 8], 0xc
mov dword [esp + 4], 8
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 dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64a51ba8
mov dword [eax], 0
mov eax, dword [ebx]
mov dword [eax + 4], 0
mov eax, dword [ebx]
mov dword [eax + 8], 0
test byte [0x64ab5078], 8
jne 0x64a51b30
xor eax, eax
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, dword [ebx]
mov dword [esp + 0xc], 0x64ab870d
mov dword [esp + 8], str.GdipNewPrivateFontCollection
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x64a51b1c
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64ab8796
mov dword [esp + 8], str.GdipNewPrivateFontCollection
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test ebx, ebx
jne 0x64a51ac9
lea esp, [ebp - 8]
mov eax, 2
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, 3
jmp 0x64a51b1e
Function at 0x64a51bc0
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, 0x28
mov esi, dword [ecx]
test byte [0x64ab5078], 8
jne 0x64a51cb0
test esi, esi
je 0x64a51ce0
mov edx, dword [esi]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [edx + 4]
test ecx, ecx
jle 0x64a51c31
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
xor ebx, ebx
jmp 0x64a51c0f
add ebx, 1
cmp ebx, ecx
jge 0x64a51c31
mov eax, dword [edx]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x64a51c08
cmp dword [eax + 0x4c], 0
jne 0x64a51c08
lock sub dword [eax + 0x50], 1
je 0x64a51c80
mov edx, dword [esi]
add ebx, 1
mov ecx, dword [edx + 4]
cmp ebx, ecx
jl 0x64a51c0f
mov eax, dword [edx]
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [esi]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
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 edi
sub esp, 0xc
jmp 0x64a51c25
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64ab8796
mov dword [esp + 8], str.GdipDeletePrivateFontCollection
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test esi, esi
jne 0x64a51beb
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x64a52920
Capabilities:
Get file size
Read file via mapping

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, 0x48
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x64ab5078], 8
jne 0x64a52ab0
test esi, esi
je 0x64a52a94
test ebx, ebx
je 0x64a52a94
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x64a52a94
lea eax, [ebp - 0x20]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
sub esp, 8
test eax, eax
je 0x64a52a88
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x64a52a88
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
sub esp, 0x18
mov edi, eax
mov dword [esp], ebx
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
call ebx
sub esp, 4
test edi, edi
je 0x64a52a94
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_MapViewOfFile]
sub esp, 0x14
mov dword [ebp - 0x2c], eax
mov dword [esp], edi
call ebx
mov edx, dword [ebp - 0x2c]
sub esp, 4
test edx, edx
je 0x64a52a94
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 8], eax
call sym.gdiplus.dll_GdipPrivateAddMemoryFont
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov ebx, eax
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0x10]
mov ebx, 2
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str._p___s_n
mov dword [esp + 8], str.GdipPrivateAddFontFile
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x64a52946
Function at 0x64a52c50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x64ac2020]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
jle 0x64a52cad
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
xor ebx, ebx
mov edi, dword fs:[0x18]
lea esi, [esi]
nop
mov eax, dword [0x64ac201c]
mov eax, dword [eax + ebx*4]
mov dword [esp + 4], 0
add ebx, 1
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
cmp dword [0x64ac2020], ebx
jg 0x64a52c80
mov edx, dword [0x64ac201c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov dword [0x64ac201c], 0
mov dword [0x64ac2024], 0
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret