joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ac2ccb0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force 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 + 0x14]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], 0
lea edx, [eax + edi]
lea ecx, [edx + 1]
je 0x7ac2cdc0
cmp esi, eax
jg 0x7ac2cd88
mov eax, dword [ebx]
cmp dword [ebx + 8], ecx
jae 0x7ac2cd2e
lea edx, [edx + edx + 0x82]
and edx, 0xffffffc0
mov dword [ebx + 8], edx
add edx, edx
test eax, eax
je 0x7ac2cdf8
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
test eax, eax
je 0x7ac2ce28
mov dword [ebx], eax
mov ecx, dword [ebx + 4]
lea edx, [esi + esi]
mov dword [ebp - 0x1c], edx
sub ecx, esi
add esi, edi
lea ecx, [ecx + ecx + 2]
mov dword [esp + 8], ecx
lea ecx, [eax + edx]
lea eax, [eax + esi*2]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
lea eax, [edi + edi]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.ucrtbase.dll_memcpy
add dword [ebx + 4], edi
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [esp + 8], 0x6d
mov dword [esp + 4], str..._dlls_riched20_string.c
mov dword [esp], str.ofs___s__nLen
call dword [sym.imp.ucrtbase.dll__assert]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x7ac2ccdd
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [esp + 8], 0x6c
mov dword [esp + 4], str..._dlls_riched20_string.c
mov dword [esp], str.s__nBuffer
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x7ac2ccd5
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 dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
jmp 0x7ac2cd24
xor eax, eax
jmp 0x7ac2cd79
Function at 0x7ac2d2f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [eax], 0
test ebx, ebx
je 0x7ac2d3c8
cmp esi, 0x4b0
je 0x7ac2d3d8
mov dword [esp + 0x14], 0
mov edi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], esi
call edi
sub esp, 0x18
mov ecx, eax
test eax, eax
je 0x7ac2d3c8
lea edx, [ecx + ecx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], 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 0x7ac2d3b9
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], esi
call edi
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1c]
sub eax, 1
sub esp, 0x18
mov dword [edi], eax
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
cmp word [ebx], 0
je 0x7ac2d400
mov eax, ebx
add eax, 2
cmp word [eax], 0
jne 0x7ac2d3e0
sub eax, ebx
sar eax, 1
mov edi, dword [ebp + 0x10]
mov edx, ebx
mov dword [edi], eax
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x7ac2d3ed

