joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f030
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x54a7ac], 0
sete dl
or al, dl
jne 0x43f174
mov eax, dword [0x54a7b0]
mov bx, 0xffff
call fcn.0040310c
mov eax, dword [0x54a7ac]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x43f143
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x54a7ac]
call fcn.00410b94
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x43f13b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x43f13b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43f13b
mov eax, dword [ebp - 0x10]
call fcn.00446fc4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f13b
push ebp
call fcn.0043efec
pop ecx
test al, al
jne 0x43f13b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x43f0f7
mov eax, dword [ebp - 0x10]
call fcn.00445908
dec eax
jle 0x43f13b
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.0040310c
cmp byte [ebp - 0x15], 0
je 0x43f13b
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43f13b
mov edx, dword [ebp - 0x10]
mov eax, dword [0x54a7b0]
call fcn.0043e888
inc edi
dec esi
jne 0x43f08a
mov eax, dword [0x54a7b0]
cmp dword [eax + 8], 0
jle 0x43f15b
mov eax, dword [0x54a7b0]
call fcn.0043e918
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f174
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0043eea4
pop ecx
test al, al
jne 0x43f174
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444a20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x444a51
je 0x444aab
sub eax, 7
je 0x444a72
dec eax
je 0x444a9c
sub eax, 0x17
je 0x444b2c
jmp 0x444b6a
add eax, 0xffffff00
sub eax, 9
jb 0x444b18
add eax, 0xffffff09
sub eax, 0xb
jb 0x444b02
jmp 0x444b6a
mov eax, ebx
call fcn.00432e54
mov edi, eax
test edi, edi
je 0x444bca
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xcc]
test al, al
je 0x444bd3
jmp 0x444bca
test byte [ebx + 0x44], 0x20
jne 0x444bd3
jmp 0x444bca
mov edx, esi
mov eax, ebx
call fcn.004422e0
cmp dword [esi + 0xc], 0xffffffff
jne 0x444bd3
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004078e4
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00440d74
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004448a4
test eax, eax
je 0x444bd3
mov dword [esi + 0xc], 1
jmp 0x444bd3
mov edx, esi
mov eax, ebx
call fcn.00444968
test al, al
jne 0x444bd3
jmp 0x444bca
mov eax, ebx
call fcn.00441954
test al, al
jne 0x444bd3
jmp 0x444bca
mov eax, ebx
call fcn.00446fc4
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x444bca
cmp dword [0x5449f0], 0
je 0x444bca
mov eax, dword [0x5449f0]
cmp ebx, dword [eax + 0x24]
jne 0x444bca
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x5449f0]
call fcn.004421fc
jmp 0x444bca
mov eax, dword [0x54a774]
cmp byte [eax + 0x20], 0
je 0x444bca
mov eax, dword [0x54a774]
cmp dword [eax + 0x1c], 0
je 0x444bca
mov eax, dword [esi]
mov edx, dword [0x54a774]
cmp eax, dword [edx + 0x1c]
jne 0x444bca
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00432d68
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.0040310c
jmp 0x444bd3
mov edx, esi
mov eax, ebx
call fcn.004422e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4450d8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x4450f4
cmp dword [esi + 4], 0
je 0x445121
test byte [ebx + 0x45], 1
jne 0x445113
mov eax, ebx
call fcn.004440a8
test eax, eax
jne 0x445113
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x445231
mov edx, esi
mov eax, ebx
call fcn.00444d50
jmp 0x445231
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44522a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00446fc4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004421fc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004450d8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00446fc4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445231
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c3e4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403c14
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c445
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x44c445
cmp byte [ebp - 0x102], 0
je 0x44c445
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403e40
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bb3c
Capabilities:
Get file size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
test dl, dl
je 0x45bb59
add esp, 0xfffffff0
call fcn.0040325c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
call fcn.00404044
mov eax, dword [ebp + 8]
call fcn.00404044
xor eax, eax
push ebp
push 0x45bd06
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00402f00
mov edi, esi
and edi, 3
cmp edi, 1
jne 0x45bbab
mov ecx, 0x45bd38
mov dl, 1
mov eax, dword [0x45ba68]
call fcn.0040bbb8
call fcn.00403688
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x24], eax
mov dword [ebx + 8], esi
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
push 0
push 0
push 3
push 0
mov eax, esi
and eax, 0xf0
shr eax, 4
mov eax, dword [eax*4 + 0x544d38]
push eax
mov eax, dword [edi*4 + 0x544d2c]
push eax
mov eax, dword [ebp - 8]
call fcn.00404054
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebx + 4], eax
cmp dword [ebx + 4], 0xffffffff
je 0x45bc9d
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x30]
push eax
mov cl, 0x5f
mov dl, 0x5c
mov eax, dword [ebp + 8]
call fcn.0045b990
mov eax, dword [ebp - 0x30]
call fcn.00404054
push eax
push 0
push 0
mov eax, dword [edi*4 + 0x544d4c]
push eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x14], 0
jne 0x45bcdb
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x45bd60
push dword [ebp - 8]
push 0x45bd88
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x34]
call fcn.0040b3cc
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00403f50
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x45ba68]
call fcn.0040bbb8
call fcn.00403688
jmp 0x45bcdb
push 0x45bd94
push dword [ebp - 8]
push 0x45bd88
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x34]
call fcn.0040b3cc
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00403f50
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x45ba68]
call fcn.0040bbb8
call fcn.00403688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bd0d
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00403c38
lea eax, [ebp - 8]
call fcn.00403c14
lea eax, [ebp + 8]
call fcn.00403c14
ret
Function at 0x45f8ac
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x45f8c2
add esp, 0xfffffff0
call fcn.0040325c
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x45f9e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x54a850], 0
je 0x45f8f0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45e078]
call fcn.0040bbb8
call fcn.00403688
xor edx, edx
mov eax, edi
call fcn.00402f00
mov byte [edi + 0x20], 0
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402944
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004094c8
mov edx, dword [ebp - 4]
lea eax, [edi + 0x24]
mov ecx, 0x45fa14
call fcn.00403edc
mov byte [edi + 0x28], 1
xor eax, eax
mov dword [edi + 0x1c], eax
mov byte [edi + 0x29], 0
mov al, byte [0x45fa20]
mov byte [edi + 0x2a], al
mov dword [edi + 0x2c], 0x64
mov byte [edi + 0x30], 1
lea eax, [edi + 0x14]
mov edx, 0x45fa2c
call fcn.00403c68
mov dl, 1
mov eax, dword [0x45e144]
call fcn.00402f00
mov dword [edi + 4], eax
mov dl, 1
mov eax, dword [0x40f53c]
call fcn.00402f00
mov dword [edi + 8], eax
mov dl, 1
mov eax, dword [0x40f53c]
call fcn.00402f00
mov dword [edi + 0xc], eax
mov dl, 1
mov eax, dword [0x40f53c]
call fcn.00402f00
mov dword [edi + 0x10], eax
mov dl, 1
mov eax, dword [0x40f0c0]
call fcn.00402f00
mov esi, eax
mov dword [edi + 0x18], esi
mov eax, dword [0x5496e0]
mov eax, dword [eax]
push eax
lea edx, [ebp - 4]
mov eax, dword [0x5496e0]
mov eax, dword [eax]
call fcn.0045e500
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x45e0d4]
call fcn.0045e538
mov edx, eax
mov eax, esi
call fcn.00410a6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f9ed
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c38
ret
Function at 0x463754
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404044
xor eax, eax
push ebp
push 0x463814
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebp
push 0x4637ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403e90
test eax, eax
jle 0x4637e2
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dl, byte [edx]
call fcn.00403db8
lea eax, [ebp - 0x14]
mov edx, 0x463830
call fcn.00403e98
mov eax, dword [ebp - 0x14]
call fcn.00404054
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
je 0x4637e2
mov eax, dword [ebp - 4]
mov al, byte [eax]
sub al, 0x40
call fcn.00409728
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4637f6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46381b
lea eax, [ebp - 0x14]
call fcn.00403c14
lea eax, [ebp - 4]
call fcn.00403c14
ret

