joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a76c
Capabilities:
Hash data with md5

Disassembly:
push ebx
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov edx, 0x40
lea ecx, [eax + 0x18]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x47a77f
mov edx, 0x10
lea ecx, [eax + 0x58]
xor ebx, ebx
mov dword [ecx], ebx
add ecx, 4
dec edx
jne 0x47a78e
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebx
ret

Function at 0x47b294
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f68
mov eax, dword [ebp - 8]
call fcn.00405f68
xor eax, eax
push ebp
push 0x47b403
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x47b2e3
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x40
jle 0x47b304
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 8]
call fcn.0047b264
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 8]
call fcn.00405b4c
lea ecx, [ebp - 0xc]
mov edx, 0x40
mov al, 0x36
call fcn.00406264
lea ecx, [ebp - 0x10]
mov edx, 0x40
mov al, 0x5c
call fcn.00406264
mov eax, dword [ebp - 8]
test eax, eax
je 0x47b32e
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x47b373
mov ebx, 1
lea eax, [ebp - 0xc]
call fcn.00405fd0
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
lea eax, [ebp - 0x10]
call fcn.00405fd0
mov edx, dword [ebp - 0x10]
movzx edx, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x47b339
lea eax, [ebp - 0xb0]
call fcn.0047a76c
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 0xc]
call fcn.0047afb0
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 4]
call fcn.0047afb0
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xb0]
call fcn.0047b0e0
lea eax, [ebp - 0xb0]
call fcn.0047a76c
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 0x10]
call fcn.0047afb0
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 0x14]
call fcn.0047afb0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xb0]
call fcn.0047b0e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b40a
lea eax, [ebp - 0xb4]
call fcn.00405ab4
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405ad8
ret
Function at 0x47e474
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x47e50f
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jle 0x47e4f9
call fcn.00479854
cmp eax, dword [esi]
jae 0x47e4d8
mov edx, dword [esi]
sub edx, eax
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jbe 0x47e4d8
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.00409dc0
mov ecx, dword [ebp - 0xc]
mov dl, 0xc
mov eax, edi
call fcn.0047fef0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Sleep_1
fild dword [ebp - 4]
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
fdivp st(1)
fmul dword [0x47e520]
call fcn.004033c8
mov ebx, eax
call fcn.00479854
add ebx, eax
mov dword [esi], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e516
lea eax, [ebp - 0xc]
call fcn.00405ab4
ret
Function at 0x48e05c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405f78
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x48e075
test al, 0x10
jne 0x48e079
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x48fa70
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x48fb0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 1
mov edx, 0x48fb18
call fcn.004d778c
lea eax, [ebp - 4]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 1
mov edx, 0x48fb1c
call fcn.004d778c
lea eax, [ebp - 8]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [ebp - 8]
call fcn.00405f78
push eax
mov eax, dword [ebp - 4]
call fcn.00405f78
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [0x4e2b30]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fb14
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ad8
ret

Function at 0x49004c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x4900d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4900e0
call fcn.004d778c
mov ebx, dword [0x4e2ac0]
mov ebx, dword [ebx]
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4900e4
call fcn.004d778c
lea eax, [ebp - 4]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [0x4e2c0c]
cmp ebx, dword [eax]
jg 0x4900b7
mov eax, dword [ebp - 4]
call fcn.00405f78
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [0x4e2b30]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4900dc
lea eax, [ebp - 4]
call fcn.00405ab4
ret
Function at 0x491010
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
call fcn.00459844
mov eax, dword [0x4e2ccc]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [0x4e2cbc]
cmp byte [eax], 0
je 0x491044
mov edx, 0x491178
mov eax, 0xdd
call fcn.00458594
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x491188
call fcn.004d778c
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x49118c
call fcn.004d778c
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x491188
call fcn.004d778c
mov edi, dword [0x4e2ac0]
mov edi, dword [edi]
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x491190
call fcn.004d778c
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, dword [0x4e2e20]
mov esi, dword [esi]
push esi
call sub.gdi32.dll_CreateCompatibleDC
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
push edi
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov edx, dword [0x4e2ccc]
mov dword [edx], eax
mov eax, dword [0x4e2ccc]
mov eax, dword [eax]
push eax
push ebx
call sub.gdi32.dll_SelectObject
mov dword [ebp - 4], eax
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
push edi
push 0
push 0
push ebx
call sub.gdi32.dll_BitBlt
mov eax, dword [0x4e2900]
mov eax, dword [eax]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x491142
call sub.user32.dll_EmptyClipboard
mov eax, dword [0x4e2ccc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalLock
mov eax, dword [0x4e2ccc]
mov eax, dword [eax]
push eax
push 2
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.gdi32.dll_SelectObject
push ebx
call sub.gdi32.dll_DeleteDC
mov eax, dword [0x4e2ccc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [0x4e2b30]
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4923cc
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4924bc
call fcn.004d778c
call fcn.0048e60c
mov eax, dword [0x4e2ac0]
cmp dword [eax], 0
jne 0x492402
mov eax, dword [0x4e2ac0]
mov dword [eax], 1
jmp 0x4924a2
mov eax, dword [0x4e2ac0]
cmp dword [eax], 1
jne 0x49241c
mov eax, dword [0x4e2ac0]
mov dword [eax], 2
jmp 0x4924a2
mov eax, dword [0x4e2ac0]
cmp dword [eax], 2
jne 0x492433
mov eax, dword [0x4e2ac0]
mov dword [eax], 8
jmp 0x4924a2
mov eax, dword [0x4e2ac0]
cmp dword [eax], 3
jne 0x492448
mov eax, dword [0x4e2ac0]
xor edx, edx
mov dword [eax], edx
jmp 0x4924a2
mov eax, dword [0x4e2ac0]
cmp dword [eax], 4
jne 0x49245f
mov eax, dword [0x4e2ac0]
mov dword [eax], 5
jmp 0x4924a2
mov eax, dword [0x4e2ac0]
cmp dword [eax], 5
jne 0x492476
mov eax, dword [0x4e2ac0]
mov dword [eax], 6
jmp 0x4924a2
mov eax, dword [0x4e2ac0]
cmp dword [eax], 6
jne 0x49248d
mov eax, dword [0x4e2ac0]
mov dword [eax], 0xc
jmp 0x4924a2
mov eax, dword [0x4e2ac0]
cmp dword [eax], 7
jne 0x4924a2
mov eax, dword [0x4e2ac0]
mov dword [eax], 4
push 0
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
push eax
call sub.user32.dll_ExitWindowsEx
mov eax, dword [0x4e2b30]
mov byte [eax], 1
pop ebp
ret

Function at 0x494c08
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x494cc3
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00402f54
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 9
mov edx, 0x494cd0
call fcn.004d778c
lea eax, [ebp - 4]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 9
mov edx, 0x494cd4
call fcn.004d778c
lea eax, [ebp - 8]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
push 0
mov eax, dword [ebp - 8]
call fcn.00405f78
push eax
mov eax, dword [ebp - 4]
call fcn.00405f78
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x494ca0
mov edx, dword [ebp - 4]
mov eax, 0x134
call fcn.00458594
mov eax, dword [0x4e2b30]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494cca
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ad8
ret
Function at 0x49aa38
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49ab68
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x49ab74
call fcn.004d778c
mov eax, dword [0x4e2900]
mov eax, dword [eax]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x49ab3d
push 7
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x49aace
push 1
call sub.user32.dll_GetClipboardData
mov edx, dword [0x4e29d4]
mov dword [edx], eax
mov eax, dword [0x4e29d4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, dword [0x4e2a00]
mov dword [edx], eax
lea edx, [ebp - 4]
mov eax, dword [0x4e2a00]
mov eax, dword [eax]
call fcn.0040a9ec
mov edx, dword [ebp - 4]
mov ecx, dword [0x4e2c6c]
mov ecx, dword [ecx]
mov eax, dword [0x4e2c6c]
call fcn.00405dc4
mov eax, dword [0x4e2c6c]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x49aae4
sub ebx, 4
mov ebx, dword [ebx]
add ebx, 0xa
push ebx
push 0x2042
call sub.kernel32.dll_GlobalAlloc
mov edx, dword [0x4e29d4]
mov dword [edx], eax
mov eax, dword [0x4e29d4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, dword [0x4e2a00]
mov dword [edx], eax
mov eax, dword [0x4e2c6c]
mov eax, dword [eax]
call fcn.00405f78
mov edx, eax
mov eax, dword [0x4e2a00]
mov eax, dword [eax]
call fcn.0040a7b4
mov eax, dword [0x4e29d4]
mov eax, dword [eax]
push eax
push 1
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
mov eax, dword [0x4e29d4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [0x4e2b30]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ab6f
lea eax, [ebp - 4]
call fcn.00405ab4
ret

Function at 0x49bc38
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x49bc41
mov eax, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 9
mov edx, 0x49bc9c
call fcn.004d778c
mov eax, dword [0x4e2c6c]
mov eax, dword [eax]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x8000]
call fcn.0040a7b4
push 1
lea eax, [ebp - 0x8000]
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [0x4e2b30]
mov byte [eax], 1
mov esp, ebp
pop ebp
ret

Function at 0x49bca0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x49bca9
mov eax, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 9
mov edx, 0x49bd0c
call fcn.004d778c
mov eax, dword [0x4e2c6c]
mov eax, dword [eax]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x8000]
call fcn.0040a7b4
push 1
lea eax, [ebp - 0x8000]
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [0x4e2b30]
mov byte [eax], 1
mov eax, dword [0x4e30e8]
mov byte [eax], 1
mov esp, ebp
pop ebp
ret
Function at 0x49e238
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x49e241
mov eax, dword [ebp - 4]
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e45c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00459844
mov eax, dword [0x4e2cbc]
cmp byte [eax], 0
je 0x49e285
mov edx, 0x49e474
mov eax, 0xdd
call fcn.00458594
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 9
mov edx, 0x49e47c
call fcn.004d778c
lea eax, [ebp - 4]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x49e47c
call fcn.004d778c
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
mov dword [ebp - 0x8028], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x49e480
call fcn.004d778c
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
mov dword [ebp - 0x8024], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x49e47c
call fcn.004d778c
mov ebx, dword [0x4e2ac0]
mov ebx, dword [ebx]
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x49e484
call fcn.004d778c
mov esi, dword [0x4e2ac0]
mov esi, dword [esi]
mov eax, dword [ebp - 4]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x8004]
call fcn.0040a7b4
mov eax, dword [0x4e2e20]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov edx, dword [0x4e28a4]
mov dword [edx], eax
push esi
push ebx
mov eax, dword [0x4e2e20]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov edx, dword [0x4e2950]
mov dword [edx], eax
mov eax, dword [0x4e2950]
mov eax, dword [eax]
push eax
mov eax, dword [0x4e28a4]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_SelectObject
mov edx, dword [0x4e2d4c]
mov dword [edx], eax
mov eax, dword [0x4e2f20]
mov eax, dword [eax]
mov edx, dword [0x4e2900]
cmp eax, dword [edx]
jne 0x49e3b9
mov eax, dword [0x4e2f20]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDC
push eax
call sub.gdi32.dll_SwapBuffers
mov eax, dword [0x4e2f20]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDC
mov edi, eax
jmp 0x49e3c1
mov edi, dword [0x4e2c80]
mov edi, dword [edi]
xor eax, eax
call fcn.00428448
push eax
mov eax, dword [ebp - 0x8024]
push eax
mov eax, dword [ebp - 0x8028]
push eax
push edi
push esi
push ebx
push 0
push 0
mov eax, dword [0x4e28a4]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [0x4e2950]
mov edx, dword [edx]
lea eax, [ebp - 0x8004]
call fcn.00425ed8
test eax, eax
jne 0x49e40f
mov edx, dword [ebp - 4]
mov eax, 0xe5
call fcn.00458bb8
mov eax, dword [0x4e2d4c]
mov eax, dword [eax]
push eax
mov eax, dword [0x4e28a4]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [0x4e2950]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [0x4e28a4]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [0x4e2b30]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e463
lea eax, [ebp - 4]
call fcn.00405ab4
ret
Function at 0x4a2230
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x4a234a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00402f54
mov edx, dword [ebp + 8]
mov dword [edx - 0x1a8], eax
mov eax, dword [0x4e2e60]
mov eax, dword [eax]
cmp byte [eax], 0x23
jne 0x4a22b7
mov eax, dword [0x4e2e60]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4a2278
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [0x4e2e60]
push eax
mov eax, dword [0x4e2e60]
mov eax, dword [eax]
mov ecx, ebx
mov edx, 2
call fcn.00405fd8
mov eax, dword [0x4e2acc]
cmp byte [eax], 0
jne 0x4a22b7
lea edx, [ebp - 0xc]
mov eax, dword [0x4e2e60]
mov eax, dword [eax]
call fcn.00409b68
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4e2e60]
call fcn.00405b08
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4a2358
call fcn.004d778c
mov eax, dword [0x4e2ac0]
cmp dword [eax], 1
jl 0x4a22e9
mov eax, dword [0x4e2ac0]
cmp dword [eax], 0x63
jg 0x4a22e9
mov eax, dword [0x4e2ce4]
cmp byte [eax], 1
jne 0x4a22fb
lea eax, [ebp - 4]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
jmp 0x4a2316
lea eax, [ebp - 4]
mov edx, dword [0x4e2ac0]
mov edx, dword [edx]
mov ecx, dword [0x4e2d7c]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [ebp - 4]
call fcn.00405f78
push eax
call sub.kernel32.dll_DeleteFileA_1
mov eax, dword [0x4e2b30]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2351
lea eax, [ebp - 0xc]
call fcn.00405ab4
lea eax, [ebp - 4]
call fcn.00405ab4
ret
Function at 0x4b3d90
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov byte [ebp - 1], dl
mov ebx, eax
mov byte [ebp - 2], bl
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
mov edx, eax
cmp byte [ebp - 1], 0
je 0x4b3db7
mov eax, 2
jmp 0x4b3db9
xor eax, eax
push 0
push eax
mov eax, dword [0x4e3068]
or dl, byte [eax]
push edx
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_keybd_event
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b4b7c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4e2d5c]
cmp byte [eax], 0
je 0x4b4b97
xor edx, edx
mov eax, 0x9b
call fcn.00458594
mov eax, dword [0x4e2d5c]
mov byte [eax], 1
mov eax, dword [0x4e2ef0]
call fcn.00405ab4
mov eax, dword [0x4e2f04]
xor edx, edx
mov dword [eax], edx
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
mov eax, 0x4b4cec
call fcn.0042824c
test eax, eax
je 0x4b4c08
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
mov eax, 0x4b4cec
call fcn.0042824c
mov ebx, eax
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
mov eax, 0x4b4cf8
call fcn.0042824c
cmp ebx, eax
jle 0x4b4c3d
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
mov eax, 0x4b4cf8
call fcn.0042824c
test eax, eax
jle 0x4b4c3d
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 1
mov edx, 0x4b4cfc
call fcn.004d778c
mov eax, dword [0x4e2af8]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b08
mov eax, dword [0x4e3088]
call fcn.00405ab4
jmp 0x4b4c8f
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 1
mov edx, 0x4b4d00
call fcn.004d778c
mov eax, dword [0x4e2af8]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b08
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 1
mov edx, 0x4b4cfc
call fcn.004d778c
mov eax, dword [0x4e3088]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b08
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4aba60
push 0
push 0
call sub.kernel32.dll_CreateThread
test eax, eax
je 0x4b4cb1
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4b4cc4
mov eax, dword [0x4e2d5c]
mov byte [eax], 0
mov eax, dword [0x4e2f04]
mov dword [eax], 0xffffffff
mov eax, dword [0x4e2ac0]
mov edx, dword [ebp - 4]
mov dword [eax], edx
mov eax, dword [0x4e2ce4]
mov byte [eax], 2
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a1], 1
pop ebx
pop ecx
pop ebp
ret

