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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45bd04]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45bce5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45bcf4
or bl, 4
test esi, 0x20000000
je 0x45bcff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x462308
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46231a
add esp, 0xfffffff0
call fcn.00403ca8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421884
mov eax, dword [0x4f2a60]
mov dword [eax + 4], ebx
mov dword [eax], 0x4626ac
mov eax, dword [0x4f2a7c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4626b8
mov eax, ebx
call fcn.004626c4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4168fc]
call fcn.00403914
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4168fc]
call fcn.00403914
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4168fc]
call fcn.00403914
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4168fc]
call fcn.00403914
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4168fc]
call fcn.00403914
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45eb8c
push eax
push 0
push 0
mov eax, dword [0x4f2cf4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423994]
call fcn.00425068
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423994]
call fcn.00425068
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423994]
call fcn.00425068
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00462ae4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4629c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4629c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4629c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462457
call fcn.00403d00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4627a4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46294f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x462930
mov dl, 1
mov eax, dword [0x416f60]
call fcn.00403914
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404834
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46291f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044fc10
test al, al
je 0x462912
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x462960
lea eax, [ebp - 0x254]
call fcn.0040a390
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462912
xor eax, eax
push ebp
push 0x46290b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x462998
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4628f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a9c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4628f4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462912
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462815
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b858
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462956
lea eax, [ebp - 0x260]
call fcn.00404834
ret

Function at 0x463284
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4f4c38]
cmp byte [eax + 0xa5], 0
jne 0x4632f5
cmp dword [0x4f4c50], 0
jne 0x4632b6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x463240
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f4c50], eax
cmp dword [0x4f4c4c], 0
jne 0x4632d1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f4c4c], eax
cmp dword [0x4f4c54], 0
jne 0x4632f5
push esp
push 0
push 0
push 0x4631e4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4f4c54], eax
pop edx
ret
Function at 0x4633ec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x463403
add esp, 0xfffffff0
call fcn.00403ca8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421884
mov eax, dword [0x4f2cd8]
cmp word [eax + 2], 0
jne 0x46342b
mov eax, dword [0x4f2cd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464ac8
mov eax, dword [0x4f2e40]
cmp word [eax + 2], 0
jne 0x463445
mov eax, dword [0x4f2e40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464cc0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4168fc]
call fcn.00403914
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4168fc]
call fcn.00403914
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424414]
call fcn.0042bb7c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4635cc
mov eax, dword [0x4f2b2c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bf4c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x465240
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f2b2c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e0b4
test eax, eax
je 0x46353a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409cac
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e0dc
test eax, eax
je 0x46354e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a9c
mov eax, dword [0x4f28b0]
cmp byte [eax], 0
jne 0x463582
mov eax, ebx
call fcn.004636f4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046541c
mov eax, ebx
call fcn.00465d5c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4635c2
call fcn.00403d00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463968
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f4c38]
cmp dword [eax + 0x30], 0
je 0x463a12
cmp dword [ebx + 0x94], 0
jne 0x463a0c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4638f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463a0c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4639d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463a0c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419358
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4639e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4644f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x464525
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404924
jmp 0x464532
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404888
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4655f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465639
mov eax, esi
call fcn.0044b304
test al, al
je 0x465639
mov eax, dword [ebx + 0x84]
call fcn.0044b000
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465639
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b000
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46737c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00467060
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404ce4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4673da
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f2d08]
mov dl, 1
mov eax, dword [0x466f84]
call fcn.0040d420
call fcn.004041d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x467514
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd4
mov eax, dword [ebp - 8]
call fcn.00404cd4
xor eax, eax
push ebp
push 0x4675ac
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404ce4
push eax
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jbe 0x46758f
push 4
mov eax, dword [ebp - 8]
call fcn.00404ce4
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov edi, eax
test edi, edi
jbe 0x467589
lea eax, [ebp - 0x24]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x467583
mov esi, dword [ebp - 0x20]
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4675b3
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404858
ret

Function at 0x4675bc
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd4
xor eax, eax
push ebp
push 0x4676b5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x46769f
xor eax, eax
push ebp
push 0x467698
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00404ce4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x467681
xor eax, eax
push ebp
push 0x46767a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_DeleteService
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467681
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46769f
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4676bc
lea eax, [ebp - 4]
call fcn.00404834
ret
Function at 0x4677c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd4
mov eax, dword [ebp - 8]
call fcn.00404cd4
xor eax, eax
push ebp
push 0x467878
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.00467514
test eax, eax
je 0x46780c
mov eax, dword [ebp - 4]
call fcn.004675bc
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.00467514
test eax, eax
jne 0x46785d
push 5
lea edx, [ebp - 0xc]
mov eax, dword [0x4f2df8]
mov eax, dword [eax]
call fcn.00464fa0
lea eax, [ebp - 0xc]
mov edx, 0x46788c
call fcn.00404af4
mov eax, dword [ebp - 0xc]
call fcn.00404ce4
push eax
call sub.kernel32.dll_WinExec
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004676c4
mov eax, ebx
mov edx, 0x4678a8
call fcn.00404888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46787f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404858
ret

Function at 0x468398
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cd4
xor eax, eax
push ebp
push 0x468416
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ce4
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x4683e1
mov eax, dword [ebx + 4]
call fcn.00404ce4
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46841d
lea eax, [ebp - 4]
call fcn.00404834
ret
Function at 0x469418
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4695b5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402b98
cmp word [ebx + 0xa2], 0
je 0x469461
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x469475
lea esi, [ebp - 8]
jmp 0x469477
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x469484
xor edi, edi
jmp 0x469491
mov eax, dword [ebx + 0x80]
call fcn.00404ce4
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404ce4
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00468b50
mov eax, dword [ebp - 0x14]
call fcn.00404ce4
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404ce4
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404ce4
push eax
mov eax, ebx
call fcn.00468c84
push eax
mov eax, ebx
call fcn.00468c58
push eax
mov eax, ebx
call fcn.00468c0c
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00468a1c
mov eax, dword [ebp - 0x18]
call fcn.00404ce4
push eax
mov eax, dword [ebx + 8]
call fcn.00404ce4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x46951a
call fcn.0040e940
xor edx, edx
push ebp
push 0x469593
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x469558
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x46954e
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46957c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46959a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x4695c4
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x4695f0
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404ce4
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x469615
call fcn.0040e940
xor eax, eax
push ebp
push 0x46964c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x469635
call fcn.0040e940
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469653
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x48eb58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.00404cd4
xor eax, eax
push ebp
push 0x48eced
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.00403150
mov eax, dword [ebp - 8]
call fcn.00404aec
mov dword [ebp - 0xc], eax
xor edi, edi
mov ebx, 1
cmp ebx, dword [ebp - 0xc]
jge 0x48ebd2
lea eax, [ebp - 0x10]
push eax
mov ecx, 2
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0043e2b4
mov eax, dword [ebp - 0x10]
call fcn.0048ea68
mov byte [ebp + edi - 0x30], al
inc edi
add ebx, 2
cmp ebx, dword [ebp - 0xc]
jl 0x48ebaa
mov ebx, 4
lea eax, [ebp - 0x20]
xor edx, edx
mov dword [eax], edx
add eax, 4
dec ebx
jne 0x48ebda
xor ebx, ebx
lea eax, [ebp - 0x30]
mov edx, ebx
shl edx, 3
mov ecx, edx
movzx edi, byte [eax]
shl edi, cl
or dword [ebp - 0x20], edi
mov ecx, edx
movzx edi, byte [eax + 4]
shl edi, cl
or dword [ebp - 0x1c], edi
mov ecx, edx
lea edi, [ebx + 4]
movzx edi, byte [ebp + edi - 0x2c]
shl edi, cl
or dword [ebp - 0x18], edi
mov ecx, edx
lea edx, [ebx + 4]
add edx, 4
movzx edx, byte [ebp + edx - 0x2c]
shl edx, cl
or dword [ebp - 0x14], edx
inc ebx
inc eax
cmp ebx, 4
jne 0x48ebe9
xor eax, eax
xor edx, edx
xor ebx, ebx
mov ecx, ebx
shl ecx, 3
movzx edi, byte [esi]
shl edi, cl
or eax, edi
inc esi
inc ebx
cmp ebx, 4
jne 0x48ec31
xor ebx, ebx
mov ecx, ebx
shl ecx, 3
movzx edi, byte [esi]
shl edi, cl
or edx, edi
inc esi
inc ebx
cmp ebx, 4
jne 0x48ec46
xor ecx, ecx
mov ebx, 0x20
add ecx, dword [0x4ef6cc]
mov esi, edx
shl esi, 4
add esi, dword [ebp - 0x20]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0x1c]
xor esi, edi
add eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 0x18]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 0x14]
xor esi, edi
add edx, esi
dec ebx
jne 0x48ec60
xor ebx, ebx
mov ecx, ebx
shl ecx, 3
mov esi, eax
shr esi, cl
mov ecx, esi
mov esi, dword [ebp - 4]
mov byte [esi], cl
inc dword [ebp - 4]
inc ebx
cmp ebx, 4
jne 0x48ec9d
xor ebx, ebx
mov ecx, ebx
shl ecx, 3
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
mov byte [ecx], al
inc dword [ebp - 4]
inc ebx
cmp ebx, 4
jne 0x48ecb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ecf4
lea eax, [ebp - 0x10]
call fcn.00404834
lea eax, [ebp - 8]
call fcn.00404834
ret

Function at 0x48f730
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x48f768]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48f746
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48f755
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48f764
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x48ffb4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x440698]
call fcn.00403ad0
test al, al
je 0x48fff6
mov eax, dword [0x4f2df8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x48fff6
mov edx, dword [0x4f2df8]
xor edx, edx
call fcn.0045e138
push 0
mov eax, dword [0x4f2df8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x490248
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4ef834]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x490284
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x49029c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x490295
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403150
xor edx, edx
mov eax, 0x4efa34
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x490306
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4902ba
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x490544
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x49055d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x490556
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x49056f
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x490568
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00490138
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x490589
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.00490248
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x49060e
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x49062b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004901c8
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x490654
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc