joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4631ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d5be4]
cmp dword [eax + 0x30], 0
je 0x463256
cmp dword [ebx + 0x94], 0
jne 0x463250
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46313c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463250
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 0x463216
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463250
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.0041e0b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463225
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463db8
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 0x463ded
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.00404a38
jmp 0x463dfa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040499c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464e64
Capabilities:
Hide graphical window

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

Function at 0x466808
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x466891
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d5c0c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x46687b
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040cde4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4668a8
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4d3f04]
mov dl, 1
mov eax, dword [0x465834]
call fcn.0040d708
call fcn.004042c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466898
lea eax, [ebp - 0x1c]
call fcn.00404948
ret
Function at 0x466f5c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00466e80
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c70
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x466fc0
call fcn.00466750
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x466fb2
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c70
pop esi
pop ebx
ret

Function at 0x466fe4
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404e08
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403230
test ebx, ebx
je 0x46702f
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x46710c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x46713d
mov ecx, dword [0x4d4084]
mov dl, 1
mov eax, dword [0x465834]
call fcn.0040d6cc
call fcn.004042c4
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x46716a
mov ecx, dword [0x4d3cc4]
mov dl, 1
mov eax, dword [0x465834]
call fcn.0040d6cc
call fcn.004042c4
xor eax, eax
push ebp
push 0x4671eb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403c70
cmp byte [ebp + 8], 0
je 0x4671c5
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00467074
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00466edc
jmp 0x4671e1
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00466a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x467208
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x467214
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x467245
mov ecx, dword [0x4d3d84]
mov dl, 1
mov eax, dword [0x465834]
call fcn.0040d6cc
call fcn.004042c4
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x467272
mov ecx, dword [0x4d3cc4]
mov dl, 1
mov eax, dword [0x465834]
call fcn.0040d6cc
call fcn.004042c4
xor eax, eax
push ebp
push 0x4672ee
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403c70
cmp byte [ebp + 8], 0
je 0x4672ca
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00467074
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00466f5c
jmp 0x4672e4
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00466a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46730b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4674ec
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00466d04
xor eax, eax
push ebp
push 0x46765d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x467647
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x467537
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x467541
call fcn.00404370
jmp 0x467664
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420adc
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x46763c
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4675ef
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4675dc
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c70
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004674a4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x467670]
cmp dl, byte [eax + 0x28]
je 0x467643
call fcn.0040d5f0
jmp 0x467643
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420afc
jmp 0x467643
cmp ecx, ebx
jge 0x46760b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420afc
jmp 0x467541
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420adc
cmp edx, dword [esp + 4]
jne 0x46762b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x467541
push ebp
call fcn.004674a4
pop ecx
jmp 0x467643
push ebp
call fcn.004674a4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467664
mov eax, dword [ebp - 4]
call fcn.00466d10
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46768c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4677ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00466d04
xor eax, eax
push ebp
push 0x467791
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4676dc
call fcn.00404370
jmp 0x467798
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x46777b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x46777b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c70
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x46777b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cde4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4677c8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4d3f04]
mov dl, 1
mov eax, dword [0x465834]
call fcn.0040d708
call fcn.004042c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467798
mov eax, dword [ebp - 4]
call fcn.00466d10
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4677b5
lea eax, [ebp - 0x28]
call fcn.00404948
ret
Function at 0x467814
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46795e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00466d04
xor eax, eax
push ebp
push 0x467941
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x467879
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x467879
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x46792b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x46788c
call fcn.00404370
jmp 0x467948
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x46792b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x46792b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c70
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x46792b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cde4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x467978
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4d3f04]
mov dl, 1
mov eax, dword [0x465834]
call fcn.0040d708
call fcn.004042c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467948
mov eax, dword [ebp - 4]
call fcn.00466d10
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467965
lea eax, [ebp - 0x28]
call fcn.00404948
ret
Function at 0x46bf48
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46bf76
mov eax, ebx
call fcn.0046c9fc
cmp dword [ebx + 0x40], 0
je 0x46bf6f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46bfe7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46bfd9
cmp dword [ebx + 8], 0
je 0x46bf98
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 0x46bfaa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46bfd9
cmp dword [ebx + 8], 0
je 0x46bf8b
cmp eax, 3
je 0x46bfbd
dec eax
jne 0x46bf8b
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 0x46bf8b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46bf8b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46c005
cmp dword [ebx + 0x14], 0xcc
je 0x46c005
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.0046c010
pop ebx
ret
Function at 0x4867d4
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x48692a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
je 0x486914
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
call fcn.00404e08
push eax
push 0
push 2
push 0x110
push 0xf01ff
mov eax, esi
call fcn.00404e08
push eax
mov eax, edi
call fcn.00404e08
push eax
push ebx
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x486914
mov eax, dword [0x4d401c]
cmp dword [eax], 0
je 0x4868ef
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x400
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404e68
mov eax, 4
call fcn.00402858
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00404c08
inc eax
call fcn.00402858
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
xor eax, eax
push ebp
push 0x4868e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.004867b0
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x4d401c]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4868ef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00402878
mov eax, dword [ebp - 0x10]
call fcn.00402878
ret
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceA
test eax, eax
je 0x486914
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486931
lea eax, [ebp - 0x14]
call fcn.00404948
ret

Function at 0x486940
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404df8
xor eax, eax
push ebp
push 0x4869ea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4869d4
xor eax, eax
push ebp
push 0x4869cd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00404e08
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
push 1
push ebx
call sub.advapi32.dll_ControlService
push ebx
call sub.advapi32.dll_DeleteService
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4869d4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4869f1
lea eax, [ebp - 4]
call fcn.00404948
ret
Function at 0x48b5ac
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x48b738
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d6108], 0
jne 0x48b71d
test ebx, ebx
je 0x48b71d
lea eax, [ebp - 4]
push eax
push 0x32
push 0
call sub.msacm32.dll_acmMetrics
mov eax, dword [ebp - 4]
call fcn.00402858
mov esi, eax
mov edx, esi
mov eax, ebx
mov ecx, dword [ebp - 4]
call fcn.00402a54
mov eax, dword [ebx + 8]
mov dword [0x4d6104], eax
mov eax, 4
call fcn.00402858
mov dword [0x4d6108], eax
push 0x10004
push 0
mov eax, edi
call fcn.0044b090
push eax
push esi
push 0
mov eax, dword [0x4d6108]
push eax
call sub.winmm.dll_waveInOpen
mov esi, eax
test esi, esi
je 0x48b663
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00409494
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x48b750
call fcn.00404c54
mov eax, dword [ebp - 8]
call fcn.00433848
jmp 0x48b71d
mov byte [0x4d6100], 0
mov edi, 3
mov eax, 0x20
call fcn.00402858
mov eax, 1
call fcn.00402858
mov eax, dword [0x4d6104]
call fcn.00402858
mov esi, eax
mov eax, 0x20
call fcn.00402858
mov ebx, eax
mov dword [ebx], esi
mov eax, dword [0x4d6104]
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
push 0x20
push ebx
mov eax, dword [0x4d6108]
mov eax, dword [eax]
push eax
call sub.winmm.dll_waveInPrepareHeader
mov esi, eax
test esi, esi
je 0x48b6d9
mov eax, 0x48b778
call fcn.00433848
push 0x20
push ebx
mov eax, dword [0x4d6108]
mov eax, dword [eax]
push eax
call sub.winmm.dll_waveInAddBuffer
mov esi, eax
test esi, esi
je 0x48b6f9
mov eax, 0x48b794
call fcn.00433848
dec edi
jne 0x48b66f
mov eax, dword [0x4d6108]
mov eax, dword [eax]
push eax
call sub.winmm.dll_waveInStart
mov esi, eax
test esi, esi
je 0x48b71d
mov eax, 0x48b7b0
call fcn.00433848
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b73f
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040496c
ret

Function at 0x4a703c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4a7061
cmp dword [esp + 4], 5
jb 0x4a7061
mov al, 1
jmp 0x4a7063
xor eax, eax
add esp, 0x94
ret
Function at 0x4bf024
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4bf0e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0xe
push esi
call sub.user32.dll_SendMessageA
mov ebx, eax
test ebx, ebx
jle 0x4bf0b6
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4bf004]
call fcn.00405f08
add esp, 4
mov eax, dword [ebp - 4]
push eax
inc ebx
push ebx
push 0xd
push esi
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
call fcn.00405d4c
mov ebx, eax
test ebx, ebx
jl 0x4bf0aa
inc ebx
xor esi, esi
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi]
call fcn.00404b30
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00404c10
inc esi
dec ebx
jne 0x4bf08d
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.0040499c
jmp 0x4bf0bd
mov eax, edi
call fcn.00404948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf0ed
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040496c
lea eax, [ebp - 4]
mov edx, dword [0x4bf004]
call fcn.00406028
ret
Function at 0x4c0060
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c013d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0xe
push ebx
call sub.user32.dll_SendMessageA
mov dword [0x4d6a68], eax
cmp dword [0x4d6a68], 0
jle 0x4c010d
mov eax, dword [0x4d6a68]
inc eax
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4c0040]
call fcn.00405f08
add esp, 4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x4d6a68]
inc eax
push eax
push 0xd
push ebx
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
call fcn.00405d4c
mov ebx, eax
test ebx, ebx
jl 0x4c0101
inc ebx
xor esi, esi
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi]
call fcn.00404b30
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040912c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00404c10
inc esi
dec ebx
jne 0x4c00d9
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.0040499c
jmp 0x4c0114
mov eax, edi
call fcn.00404948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0144
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040496c
lea eax, [ebp - 4]
mov edx, dword [0x4c0040]
call fcn.00406028
ret

Function at 0x4c014c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404df8
xor eax, eax
push ebp
push 0x4c029e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x4c0276
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.00409ff8
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4c025f
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4c0259
mov ebx, dword [edx]
test ebx, ebx
je 0x4c0253
lea eax, [ebp - 0x29c]
push eax
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
xor eax, eax
mov al, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
xor eax, eax
mov al, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
xor eax, eax
mov al, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x4c02b8
call fcn.0040a63c
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.0040499c
mov byte [ebp - 5], 1
jmp 0x4c0263
mov byte [ebp - 5], 0
jmp 0x4c0263
mov byte [ebp - 5], 0
jmp 0x4c0263
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c027d
call sub.wsock32.dll_WSACleanup
ret