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

Disassembly:
mov eax, 0x482188
call fcn.0047bf90
sub esp, 0x18
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov ecx, dword [edi + 0x550]
cmp eax, ecx
je 0x442752
lea eax, [edi + 0x60d]
cmp byte [eax], 0
jne 0x4426be
mov byte [eax], 1
jmp 0x442752
cmp dword [edi + 0x558], 0
je 0x442752
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x442752
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4426ec
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x442752
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x24]
mov ebx, eax
call fcn.00428ebc
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push 1
push eax
push ebx
call fcn.0040bafe
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.00429f6b
mov esi, eax
mov edx, eax
pop ebx
mov cl, byte [esi]
inc esi
cmp cl, 0xd
je 0x44272b
mov byte [edx], cl
inc edx
test cl, cl
jne 0x44272b
mov ecx, dword [edi + 0x54c]
push eax
call fcn.00441895
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00428f7e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4453bb
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 0x445445
shl esi, 2
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
test edi, edi
jle 0x44543d
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 + 0x8a8]
jmp 0x445429
cmp dword [esi + 8], edx
je 0x44544c
mov esi, dword [esi]
test esi, esi
jne 0x445422
or dl, 0xff
mov esi, dword [ebp + 0xc]
inc dword [ebp + 0xc]
dec dword [ebp + 8]
mov byte [esi], dl
jne 0x4453ff
add eax, dword [ebp - 8]
dec dword [ebp - 4]
jne 0x4453f8
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dl, byte [esi + 4]
jmp 0x445430
Function at 0x447f99
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4823ea
call fcn.0047bf90
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.00429f36
mov dword [esi], 0x483c14
push fcn.0043a291
push 0x41900a
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.0047c173
lea edi, [esi + 0x6c]
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00429f36
mov ecx, dword [ebp - 0xc]
mov dword [edi], 0x483c3c
mov dword [esi], 0x48a8b8
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 0x44a362
Capabilities:
Move file

Disassembly:
mov eax, 0x4825d4
call fcn.0047bf90
sub esp, 0x44
push esi
mov esi, ecx
cmp byte [esi + 0x48], 0
jne 0x44a396
lea eax, [ebp - 0x2c]
push str.FileManager_is_forbidden
push eax
call fcn.0042783a
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x4aea32]
push ebx
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.0041c68e
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.00428ef2
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.00429f6b
mov ecx, dword [esi + 0xc]
push eax
call dword [ebx + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042978c
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x50]
push eax
call fcn.004292f1
or ebx, 0xffffffff
mov ecx, eax
push ebx
mov byte [ebp - 4], 2
call fcn.0042b153
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040bbe1
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0042a9b6
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0044a13c
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push eax
call fcn.004292f1
push ebx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0042b153
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040bbe1
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0042c1e4
add esp, 0x18
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.0042bf6c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0042a9b6
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x50]
push eax
call fcn.004292f1
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0042b153
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040bbe1
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xb
call fcn.0042c1e4
add esp, 0x18
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.0042bf6c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.0042a9b6
lea ecx, [ebp - 0x18]
call fcn.0042b153
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042b153
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
jne 0x44a4f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x50]
call fcn.00428f9a
push 0x46
lea ecx, [ebp - 0x50]
call fcn.00429090
push edi
lea ecx, [ebp - 0x50]
call fcn.004290ae
mov eax, dword [esi + 0xc]
push 1
push dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
mov edi, dword [eax]
call fcn.0042979d
mov ecx, dword [esi + 0xc]
push eax
call dword [edi]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0042bf6c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0042bf6c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042bf6c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00428f7e
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0041c6ab
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x44a571
Capabilities:
Create directory

Disassembly:
mov eax, 0x482600
call fcn.0047bf90
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x48], bl
jne 0x44a5a7
lea eax, [ebp - 0x24]
push str.FileManager_is_forbidden
push eax
call fcn.0042783a
pop ecx
lea eax, [ebp - 0x24]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x4aea32]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041c68e
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.00428ef2
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.00429f6b
mov ecx, dword [esi + 0xc]
push eax
call dword [edi + 4]
movzx eax, word [ebp - 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042978c
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0042928e
movzx ecx, word [ebp - 0x10]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0042b153
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040bbe1
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042a9b6
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0044a13c
push ebx
lea ecx, [ebp - 0x14]
call fcn.0042b153
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebx
je 0x44a659
xor edi, edi
jmp 0x44a661
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x3c]
call fcn.00428f9a
push 0x46
lea ecx, [ebp - 0x3c]
call fcn.00429090
push edi
lea ecx, [ebp - 0x3c]
call fcn.004290ae
mov eax, dword [esi + 0xc]
push 1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x3c]
mov edi, dword [eax]
call fcn.0042979d
mov ecx, dword [esi + 0xc]
push eax
call dword [edi]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042bf6c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00428f7e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041c6ab
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44b274
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 0x44b2b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.Error__d_GetFileSizeEx__
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
leave
ret

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

