joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ecf8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004f37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004f338]
cmp eax, 0xffffffff
jne 0x10036fb6
xor ebx, ebx
jmp 0x10036fbf
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10036fff
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003703e
test esi, esi
jne 0x10037042
push 0x10035760
push 0x10050e58
call fcn.1002e7d0
mov eax, dword [0x1004f338]
add esp, 8
cmp eax, 0xffffffff
je 0x10036fff
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003702c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003702c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10037084
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003706d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10037042
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036fd0
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100370a9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100370a9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1002e7d0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x10037090
jmp 0x10036fd0

Function at 0x100370d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x10037130
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x100370fa
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
push edi
add eax, 4
lock inc dword [eax]
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x10037118
cmp eax, 0xffffffff
je 0x10037118
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x7ac03a90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], 1
mov esi, dword [ebx + 0x510]
mov ecx, dword [ebx + 0x4f4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
add esi, dword [ebp + 0xc]
mov dword [ebx + 0x38], 0xffffffff
add ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov edi, dword [eax + 8]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edx
cmp edx, dword [eax + 0x10]
je 0x7ac03c00
mov dword [ebp - 0x20], ecx
mov dword [esp], 0x10
call dword [sym.imp.user32.dll_GetKeyState]
mov ecx, dword [ebp - 0x20]
mov edx, esi
sub esp, 4
mov edi, eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
mov eax, ebx
call fcn.7ac014e0
cmp dword [ebx + 0x494], esi
jle 0x7ac03b70
test di, di
js 0x7ac03ba8
cmp dword [ebp - 0x1c], 1
jle 0x7ac03c60
test byte [ebp - 0x1c], 1
jne 0x7ac03c18
mov edx, 3
mov eax, ebx
call fcn.7ac02db0
mov dword [esp], ebx
call fcn.7ac139c0
mov eax, dword [ebx + 0x4c8]
test eax, eax
je 0x7ac03b58
mov eax, ebx
call fcn.7ac01ec0
mov dword [ebp + 8], ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.7ac03960
cmp dword [ebp - 0x1c], 1
jle 0x7ac03bd8
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 4]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
mov dword [eax + 0x14], edx
test di, di
js 0x7ac03bc6
test byte [ebp - 0x1c], 1
jne 0x7ac03b33
mov edx, 1
mov eax, ebx
call fcn.7ac02db0
jmp 0x7ac03b3f
cmp dword [ebp - 0x1c], 1
jle 0x7ac03c30
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 4]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
mov dword [eax + 0x14], edx
cmp dword [ebx + 0x494], esi
jg 0x7ac03b33
jmp 0x7ac03b95
test di, di
js 0x7ac03c30
mov dword [ebx + 0x4d4], 0
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 4]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
mov dword [eax + 0x14], edx
jmp 0x7ac03b3f
cmp dword [eax + 0x14], edi
setne al
movzx eax, al
mov dword [ebp - 0x24], eax
jmp 0x7ac03adf
mov edx, 4
mov eax, ebx
call fcn.7ac02db0
jmp 0x7ac03b3f
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x7ac03c78
mov eax, dword [ebx + 0xc]
mov edi, dword [ebp - 0x30]
mov dword [ebx + 0x4d4], 0
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x2c]
mov dword [eax + 0x10], edi
mov edi, dword [ebp - 0x28]
mov dword [eax + 0x14], edi
jmp 0x7ac03b3f
mov edx, 2
mov eax, ebx
call fcn.7ac02db0
jmp 0x7ac03b3f
test dword [ebx + 0x4d4], 0xfffffffb
je 0x7ac03b3f
mov eax, ebx
call fcn.7ac02f40
jmp 0x7ac03b3f
Function at 0x7ac04da0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
sub esp, 0x2c
mov dword [ebp - 0x1c], ecx
test byte [0x7ac3e028], 8
jne 0x7ac04e40
mov dword [esp + 8], 0x14
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]
lea edx, [esi + esi*4]
shl edx, 2
sub esp, 0xc
mov dword [eax + 0xc], esi
mov ebx, eax
mov dword [eax], 0x7ac43690
mov dword [eax + 4], 1
mov dword [eax + 0x10], 0
mov dword [ebp - 0x20], edx
mov dword [esp + 4], edx
mov dword [esp], 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov edx, dword [ebp - 0x20]
sub esp, 8
mov dword [ebx + 8], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov eax, dword [ebp - 0x1c]
mov dword [eax], ebx
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x7ac433c9
mov dword [esp + 8], str.EnumFormatImpl_Create
mov dword [esp + 4], 0x7ac3e028
mov dword [esp], 3
call fcn.7ac043e0
jmp 0x7ac04dbd
Function at 0x7ac094d0
Capabilities:
Access peb ldr_data
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 eax, dword [ebx + 8]
mov esi, dword [eax]
mov dword [esp], ebx
call fcn.7ac2ebb0
mov dword [esp], ebx
call fcn.7ac35230
mov eax, dword [ebx + 8]
mov dword [eax], 0
test esi, esi
je 0x7ac09518
mov eax, esi
mov esi, dword [esi + 8]
cmp dword [eax], 2
je 0x7ac09620
mov dword [esp], eax
call fcn.7ac0f690
test esi, esi
jne 0x7ac094fe
mov edx, dword [ebx + 0x530]
lea edi, [ebx + 0x530]
mov ecx, dword [edx]
lea eax, [edx - 0xbc]
lea esi, [ecx - 0xbc]
cmp edi, edx
je 0x7ac09560
lea esi, [esi]
lea esi, [esi]
mov dword [esp], eax
call fcn.7ac2e400
mov edx, dword [esi + 0xbc]
mov eax, esi
lea esi, [edx - 0xbc]
lea edx, [eax + 0xbc]
cmp edx, edi
jne 0x7ac09540
mov eax, dword [ebx + 8]
lea edi, [ebx + 0xd8]
lea esi, [ebx + 0x4e8]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.7ac2e940
lea esi, [esi]
mov eax, dword [edi]
test eax, eax
je 0x7ac09592
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
add edi, 0x68
cmp esi, edi
jne 0x7ac09580
mov eax, dword [ebx + 0x4b4]
test eax, eax
je 0x7ac095ae
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_OleUninitialize]
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
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, 0xc
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.7ac14420
jmp 0x7ac094fa
Function at 0x7ac0f750
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0x18
mov dword [esp + 8], 0x13c
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]
mov dword [eax + 8], 0
sub esp, 0xc
mov dword [eax], edx
mov dword [eax + 4], 0
leave
ret

