joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ece9
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x47dc84
call fcn.00478530
sub esp, 0x18
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov ecx, dword [edi + 0x540]
cmp eax, ecx
je 0x43edb5
lea eax, [edi + 0x5fd]
cmp byte [eax], 0
jne 0x43ed21
mov byte [eax], 1
jmp 0x43edb5
cmp dword [edi + 0x548], 0
je 0x43edb5
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43edb5
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x43ed4f
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x43edb5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x24]
mov ebx, eax
call fcn.00426a17
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push 1
push eax
push ebx
call fcn.0040b357
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x24]
call fcn.00422c4a
mov esi, eax
mov edx, eax
pop ebx
mov cl, byte [esi]
inc esi
cmp cl, 0xd
je 0x43ed8e
mov byte [edx], cl
inc edx
test cl, cl
jne 0x43ed8e
mov ecx, dword [edi + 0x53c]
push eax
call fcn.0043df3c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00426ad9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x441b7a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x40]
push ebx
push esi
mov esi, dword [edx + 4]
mov ebx, dword [edx]
push edi
mov edi, dword [ecx + 0x48]
imul eax, ebx
imul edi, esi
add eax, edi
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
add eax, dword [ecx + 8]
sub edx, esi
mov esi, dword [ecx + 0x44]
sub edi, ebx
sub esi, edi
test edx, edx
jle 0x441c04
shl esi, 2
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
test edi, edi
jle 0x441bfc
mov dword [ebp + 8], edi
mov edx, dword [eax]
add eax, 4
mov esi, edx
mov ebx, edx
shr esi, 0xd
and esi, 0xff
and ebx, 0xff
xor esi, ebx
mov esi, dword [ecx + esi*4 + 0x864]
jmp 0x441be8
cmp dword [esi + 8], edx
je 0x441c0b
mov esi, dword [esi]
test esi, esi
jne 0x441be1
or dl, 0xff
mov esi, dword [ebp + 0xc]
inc dword [ebp + 0xc]
dec dword [ebp + 8]
mov byte [esi], dl
jne 0x441bbe
add eax, dword [ebp - 8]
dec dword [ebp - 4]
jne 0x441bb7
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dl, byte [esi + 4]
jmp 0x441bef
Function at 0x4445c6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47df02
call fcn.00478530
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.00427a90
mov dword [esi], 0x47fbec
push fcn.00436d1a
push 0x416fa6
push 5
lea eax, [esi + 0x30]
push 0xc
push eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call fcn.00478713
lea edi, [esi + 0x6c]
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00427a90
mov ecx, dword [ebp - 0xc]
mov dword [edi], 0x47fc14
mov dword [esi], 0x480110
mov byte [esi + 0x10], bl
mov dword [esi + 0xc], 0xad
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44684b
Capabilities:
Move file

Disassembly:
mov eax, 0x47e0a8
call fcn.00478530
sub esp, 0x44
push esi
mov esi, ecx
cmp byte [esi + 0x40], 0
jne 0x44687f
lea eax, [ebp - 0x2c]
push str.FileManager_is_forbidden
push eax
call fcn.004253a6
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x4a781a]
push ebx
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.0041a24a
mov ecx, dword [esi + 0xc]
xor edi, edi
mov dword [ebp - 0x10], edi
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push 2
push edx
mov dword [ebp - 4], edi
call dword [eax + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.00426a4d
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
mov ebx, dword [eax]
movzx eax, word [ebp - 0x10]
push eax
call fcn.00422c4a
mov ecx, dword [esi + 0xc]
push eax
call dword [ebx + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.004272ec
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x50]
push eax
call fcn.00426e4c
or ebx, 0xffffffff
mov ecx, eax
push ebx
mov byte [ebp - 4], 2
call fcn.00428c5a
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b43a
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.004284bd
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push eax
call fcn.00426e4c
push ebx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00428c5a
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040b43a
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.00429cf0
add esp, 0x18
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00429a78
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004284bd
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x50]
push eax
call fcn.00426e4c
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00428c5a
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040b43a
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xb
call fcn.00429cf0
add esp, 0x18
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.00429a78
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.004284bd
lea ecx, [ebp - 0x18]
call fcn.00428c5a
push eax
lea ecx, [ebp - 0x1c]
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
jne 0x4469d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x50]
call fcn.00426af5
push 0x46
lea ecx, [ebp - 0x50]
call fcn.00426beb
push edi
lea ecx, [ebp - 0x50]
call fcn.00426c09
mov eax, dword [esi + 0xc]
push 1
push dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
mov edi, dword [eax]
call fcn.004272fd
mov ecx, dword [esi + 0xc]
push eax
call dword [edi]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00429a78
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00429a78
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00429a78
and byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00426ad9
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0041a267
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x446a4f
Capabilities:
Create directory

Disassembly:
mov eax, 0x47e0d4
call fcn.00478530
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x40], bl
jne 0x446a85
lea eax, [ebp - 0x24]
push str.FileManager_is_forbidden
push eax
call fcn.004253a6
pop ecx
lea eax, [ebp - 0x24]
pop ecx
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x4a781a]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041a24a
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x10], ebx
lea edx, [ebp - 0x10]
push 2
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], ebx
call dword [eax + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00426a4d
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
mov edi, dword [eax]
movzx eax, word [ebp - 0x10]
push eax
call fcn.00422c4a
mov ecx, dword [esi + 0xc]
push eax
call dword [edi + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004272ec
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
call fcn.00426de9
movzx ecx, word [ebp - 0x10]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00428c5a
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b43a
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004284bd
push ebx
lea ecx, [ebp - 0x14]
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebx
je 0x446b2c
xor edi, edi
jmp 0x446b34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x3c]
call fcn.00426af5
push 0x46
lea ecx, [ebp - 0x3c]
call fcn.00426beb
push edi
lea ecx, [ebp - 0x3c]
call fcn.00426c09
mov eax, dword [esi + 0xc]
push 1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x3c]
mov edi, dword [eax]
call fcn.004272fd
mov ecx, dword [esi + 0xc]
push eax
call dword [edi]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00429a78
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00426ad9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041a267
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x447729
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x447766
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.Error__d_GetFileSizeEx__
push eax
call fcn.004253a6
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
leave
ret

Function at 0x44776e
Capabilities:
Check if file exists
Get file size

Disassembly:
mov eax, 0x47e1d8
call fcn.00478530
sub esp, 0x18
push ebx
push esi
push 0
push 0x80
xor esi, esi
push 3
push 0
inc esi
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4477ed
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x4477b4
or edx, ebx
mov eax, edx
jmp 0x44785f
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00428575
and dword [ebp - 4], 0
mov ecx, eax
call fcn.00428c5a
push eax
call esi
push eax
lea eax, [ebp - 0x1c]
push str.Error__d_while_open_file__s
push eax
call fcn.004253a6
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x447838
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00428575
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push str.Error__d_in_GetFileSizeEx___for__s
push eax
call fcn.004253a6
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x447859
push 0x38
push str.S:Ammyy_sources_targetTrFmFileSys.cpp
lea ecx, [ebp - 0x24]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44786d
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov eax, 0x47e1fc
call fcn.00478530
sub esp, 0x258
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.00429af1
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00448034
test al, al
pop ecx
jne 0x4478a8
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0042a114
lea eax, [ebp - 0x14]
push 0x4a0814
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00429d5c
add esp, 0xc
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x10]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00429a78
cmp edi, 0xffffffff
jne 0x447900
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00429c4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4479c6
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00429d5c
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
call fcn.004479fb
add esp, 0x10
test al, al
jne 0x44798b
test byte [ebp - 0x264], 1
je 0x44794c
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x10]
and al, 0xfe
push eax
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x264], 0x10
lea ecx, [ebp - 0x10]
je 0x44797b
push dword [ebp + 0xc]
call fcn.00428c5a
push eax
call fcn.0044786d
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x44798b
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00429a78
jmp 0x4479c6
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4479e3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00429a78
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x447900
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4478e8
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00429a78
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00429c4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44796e
Function at 0x447dca
Capabilities:
Create directory

Disassembly:
mov eax, 0x47e280
call fcn.00478530
push ebx
push esi
push edi
lea ecx, [ebp + 8]
push dword [ebp + 8]
call fcn.00429af1
xor ebx, ebx
lea ecx, [ebp + 8]
push ebx
mov dword [ebp - 4], ebx
call fcn.00429f77
mov edi, dword [sym.imp.MSVCRT.dll_wcschr]
push 0x5c
push eax
call edi
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x447e40
add esi, 2
push 0x5c
push esi
call edi
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x447e40
push ebx
lea ecx, [ebp + 8]
mov word [esi], bx
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x447e37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x447e3e
mov word [esi], 0x5c
jmp 0x447e03
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00429a78
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44805a
Capabilities:
Check if file exists
Enumerate files on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa60
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 8]
mov dword [esi + 4], edi
cmp word [eax], di
jne 0x448100
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
cmp ebx, edi
jne 0x4480b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [esi + 4], eax
ja 0x44816b
push 0x168
push str.S:Ammyy_sources_targetTrFmFileSys.cpp
lea ecx, [ebp - 0x10]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
jmp 0x44816b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 8]
mov eax, dword [0x49ef8c]
mov dword [ebp - 8], eax
mov eax, dword [0x49ef90]
mov dword [ebp - 4], eax
mov eax, ebx
mov ecx, edi
shr eax, cl
test al, 1
je 0x4480ee
lea eax, [edi + 0x41]
lea ecx, [ebp - 8]
mov word [ebp - 8], ax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
inc edi
cmp edi, 0x1a
jl 0x4480d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
jmp 0x4481c3
push eax
lea eax, [ebp - 0xa60]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0xa60]
push 0x4a0814
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0xa60]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x448173
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov dword [esi + 4], eax
jne 0x44816b
mov eax, dword [esi + 8]
cmp word [eax], di
jbe 0x44816b
cmp word [eax + 2], 0x3a
jne 0x44816b
cmp word [eax + 4], 0x5c
jne 0x44816b
cmp word [eax + 6], di
jne 0x44816b
mov dword [esi + 4], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
jmp 0x4481c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [ebp - 0x234]
push eax
call fcn.004479fb
test al, al
pop ecx
jne 0x4481aa
test byte [ebp - 0x25f], 4
je 0x44819c
test byte [ebp - 0x260], 0x10
jne 0x4481aa
mov eax, dword [esi]
lea ecx, [ebp - 0x260]
push ecx
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x448179
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4488fe
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x44893b
mov al, byte [esi]
push 0
push 1
push eax
call fcn.0043d868
push dword [esi]
push str.fake__d_down
push str.S:Ammyy_sources_targetTrKeymap.cpp
push 2
push 0x4a7870
call fcn.0041a43a
add esp, 0x20
mov byte [esi + 4], 1
pop esi
ret

Function at 0x44893d
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x44897a
mov al, byte [esi]
push 0
push 0
push eax
call fcn.0043d868
push dword [esi]
push str.fake__d_up
push str.S:Ammyy_sources_targetTrKeymap.cpp
push 2
push 0x4a7870
call fcn.0041a43a
add esp, 0x20
mov byte [esi + 5], 1
pop esi
ret

Function at 0x448a06
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
movzx esi, byte [esp + 8]
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x448a41
push esi
push str.SetKeyState__d
push str.S:Ammyy_sources_targetTrKeymap.cpp
push 2
push 0x4a7870
call fcn.0041a43a
push 0
push 0
push dword [esp + 0x24]
call fcn.0043d868
add esp, 0x20
pop esi
ret

Function at 0x44ac75
Capabilities:
Lock the desktop