Function at 0x4be3b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4be410
call fcn.004d778c
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test eax, 0x8000
jle 0x4be3f0
mov eax, dword [0x4e2ac0]
mov dword [eax], 1
jmp 0x4be3f9
mov eax, dword [0x4e2ac0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4e2ce4]
mov byte [eax], 2
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a1], 1
pop ebp
ret
Function at 0x4c4610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4c4619
mov eax, dword [ebp - 4]
add esp, 0xfffffffc
xor eax, eax
mov dword [ebp - 0x10008], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c4788
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 9
mov edx, 0x4c4794
call fcn.004d778c
mov eax, dword [0x4e2c6c]
mov eax, dword [eax]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x8004]
call fcn.0040a7b4
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 1
mov edx, 0x4c4794
call fcn.004d778c
mov eax, dword [0x4e2c6c]
mov eax, dword [eax]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x10008]
call fcn.00405cac
mov edx, dword [ebp - 0x10008]
lea eax, [ebp - 0x10004]
call fcn.0040a820
lea eax, [ebp - 4]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4c4798
call fcn.004d778c
mov eax, dword [0x4e2ac0]
cmp dword [eax], 0
jl 0x4c46eb
mov eax, dword [0x4e2ac0]
cmp dword [eax], 9
jle 0x4c46f4
mov eax, dword [0x4e2ac0]
xor edx, edx
mov dword [eax], edx
cmp dword [ebp - 4], 0
jbe 0x4c472b
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
push eax
push 0
push 0
lea eax, [ebp - 0x8004]
push eax
lea eax, [ebp - 0x10004]
push eax
mov eax, dword [0x4e2900]
mov eax, dword [eax]
push eax
call sub.shell32.dll_ShellExecuteA
mov edx, dword [0x4e2ac0]
mov dword [edx], eax
jmp 0x4c4755
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
push eax
push 0
push 0
lea eax, [ebp - 0x8004]
push eax
push 0
mov eax, dword [0x4e2900]
mov eax, dword [eax]
push eax
call sub.shell32.dll_ShellExecuteA
mov edx, dword [0x4e2ac0]
mov dword [edx], eax
mov eax, dword [0x4e2ce4]
mov byte [eax], 3
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c478f
lea eax, [ebp - 0x10008]
call fcn.00405ab4
lea eax, [ebp - 4]
call fcn.00405ab4
ret

Function at 0x4c8ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 1
mov edx, 0x4c8d98
call fcn.004d778c
mov eax, dword [0x4e2f2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4c8d14
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x7fff
jne 0x4c8d7e
mov eax, dword [0x4e2c6c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4c8d31
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x4c8d7e
mov esi, 1
mov eax, dword [0x4e2c6c]
mov eax, dword [eax]
movzx eax, byte [eax + esi - 1]
mov ebx, eax
and bl, 0xc0
and al, 0x3f
mov edx, 0x8000
sub edx, esi
mov ecx, dword [0x4e2f2c]
mov ecx, dword [ecx]
movzx edx, byte [ecx + edx - 1]
xor bl, dl
and bl, 0xc0
or al, bl
mov ebx, eax
mov eax, dword [0x4e2c6c]
call fcn.00405fd0
mov byte [eax + esi - 1], bl
inc esi
dec edi
jne 0x4c8d3c
mov eax, dword [0x4e2ce4]
mov byte [eax], 1
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a1], 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret