joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6afa3c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6afa6a
mov eax, ebx
call fcn.006b04f0
cmp dword [ebx + 0x40], 0
je 0x6afa63
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6afadb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6afacd
cmp dword [ebx + 8], 0
je 0x6afa8c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x6afa9e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6afacd
cmp dword [ebx + 8], 0
je 0x6afa7f
cmp eax, 3
je 0x6afab1
dec eax
jne 0x6afa7f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x6afa7f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6afa7f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6afaf9
cmp dword [ebx + 0x14], 0xcc
je 0x6afaf9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006afb04
pop ebx
ret

Function at 0x6c15dc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
mov dword [ebp - 4], eax
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x6c161f
cmp dword [ebp - 0x98], 6
jb 0x6c161f
call fcn.00461f68
call fcn.00462048
test al, al
je 0x6c161f
mov byte [ebp - 5], 1
jmp 0x6c1623
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x6c37bc
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 [0x143683c]
shl edi, 2
xor edx, dword [esi + 0x14357b4]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x143583c]
mov bl, dl
add ecx, dword [ebx*4 + 0x1435c3c]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x143603c]
mov bl, dl
add ecx, dword [ebx*4 + 0x143643c]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x6c37d9
xchg edx, eax
xor eax, dword [esi + 0x14357b4]
xor edx, dword [esi + 0x14357b8]
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 0x6c3830
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 [0x143683c]
inc esi
shl esi, 2
xor edx, dword [esi + 0x14357b4]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x143583c]
mov bl, dl
add ecx, dword [ebx*4 + 0x1435c3c]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x143603c]
mov bl, dl
add ecx, dword [ebx*4 + 0x143643c]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x6c3848
xchg edx, eax
xor eax, dword [0x14357b8]
xor edx, dword [0x14357b4]
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 0x6c3bc8
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x143683c], 0x10
mov esi, 0x88e328
mov edi, 0x14357b4
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x6d671c
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6d67fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0xffffffff
je 0x6d67e5
mov eax, 0x400
call fcn.0040281c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + 4], edx
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x44]
mov edx, 0x6d6810
call fcn.00405598
mov eax, dword [ebp - 0x10]
call fcn.0040554c
inc eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov edx, dword [ebp - 0x10]
call fcn.0040b540
lea eax, [ebp - 0xc]
call fcn.006d63d8
push 0x3e8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040574c
push eax
call sub.kernel32.dll_CallNamedPipeA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov dword [eax + 0x40], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d6802
lea eax, [ebp - 0x10]
call fcn.0040528c
ret

Function at 0x6d6820
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
push 0x14
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x6d6871
push 1
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
test eax, eax
je 0x6d6871
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
test eax, eax
je 0x6d6871
mov dword [ebp - 0x14], 0xc
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0xffffffff
push 0x3e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040574c
push eax
call sub.kernel32.dll_WaitNamedPipeA
test eax, eax
je 0x6d68a1
mov ecx, 0x6d68f8
mov dl, 1
mov eax, dword [0x409230]
call fcn.0040f388
call fcn.00404c28
lea eax, [ebp - 0x14]
push eax
push 0
push 0xd
push 0xd
push 0xff
push 6
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0040574c
push eax
call sub.kernel32.dll_CreateNamedPipeA
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0xffffffff
jne 0x6d68ea
mov ecx, 0x6d6920
mov dl, 1
mov eax, dword [0x409230]
call fcn.0040f388
call fcn.00404c28
mov esp, ebp
pop ebp
ret
Function at 0x6d69c0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 0xc]
call fcn.0040573c
xor eax, eax
push ebp
push 0x6d6a55
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [0x88fcfc]
call fcn.0040574c
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x6d6a3f
cmp dword [ebp - 0x14], 0
je 0x6d6a3f
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 1
push 0
mov eax, dword [ebp - 8]
push eax
push 0
mov ax, word [ebp - 2]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_ReportEventA
test eax, eax
je 0x6d6a37
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.006d698c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d6a5c
lea eax, [ebp - 0xc]
call fcn.0040528c
ret

Function at 0x6d6f94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x6d708c
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 0x6d7059
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x40
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.00403464
lea eax, [ebp - 0x14]
push eax
push 0x20119
push 0
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x6d704f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x6d7046
cmp dword [ebp - 0x18], 4
jne 0x6d7046
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6d7071
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d7093
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052b0
ret
Function at 0x6d9464
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6d96c4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x6d94c7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.006d8f2c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040fd8c
cmp al, 1
jne 0x6d94c7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.006d9244
test al, al
je 0x6d9653
cmp dword [ebp - 8], 0
jge 0x6d94e5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.006d8f2c
mov eax, dword [ebp - 0x210]
call fcn.0040554c
cmp ebx, eax
jge 0x6d952f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.006d8f2c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x893560]
and eax, 0xff
bt dword [edx], eax
jae 0x6d952f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x6d9543
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006d9440
cmp ebx, dword [ebp - 8]
je 0x6d9645
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x6d956f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404658
and eax, 0x7f
movzx eax, word [eax*2 + 0x88fd0c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x6d9632
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404658
and eax, 0x7f
movzx eax, word [eax*2 + 0x88fd0c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0047a720
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404658
and eax, 0x7f
movzx eax, word [eax*2 + 0x88fd0c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0047a720
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d9639
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x6d96a6
cmp dword [ebp - 8], 0
jge 0x6d965e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.006d8f2c
mov eax, dword [ebp - 0x218]
call fcn.0040554c
cmp eax, dword [ebp - 8]
jg 0x6d9698
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.006d8f2c
mov eax, dword [ebp - 0x21c]
call fcn.0040554c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006d9440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d96cb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004052b0
ret
Function at 0x6e6e48
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
cmp dword [ebp - 0x10], 0x1e6
je 0x6e6e6d
cmp dword [ebp - 0x10], 0x24a
je 0x6e6e6d
xor eax, eax
jmp 0x6e6e6f
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x6e8030
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x6e80c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006e7cd8
sub eax, 1
jb 0x6e808e
add eax, 0xfffffff6
sub eax, 4
jb 0x6e8097
jmp 0x6e80af
mov dword [ebp - 0x10], 0xffffffff
jmp 0x6e80af
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, 0xbb8
ja 0x6e80af
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x15
jne 0x6e8069
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e80cc
lea eax, [ebp - 4]
call fcn.0040528c
ret

Function at 0x6ee8dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x6eea5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x10]
push eax
push 0x12
mov eax, dword [0x892f24]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0041b5c8
test al, al
jne 0x6eea34
xor eax, eax
push ebp
push 0x6eea2d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x20
call fcn.00403464
mov eax, dword [0x892f24]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x145]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00405324
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
cmp byte [ebp - 9], 0
je 0x6ee98d
mov dword [ebp - 0x30], 0x1250
jmp 0x6ee994
mov dword [ebp - 0x30], 0x1000
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
call fcn.0048b480
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x6ee9e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
setne byte [ebp - 0xa]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ee9e7
mov eax, dword [ebp - 0x18]
call fcn.0048b534
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eea61
lea eax, [ebp - 0x1c]
call fcn.004070f4
lea eax, [ebp - 0x14]
call fcn.0040528c
lea eax, [ebp - 4]
call fcn.0040528c
ret
Function at 0x6eeaa4
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x6eeb54
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x6eeb39
push 0x10
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x6eeb10
mov byte [ebp - 9], 0
jmp 0x6eeb30
mov eax, 0x6eeb64
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eeb5b
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052b0
ret

Function at 0x6eeb68
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x6eec10
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x6eebf5
push 0x20
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x6eebd4
mov byte [ebp - 9], 0
jmp 0x6eebec
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eec17
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052b0
ret
Function at 0x6eec20
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x6eecc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x6eecaa
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x6eec8f
mov byte [ebp - 9], 0
jmp 0x6eeca1
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_DeleteService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eeccc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052b0
ret

Function at 0x6eecd4
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push 1
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x6eed3c
push 4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x6eed33
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x6eed2a
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x7107dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x710938
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [0x891628], 0
je 0x710915
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0040b1d4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040a048
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0040554c
mov ecx, eax
mov edx, 2
mov eax, dword [ebp - 0x20]
call fcn.004057ac
mov eax, dword [ebp - 0x20]
mov edx, 0x710950
call fcn.00405698
jne 0x710868
lea eax, [ebp - 0x20]
mov edx, 0x71095c
call fcn.00405324
mov eax, dword [ebp - 0x20]
call fcn.0040574c
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040b0d4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.00405324
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
mov eax, dword [0x891628]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x891628]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x710915
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00421da8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x891628]
push eax
call sub.kernel32.dll_SizeofResource
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00421828
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x14]
call fcn.00408bdc
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeResource
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71093f
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004052b0
lea eax, [ebp - 4]
call fcn.0040528c
ret

Function at 0x749960
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x7499a8]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x749981
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x749991
or byte [ebp - 5], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x7499a1
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x75b500
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x75b56a
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.004054fc
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a934
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x75b571
lea eax, [ebp - 0x14]
call fcn.0040528c
ret