Disassembly:
mov eax, 0x482704
call fcn.0047bf90
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 0x44b338
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x44b2ff
or edx, ebx
mov eax, edx
jmp 0x44b3aa
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042aa6e
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0042b153
push eax
call esi
push eax
lea eax, [ebp - 0x1c]
push str.Error__d_while_open_file__s
push eax
call fcn.0042783a
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x48e404
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 0x44b383
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042aa6e
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.0042b153
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.0042783a
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44b3a4
push 0x38
push str.S:Ammyy_sources_targetTrFmFileSys.cpp
lea ecx, [ebp - 0x24]
call fcn.00425726
mov ecx, eax
call fcn.00425832
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 0x44b3b8
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov eax, 0x482728
call fcn.0047bf90
sub esp, 0x258
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0042bfe5
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0044bb7f
test al, al
pop ecx
jne 0x44b3f3
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0042c66c
lea eax, [ebp - 0x14]
push 0x4a7814
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042c250
add esp, 0xc
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0042b153
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x10]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.0042bf6c
cmp edi, 0xffffffff
jne 0x44b44b
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.0042c142
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44b511
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042c250
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
call fcn.0044b546
add esp, 0x10
test al, al
jne 0x44b4d6
test byte [ebp - 0x264], 1
je 0x44b497
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x10]
and al, 0xfe
push eax
call fcn.0042b153
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x264], 0x10
lea ecx, [ebp - 0x10]
je 0x44b4c6
push dword [ebp + 0xc]
call fcn.0042b153
push eax
call fcn.0044b3b8
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x44b4d6
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bf6c
jmp 0x44b511
call fcn.0042b153
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44b52e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bf6c
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44b44b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x44b433
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042bf6c
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.0042c142
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44b4b9
Function at 0x44b915
Capabilities:
Create directory

Disassembly:
mov eax, 0x4827ac
call fcn.0047bf90
push ebx
push esi
push edi
lea ecx, [ebp + 8]
push dword [ebp + 8]
call fcn.0042bfe5
xor ebx, ebx
lea ecx, [ebp + 8]
push ebx
mov dword [ebp - 4], ebx
call fcn.0042c46b
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 0x44b98b
add esi, 2
push 0x5c
push esi
call edi
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x44b98b
push ebx
lea ecx, [ebp + 8]
mov word [esi], bx
call fcn.0042b153
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44b982
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44b989
mov word [esi], 0x5c
jmp 0x44b94e
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042bf6c
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44bba5
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 0x44bc4b
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
cmp ebx, edi
jne 0x44bbff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [esi + 4], eax
ja 0x44bcb6
push 0x168
push str.S:Ammyy_sources_targetTrFmFileSys.cpp
lea ecx, [ebp - 0x10]
call fcn.00425726
mov ecx, eax
call fcn.00425832
jmp 0x44bcb6
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 [0x4a5ebc]
mov dword [ebp - 8], eax
mov eax, dword [0x4a5ec0]
mov dword [ebp - 4], eax
mov eax, ebx
mov ecx, edi
shr eax, cl
test al, 1
je 0x44bc39
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 0x44bc1d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
jmp 0x44bd0e
push eax
lea eax, [ebp - 0xa60]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0xa60]
push 0x4a7814
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 0x44bcbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov dword [esi + 4], eax
jne 0x44bcb6
mov eax, dword [esi + 8]
cmp word [eax], di
jbe 0x44bcb6
cmp word [eax + 2], 0x3a
jne 0x44bcb6
cmp word [eax + 4], 0x5c
jne 0x44bcb6
cmp word [eax + 6], di
jne 0x44bcb6
mov dword [esi + 4], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
jmp 0x44bd0e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [ebp - 0x234]
push eax
call fcn.0044b546
test al, al
pop ecx
jne 0x44bcf5
test byte [ebp - 0x25f], 4
je 0x44bce7
test byte [ebp - 0x260], 0x10
jne 0x44bcf5
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 0x44bcc4
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c41c
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 0x44c459
mov al, byte [esi]
push 0
push 1
push eax
call fcn.00441188
push dword [esi]
push str.fake__d_down
push str.S:Ammyy_sources_targetTrKeymap.cpp
push 2
push 0x4aea90
call fcn.0041c87e
add esp, 0x20
mov byte [esi + 4], 1
pop esi
ret

