joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64a67a80
Capabilities:
Access peb ldr_data
Get kernel32 base address
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, 0x48
mov eax, dword [ecx]
mov esi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test byte [0x64ab50b0], 8
jne 0x64a67ba0
test esi, esi
je 0x64a67c37
test ebx, ebx
je 0x64a67c37
xor edx, edx
cmp ebx, 1
je 0x64a67b8d
lea edx, [ebx*8]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x24], edx
mov dword [esp + 4], 8
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 edi, eax
test eax, eax
je 0x64a67c50
test ebx, ebx
jle 0x64a67b36
mov edx, dword [ebp - 0x24]
lea eax, [esi + 4]
lea ecx, [edi + 4]
lea edx, [esi + edx + 4]
lea esi, [esi]
lea esi, [esi]
fild dword [eax - 4]
add eax, 8
add ecx, 8
fstp dword [ecx - 0xc]
fild dword [eax - 8]
fstp dword [ecx - 8]
cmp eax, edx
jne 0x64a67b20
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x3f000000
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipFillClosedCurve2
sub esp, 0x18
mov dword [ebp - 0x1c], eax
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 edx, dword [ebp - 0x1c]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], ebx
mov edi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipFillClosedCurveI
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
test byte [0x64ab50b0], 8
je 0x64a67ab2
fld dword [0x64ababb4]
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
fstp qword [esp + 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d___.2f___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipFillClosedCurve2I
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
test esi, esi
jne 0x64a67aba
lea esp, [ebp - 0x10]
mov edx, 2
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edx, 3
jmp 0x64a67b8d
Function at 0x64a684e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
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 eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test byte [0x64ab50b0], 8
jne 0x64a685f8
test ebx, ebx
je 0x64a685e0
test esi, esi
jle 0x64a685e0
mov ecx, esi
mov dword [esp + 4], 8
shl ecx, 4
mov dword [esp + 8], ecx
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]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x64a68638
mov eax, ebx
mov edx, edi
xor ecx, ecx
lea esi, [esi]
nop
fild dword [eax + 0xc]
fild dword [eax + 8]
add ecx, 1
add eax, 0x10
fild dword [eax - 0xc]
fild dword [eax - 0x10]
add edx, 0x10
fstp dword [edx - 0x10]
fstp dword [edx - 0xc]
fstp dword [edx - 8]
fstp dword [edx - 4]
cmp esi, ecx
jg 0x64a68560
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipFillRectangles
sub esp, 0x10
mov ebx, eax
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]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
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 0x10
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipFillRectanglesI
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x64a68512
mov ebx, 3
jmp 0x64a685c8
Function at 0x64a6a750
Capabilities:
Access peb ldr_data
Get kernel32 base address
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 eax, dword [ecx]
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test byte [0x64ab50b0], 8
jne 0x64a6a880
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x64a6a868
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x64a6a868
test edi, edi
je 0x64a6a868
test edx, edx
jle 0x64a6a868
mov ebx, dword [eax + 0x5c]
mov ecx, 4
test ebx, ebx
jne 0x64a6a854
lea ecx, [edx*8]
mov dword [ebp - 0x24], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], 8
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 esi, eax
test eax, eax
je 0x64a6a8c8
mov edx, dword [ebp - 0x24]
lea esi, [esi]
nop
fild dword [edi + ebx*8]
fstp dword [esi + ebx*8]
fild dword [edi + ebx*8 + 4]
fstp dword [esi + ebx*8 + 4]
add ebx, 1
cmp edx, ebx
jg 0x64a6a7f8
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDrawBeziers
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], esi
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 ecx, dword [ebp - 0x1c]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea esp, [ebp - 0x10]
mov ecx, 2
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], edx
mov dword [ebp - 0x24], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipDrawBeziersI
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov edx, dword [ebp - 0x24]
jmp 0x64a6a782
mov ecx, 3
jmp 0x64a6a854
Function at 0x64a6ac90
Capabilities:
Access peb ldr_data
Get kernel32 base address
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, 0x48
mov edx, dword [ecx]
fld dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx + 4]
fst dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
test byte [0x64ab50b0], 8
jne 0x64a6ada8
fstp st(0)
test edi, edi
je 0x64a6ad90
test esi, esi
jle 0x64a6ad90
lea ebx, [esi*8]
mov dword [esp + 4], 8
mov dword [esp + 8], ebx
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]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x64a6adf0
xor eax, eax
lea esi, [esi]
fild dword [edi + eax*8]
fstp dword [ebx + eax*8]
fild dword [edi + eax*8 + 4]
fstp dword [ebx + eax*8 + 4]
add eax, 1
cmp esi, eax
jg 0x64a6ad18
fld dword [ebp - 0x24]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
fstp dword [esp + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDrawClosedCurve2
sub esp, 0x14
mov esi, eax
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 dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
lea esp, [ebp - 0x10]
mov esi, 2
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d___.2f__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipDrawClosedCurve2I
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x64a6acca
mov esi, 3
jmp 0x64a6ad77
Function at 0x64a6aff0
Capabilities:
Access peb ldr_data
Get kernel32 base address
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, 0x48
mov eax, dword [ecx]
fld dword [ecx + 0x10]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
fst dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
test byte [0x64ab50b0], 8
jne 0x64a6b0f0
fstp st(0)
test esi, esi
je 0x64a6b133
lea edx, [edi*8]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x28], edx
mov dword [esp + 4], 8
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 ebx, eax
test eax, eax
je 0x64a6b150
test edi, edi
jle 0x64a6b096
mov edx, dword [ebp - 0x28]
lea eax, [esi + 4]
lea ecx, [ebx + 4]
lea edx, [esi + edx + 4]
lea esi, [esi]
nop
fild dword [eax - 4]
add eax, 8
add ecx, 8
fstp dword [ecx - 0xc]
fild dword [eax - 8]
fstp dword [ecx - 8]
cmp eax, edx
jne 0x64a6b080
fld dword [ebp - 0x24]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
fstp dword [esp + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDrawCurve2
sub esp, 0x14
mov esi, eax
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 dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d___.2f__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipDrawCurve2I
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
test esi, esi
jne 0x64a6b032
lea esp, [ebp - 0x10]
mov esi, 2
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov esi, 3
jmp 0x64a6b0e0
Function at 0x64a6b290
Capabilities:
Access peb ldr_data
Get kernel32 base address
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 eax, dword [ecx]
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test byte [0x64ab50b0], 8
jne 0x64a6b3e0
test edi, edi
je 0x64a6b41f
lea edx, [esi*8]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x24], edx
mov dword [esp + 4], 8
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 ebx, eax
test eax, eax
je 0x64a6b438
test esi, esi
jle 0x64a6b32e
mov edx, dword [ebp - 0x24]
lea eax, [edi + 4]
lea ecx, [ebx + 4]
lea edx, [edi + edx + 4]
lea esi, [esi]
nop
fild dword [eax - 4]
add eax, 8
add ecx, 8
fstp dword [ecx - 0xc]
fild dword [eax - 8]
fstp dword [ecx - 8]
cmp eax, edx
jne 0x64a6b318
test byte [0x64ab50b0], 8
jne 0x64a6b398
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDrawCurve2
sub esp, 0x14
mov esi, eax
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 dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipDrawCurve
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x64a6b337
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipDrawCurveI
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
test edi, edi
jne 0x64a6b2ca
lea esp, [ebp - 0x10]
mov esi, 2
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov esi, 3
jmp 0x64a6b382
Function at 0x64a6b790
Capabilities:
Access peb ldr_data
Get kernel32 base address
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 eax, dword [ecx]
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test byte [0x64ab50b0], 8
jne 0x64a6b880
lea edx, [esi*8]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x24], edx
mov dword [esp + 4], 8
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 ebx, eax
test eax, eax
je 0x64a6b8c0
test esi, esi
jle 0x64a6b826
mov edx, dword [ebp - 0x24]
lea eax, [edi + 4]
lea ecx, [ebx + 4]
lea edx, [edi + edx + 4]
lea esi, [esi]
nop
fild dword [eax - 4]
add eax, 8
add ecx, 8
fstp dword [ecx - 0xc]
fild dword [eax - 8]
fstp dword [ecx - 8]
cmp eax, edx
jne 0x64a6b810
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDrawLines
sub esp, 0x10
mov esi, eax
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipDrawLinesI
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x64a6b7c2
lea esp, [ebp - 0x10]
mov esi, 3
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
Function at 0x64a6bc00
Capabilities:
Access peb ldr_data
Get kernel32 base address
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 eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test byte [0x64ab50b0], 8
jne 0x64a6bd18
test ebx, ebx
je 0x64a6bd00
test esi, esi
jle 0x64a6bd00
mov ecx, esi
mov dword [esp + 4], 8
shl ecx, 4
mov dword [esp + 8], ecx
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]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x64a6bd58
mov eax, ebx
mov edx, edi
xor ecx, ecx
lea esi, [esi]
nop
fild dword [eax + 0xc]
fild dword [eax + 8]
add ecx, 1
add eax, 0x10
fild dword [eax - 0xc]
fild dword [eax - 0x10]
add edx, 0x10
fstp dword [edx - 0x10]
fstp dword [edx - 0xc]
fstp dword [edx - 8]
fstp dword [edx - 4]
cmp esi, ecx
jg 0x64a6bc80
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDrawRectangles
sub esp, 0x10
mov ebx, eax
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]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
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 0x10
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipDrawRectanglesI
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x64a6bc32
mov ebx, 3
jmp 0x64a6bce8
Function at 0x64a6be90
Capabilities:
Access peb ldr_data
Get kernel32 base address
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 eax, dword [ecx]
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test byte [0x64ab50b0], 8
jne 0x64a6bf88
mov edx, 2
test esi, esi
jle 0x64a6bf75
lea edx, [esi*8]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x24], edx
mov dword [esp + 4], 8
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 ebx, eax
test eax, eax
je 0x64a6bfc8
mov edx, dword [ebp - 0x24]
lea eax, [edi + 4]
lea ecx, [ebx + 4]
lea edx, [edi + edx + 4]
lea esi, [esi]
fild dword [eax - 4]
add eax, 8
add ecx, 8
fstp dword [ecx - 0xc]
fild dword [eax - 8]
fstp dword [ecx - 8]
cmp eax, edx
jne 0x64a6bf18
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDrawPolygon
sub esp, 0x10
mov dword [ebp - 0x1c], eax
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 dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipDrawPolygonI
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x64a6bec2
mov edx, 3
jmp 0x64a6bf75
Function at 0x64a70b70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov edx, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov esi, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [esp + 8], 0x18
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 8
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x64a70cfa
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x14], ecx
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi]
shl eax, 3
mov dword [ebp - 0x24], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x24]
sub esp, 0xc
mov dword [ecx + 8], eax
mov ecx, dword [esi]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [ecx + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
test edx, edx
je 0x64a70c98
mov eax, dword [eax + 0xc]
test eax, eax
je 0x64a70c98
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
mov dword [esp], edx
shl eax, 3
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym._memcpy
mov eax, dword [esi]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 8], edx
mov ebx, 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 ebx
mov eax, dword [esi]
sub esp, 0xc
mov eax, dword [eax + 0xc]
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 ebx
mov eax, dword [esi]
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 ebx
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, 3
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8