Function at 0x7ac2d410
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0x4b0
jne 0x7ac2d428
leave
ret
mov edx, dword [ebp + 0xc]
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 dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
leave
ret
Function at 0x7ac2d970
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov dword [esp + 8], 0xc4
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
cmp dword [esi], 0x74
mov ebx, eax
je 0x7ac2d9c8
mov dword [esp + 8], 0x7d
mov dword [esp + 4], str..._dlls_riched20_style.c
mov dword [esp], str.style__cbSize__sizeof_CHARFORMAT2W_
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, 0x1d
mov edi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x7c]
mov dword [ebx + 0x74], 0
and edi, 0xfffffffc
mov dword [ebx + 0xb4], 1
mov dword [ebx + 0x78], 0
mov dword [ebx + 0xb0], 0
mov eax, ecx
lea ecx, [ebx + 0x78]
sub ecx, edi
add ecx, 0x3c
shr ecx, 2
rep stosd dword es:[edi], eax
lea eax, [ebx + 0xbc]
mov dword [ebx + 0x7c], 0xffffffff
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xbc], eax
mov eax, dword [0x7ac64ba0]
mov dword [ebx + 0xb8], 0
add eax, 1
mov dword [0x7ac64ba0], eax
test byte [0x7ac40fc0], 8
jne 0x7ac2da50
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.ME_MakeStyle__p__total_refs_d_n
mov dword [esp + 8], str.ME_MakeStyle
mov dword [esp + 4], 0x7ac40fc0
mov dword [esp], 3
call fcn.7ac2d510
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x7ac2eb60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 8]
mov esi, dword [eax + 8]
test ebx, ebx
je 0x7ac2eb84
mov dword [esp], ebx
call fcn.7ac2e480
mov eax, dword [edi + 8]
mov dword [eax + 8], ebx
test esi, esi
je 0x7ac2eba0
mov dword [ebp + 8], esi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.7ac2e940
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x7ac2fd60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0x18
mov dword [esp + 8], 0x924
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]
mov edx, dword [ebp + 8]
sub esp, 0xc
test byte [edx + 4], 1
jne 0x7ac2fda1
mov dword [eax + 0x8e0], 0xa
leave
ret
Function at 0x7ac30410
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x4c
mov dword [ebp - 0x2c], ecx
mov dword [ecx], 0
mov ecx, dword [edx]
test ecx, ecx
js 0x7ac30598
mov ecx, dword [eax + 8]
mov ebx, edx
lea edi, [ebp - 0x28]
mov eax, dword [ecx]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xe
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
sub esp, 0x10
mov dword [ebp - 0x24], eax
mov edx, eax
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x7ac305a8
mov eax, ecx
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
jge 0x7ac3047c
mov dword [ebp - 0x20], ecx
mov eax, ecx
cmp edx, eax
jge 0x7ac30598
sub eax, edx
mov dword [esp + 4], 0
lea edx, [eax + 1]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
add edx, edx
mov dword [esp + 8], edx
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 [ebp - 0x1c], eax
sub esp, 0xc
test eax, eax
je 0x7ac305d5
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x24]
mov eax, dword [ecx]
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 0x44b
call dword [eax + 0xc]
sub esp, 0x10
mov edi, eax
test eax, eax
jne 0x7ac30560
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x7ac30560
movzx eax, byte [esi + 0x14]
mov edx, 0x7fffffff
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
and eax, 1
test al, al
mov eax, dword [ebp - 0x34]
cmove eax, edx
cmovne edx, dword [ebp - 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x30], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 0x28], eax
sub esp, 0x20
test byte [esi + 0x14], 1
jne 0x7ac305c0
mov esi, dword [ebp - 0x2c]
sub eax, 1
mov dword [esi], eax
mov edx, dword [ebp - 0x1c]
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, edi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
cmp eax, 0xffffffff
jne 0x7ac30473
jmp 0x7ac30477
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
lea eax, [esi - 1]
mov dword [edx], eax
mov eax, dword [ebx + 8]
mov byte [eax + esi - 1], 0
jmp 0x7ac30560
mov edi, 0x8007000e
jmp 0x7ac3059a
Function at 0x7ac30690
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x1c
mov dword [esp], 0x11
call dword [sym.imp.user32.dll_GetKeyState]
sub esp, 4
test ax, ax
js 0x7ac306f2
xor eax, eax
test byte [ebx + 0x14], 4
jne 0x7ac306f7
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x7ac306f2
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x400
mov dword [esp], eax
call esi
mov edx, eax
sub esp, 0x10
shr edx, 0x10
cmp edx, 0x534b
je 0x7ac30700
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, ax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov edi, eax
test eax, eax
je 0x7ac306f2
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0x28
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xd
mov dword [esp + 4], 0x100
mov dword [esp], edi
call dword [sym.imp.user32.dll_PostMessageW]
sub esp, 0x10
jmp 0x7ac306f2
Function at 0x7ac310e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 0xc]
mov dword [esp + 8], 0x10c
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 ebx, eax
test eax, eax
je 0x7ac31342
mov dword [eax], 0x7ac4ca20
movzx ecx, byte [ebp + 0x10]
lea edi, [ebx + 0x24]
mov dword [eax + 4], 1
and edi, 0xfffffffc
mov dword [eax + 8], 0
mov eax, dword [ebp + 8]
and ecx, 1
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x10], eax
movzx eax, byte [ebx + 0x14]
mov dword [ebx + 0xd0], 0
and eax, 0xfffffffc
or eax, ecx
lea ecx, [ebx + 0x20]
sub ecx, edi
mov byte [ebx + 0x14], al
xor eax, eax
add ecx, 0xb4
shr ecx, 2
rep stosd dword es:[edi], eax
mov dword [ebx + 0x18], 0xbc
mov edi, dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [ebx + 0x1c], 8
mov ecx, dword [esi + 0x20]
mov dword [esp + 4], 0xfffffff0
mov eax, ecx
shr ax, 1
and eax, 1
add eax, 1
and ecx, 1
mov ecx, 3
cmovne eax, ecx
mov word [ebx + 0x30], ax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call edi
sub esp, 8
mov esi, eax
test ah, 0x20
je 0x7ac31360
mov eax, esi
and eax, 0x3020c0
test esi, 0x200000
je 0x7ac311db
or eax, 0x40
mov dword [ebx + 0xd8], eax
test esi, 0x100000
je 0x7ac31200
test byte [ebx + 0x14], 1
jne 0x7ac31200
or al, 0x80
mov ecx, pe_nt_image_headers32
mov dword [ebx + 0xd8], eax
jmp 0x7ac31207
and eax, 0x80
mov ecx, eax
mov eax, esi
and eax, 4
cmp eax, 1
sbb eax, eax
and eax, 0xfffffffe
add eax, 0x803
mov dword [ebx + 0xd4], eax
test esi, 0x800
je 0x7ac3122e
or dword [ebx + 0xd4], 4
test esi, 0x20
je 0x7ac3123d
or dword [ebx + 0xd4], 0x10
test esi, 0x100
jne 0x7ac3124c
or dword [ebx + 0xd4], 0x20
test esi, 0x8000
je 0x7ac3125b
or dword [ebx + 0xd4], 0x40
test esi, 0x400000
je 0x7ac3126d
or dword [ebx + 0xd4], 0x100
test esi, 8
je 0x7ac3127f
or dword [ebx + 0xd4], 0x1000
test ecx, ecx
je 0x7ac31350
mov ecx, esi
shr esi, 0xc
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], 0xffffffec
shr ecx, 0x18
and esi, 1
and ecx, 1
shl esi, 2
mov dword [esp], eax
shl ecx, 3
or ecx, esi
movzx esi, byte [ebx + 0x14]
and esi, 0xfffffff3
or ecx, esi
mov byte [ebx + 0x14], cl
call edi
movzx ecx, byte [ebx + 0x14]
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xfc], 0
shr eax, 9
sub esp, 8
mov dword [ebx + 0xf4], 0
and eax, 1
and ecx, 0xffffffcf
mov dword [ebx + 0xf8], 0
shl eax, 4
mov dword [ebx + 0xf0], 0
or eax, ecx
mov byte [ebx + 0x14], al
lea eax, [ebx + 0xe0]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
movzx eax, word [ebx + 0xd4]
and byte [ebx + 0x14], 0x3f
mov dword [ebx + 0x108], 0
sub esp, 8
shl eax, 0xb
sar ax, 0xf
and eax, 0x2a
mov word [ebx + 0x104], ax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
or dword [ebx + 0xd4], 0x400
jmp 0x7ac31287
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowScrollBar]
sub esp, 0xc
jmp 0x7ac311c9
Function at 0x7ac34d60
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 esi, dword [ebp + 0xc]
test byte [0x7ac40ff0], 8
jne 0x7ac34e28
test esi, esi
je 0x7ac34e60
mov dword [esp + 8], 0x130
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_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x7ac34e67
mov dword [eax + 0x14], 1
mov dword [eax], 0x7ac4cf94
mov dword [eax + 4], 0x7ac4cf40
mov dword [eax + 8], 0x7ac4ac00
mov dword [eax + 0xc], 0x7ac4aa40
mov eax, dword [ebp + 0x14]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.7ac08fa0
test ebx, ebx
lea ecx, [edi + 8]
mov dword [edi + 0x18], eax
cmove ebx, edi
mov dword [eax + 0x4b0], ecx
lea eax, [edi + 0x20]
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x1c], 0
mov dword [eax], edi
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str._p__p______p_n
mov dword [esp + 8], str.create_text_services
mov dword [esp + 4], 0x7ac40ff0
mov dword [esp], 3
call fcn.7ac33b20
jmp 0x7ac34d7c
mov eax, 0x80004003
jmp 0x7ac34e1b
mov eax, 0x8007000e
jmp 0x7ac34e1b
Function at 0x7ac34ff0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
mov eax, dword fs:[0x18]
sub esp, 0x3c
mov dword [esp + 8], 0x118
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 ebx, eax
test eax, eax
je 0x7ac35043
mov dword [eax + 8], esi
mov eax, dword [edi + 0x60]
test eax, eax
je 0x7ac35050
cmp eax, 3
je 0x7ac35050
cmp eax, 1
je 0x7ac35190
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [edi + 0x48]
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [edi + 0x48]
cmp ecx, edx
je 0x7ac3506d
test edx, edx
je 0x7ac3506d
cmp dword [edx + 8], 7
je 0x7ac351b8
movzx edx, byte [0x7ac41000]
and edx, 8
test eax, eax
jne 0x7ac35140
test dl, dl
jne 0x7ac351d0
mov eax, dword [edi + 0x48]
mov edx, dword [ebp - 0x1c]
sub esi, 6
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [eax + 4], ebx
mov dword [edi + 0x48], ebx
cmp esi, 1
jbe 0x7ac35178
mov ecx, dword [edi + 0x58]
cmp dword [edi + 0x5c], ecx
jge 0x7ac350f8
mov eax, dword [edi + 0x4c]
mov esi, dword [eax + 4]
cmp eax, dword [ebp - 0x1c]
je 0x7ac350f2
mov dword [ebp - 0x24], edi
mov edi, esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
jmp 0x7ac350d3
mov ecx, dword [edi + 4]
mov eax, edi
cmp esi, edi
je 0x7ac350e9
mov edi, ecx
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov dword [ecx + 4], edi
mov ecx, dword [eax]
mov dword [edi], ecx
call fcn.7ac34f60
cmp ebx, 6
jne 0x7ac350c8
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [edi + 0x58]
sub ecx, 1
mov dword [edi + 0x58], ecx
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x7ac35043
mov eax, dword [edi + 0x50]
add edi, 0x50
mov esi, dword [eax]
cmp edi, eax
je 0x7ac35043
lea esi, [esi]
nop
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax]
mov dword [edx], ecx
call fcn.7ac34f60
mov eax, esi
mov esi, dword [esi]
cmp eax, edi
jne 0x7ac35118
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test dl, dl
je 0x7ac35087
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Pushing_id_d_to_undo_stack_n
mov dword [esp + 8], str.add_undo
mov dword [esp + 4], 0x7ac41000
mov dword [esp], 3
call fcn.7ac34f00
jmp 0x7ac35087
mov eax, dword [edi + 0x58]
lea ecx, [eax + 1]
mov dword [edi + 0x58], ecx
jmp 0x7ac350a7
test byte [0x7ac41000], 8
jne 0x7ac35200
mov eax, dword [edi + 0x50]
lea edx, [edi + 0x50]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov dword [eax + 4], ebx
mov eax, ebx
mov dword [edi + 0x50], ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [edx + 8], 6
mov eax, dword [edi + 0x60]
jmp 0x7ac3506d
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x7ac4cfa0
mov dword [esp + 8], str.add_undo
mov dword [esp + 4], 0x7ac41000
mov dword [esp], 3
call fcn.7ac34f00
jmp 0x7ac35087
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Pushing_id_d_to_redo_stack_n
mov dword [esp + 8], str.add_undo
mov dword [esp + 4], 0x7ac41000
mov dword [esp], 3
call fcn.7ac34f00
jmp 0x7ac35199
Function at 0x7ac352e0
Capabilities:
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x64]
test esi, esi
jne 0x7ac353a6
cmp dword [ebx + 0x60], 2
je 0x7ac353a6
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x7ac353a6
xor edx, edx
mov eax, ebx
call fcn.7ac34ff0
mov esi, eax
test eax, eax
je 0x7ac353a6
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 0
lea edi, [eax + eax + 2]
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 dword [esi + 0x14], eax
sub esp, 0xc
test eax, eax
je 0x7ac3539e
lea ebx, [edi - 2]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 4], ebx
call sub.ucrtbase.dll_memcpy
mov eax, dword [esi + 0x14]
xor edx, edx
mov word [eax + edi - 2], dx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esp], eax
call fcn.7ac2e480
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call fcn.7ac35230
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x7ac35bd0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x7ac35c01
mov eax, dword [ebx + 0x60]
cmp eax, 2
je 0x7ac35c01
test eax, eax
jne 0x7ac35c10
mov eax, dword [ebx + 0x48]
lea edx, [ebx + 0x48]
cmp eax, edx
je 0x7ac35c01
test eax, eax
je 0x7ac35c01
cmp dword [eax + 8], 7
je 0x7ac35c30
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 8], 0x111
mov dword [esp + 4], str..._dlls_riched20_undo.c
mov dword [esp], 0x7ac4d080
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x7ac35bed
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov ecx, dword [eax]
mov dword [edx], ecx
sub dword [ebx + 0x58], 1
mov ebx, dword [ebp - 4]
leave
jmp fcn.7ac34f60

Function at 0x7ac36800
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
mov esi, dword fs:[0x18]
sub esp, 0x10
mov eax, dword [eax + 0x38]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x34]
sub esp, 0xc
shl eax, 4
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 0x38], eax
sub esp, 0xc
test eax, eax
je 0x7ac36873
mov edx, dword [ebx + 0x34]
lea ecx, [edx + edx]
add eax, ecx
mov dword [ebx + 0x3c], eax
add eax, ecx
mov dword [ebx + 0x40], eax
lea eax, [eax + edx*4]
mov dword [ebx + 0x44], eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret