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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
sub eax, 4
cmp eax, 1
jbe 0x64a9ae98
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x64a9aef8
mov eax, dword [ebx + 0x68]
lea edx, [eax + 0xc]
cmp ecx, edx
jb 0x64a9af50
mov esi, dword [ebx + 0x60]
add eax, esi
mov dword [ebx + 0x68], edx
mov dword [eax], 0x402b
mov dword [eax + 4], 0xc
mov dword [eax + 8], 0
mov eax, dword [ebx + 0x68]
cmp eax, 4
jbe 0x64a9ae87
mov edx, dword [ebx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x58]
mov dword [esp], eax
call sym._GdiComment_12
mov dword [ebx + 0x68], 4
sub esp, 0xc
jmp 0x64a9ae87
mov dword [esp + 8], 0x100
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 + 0x60], eax
sub esp, 0xc
test eax, eax
je 0x64a9afd0
mov dword [eax], 0x2b464d45
mov edx, 0x10
mov esi, dword [ebx + 0x60]
mov eax, 4
mov dword [ebx + 0x64], 0x100
jmp 0x64a9aeb0
lea eax, [edx + edx]
mov dword [ebp - 0x1c], eax
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64a9afd0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
mov dword [esp], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x60], esi
sub esp, 0xc
lea edx, [eax + 0xc]
jmp 0x64a9aeb0
mov eax, 3
jmp 0x64a9ae89
Function at 0x64a9afe0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebx + 0x4c]
sub eax, 4
cmp eax, 1
jbe 0x64a9b010
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x64a9b0b8
mov eax, dword [ebx + 0x68]
lea ecx, [eax + 0x30]
cmp edx, ecx
jb 0x64a9b110
mov edx, dword [ebx + 0x60]
add eax, edx
mov edx, 0x4027
mov dword [ebx + 0x68], ecx
mov word [eax], dx
movzx edx, byte [ebp + 0x14]
mov dword [eax + 4], 0x30
mov dword [eax + 8], 0x24
mov word [eax + 2], dx
mov edx, dword [edi]
mov dword [eax + 0xc], edx
mov edx, dword [edi + 4]
mov dword [eax + 0x10], edx
mov edx, dword [edi + 8]
mov dword [eax + 0x14], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 0x18], edx
mov edx, dword [esi]
mov dword [eax + 0x1c], edx
mov edx, dword [esi + 4]
mov dword [eax + 0x20], edx
mov edx, dword [esi + 8]
mov dword [eax + 0x24], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0x28], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x2c], edx
mov eax, dword [ebx + 0x68]
cmp eax, 4
jbe 0x64a9affd
mov edx, dword [ebx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x58]
mov dword [esp], eax
call sym._GdiComment_12
mov dword [ebx + 0x68], 4
sub esp, 0xc
jmp 0x64a9affd
mov dword [esp + 8], 0x100
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 + 0x60], eax
sub esp, 0xc
test eax, eax
je 0x64a9b1a0
mov dword [eax], 0x2b464d45
mov ecx, 0x34
mov edx, dword [ebx + 0x60]
mov eax, 4
mov dword [ebx + 0x64], 0x100
jmp 0x64a9b02c
lea eax, [ecx + ecx]
mov dword [ebp - 0x1c], eax
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x64a9b1a0
mov eax, dword [ebx + 0x68]
mov dword [esp + 8], eax
mov ecx, dword [ebx + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [ebp - 0x24], edx
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x68]
sub esp, 0xc
mov dword [ebx + 0x60], edx
lea ecx, [eax + 0x30]
jmp 0x64a9b02c
mov eax, 3
jmp 0x64a9afff
Function at 0x64a9b1b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
sub eax, 4
cmp eax, 1
jbe 0x64a9b1d8
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x64a9b240
mov eax, dword [ebx + 0x68]
lea edx, [eax + 0x10]
cmp ecx, edx
jb 0x64a9b298
mov esi, dword [ebx + 0x60]
mov dword [ebx + 0x68], edx
mov edx, dword [ebp + 0xc]
add eax, esi
mov dword [eax], 0x4028
mov dword [eax + 4], 0x10
mov dword [eax + 8], 4
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x68]
cmp eax, 4
jbe 0x64a9b1c7
mov edx, dword [ebx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x58]
mov dword [esp], eax
call sym._GdiComment_12
mov dword [ebx + 0x68], 4
sub esp, 0xc
jmp 0x64a9b1c7
mov dword [esp + 8], 0x100
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 + 0x60], eax
sub esp, 0xc
test eax, eax
je 0x64a9b318
mov dword [eax], 0x2b464d45
mov edx, 0x14
mov esi, dword [ebx + 0x60]
mov eax, 4
mov dword [ebx + 0x64], 0x100
jmp 0x64a9b1f0
lea eax, [edx + edx]
mov dword [ebp - 0x1c], eax
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64a9b318
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
mov dword [esp], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x60], esi
sub esp, 0xc
lea edx, [eax + 0x10]
jmp 0x64a9b1f0
mov eax, 3
jmp 0x64a9b1c9
Function at 0x64a9b330
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
sub eax, 4
cmp eax, 1
jbe 0x64a9b358
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x64a9b3c0
mov eax, dword [ebx + 0x68]
lea edx, [eax + 0x10]
cmp ecx, edx
jb 0x64a9b418
mov esi, dword [ebx + 0x60]
mov dword [ebx + 0x68], edx
mov edx, dword [ebp + 0xc]
add eax, esi
mov dword [eax], 0x4029
mov dword [eax + 4], 0x10
mov dword [eax + 8], 4
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x68]
cmp eax, 4
jbe 0x64a9b347
mov edx, dword [ebx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x58]
mov dword [esp], eax
call sym._GdiComment_12
mov dword [ebx + 0x68], 4
sub esp, 0xc
jmp 0x64a9b347
mov dword [esp + 8], 0x100
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 + 0x60], eax
sub esp, 0xc
test eax, eax
je 0x64a9b498
mov dword [eax], 0x2b464d45
mov edx, 0x14
mov esi, dword [ebx + 0x60]
mov eax, 4
mov dword [ebx + 0x64], 0x100
jmp 0x64a9b370
lea eax, [edx + edx]
mov dword [ebp - 0x1c], eax
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64a9b498
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
mov dword [esp], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x60], esi
sub esp, 0xc
lea edx, [eax + 0x10]
jmp 0x64a9b370
mov eax, 3
jmp 0x64a9b349
Function at 0x64a9b4b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
sub eax, 4
cmp eax, 1
jbe 0x64a9b4d8
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x64a9b540
mov eax, dword [ebx + 0x68]
lea edx, [eax + 0x10]
cmp ecx, edx
jb 0x64a9b598
mov esi, dword [ebx + 0x60]
mov dword [ebx + 0x68], edx
mov edx, dword [ebp + 0xc]
add eax, esi
mov dword [eax], 0x4025
mov dword [eax + 4], 0x10
mov dword [eax + 8], 4
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x68]
cmp eax, 4
jbe 0x64a9b4c7
mov edx, dword [ebx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x58]
mov dword [esp], eax
call sym._GdiComment_12
mov dword [ebx + 0x68], 4
sub esp, 0xc
jmp 0x64a9b4c7
mov dword [esp + 8], 0x100
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 + 0x60], eax
sub esp, 0xc
test eax, eax
je 0x64a9b618
mov dword [eax], 0x2b464d45
mov edx, 0x14
mov esi, dword [ebx + 0x60]
mov eax, 4
mov dword [ebx + 0x64], 0x100
jmp 0x64a9b4f0
lea eax, [edx + edx]
mov dword [ebp - 0x1c], eax
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64a9b618
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
mov dword [esp], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x60], esi
sub esp, 0xc
lea edx, [eax + 0x10]
jmp 0x64a9b4f0
mov eax, 3
jmp 0x64a9b4c9
Function at 0x64a9b630
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
sub eax, 4
cmp eax, 1
jbe 0x64a9b658
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x64a9b6c0
mov eax, dword [ebx + 0x68]
lea edx, [eax + 0x10]
cmp ecx, edx
jb 0x64a9b718
mov esi, dword [ebx + 0x60]
mov dword [ebx + 0x68], edx
mov edx, dword [ebp + 0xc]
add eax, esi
mov dword [eax], 0x4026
mov dword [eax + 4], 0x10
mov dword [eax + 8], 4
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x68]
cmp eax, 4
jbe 0x64a9b647
mov edx, dword [ebx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x58]
mov dword [esp], eax
call sym._GdiComment_12
mov dword [ebx + 0x68], 4
sub esp, 0xc
jmp 0x64a9b647
mov dword [esp + 8], 0x100
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 + 0x60], eax
sub esp, 0xc
test eax, eax
je 0x64a9b798
mov dword [eax], 0x2b464d45
mov edx, 0x14
mov esi, dword [ebx + 0x60]
mov eax, 4
mov dword [ebx + 0x64], 0x100
jmp 0x64a9b670
lea eax, [edx + edx]
mov dword [ebp - 0x1c], eax
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64a9b798
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
mov dword [esp], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x60], esi
sub esp, 0xc
lea edx, [eax + 0x10]
jmp 0x64a9b670
mov eax, 3
jmp 0x64a9b649
Function at 0x64a9fef0
Capabilities:
Access peb ldr_data
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
mov edi, 1
push esi
push ebx
push ecx
sub esp, 0x28
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x20], esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x24], edx
mov dword [esi], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call sym._GetMetaFileBitsEx_12
sub esp, 0xc
test eax, eax
jne 0x64a9ff58
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp + 4], 8
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._GetMetaFileBitsEx_12
sub esp, 0xc
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call sym._SetWinMetaFileBits_16
sub esp, 0x10
mov ebx, eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym.gdiplus.dll_GdipCreateMetafileFromEmf
sub esp, 0xc
mov edi, eax
test eax, eax
jne 0x64aa00b8
mov edx, dword [ebp - 0x24]
mov eax, dword [esi]
test edx, edx
je 0x64aa00d8
fild word [edx + 0xe]
fstp dword [eax + 0x2c]
fild word [edx + 0xe]
mov eax, dword [esi]
fstp dword [eax + 0x30]
fild word [edx + 6]
fild word [edx + 0xe]
mov eax, dword [esi]
fdivp st(1)
fstp dword [eax + 0x38]
fild word [edx + 8]
fild word [edx + 0xe]
mov eax, dword [esi]
fdivp st(1)
fstp dword [eax + 0x3c]
movsx eax, word [edx + 6]
movsx ecx, word [edx + 0xa]
mov ebx, dword [esi]
sub ecx, eax
mov dword [ebp - 0x24], ecx
fild dword [ebp - 0x24]
fstp dword [ebx + 0x40]
movsx eax, word [edx + 0xc]
movsx edx, word [edx + 8]
mov ecx, dword [esi]
sub eax, edx
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp dword [ecx + 0x44]
mov eax, dword [esi]
mov dword [eax + 0x4c], 2
mov eax, dword [esi]
mov edx, dword [0x64abdeb4]
mov dword [eax + 0xc], edx
mov edx, dword [0x64abdeb8]
mov dword [eax + 0x10], edx
mov edx, dword [0x64abdebc]
mov dword [eax + 0x14], edx
mov edx, dword [0x64abdec0]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x64a9ff42
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._DeleteMetaFile_4
mov eax, edi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp], ebx
call sym._DeleteEnhMetaFile_4
mov eax, edi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [eax + 0x4c], 1
jmp 0x64aa0065
Function at 0x64aa1b50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
movzx esi, word [ebp + 0xc]
mov eax, dword [ebx + 0x4c]
sub eax, 4
cmp eax, 1
jbe 0x64aa1b80
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x64aa1c70
mov eax, dword [ebx + 0x68]
lea ecx, [eax + 0xc]
cmp edx, ecx
jb 0x64aa1be0
mov edx, dword [ebx + 0x60]
shl edi, 0x10
add eax, edx
mov dword [ebx + 0x68], ecx
or esi, edi
mov dword [eax + 4], 0xc
mov dword [eax + 8], 0
mov dword [eax], esi
mov eax, dword [ebx + 0x68]
cmp eax, 4
jbe 0x64aa1b6e
mov edx, dword [ebx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x58]
mov dword [esp], eax
call sym._GdiComment_12
mov dword [ebx + 0x68], 4
sub esp, 0xc
jmp 0x64aa1b6e
lea eax, [ecx + ecx]
mov dword [ebp - 0x1c], eax
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x64aa1cc0
mov eax, dword [ebx + 0x68]
mov dword [esp + 8], eax
mov ecx, dword [ebx + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [ebp - 0x24], edx
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x68]
sub esp, 0xc
mov dword [ebx + 0x60], edx
lea ecx, [eax + 0xc]
jmp 0x64aa1b98
mov dword [esp + 8], 0x100
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 + 0x60], eax
sub esp, 0xc
test eax, eax
je 0x64aa1cc0
mov dword [eax], 0x2b464d45
mov ecx, 0x10
mov edx, dword [ebx + 0x60]
mov eax, 4
mov dword [ebx + 0x64], 0x100
jmp 0x64aa1b98
mov eax, 3
jmp 0x64aa1b70
Function at 0x64aa3510
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x4c], 3
je 0x64aa3658
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x64aa3600
mov eax, dword [ebx + 0x68]
lea edx, [eax + 0x14]
cmp ecx, edx
jb 0x64aa3580
mov esi, dword [ebx + 0x60]
fld dword [ebp + 0xc]
add eax, esi
mov dword [ebx + 0x68], edx
mov dword [eax], 0x4035
mov dword [eax + 4], 0x14
fstp dword [eax + 0xc]
fld dword [ebp + 0x10]
mov dword [eax + 8], 8
fstp dword [eax + 0x10]
mov eax, dword [ebx + 0x68]
cmp eax, 4
ja 0x64aa3670
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edx + edx]
mov dword [ebp - 0x1c], eax
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64aa36c0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
mov dword [esp], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x60], esi
sub esp, 0xc
lea edx, [eax + 0x14]
jmp 0x64aa353e
mov dword [esp + 8], 0x100
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 + 0x60], eax
sub esp, 0xc
test eax, eax
je 0x64aa36c0
mov dword [eax], 0x2b464d45
mov edx, 0x18
mov esi, dword [ebx + 0x60]
mov eax, 4
mov dword [ebx + 0x64], 0x100
jmp 0x64aa353e
test byte [0x64ab5100], 1
jne 0x64aa3698
mov eax, 6
jmp 0x64aa3571
mov edx, dword [ebx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x58]
mov dword [esp], eax
call sym._GdiComment_12
mov dword [ebx + 0x68], 4
sub esp, 0xc
jmp 0x64aa356f
mov dword [esp + 0xc], 0x64abf26c
mov dword [esp + 8], str.METAFILE_OffsetClip
mov dword [esp + 4], 0x64ab5100
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_9
jmp 0x64aa3661
mov eax, 3
jmp 0x64aa3571
Function at 0x64aa36d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x4c], 3
je 0x64aa3808
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x64aa37b0
mov eax, dword [ebx + 0x68]
lea edx, [eax + 0xc]
cmp ecx, edx
jb 0x64aa3730
mov esi, dword [ebx + 0x60]
add eax, esi
mov dword [ebx + 0x68], edx
mov dword [eax], 0x4031
mov dword [eax + 4], 0xc
mov dword [eax + 8], 0
mov eax, dword [ebx + 0x68]
cmp eax, 4
ja 0x64aa3820
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edx + edx]
mov dword [ebp - 0x1c], eax
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64aa3870
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
mov dword [esp], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x60], esi
sub esp, 0xc
lea edx, [eax + 0xc]
jmp 0x64aa36fe
mov dword [esp + 8], 0x100
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 + 0x60], eax
sub esp, 0xc
test eax, eax
je 0x64aa3870
mov dword [eax], 0x2b464d45
mov edx, 0x10
mov esi, dword [ebx + 0x60]
mov eax, 4
mov dword [ebx + 0x64], 0x100
jmp 0x64aa36fe
test byte [0x64ab5100], 1
jne 0x64aa3848
mov eax, 6
jmp 0x64aa3725
mov edx, dword [ebx + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x58]
mov dword [esp], eax
call sym._GdiComment_12
mov dword [ebx + 0x68], 4
sub esp, 0xc
jmp 0x64aa3723
mov dword [esp + 0xc], 0x64abf26c
mov dword [esp + 8], str.METAFILE_ResetClip
mov dword [esp + 4], 0x64ab5100
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_9
jmp 0x64aa3811
mov eax, 3
jmp 0x64aa3725