joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441f28
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x441f92
mov eax, ebx
call fcn.004441fc
test al, al
jne 0x441f92
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.0040524c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x441f7f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x441f9f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051b0
jmp 0x441f9f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051b0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x443320
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44338e
mov eax, esi
call fcn.0045a2b4
test al, al
je 0x44338e
mov eax, dword [ebx + 0x84]
call fcn.00459f14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44338e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x443382
push 0
mov eax, dword [ebx + 0x84]
call fcn.00459f14
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00451d58
jmp 0x44338e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0044315c
pop esi
pop ebx
ret

Function at 0x4452b8
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.0040515c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x445306
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004053cc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a3e8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a51b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x426224]
call fcn.00426324
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x44a4f1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004263c4
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004053cc
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x44a530
call fcn.00405474
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042654c
lea ecx, [ebp - 4]
mov edx, 0x44a56c
mov eax, dword [ebp - 0xc]
call fcn.004267c4
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040f0e4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x44a4d4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x44a578
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4a8590]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a4db
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x44a5c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x44a60f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a5f2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a603
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x44a60f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x44f5e8
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 - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4aec7c], 0
je 0x44f731
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a8ffc]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44f731
mov eax, dword [0x4aec80]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4aec7c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44f700
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4aec7c]
call fcn.0041a804
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44f6f8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44f6f8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44f6f8
mov eax, dword [ebp - 0x14]
call fcn.00459f14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f6f8
push ebp
call fcn.0044f5a4
pop ecx
test al, al
jne 0x44f6f8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004043fc
test al, al
je 0x44f6f8
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004043fc
cmp byte [ebp - 1], 0
je 0x44f6f8
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44f6f8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4aec80]
call fcn.0044ed14
inc edi
dec ebx
jne 0x44f64d
mov eax, dword [0x4aec80]
cmp dword [eax + 8], 0
jle 0x44f718
mov eax, dword [0x4aec80]
call fcn.0044edcc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44f731
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044f408
pop ecx
test al, al
jne 0x44f731
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456de8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.004074f8
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00451970
test ebx, ebx
jne 0x456e3b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00456d24
mov ebx, eax
test ebx, ebx
je 0x456f26
cmp esi, ebx
je 0x456e64
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x456e79
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x456eb1
add eax, 0xffffff5f
sub eax, 2
jb 0x456ec9
dec eax
sub eax, 2
jb 0x456edd
dec eax
sub eax, 2
jb 0x456ed3
jmp 0x456ee7
add eax, 0xfffffdff
sub eax, 2
jb 0x456ec9
dec eax
sub eax, 2
jb 0x456edd
dec eax
sub eax, 2
jb 0x456ed3
jmp 0x456ee7
mov byte [esp + 0x120], 0
jmp 0x456eef
mov byte [esp + 0x120], 2
jmp 0x456eef
mov byte [esp + 0x120], 1
jmp 0x456eef
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004376e0
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00453154
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x456f28
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x45f36c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a91a4]
cmp byte [eax + 0xc], 0
je 0x45f4d9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f4d2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4aec8c], 0
jne 0x45f3c0
push 0x45f4e0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45f4e8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec8c], eax
cmp dword [0x4a86d8], 0
jne 0x45f4bb
push 0x45f4f8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a86d8], eax
cmp dword [0x4a86d8], 0
je 0x45f4bb
push 0x45f504
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec90], eax
push 0x45f514
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec94], eax
push 0x45f528
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec98], eax
push 0x45f540
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec9c], eax
push 0x45f558
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeca0], eax
push 0x45f56c
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeca4], eax
push 0x45f584
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeca8], eax
push 0x45f59c
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aecac], eax
push 0x45f5b8
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aecb0], eax
push 0x45f5c4
mov eax, dword [0x4a86d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aecb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f4d9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x466e20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004055dc
xor eax, eax
push ebp
push 0x466f55
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x466f28
xor edx, edx
push ebp
push 0x466f21
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x466e6d
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x466ef6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x466ee5
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x466eac
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004055ec
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004030e0
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466eec
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4a8d78]
mov dl, 1
mov eax, dword [0x408660]
call fcn.0040d2fc
call fcn.00404ab4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466f5c
lea eax, [ebp - 4]
call fcn.0040515c
ret
Function at 0x466f64
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46711f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004058e0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x467138
call fcn.00405474
mov eax, ebx
call fcn.004244a4
mov edi, eax
dec edi
test edi, edi
jl 0x46701c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424478
mov edx, dword [0x4643d8]
call fcn.0040438c
test al, al
je 0x467018
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00424478
lea edx, [ebp - 0x14]
call fcn.00451e38
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004058e0
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004054f0
inc esi
dec edi
jne 0x466fca
movzx eax, byte [0x46713c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x467148
mov eax, dword [ebp - 8]
call fcn.0040e5c0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004051f4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00451e38
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x467138
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00451e38
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x467138
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x467138
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x467154
call fcn.0040a8b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467126
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405180
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405180
lea eax, [ebp - 0x14]
call fcn.0040515c
lea eax, [ebp - 0x10]
call fcn.0040515c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405180
ret
Function at 0x468c6c
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.004055dc
xor eax, eax
push ebp
push 0x468cea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004055ec
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x468cb5
mov eax, dword [ebx + 4]
call fcn.004055ec
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
movzx eax, 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 0x468cf1
lea eax, [ebp - 4]
call fcn.0040515c
ret

Function at 0x469d8c
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 - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x469f31
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.0040333c
cmp word [ebx + 0xa2], 0
je 0x469dd5
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x469de9
lea esi, [ebp - 0xc]
jmp 0x469deb
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x469df8
xor edi, edi
jmp 0x469e05
mov eax, dword [ebx + 0x80]
call fcn.004055ec
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.004055ec
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0046943c
mov eax, dword [ebp - 0x14]
call fcn.004055ec
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.004055ec
push eax
mov eax, dword [ebp - 4]
call fcn.004055ec
push eax
mov eax, ebx
call fcn.0046957c
push eax
mov eax, ebx
call fcn.00469550
push eax
mov eax, ebx
call fcn.00469508
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00469308
mov eax, dword [ebp - 0x18]
call fcn.004055ec
push eax
mov eax, dword [ebx + 8]
call fcn.004055ec
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0x10], 0
jne 0x469e8e
call fcn.0040ea88
xor edx, edx
push ebp
push 0x469f07
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x469ecc
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x469ec2
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 0x469ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469f0e
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x469f40
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 0x469f6c
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.004055ec
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x469f91
call fcn.0040ea88
xor eax, eax
push ebp
push 0x469fc8
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 0x469fb1
call fcn.0040ea88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469fcf
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x46e470
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x46e49c
cmp dword [esp + 4], 5
jne 0x46e498
cmp dword [esp + 8], 1
jae 0x46e49c
xor eax, eax
jmp 0x46e49e
mov al, 1
add esp, 0x94
ret

Function at 0x47f834
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, byte [0x47f870]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47f84b
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47f85a
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47f869
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x490ccc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x490d30
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004053cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00409b1c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490d37
lea eax, [ebp - 0xc]
call fcn.0040515c
ret
Function at 0x4a511c
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffac
mov esi, eax
call fcn.004a4fcc
mov ebx, eax
test ebx, ebx
je 0x4a5175
lea eax, [esp + 0x10]
xor ecx, ecx
mov edx, 0x44
call fcn.00403958
mov dword [esp + 0x3c], 1
mov word [esp + 0x40], 5
push esp
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.004055ec
push eax
push ebx
call sub.advapi32.dll_CreateProcessAsUserA
push ebx
call sub.kernel32.dll_CloseHandle_1
add esp, 0x54
pop esi
pop ebx
ret

Function at 0x4a544c
Capabilities:
Shutdown system

Disassembly:
push ebx
push esi
add esp, 0xffffffe8
mov esi, eax
xor ebx, ebx
push esp
push 0xf00ff
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4a546c
xor ebx, ebx
lea eax, [esp + 0xc]
push eax
push 0x4a5500
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x4a54b8
xor ebx, ebx
dec esi
je 0x4a54c6
dec esi
je 0x4a54d3
dec esi
je 0x4a54e0
dec esi
je 0x4a54ed
jmp 0x4a54f8
push 0
push 2
call sub.user32.dll_ExitWindowsEx
mov bl, 1
jmp 0x4a54f8
push 0
push 9
call sub.user32.dll_ExitWindowsEx
mov bl, 1
jmp 0x4a54f8
push 0
push 5
call sub.user32.dll_ExitWindowsEx
mov bl, 1
jmp 0x4a54f8
push 0
push 0
call sub.user32.dll_ExitWindowsEx
mov bl, 1
mov eax, ebx
add esp, 0x18
pop esi
pop ebx
ret
Function at 0x4a5608
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
xor eax, eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a5829
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.0040333c
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0040a00c
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 4]
mov ecx, 0x4a5840
call fcn.00405474
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403728
lea eax, [ebp - 0x1d0]
call fcn.004034c4
call fcn.0040304c
mov edx, 0x4a5854
lea eax, [ebp - 0x1d0]
call fcn.0040590c
call fcn.00403bdc
call fcn.0040304c
push 0x4a5864
lea edx, [ebp - 0x234]
xor eax, eax
call fcn.0040333c
push dword [ebp - 0x234]
push 0x4a5874
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.004054f0
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x1d0]
call fcn.0040590c
call fcn.00403bdc
call fcn.0040304c
push 0x4a5880
lea edx, [ebp - 0x23c]
xor eax, eax
call fcn.0040333c
push dword [ebp - 0x23c]
push 0x4a5874
push 0x4a5894
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.004054f0
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1d0]
call fcn.0040590c
call fcn.00403bdc
call fcn.0040304c
push 0x4a5864
push dword [ebp - 4]
push 0x4a5874
lea eax, [ebp - 0x240]
mov edx, 3
call fcn.004054f0
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 0x1d0]
call fcn.0040590c
call fcn.00403bdc
call fcn.0040304c
lea eax, [ebp - 0x1d0]
call fcn.004037f0
call fcn.0040304c
lea eax, [ebp - 0x214]
xor ecx, ecx
mov edx, 0x44
call fcn.00403958
mov dword [ebp - 0x1e8], 1
mov word [ebp - 0x1e4], 0
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004055ec
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4a5800
mov eax, dword [ebp - 0x220]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x224]
push eax
call sub.kernel32.dll_CloseHandle_1
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5830
lea eax, [ebp - 0x240]
mov edx, 7
call fcn.00405180
lea eax, [ebp - 4]
call fcn.0040515c
ret