Function at 0x7ac14420
Capabilities:
Access peb ldr_data
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]
mov eax, dword [ebx + 0x2c]
cmp dword [esi + 0xf8], eax
je 0x7ac144e0
mov eax, dword [esi + 0xfc]
sub dword [ebx + 0x3c], eax
mov eax, dword [esi + 0xbc]
mov dword [esp], eax
call fcn.7ac2cc60
mov eax, dword [esi + 0x100]
test eax, eax
je 0x7ac14471
mov dword [esp], eax
call fcn.7ac2e940
mov dword [esi + 0x100], 0
mov eax, dword [esi + 0x104]
mov dword [esp], eax
call fcn.7ac2cc60
lea eax, [esi + 0xe4]
mov dword [esi + 0x104], 0
mov edi, dword [ebx + 0x544]
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x7ac144ad
jmp 0x7ac144ce
mov eax, dword [edi + 4]
cmovns eax, dword [edi + 8]
mov edi, eax
test eax, eax
je 0x7ac144ce
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [ebx + 0x540]
test eax, eax
jne 0x7ac144a0
lea eax, [ebx + 0x540]
mov edx, edi
call fcn.7ac13ff0
sub esi, 0xc
mov dword [ebp + 8], esi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.7ac0f690
mov dword [esi + 0xf8], 0
mov eax, dword [ebx + 8]
xor edx, edx
mov ecx, dword [eax]
test ecx, ecx
je 0x7ac1452c
mov edi, dword [eax + 4]
test edi, edi
je 0x7ac1452c
mov eax, dword [ecx + 8]
add edi, 0xc
add eax, 0xc
cmp eax, edi
jne 0x7ac14522
jmp 0x7ac1452c
mov eax, dword [eax + 0xf8]
cmp edx, eax
cmovl edx, eax
lea eax, [ecx + 0xc]
cmp eax, edi
je 0x7ac1452c
mov ecx, dword [eax + 0x11c]
test ecx, ecx
jne 0x7ac14510
mov dword [ebx + 0x2c], edx
jmp 0x7ac1443e
Function at 0x7ac17530
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x4c
mov eax, dword [eax + 0x21c4]
mov dword [esp + 4], 0
lea ebx, [eax*4]
mov dword [esp + 8], ebx
shr ebx, 1
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 dword [ebp - 0x2c], eax
mov dword [esp + 0x14], ebx
mov ebx, eax
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x21c4]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x21cc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [edi + 0x21c4], 0
mov esi, eax
lea eax, [edi + 0x1c4]
sub esp, 0x18
mov dword [ebp - 0x28], eax
test esi, esi
je 0x7ac1766f
mov dword [ebp - 0x1c], edi
mov edx, ebx
jmp 0x7ac175d8
test esi, esi
je 0x7ac1766f
mov edi, dword [ebp - 0x1c]
mov ebx, 0x1000
mov dword [ebp - 0x20], edx
mov eax, dword [edi + 0x1c0]
mov edi, dword [ebp - 0x28]
mov dword [esp + 4], edx
sub ebx, eax
lea eax, [edi + eax*2]
cmp ebx, esi
mov dword [esp], eax
cmova ebx, esi
lea ecx, [ebx + ebx]
sub esi, ebx
mov dword [esp + 8], ecx
mov dword [ebp - 0x24], ecx
call sub.ucrtbase.dll_memcpy
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov ecx, dword [ebp - 0x24]
add eax, dword [edi + 0x1c0]
mov dword [edi + 0x1c0], eax
add edx, ecx
cmp eax, 0x1000
jne 0x7ac175d0
mov eax, dword [edi + 0x68]
mov dword [esp + 0xc], 0x1000
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x64]
mov dword [esp], eax
call fcn.7ac03540
mov edx, dword [ebp - 0x20]
mov dword [edi + 0x1c0], 0
test esi, esi
jne 0x7ac175d8
mov edi, dword [ebp - 0x2c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
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 - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x7ac17b90
Capabilities:
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 [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x7ac17be7
mov dword [esp + 8], eax
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 + 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
sub esp, 0xc
mov eax, ebx
call fcn.7ac17390
mov eax, dword [ebx + 0x21cc]
mov edi, dword fs:[0x18]
jmp 0x7ac17c0c
mov edx, dword [eax + 0x920]
mov dword [ebx + 0x2358], edx
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 + 0x2358]
sub esp, 0xc
test eax, eax
jne 0x7ac17c00
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x7ac17c40
Capabilities:
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 edx, dword [ebx + 0x14]
test edx, edx
je 0x7ac17dbf
lea edi, [ebx + 0x84]
lea eax, [ebx + 0x80]
mov dword [ebx + 0x6c], 0
and edi, 0xfffffffc
mov dword [ebx + 0x70], 0
sub eax, edi
mov dword [ebx + 0x74], 0
lea ecx, [eax + 0x13c]
xor eax, eax
mov dword [ebx + 0x78], 0
shr ecx, 2
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x1b8], 0
rep stosd dword es:[edi], eax
mov eax, ebx
mov dword [ebx + 0x80], 0x7ac192e0
mov dword [ebx + 0x98], 0x7ac17f70
mov dword [ebx + 0x9c], 0x7ac18250
mov dword [ebx + 0xa8], 0x7ac18230
mov dword [ebx + 0x130], 0x7ac190c0
mov dword [ebx + 0x134], 0x7ac190e0
mov dword [ebx + 0x1bc], 0
call fcn.7ac17390
mov eax, dword [ebx + 0x21cc]
mov dword [ebx + 0x50], 0x4e4
mov dword [ebx + 0x58], 1
mov dword [ebx + 0x5c], 0x4e4
mov dword [ebx + 0x54], 0
mov dword [ebx], 0xffffffff
mov dword [ebx + 0x28], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x3c], 0xffffffff
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x21c4], 0
test eax, eax
je 0x7ac17e24
lea edi, [ebx + 0x2370]
lea eax, [ebx + 0x236c]
mov dword [ebx + 0x2358], 0
mov dword [ebx + 0x235c], 0
and edi, 0xfffffffc
mov dword [ebx + 0x2360], 0
sub eax, edi
mov dword [ebx + 0x2364], 0
lea ecx, [eax + 0xb8]
xor eax, eax
mov dword [ebx + 0x236c], 0
shr ecx, 2
mov dword [ebx + 0x2420], 0
rep stosd dword es:[edi], eax
mov dword [ebx + 0x2368], 0xbc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x400
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [ebx + 0x14], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebx + 0x14]
mov dword [ebx + 0x38], eax
sub esp, 0xc
test edx, edx
je 0x7ac17e61
test eax, eax
je 0x7ac17e61
mov byte [eax], 0
mov byte [edx], 0
jmp 0x7ac17c57
mov dword [ebx + 0x21c8], 0x1000
mov eax, dword fs:[0x18]
mov dword [esp + 8], 0x1000
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]
mov dword [ebx + 0x21cc], eax
sub esp, 0xc
jmp 0x7ac17d53
test byte [0x7ac40d60], 2
je 0x7ac17db7
mov dword [esp + 0xc], str.Cannot_allocate_text_buffers._n
mov dword [esp + 8], str.RTFInit
mov dword [esp + 4], 0x7ac40d60
mov dword [esp], 1
call fcn.7ac17140
jmp 0x7ac17db7
Function at 0x7ac19a50
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
mov esi, 0x7ac3e220
push ebx
mov ebx, 0x17ad2209
sub esp, 0x1c
mov dword [esp + 8], 0x2b40
mov dword [esp + 4], 0
mov dword [esp], 0x7ac62040
call sub.ucrtbase.dll_memset
mov eax, dword [str.vern]
test eax, eax
je 0x7ac19b24
lea esi, [esi]
lea edx, [eax + 1]
movsx eax, byte [eax]
xor ecx, ecx
xor edi, edi
test al, al
je 0x7ac19ac5
nop
add edx, 1
add ecx, eax
movsx eax, byte [edx - 1]
test al, al
jne 0x7ac19aa0
mov edx, ecx
shr edx, 3
mov eax, edx
mul ebx
mov edi, edx
shr edi, 4
imul eax, edi, 0x568
mov edi, ecx
sub edi, eax
mov eax, dword [edi*8 + 0x7ac62040]
mov dword [esi + 0xc], ecx
test eax, eax
jne 0x7ac19b30
mov dword [esp + 8], 4
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]
mov dword [edi*8 + 0x7ac62044], eax
sub esp, 0xc
mov edx, dword [edi*8 + 0x7ac62040]
lea ecx, [edx + 1]
mov dword [edi*8 + 0x7ac62040], ecx
mov dword [eax + edx*4], esi
mov eax, dword [esi + 0x18]
add esi, 0x10
test eax, eax
jne 0x7ac19a90
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [eax*4 + 4]
mov eax, dword [edi*8 + 0x7ac62044]
test eax, eax
je 0x7ac19b74
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
mov dword [edi*8 + 0x7ac62044], eax
jmp 0x7ac19b02
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 0x7ac19b6b
Function at 0x7ac22fb0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
mov eax, dword fs:[0x18]
sub esp, 0x1c
mov dword [esp + 8], 0x1c
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
test eax, eax
je 0x7ac23025
mov edx, dword [ebx + 0x20]
lea ecx, [ebx + 0x20]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0x7ac4ab00
mov dword [eax], edx
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], esi
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov edx, dword [ebp + 8]
mov dword [ebx + 0x20], eax
add eax, 0xc
mov dword [edx], eax
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x8007000e
jmp 0x7ac2301d