Disassembly:
mov eax, 0x47e5e0
call fcn.00478530
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
lea eax, [edi + 0x18]
push eax
call fcn.00425fd6
mov esi, dword [ebp + 8]
mov eax, dword [edi]
and dword [ebp - 4], 0
mov ecx, edi
mov bx, word [esi + 0x7c]
call dword [eax + 0x14]
movsx ecx, bx
lea eax, [eax + ecx*4]
cmp dword [eax], esi
je 0x44accd
lea eax, [ebp - 0x18]
push str.in_RemoveClient__1
push eax
call fcn.004253a6
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
and dword [eax], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00425fea
mov eax, dword [esi + 0x34]
push str.deleteing_client_object_from_memory
push str.S:Ammyy_sources_targetTrMain.cpp
mov ebx, 0x4a7870
push 2
push ebx
mov dword [ebp + 8], eax
call fcn.0041a43a
mov eax, dword [esi]
add esp, 0x10
mov ecx, esi
push 1
call dword [eax]
xor esi, esi
push str.RemoveClient___done
push str.S:Ammyy_sources_targetTrMain.cpp
inc esi
push 2
push ebx
mov dword [edi + 0xbc], esi
call fcn.0041a43a
add esp, 0x10
cmp byte [0x4a784c], 0
je 0x44ad54
cmp dword [ebp + 8], 5
jne 0x44ad54
push esi
push 5
call fcn.00412da3
pop ecx
test al, al
pop ecx
jne 0x44ad54
push 0
push 5
call fcn.00412da3
pop ecx
test al, al
pop ecx
jne 0x44ad54
call dword [sym.imp.USER32.dll_LockWorkStation]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x44b2d7
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x104]
push str._taskmgr.exe
push eax
call sub.MSVCRT.dll_strcat
pop ecx
mov eax, 0x4a73e0
pop ecx
push 5
push eax
push eax
lea eax, [ebp - 0x104]
push eax
push 0x493ee0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
leave
ret
Function at 0x44ef52
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44ef8d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push 0x4a1180
push eax
call fcn.004253a6
add esp, 0x10
lea eax, [ebp - 8]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret
Function at 0x44f1c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x8c]
cmp ecx, eax
jbe 0x44f1e9
mov ecx, eax
test ecx, ecx
mov dword [esi + 0x78], ecx
je 0x44f376
xor edi, edi
cmp dword [esi + 0x6c], edi
jne 0x44f283
mov eax, dword [esi + 0x88]
cmp eax, edi
je 0x44f283
mov ebx, 0x4000
cmp eax, ebx
jae 0x44f21c
mov ebx, eax
cmp ebx, edi
je 0x44f37e
push ebx
push dword [esi + 0x64]
push esi
call fcn.00450cbe
add esp, 0xc
test eax, eax
je 0x44f394
sub dword [esi + 0x88], ebx
mov eax, dword [esi + 0x64]
test byte [esi + 0x3c], 1
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ebx
je 0x44f283
test ebx, ebx
jbe 0x44f283
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x64]
and eax, 0xfffd
add ecx, edi
or al, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor byte [ecx], dl
mov eax, dword [esi + 0x64]
mov al, byte [edi + eax]
push eax
lea eax, [esi + 0x90]
push eax
call fcn.0044f4ae
inc edi
pop ecx
cmp edi, ebx
pop ecx
jb 0x44f24a
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x6c]
cmp eax, ecx
jbe 0x44f292
mov eax, ecx
test eax, eax
je 0x44f2c1
mov edx, dword [esi + 0x68]
sub ecx, eax
lea edi, [edx + eax]
mov dl, byte [edi - 1]
sub dword [esi + 0x8c], eax
sub dword [esi + 0x9c], eax
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], edi
jne 0x44f2c1
cmp dl, byte [esi + 0xa0]
jne 0x44f39d
cmp word [esi + 0x3e], 0
jne 0x44f316
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x6c]
cmp eax, edi
jae 0x44f2d4
mov edi, eax
push edi
push dword [esi + 0x68]
push dword [esi + 0x74]
call sub.MSVCRT.dll_memcpy
push edi
lea ebx, [esi + 0x84]
push dword [esi + 0x74]
push dword [ebx]
call fcn.0044f3a6
sub dword [esi + 0x8c], edi
sub dword [esi + 0x6c], edi
sub dword [esi + 0x78], edi
add dword [esi + 0x74], edi
add dword [esi + 0x68], edi
add dword [esi + 0x7c], edi
add esp, 0x18
add dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [esi + 0x8c]
jmp 0x44f368
mov eax, dword [esi + 0x74]
mov ebx, dword [esi + 0x7c]
mov dword [ebp + 8], eax
lea eax, [esi + 0x68]
push 2
push eax
call fcn.0044f502
pop ecx
mov dword [ebp + 0xc], eax
test eax, eax
pop ecx
je 0x44f338
cmp eax, 1
jne 0x44f389
mov edi, dword [esi + 0x7c]
sub edi, ebx
lea ebx, [esi + 0x84]
push edi
push dword [ebp + 8]
push dword [ebx]
call fcn.0044f3a6
sub dword [esi + 0x8c], edi
add dword [ebp - 4], edi
add esp, 0xc
cmp dword [ebp + 0xc], 1
mov dword [ebx], eax
mov eax, dword [esi + 0x8c]
je 0x44f376
test eax, eax
je 0x44f376
cmp dword [esi + 0x78], 0
jne 0x44f1f4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0x84]
cmp eax, dword [esi + 0x44]
je 0x44f390
mov dword [esi + 8], 0x12
xor eax, eax
jmp 0x44f379
mov dword [esi + 8], 7
jmp 0x44f390
mov dword [esi + 8], 0x13
jmp 0x44f390