Function at 0x463adc
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x549a80]
cmp dword [eax], 2
je 0x463af6
push 0
push 1
call sub.user32.dll_ExitWindowsEx
mov al, 1
pop ebp
ret
call fcn.00463a5c
test al, al
je 0x463b0a
push 0
push 8
call sub.user32.dll_ExitWindowsEx
mov al, 1
pop ebp
ret

Function at 0x463bd4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404044
xor eax, eax
push ebp
push 0x463c2d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00463b98
mov eax, dword [ebp - 4]
call fcn.00404054
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x463c11
test al, 0x10
jne 0x463c15
xor ebx, ebx
jmp 0x463c17
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463c34
lea eax, [ebp - 4]
call fcn.00403c14
ret

Function at 0x463e88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403cac
mov eax, dword [ebp - 4]
call fcn.00403e90
mov edi, eax
test edi, edi
jle 0x463eee
mov ebx, 1
mov eax, dword [ebp - 8]
call fcn.00404060
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x463eb7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x463ef8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, edi
call fcn.00403cac
mov eax, edi
call fcn.00403e90
test eax, eax
jle 0x463f57
mov dword [ebp - 8], eax
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00404060
mov dl, byte [edi + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [edi + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec dword [ebp - 8]
jne 0x463f25
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x464300
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
push ebp
call fcn.004642bc
pop ecx
mov edx, eax
mov eax, ebx
call fcn.004041c0
mov eax, dword [ebx]
call fcn.00404054
mov esi, eax
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00403e90
mov edx, eax
cmp edx, ebx
jl 0x464402
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
shr eax, 2
and eax, 0x3f
mov ecx, 0x464410
mov al, byte [ecx + eax]
mov byte [esi], al
lea eax, [ebx + 1]
cmp edx, eax
jl 0x464379
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
shl eax, 4
and eax, 0x30
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + ebx]
shr ecx, 4
and ecx, 0xf
or eax, ecx
jmp 0x464387
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
shl eax, 4
and eax, 0x30
mov ecx, 0x464410
mov al, byte [ecx + eax]
mov byte [esi + 1], al
lea eax, [ebx + 1]
cmp edx, eax
jl 0x4643ca
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx]
shl eax, 2
and eax, 0x3c
lea ecx, [ebx + 2]
cmp edx, ecx
jl 0x4643bd
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + ebx + 1]
shr ecx, 6
and ecx, 3
or eax, ecx
mov ecx, 0x464410
mov al, byte [ecx + eax]
mov byte [esi + 2], al
jmp 0x4643ce
mov byte [esi + 2], 0x3d
lea eax, [ebx + 2]
cmp edx, eax
jl 0x4643f0
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx + 1]
and al, 0x3f
and eax, 0xff
mov ecx, 0x464410
mov al, byte [ecx + eax]
mov byte [esi + 3], al
jmp 0x4643f4
mov byte [esi + 3], 0x3d
add ebx, 3
add esi, 4
cmp edx, ebx
jge 0x46433b
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x464710
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
lea edi, [ebp - 0x60]
xor eax, eax
push ebp
push 0x464892
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi + 0x5c], eax
lea eax, [edi + 0x1c]
xor ecx, ecx
mov edx, 0x40
call fcn.00402bd8
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
mov eax, dword [ebp - 0x64]
call fcn.00403e90
mov esi, eax
mov eax, 8
mov ebx, dword [edi + 0x18]
add dword [edi + 0x18], esi
cmp ebx, dword [edi + 0x18]
jle 0x464792
inc dword [edi + 0x14]
dec eax
jne 0x464784
mov ebx, 1
test esi, esi
jle 0x4647c7
mov eax, dword [ebp - 0x64]
mov al, byte [eax + ebx - 1]
mov edx, dword [edi + 0x5c]
mov byte [edi + edx + 0x1c], al
inc ebx
inc dword [edi + 0x5c]
dec esi
cmp dword [edi + 0x5c], 0x40
jne 0x4647c3
xor eax, eax
mov dword [edi + 0x5c], eax
push ebp
call fcn.004644a8
pop ecx
test esi, esi
jg 0x46479e
mov eax, dword [edi + 0x5c]
mov byte [edi + eax + 0x1c], 0x80
cmp dword [edi + 0x5c], 0x38
jl 0x4647dc
push ebp
call fcn.004644a8
pop ecx
mov eax, dword [edi + 0x14]
call fcn.00464478
lea edx, [edi + 0x54]
mov dword [edx], eax
mov eax, dword [edi + 0x18]
call fcn.00464478
lea edx, [edi + 0x58]
mov dword [edx], eax
push ebp
call fcn.004644a8
pop ecx
mov eax, dword [edi]
call fcn.00464478
mov dword [edi], eax
mov eax, dword [edi + 4]
call fcn.00464478
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
call fcn.00464478
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
call fcn.00464478
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
call fcn.00464478
mov dword [edi + 0x10], eax
lea edx, [ebp - 0x7c]
mov eax, edi
mov ecx, 0x14
call fcn.0040282c
mov eax, dword [ebp - 0x68]
mov edx, dword [0x54988c]
mov edx, dword [edx]
call fcn.00403cac
mov ebx, 0x14
lea esi, [ebp - 0x7c]
lea ecx, [ebp - 0x80]
xor eax, eax
mov al, byte [esi]
mov edx, 2
call fcn.00408f5c
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x68]
call fcn.00403e98
mov eax, dword [ebp - 0x68]
inc esi
dec ebx
jne 0x464859
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464899
lea eax, [ebp - 0x80]
call fcn.00403c14
ret
Function at 0x464a40
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x464a63
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x464a63
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x464a73
mov bl, 1
jmp 0x464b65
mov eax, dword [0x549a80]
cmp dword [eax], 2
jne 0x464a87
mov eax, dword [0x549540]
cmp dword [eax], 4
jg 0x464abb
mov eax, dword [0x549a80]
cmp dword [eax], 1
jne 0x464b4f
mov eax, dword [0x549540]
cmp dword [eax], 4
jg 0x464abb
mov eax, dword [0x549540]
cmp dword [eax], 4
jne 0x464b4f
mov eax, dword [0x54983c]
cmp dword [eax], 0
jle 0x464b4f
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x464b09
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x464b5b
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [ebp - 8]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x464b5b
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x465654
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x54b978]
shl edi, 2
xor edx, dword [esi + 0x54a8f0]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x54a978]
mov bl, dl
add ecx, dword [ebx*4 + 0x54ad78]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x54b178]
mov bl, dl
add ecx, dword [ebx*4 + 0x54b578]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x465671
xchg edx, eax
xor eax, dword [esi + 0x54a8f0]
xor edx, dword [esi + 0x54a8f4]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret
Function at 0x4656c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x54b978]
inc esi
shl esi, 2
xor edx, dword [esi + 0x54a8f0]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x54a978]
mov bl, dl
add ecx, dword [ebx*4 + 0x54ad78]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x54b178]
mov bl, dl
add ecx, dword [ebx*4 + 0x54b578]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x4656e0
xchg edx, eax
xor eax, dword [0x54a8f4]
xor edx, dword [0x54a8f0]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x4659c0
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x54b978], 0x10
mov esi, 0x544f60
mov edi, 0x54a8f0
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x465a48
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or edx, edx
je 0x465a67
jecxz 0x465a67
push ebx
movzx ebx, al
xor bl, byte [edx]
shr eax, 8
and eax, 0xffffff
xor eax, dword cs:[ebx + 0x465a68]
inc edx
loop 0x465a4f
pop ebx
ret