joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d2ce
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407cfb
mov dword [ebp - 0x14], eax
cmp dword [0x813e38], esi
jne 0x40d3c1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d34e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d4a1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d4a1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d4a1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813e38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813e3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813e40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813e48], eax
test eax, eax
je 0x40d3be
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813e44], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d3e6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d3d9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d3fb
push 4
pop eax
jmp 0x40d4a3
cmp dword [ebp - 0x14], esi
je 0x40d3fb
push dword [0x813e38]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d3e0
mov eax, dword [0x813e44]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d459
cmp dword [0x813e48], edi
je 0x40d459
push eax
call ebx
push dword [0x813e48]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d459
test eax, eax
je 0x40d459
call ecx
test eax, eax
je 0x40d44e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d44e
test byte [ebp - 8], 1
jne 0x40d459
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d489
mov eax, dword [0x813e3c]
cmp eax, edi
je 0x40d486
push eax
call ebx
test eax, eax
je 0x40d486
call eax
mov esi, eax
test esi, esi
je 0x40d486
mov eax, dword [0x813e40]
cmp eax, edi
je 0x40d486
push eax
call ebx
test eax, eax
je 0x40d486
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813e38]
call ebx
test eax, eax
je 0x40d4a1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d4a3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040440e
mov esp, ebp
pop ebp
ret
Function at 0x100096e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101474c0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101a8f24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
mov edi, 0xf
push 0x101589fa
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.100016b0
push 1
push 0x101589f8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.100016b0
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000980a
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x100097fc
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], edx
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x10009786
sub ecx, dword [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100016b0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], 0xf
lea eax, [ebp - 0x48]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100015c0
mov edi, 0x10
cmp dword [ebp - 0x14], edi
jb 0x100097da
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.1012349f
add esp, 4
cmp dword [ebp - 0x30], edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
jb 0x100097f8
mov edx, dword [ebp - 0x44]
push edx
call fcn.1012349f
add esp, 4
mov eax, esi
jmp 0x1000983e
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
lea eax, [ebp - 0x2c]
jmp 0x100097b3
mov edi, 0x10
cmp dword [ebp - 0x14], edi
jb 0x10009820
mov eax, dword [ebp - 0x28]
push eax
call fcn.1012349f
add esp, 4
cmp dword [ebp - 0x30], edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
jb 0x1000983e
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.1012349f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10123a72
mov esp, ebp
pop ebp
ret
Function at 0x10012da0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor al, al
mov esi, ecx
mov byte [ebp - 4], al
mov byte [ebp - 3], al
mov eax, dword [esi]
push eax
push 2
lea ecx, [ebp - 4]
push ecx
push 0x101589fa
push str.enabled
push 0x10158d8c
call edi
mov eax, dword [esi + 4]
cmp byte [ebp - 4], 0x31
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x20
lea ecx, [esi + 0xa]
push ecx
push 0x10158ab0
push str.servername
sete dl
push str.sro_devkit
mov byte [esi + 8], dl
call ebx
mov edx, dword [esi + 4]
push edx
push 0x20
lea eax, [esi + 0x4a]
push eax
push 0x10158ab0
push str.userid
push str.sro_devkit
call ebx
mov ecx, dword [esi + 4]
push ecx
push 0x20
lea edx, [esi + 0x8a]
push edx
push 0x10158ab0
push str.passwd
push str.sro_devkit
call ebx
mov eax, dword [esi]
push eax
push 0x20
push 0x101ab578
push 0x101589fa
push str.charname
push 0x10158d8c
call edi
mov ecx, dword [esi]
push ecx
push 0x20
push 0x101ab598
push 0x101589fa
push str.ibuv_text
push 0x10158d8c
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100132c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x101aac58]
push esi
xor esi, esi
cmp eax, esi
je 0x100132db
lea esp, [esp]
cmp dword [eax + 4], esi
jne 0x10013323
mov eax, dword [eax]
cmp eax, esi
jne 0x100132d0
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, esi
je 0x10013323
lea ecx, [eax + 0x20]
mov edx, ecx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
sub edx, eax
nop
mov esi, dword [eax + 4]
mov dword [ecx], esi
mov dword [eax + 4], ecx
add edx, 0x20
add ecx, 0x20
cmp edx, 0xfe0
jbe 0x10013300
mov ecx, dword [0x101aac58]
mov dword [eax], ecx
mov dword [0x101aac58], eax
pop esi
ret
Function at 0x10013d30
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 4], edi
je 0x10013e13
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10013e0c
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp dword [ebp - 0x20], 0x10
jb 0x10013dec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10013dec
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10013dec
mov eax, dword [esi]
test eax, eax
jne 0x10013db4
push 0x200
mov dword [esi + 4], 0x80
mov ecx, dword [0x101aac6c]
push eax
push ecx
call edi
test eax, eax
mov dword [esi], eax
je 0x10013e08
jmp 0x10013ddd
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jb 0x10013ddd
lea edx, [ecx*8]
push edx
push eax
mov eax, dword [0x101aac6c]
push 0
push eax
call ebx
test eax, eax
je 0x10013e08
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi], eax
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4], ecx
add dword [esi + 8], 1
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20]
push edx
push eax
mov dword [ebp - 0x20], 0x1c
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10013d74
mov edi, dword [ebp - 4]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10013e20
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.10013d30
cmp dword [esi], ebx
je 0x10013e7d
cmp dword [esi + 8], ebx
jbe 0x10013e7d
push edi
mov eax, dword [esi]
mov ecx, dword [eax + ebx*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10013e74
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.10013c00
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 1
cmp ebx, dword [esi + 8]
jb 0x10013e40
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10013e90
Capabilities:
Resume thread

Disassembly:
cmp dword [ebx], 0
je 0x10013edf
push edi
xor edi, edi
cmp dword [ebx + 8], edi
jbe 0x10013ecd
push esi
mov edi, edi
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10013ec4
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
cmp edi, dword [ebx + 8]
jb 0x10013ea0
pop esi
mov edx, dword [ebx]
mov eax, dword [0x101aac6c]
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
ret
Function at 0x10013ee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
imul esi, esi, 0x2c
add esi, dword [0x101aac5c]
push edi
test byte [esi + 0x14], 1
mov edi, dword [esi]
mov ebx, 5
je 0x10013f06
sub edi, ebx
mov ebx, 7
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10013f24
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
je 0x10013f49
mov byte [edi], 0xe9
mov ecx, dword [esi + 4]
sub ecx, edi
sub ecx, 5
mov dword [edi + 1], ecx
test byte [esi + 0x14], 1
je 0x10013f6a
mov eax, dword [esi]
mov byte [eax], 0xeb
mov byte [eax + 1], 0xf9
jmp 0x10013f6a
mov edx, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], edx
je 0x10013f64
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov cl, byte [esi + 0x12]
mov byte [edi + 6], cl
jmp 0x10013f6a
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [ebp + 8]
mov dl, byte [esi + 0x14]
and al, 1
mov cl, al
add cl, cl
and dl, 0xfd
or cl, dl
add al, al
and cl, 0xfb
add al, al
or cl, al
pop edi
mov byte [esi + 0x14], cl
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100143a0
Capabilities:
Check for software breakpoints

Disassembly:
mov cl, byte [esi]
test cl, cl
je 0x100143b3
cmp cl, 0x90
je 0x100143b3
cmp cl, 0xcc
je 0x100143b3
xor eax, eax
ret
mov eax, 1
cmp edx, eax
jbe 0x100143cc
lea esp, [esp]
cmp byte [eax + esi], cl
jne 0x100143b0
add eax, 1
cmp eax, edx
jb 0x100143c0
mov eax, 1
ret
Function at 0x10021090
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [0x101aa860]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
add edi, 0x9811f8
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x100210d8
push str.Failed_to_unprotect_memory_n
call fcn.10125754
push str.Failed_to_unprotect_memory_n
call fcn.10123bb7
add esp, 8
jmp 0x100210e8
push ebx
mov dword [edi], 0x10020290
mov ecx, dword [ebp - 4]
push ecx
push 4
push edi
call esi
mov edi, dword [0x101aa860]
lea edx, [ebp - 4]
push edx
push 0x40
push 4
add edi, 0x9811fc
push edi
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x1002111f
push str.Failed_to_unprotect_memory_n
call fcn.10125754
push str.Failed_to_unprotect_memory_n
call fcn.10123bb7
add esp, 8
jmp 0x1002112f
push ebx
mov dword [edi], 0x10020320
mov eax, dword [ebp - 4]
push eax
push 4
push edi
call esi
mov edi, dword [0x101aa860]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 4
add edi, 0x981208
push edi
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x10021166
push str.Failed_to_unprotect_memory_n
call fcn.10125754
push str.Failed_to_unprotect_memory_n
call fcn.10123bb7
add esp, 8
jmp 0x10021176
push ebx
mov dword [edi], 0x10020450
mov edx, dword [ebp - 4]
push edx
push 4
push edi
call esi
mov edi, dword [0x101aa860]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
add edi, 0x98120c
push edi
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x100211ad
push str.Failed_to_unprotect_memory_n
call fcn.10125754
push str.Failed_to_unprotect_memory_n
call fcn.10123bb7
add esp, 8
jmp 0x100211bd
push ebx
mov dword [edi], 0x10020490
mov ecx, dword [ebp - 4]
push ecx
push 4
push edi
call esi
mov eax, dword [0x101aa860]
lea edx, [ebp - 8]
push edx
push 0x40
push 8
add eax, 0x9d7c98
push eax
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x100211f7
push str.Failed_to_unprotect_memory_n
call fcn.10125754
push str.Failed_to_unprotect_memory_n
call fcn.10123bb7
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101aa860]
fldz
add eax, 0x9d7c98
fstp qword [eax]
mov ecx, dword [ebp - 8]
push ebx
push ecx
push 8
push eax
call esi
call fcn.100204d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10027280
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101a8f24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [ebp - 0xc], 0xe9
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xb], eax
call edi
test eax, eax
jne 0x100272dd
push str.Failed_to_unprotect_memory_n
call fcn.10125754
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123a72
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 8]
push 0
push ecx
push 5
mov dword [esi], edx
push esi
mov byte [esi + 4], al
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10123a72
mov esp, ebp
pop ebp
ret

Function at 0x10027310
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
lea esi, [edi + 1]
push esi
mov dword [ebp - 4], 0
call ebx
test eax, eax
jne 0x1002734d
push str.Failed_to_unprotect_memory_n
call fcn.10125754
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push 0
push edx
sub ecx, edi
push 4
sub ecx, 5
push esi
mov dword [esi], ecx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10027370
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
jne 0x100273a1
push str.Failed_to_unprotect_memory_n
call fcn.10125754
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push 0
push edx
push 4
push esi
mov dword [esi], ecx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100273c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp + 8]
push edx
push 0x40
lea esi, [eax + ecx*4]
push 4
push esi
call edi
test eax, eax
jne 0x100273f4
push str.Failed_to_unprotect_memory_n
call fcn.10125754
add esp, 4
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push 0
push ecx
push 4
push esi
mov dword [esi], eax
call edi
pop edi
pop esi
pop ebp
ret
Function at 0x10027450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x1002747a
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x90
push edi
call fcn.10123d10
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push esi
push edi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10027500
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10149060
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101a8f24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push ecx
push esi
mov dword [ebp - 4], 0
call fcn.100274a0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
push 0x40
push 5
push esi
call edi
test eax, eax
setne al
test al, al
jne 0x10027578
push 0x10192418
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0xffffffff
call fcn.10123527
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x18]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
push eax
push ecx
push 5
push esi
mov byte [esi + 4], dl
call edi
test eax, eax
setne al
test al, al
jne 0x100275c5
push 0x10192418
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 0xfffffffe
call fcn.10123527
mov eax, dword [ebp - 0x30]
push eax
push str.Detour::JMPFunction_failed_with_ex___d_
call fcn.10123bb7
add esp, 8
mov eax, 0x100275c5
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10123a72
mov esp, ebp
pop ebp
ret
Function at 0x10027740
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov esi, 0x86bc34
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x10027778
push str.Failed_to_unprotect_memory_n
call fcn.10125754
add esp, 4
jmp 0x1002778d
mov ecx, dword [ebp - 4]
push 0
push ecx
push 4
push 0x86bc34
mov dword [esi], 0xff00ff00
call edi
mov eax, 1
test byte [0x101aae5c], al
pop edi
pop esi
jne 0x100277cc
or dword [0x101aae5c], eax
push 0x10155210
mov dword [0x101aae58], 7
mov dword [0x101aae54], 0
mov word [0x101aae44], 0
call fcn.10123ba5
add esp, 4
cmp dword [0x101aae54], 0
jne 0x10027819
push 0x13
push str._____Ver____d._03d_n
mov ecx, 0x101aae40
call fcn.100275f0
push 0x18
push str._____ZolaFilter_Premuim_n
mov ecx, 0x101aae40
call fcn.100275f0
push 0x11
push str._____2023___2025_n
mov ecx, 0x101aae40
call fcn.100275f0
push 0x14
push 0x1015b00c
mov ecx, 0x101aae40
call fcn.100275f0
cmp dword [0x101aae58], 8
mov byte [ebp - 0xc], 0x68
jb 0x10027831
mov edx, dword [0x101aae44]
mov dword [ebp - 0xb], edx
jmp 0x10027838
mov dword [ebp - 0xb], 0x101aae44
push 5
lea eax, [ebp - 0xc]
push eax
push 0x86bc6f
call fcn.10084a90
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x10056700
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0x12
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
cmp ax, 0xff81
je 0x10056720
cmp ax, 0xff80
jne 0x1005672c
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
mov ecx, esi
call edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 2]
mov eax, 0x51eb851f
imul ecx
mov dword [esi + 0x7c8], ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esi + 0x7bc], ecx
mov dword [esi + 0x7c0], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100637d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101a8f24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [ebp - 0xc], 0xe9
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xb], eax
call edi
test eax, eax
jne 0x10063817
push str.Failed_to_unprotect_memory_n
jmp 0x10063838
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 8]
mov dword [esi], edx
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x10063840
push str.Failed_to_restore_protection_on_memory
call fcn.10125754
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10123a72
mov esp, ebp
pop ebp
ret 8