Function at 0x44c45b
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 0x44c498
mov al, byte [esi]
push 0
push 0
push eax
call fcn.00441188
push dword [esi]
push str.fake__d_up
push str.S:Ammyy_sources_targetTrKeymap.cpp
push 2
push 0x4aea90
call fcn.0041c87e
add esp, 0x20
mov byte [esi + 5], 1
pop esi
ret

Function at 0x44c524
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 0x44c55f
push esi
push str.SetKeyState__d
push str.S:Ammyy_sources_targetTrKeymap.cpp
push 2
push 0x4aea90
call fcn.0041c87e
push 0
push 0
push dword [esp + 0x24]
call fcn.00441188
add esp, 0x20
pop esi
ret

Function at 0x44e70b
Capabilities:
Lock the desktop

Disassembly:
mov eax, 0x482b00
call fcn.0047bf90
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
lea eax, [edi + 0x1c]
push eax
call fcn.00428472
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [edi + 4]
mov bx, word [esi + 0x84]
mov eax, dword [ecx]
call dword [eax + 0x14]
movsx ecx, bx
lea eax, [eax + ecx*4]
cmp dword [eax], esi
je 0x44e767
lea eax, [ebp - 0x18]
push str.in_RemoveClient__1
push eax
call fcn.0042783a
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
and dword [eax], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00428486
mov eax, dword [esi + 0x3c]
xor ebx, ebx
mov dword [ebp + 8], eax
mov eax, dword [esi]
inc ebx
mov ecx, esi
push ebx
call dword [eax]
mov dword [edi + 0xc0], ebx
cmp byte [0x4aea64], 0
je 0x44e7be
cmp dword [ebp + 8], 5
jne 0x44e7be
push ebx
push 5
call fcn.00413971
pop ecx
test al, al
pop ecx
jne 0x44e7be
push 0
push 5
call fcn.00413971
pop ecx
test al, al
pop ecx
jne 0x44e7be
call dword [sym.imp.USER32.dll_LockWorkStation]
push str.RemoveClient___done
push str.S:Ammyy_sources_targetTrMain.cpp
push 2
push 0x4aea90
call fcn.0041c87e
add esp, 0x10
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00428472
dec dword [edi]
lea ecx, [ebp - 0x14]
call fcn.00428486
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x44ed3b
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, 0x4ae3c0
pop ecx
push 5
push eax
push eax
lea eax, [ebp - 0x104]
push eax
push 0x4a1678
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
leave
ret
Function at 0x4529b6
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 0x4529f1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push 0x4a8160
push eax
call fcn.0042783a
add esp, 0x10
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret
Function at 0x452c2a
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 0x452c4d
mov ecx, eax
test ecx, ecx
mov dword [esi + 0x78], ecx
je 0x452dda
xor edi, edi
cmp dword [esi + 0x6c], edi
jne 0x452ce7
mov eax, dword [esi + 0x88]
cmp eax, edi
je 0x452ce7
mov ebx, 0x4000
cmp eax, ebx
jae 0x452c80
mov ebx, eax
cmp ebx, edi
je 0x452de2
push ebx
push dword [esi + 0x64]
push esi
call fcn.00454722
add esp, 0xc
test eax, eax
je 0x452df8
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 0x452ce7
test ebx, ebx
jbe 0x452ce7
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.00452f12
inc edi
pop ecx
cmp edi, ebx
pop ecx
jb 0x452cae
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x6c]
cmp eax, ecx
jbe 0x452cf6
mov eax, ecx
test eax, eax
je 0x452d25
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 0x452d25
cmp dl, byte [esi + 0xa0]
jne 0x452e01
cmp word [esi + 0x3e], 0
jne 0x452d7a
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x6c]
cmp eax, edi
jae 0x452d38
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.00452e0a
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 0x452dcc
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.00452f66
pop ecx
mov dword [ebp + 0xc], eax
test eax, eax
pop ecx
je 0x452d9c
cmp eax, 1
jne 0x452ded
mov edi, dword [esi + 0x7c]
sub edi, ebx
lea ebx, [esi + 0x84]
push edi
push dword [ebp + 8]
push dword [ebx]
call fcn.00452e0a
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 0x452dda
test eax, eax
je 0x452dda
cmp dword [esi + 0x78], 0
jne 0x452c58
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0x84]
cmp eax, dword [esi + 0x44]
je 0x452df4
mov dword [esi + 8], 0x12
xor eax, eax
jmp 0x452ddd
mov dword [esi + 8], 7
jmp 0x452df4
mov dword [esi + 8], 0x13
jmp 0x452df4