Function at 0x7ac23d70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
mov eax, dword fs:[0x18]
sub esp, 0x2c
mov dword [ecx], 0
mov dword [esp + 8], 0x74
mov dword [esp + 4], 0
mov eax, dword [eax + 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
test eax, eax
je 0x7ac23e88
mov dword [eax], 0x7ac40e60
mov ebx, eax
mov dword [eax + 4], 1
test edi, edi
je 0x7ac23e30
mov dword [eax + 8], 0
lea ecx, [eax + 0xc]
lea esi, [edi + 0xc]
mov dword [eax + 0x6c], 1
mov dword [eax + 0x70], 1
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x68]
lea edi, [ebx + 0x10]
and edi, 0xfffffffc
sub ecx, edi
mov dword [ebx + 0x68], eax
sub esi, ecx
add ecx, 0x60
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x7ac23e18
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [ebx + 0x38], eax
sub esp, 4
mov eax, dword [ebp - 0x20]
mov dword [eax], ebx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [eax + 8], esi
mov eax, dword [esi]
lea edi, [ebx + 0xc]
mov dword [esp], esi
call dword [eax + 4]
lea eax, [ebx + 0x38]
mov dword [ebx + 0x6c], 0
xor edx, edx
mov dword [ebx + 0x70], 0
sub esp, 4
mov dword [ebp - 0x1c], eax
jmp 0x7ac23e73
mov ecx, edi
mov eax, ebx
call fcn.7ac238d0
cmp esi, 0x17
ja 0x7ac23e18
add edi, 4
mov edx, esi
lea esi, [edx + 1]
cmp edx, 0xb
jne 0x7ac23e60
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x1c]
call fcn.7ac234f0
jmp 0x7ac23e6e
mov eax, 0x8007000e
jmp 0x7ac23e1f
Function at 0x7ac2a1b0
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 + 0x20]
test eax, eax
je 0x7ac2a1cc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x7ac2a1de
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x7ac2a1f0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
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 ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret

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

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0x18
mov dword [esp + 8], 0x10
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
test eax, eax
je 0x7ac2cb2b
mov edx, dword [ebp + 8]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], edx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x1c
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x7ac2cbaf
mov dword [eax + 0xc], 0x7ac2caa0
mov eax, dword [ebp + 8]
mov dword [ebx + 4], eax
lea eax, [eax + eax + 0x82]
and eax, 0xffffffc0
mov dword [ebx + 8], eax
add eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x7ac2cbb9
mov edx, dword [ebx + 4]
xor ecx, ecx
mov word [eax + edx*2], cx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x7ac2cbaf

Function at 0x7ac2cc60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x7ac2cc9e
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x7ac2cc7a
mov dword [esp], ebx
call 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
mov ebx, dword [ebp - 4]
leave
ret