joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464ae8
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x464b04
mov ebx, dword [ebp + 8]
push 0
push 0
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
call fcn.00464a38
add esp, 0x10
test al, al
jne 0x464b3f
test byte [ebp + 0x21], 1
je 0x464b38
push 0
mov ecx, dword [ebp + 8]
push ecx
push 1
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.00464824
add esp, 0x10
xor eax, eax
jmp 0x464c73
test esi, esi
jne 0x464b57
push edi
lea edi, [ebp - 0x110]
mov eax, edi
mov esi, 0x5efb97
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
jmp 0x464b6c
push esi
push 0x5efb9a
lea edx, [ebp - 0x110]
push edx
call fcn.004d75f8
add esp, 0xc
test edi, edi
je 0x464b88
lea esi, [ebp - 0x110]
push edi
lea eax, [ebp - 0x110]
push eax
call fcn.004d2e40
add esp, 8
jmp 0x464b8a
xor esi, esi
mov edi, 0x10
test esi, esi
jne 0x464b9f
test byte [ebp + 0x21], 0x10
jne 0x464b9f
or edi, 0x100
mov eax, dword [ebp + 0x1c]
push eax
push esi
push 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
push 1
push 2
push edi
push 0xf01ff
push ebx
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_CreateServiceA
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
test edx, edx
jne 0x464c00
test byte [ebp + 0x21], 1
je 0x464bec
push 0
mov ecx, dword [ebp + 8]
push ecx
push 2
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.00464824
add esp, 0x10
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
call fcn.00464ab4
add esp, 8
xor eax, eax
jmp 0x464c73
test ebx, ebx
je 0x464c61
push 0x5efb9e
call sub.KERNEL32.dll_GetModuleHandleA
test eax, eax
je 0x464c61
push 0x5efbab
push eax
call sub.KERNEL32.dll_GetProcAddress
mov esi, eax
test esi, esi
je 0x464c61
xor eax, eax
push esi
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x110]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov dword [ebp - 0xc], eax
push edx
push 1
mov ecx, dword [ebp - 4]
push ecx
call esi
test eax, eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
call fcn.00464ab4
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464cc4
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0x10000
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464a38
add esp, 0x10
test al, al
jne 0x464ceb
xor eax, eax
jmp 0x464d1e
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.dll_DeleteService
test eax, eax
jne 0x464d0c
lea ecx, [ebp - 4]
push ecx
lea eax, [ebp - 8]
push eax
call fcn.00464ab4
add esp, 8
xor eax, eax
jmp 0x464d1e
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464ab4
add esp, 8
mov al, 1
pop ecx
pop ecx
pop ebp
ret
Function at 0x464d24
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push 0x20
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464a38
add esp, 0x10
test al, al
jne 0x464d48
xor eax, eax
jmp 0x464d8b
lea edx, [ebp - 0x24]
push edx
push 1
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.dll_ControlService
test eax, eax
jne 0x464d6f
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
call fcn.00464ab4
add esp, 8
xor eax, eax
jmp 0x464d8b
mov edx, dword [ebp + 0xc]
push edx
call fcn.004dee84
pop ecx
lea ecx, [ebp - 4]
push ecx
lea eax, [ebp - 8]
push eax
call fcn.00464ab4
add esp, 8
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x464d90
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0x10
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464a38
add esp, 0x10
test al, al
jne 0x464db4
xor eax, eax
jmp 0x464deb
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.dll_StartServiceA
test eax, eax
jne 0x464dd9
lea ecx, [ebp - 4]
push ecx
lea eax, [ebp - 8]
push eax
call fcn.00464ab4
add esp, 8
xor eax, eax
jmp 0x464deb
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464ab4
add esp, 8
mov al, 1
pop ecx
pop ecx
pop ebp
ret

Function at 0x464df0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push 4
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464a38
add esp, 0x10
test al, al
jne 0x464e14
xor eax, eax
jmp 0x464e53
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.dll_QueryServiceStatus
test eax, eax
je 0x464e41
mov eax, dword [ebp - 0x20]
cmp eax, 4
jne 0x464e41
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464ab4
add esp, 8
mov al, 1
jmp 0x464e53
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464ab4
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x464f64
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push 4
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464a38
add esp, 0x10
test al, al
jne 0x464f88
xor eax, eax
jmp 0x464fbf
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.dll_QueryServiceStatus
test eax, eax
je 0x464fad
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
call fcn.00464ab4
add esp, 8
mov al, 1
jmp 0x464fbf
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.00464ab4
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x472360
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
mov al, byte [0x52e3f9]
test al, al
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
je 0x472440
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push edx
push 0x5f0bb1
push ecx
call fcn.004d75f8
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push 0x5f0bb4
lea edx, [ebp - 0x48]
push edx
call fcn.004d75f8
add esp, 0xc
mov ecx, dword [ebp + 0x14]
push ecx
push 0x5f0bb7
lea eax, [ebp - 0x68]
push eax
call fcn.004d75f8
add esp, 0xc
mov edx, dword [ebp + 0x18]
push edx
push 0x5f0bba
lea ecx, [ebp - 0x88]
push ecx
call fcn.004d75f8
add esp, 0xc
mov eax, dword [ebp + 0x1c]
push eax
push 0x5f0bbd
lea edx, [ebp - 0xa8]
push edx
call fcn.004d75f8
add esp, 0xc
test byte [0x528c3d], 4
je 0x47240b
push 0x5f0bc8
push 0x5f0bc0
push 0x528c40
call fcn.004541dc
add esp, 0xc
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xa8]
push ecx
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x141
call fcn.00465940
add esp, 0x2c
jmp 0x472566
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x472457
push 0
push 0
push 0xb8
push 0x12
call sub.USER32.dll_keybd_event
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x47246e
push 0
push 0
push 0x9d
push 0x11
call sub.USER32.dll_keybd_event
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x472485
push 0
push 0
push 0xaa
push 0x10
call sub.USER32.dll_keybd_event
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x472499
push 0
push 0
push 0
push 9
call sub.USER32.dll_keybd_event
mov esi, ebx
mov bl, byte [esi]
test bl, bl
je 0x4724e0
push ebx
call sub.USER32.dll_VkKeyScanA
mov ebx, eax
xor eax, eax
mov byte [ebp - 1], 0
xor edi, edi
test bl, bl
mov dword [ebp - 8], eax
je 0x4724c7
mov edx, dword [ebp - 8]
push edx
push edi
mov cl, byte [ebp - 1]
push ecx
push ebx
call sub.USER32.dll_keybd_event
test bl, bl
je 0x4724dd
mov eax, dword [ebp - 8]
or edi, 2
push eax
push edi
mov dl, byte [ebp - 1]
push edx
push ebx
call sub.USER32.dll_keybd_event
inc esi
jmp 0x47249b
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4724f4
push 0
push 2
push 0
push 9
call sub.USER32.dll_keybd_event
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47250b
push 0
push 2
push 0xb8
push 0x12
call sub.USER32.dll_keybd_event
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x472522
push 0
push 2
push 0x9d
push 0x11
call sub.USER32.dll_keybd_event
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x472539
push 0
push 2
push 0xaa
push 0x10
call sub.USER32.dll_keybd_event
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x47254d
push 0
push 0
push 0
push 0xd
call sub.USER32.dll_keybd_event
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x472561
push 0
push 2
push 0
push 0xd
call sub.USER32.dll_keybd_event
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473f44
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
mov eax, dword [0x5a1204]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov ax, word [0x5a1208]
xor ebx, ebx
mov word [ebp - 4], ax
lea eax, [ebp - 0x10c]
mov byte [ebp - 1], 0
push 0x5f102e
push eax
call fcn.004d75f8
add esp, 8
lea edx, [ebp - 0x210]
lea ecx, [ebp - 8]
lea eax, [ebp - 0x10c]
push 1
push 0x104
push edx
push ecx
push eax
push 0x80000002
call fcn.00406a10
add esp, 0x18
test eax, eax
je 0x4741c0
mov esi, 0x5f107a
lea edi, [ebp - 0x10c]
mov eax, edi
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x210]
push ecx
call fcn.004d30a0
add esp, 8
test eax, eax
jne 0x4741c0
push 0x5f10b4
lea eax, [ebp - 0x10c]
push eax
call fcn.004d75f8
add esp, 8
lea edx, [ebp - 0x210]
lea ecx, [ebp - 8]
lea eax, [ebp - 0x10c]
push 1
push 0x104
push edx
push ecx
push eax
push 0x80000001
call fcn.00406a10
add esp, 0x18
test eax, eax
je 0x4741c0
push 0
push 0x2001
push 0x5f10ea
lea edx, [ebp - 0x10c]
push edx
call fcn.004563e8
add esp, 0x10
push 0x5f10f4
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004d2e40
add esp, 8
lea eax, [ebp - 0x210]
push eax
call fcn.004d2f1c
pop ecx
push eax
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x210]
push ecx
call fcn.004d3138
add esp, 0xc
test eax, eax
jne 0x4741c0
lea eax, [ebp - 0x10c]
push eax
call fcn.004d2f1c
pop ecx
push eax
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x210]
push ecx
call fcn.004d3138
add esp, 0xc
test eax, eax
jne 0x4740a7
mov bl, 1
push 0x5f10fc
lea eax, [ebp - 0x10c]
push eax
call fcn.004d75f8
add esp, 8
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x10c]
push 1
push 0x104
push edx
push 0x5f1136
push ecx
push 0x80000001
call fcn.00406a10
add esp, 0x18
test eax, eax
je 0x4741c0
push 0
push 0x2001
push 0x5f113c
lea eax, [ebp - 0x10c]
push eax
call fcn.004563e8
add esp, 0x10
push 0x5f1146
lea edx, [ebp - 0x10c]
push edx
call fcn.004d2e40
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call fcn.004d2f1c
pop ecx
push eax
lea eax, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x210]
push edx
call fcn.004d3138
add esp, 0xc
test eax, eax
jne 0x4741c0
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004d2f1c
pop ecx
push eax
lea eax, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x210]
push edx
call fcn.004d3138
add esp, 0xc
test eax, eax
jne 0x47416d
mov byte [ebp - 1], 1
mov cl, byte [ebp - 1]
cmp bl, cl
je 0x4741c0
mov byte [ebp + 8], bl
mov al, byte [ebp + 8]
test al, al
je 0x4741a0
test byte [0x528c3d], 4
je 0x4741c0
push 0x5f115c
push 0x5f114e
push 0x528c40
call fcn.004541dc
add esp, 0xc
jmp 0x4741c0
test byte [0x528c3d], 4
je 0x4741c0
push 0x5f1170
push 0x5f1162
push 0x528c40
call fcn.004541dc
add esp, 0xc
mov al, byte [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474c08
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
add esp, 0xfffffcec
mov eax, dword [0x5a3328]
mov dword [esp], eax
mov ax, word [0x5a332c]
mov word [esp + 4], ax
push 0x5f131f
lea edx, [esp + 0xc]
push edx
call fcn.004d75f8
add esp, 8
push 0x5f136b
lea ecx, [esp + 0x214]
push ecx
call fcn.004d75f8
add esp, 8
push 1
push 0x104
lea eax, [esp + 0x114]
push eax
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x18]
push ecx
push 0x80000002
call fcn.00406a10
add esp, 0x18
test eax, eax
je 0x474ca7
lea eax, [esp + 0x10c]
lea edx, [esp + 0x210]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x474ca7
test cl, cl
je 0x474c9e
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x474ca7
add eax, 2
add edx, 2
test cl, cl
jne 0x474c82
jne 0x474ca7
mov al, 1
jmp 0x474d38
push 1
lea edx, [esp + 0x214]
push edx
lea ecx, [esp + 8]
push ecx
lea eax, [esp + 0x14]
push eax
push 0x80000002
call fcn.00406a4c
add esp, 0x14
test eax, eax
je 0x474d36
test byte [0x528c3d], 4
je 0x474cec
lea edx, [esp + 8]
push edx
push 0x5f13a5
push 0x528c40
call fcn.004541dc
add esp, 0xc
test byte [0x528c3d], 4
je 0x474d0f
lea ecx, [esp + 0x10c]
push ecx
push 0x5f13b7
push 0x528c40
call fcn.004541dc
add esp, 0xc
test byte [0x528c3d], 4
je 0x474d32
lea eax, [esp + 0x210]
push eax
push 0x5f13ca
push 0x528c40
call fcn.004541dc
add esp, 0xc
mov al, 1
jmp 0x474d38
xor eax, eax
add esp, 0x314
ret
Function at 0x47eb14
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x5ae464
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.004d57f0
mov word [ebp - 0x14], 8
call fcn.00401298
mov word [ebp - 0x14], 8
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x28]
push edx
push 0x4004667f
push esi
call sub.WSOCK32.dll_ioctlsocket
inc eax
jne 0x47eb6f
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47eb6f
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ebdb
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x47eba0
call fcn.00401298
sub eax, ebx
cmp eax, 0x2710
jbe 0x47eb92
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ebdb
push 0
push 0
call fcn.00401400
add esp, 8
jmp 0x47eb42
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ebdb
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret

Function at 0x47ebe8
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x5ae478
push ebx
push esi
push edi
call fcn.004d57f0
mov word [ebp - 0x14], 8
xor edx, edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
push ecx
push 0x4004667f
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_ioctlsocket
inc eax
jne 0x47ec3c
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47ec3c
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ec8e
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x47ec54
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ec8e
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ec8e
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret
Function at 0x47ec9c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x5ae48c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.004d57f0
xor ebx, ebx
xor esi, esi
call fcn.00401298
mov dword [ebp - 0x28], eax
mov word [ebp - 0x14], 8
push edi
call fcn.0047eb14
pop ecx
sub eax, 0xffffffff
je 0x47ecd8
dec eax
je 0x47ed41
dec eax
je 0x47ece9
jmp 0x47ece9
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47eda6
push 0
mov ecx, dword [ebp + 0x10]
sub ecx, ebx
push ecx
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
push edi
call sub.WSOCK32.dll_recv
mov esi, eax
test esi, esi
jne 0x47ed14
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47eda6
cmp esi, 0xffffffff
jne 0x47ed41
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47ed33
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47eda6
push 0
push 0
call fcn.00401400
add esp, 8
xor esi, esi
add ebx, esi
mov eax, dword [ebp + 0x10]
cmp ebx, eax
je 0x47ed6d
call fcn.00401298
mov edx, dword [ebp - 0x28]
sub eax, edx
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jbe 0x47ecc4
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47eda6
mov eax, ebx
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47eda6
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret

Function at 0x47edd4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x5ae4a0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
call fcn.004d57f0
xor ebx, ebx
call fcn.00401298
mov word [ebp - 0x14], 8
mov edi, eax
push 0
mov eax, esi
sub eax, ebx
push eax
mov edx, dword [ebp + 0xc]
add edx, ebx
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
jne 0x47ee3c
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47ee2e
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ee9a
push 0
push 0
call fcn.00401400
add esp, 8
xor eax, eax
add ebx, eax
cmp esi, ebx
je 0x47ee5e
call fcn.00401298
sub eax, edi
cmp eax, 0x2710
jbe 0x47edf9
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ee9a
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ee9a
mov esp, ebp
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
pop ebp
ret
Function at 0x47ff98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x5ae648
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.004d57f0
mov word [ebp - 0x14], 8
push 0
call sub.KERNEL32.dll_Sleep
test ebx, ebx
jne 0x47ffde
push ebx
push 0x5f2800
call fcn.0047f82c
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4800e7
mov ecx, dword [ebx + 4]
cmp ecx, 0x18b6
je 0x480008
push ebx
push 0x5f280b
call fcn.0047f82c
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4800e7
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x480058
xor eax, eax
mov dword [ebx + 0xc], eax
push 0xfe
call fcn.004d28f8
pop ecx
mov esi, eax
call fcn.00401298
mov ecx, ebx
xor esi, eax
or esi, 1
mov eax, 0x14
mov dword [ebx + 0x10], esi
lea edx, [ecx + 0x14]
movsx ecx, byte [edx]
add dword [ebx + 0xc], ecx
inc eax
mov cl, byte [ebx + 0x10]
xor byte [edx], cl
inc edx
cmp eax, 0x18b6
jne 0x480038
xor eax, eax
mov edx, dword [ebx + 0xc]
sub eax, edx
mov dword [ebx + 0xc], eax
jmp 0x48009a
mov dl, byte [ebx + 0xc]
mov ecx, ebx
mov eax, 0x14
lea esi, [ecx + 0x14]
mov cl, byte [ebx + 0x10]
inc eax
xor byte [esi], cl
add dl, byte [esi]
inc esi
cmp eax, 0x18b6
jne 0x480065
test dl, dl
je 0x480095
push ebx
push 0x5f2816
call fcn.0047f82c
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4800e7
xor eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [ebx]
test eax, eax
je 0x4800a7
mov ebx, eax
jmp 0x47ffb4
mov word [ebp - 0x14], 0
jmp 0x4800ce
mov dword [0x4e2074], 0x160
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
pop ebp
ret
Function at 0x488b54
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x5af14c
push ebx
push esi
push edi
call fcn.004d57f0
xor edx, edx
mov dword [0x5af0f0], 1
mov dword [ebp - 0x28], edx
mov ecx, dword [0x5af0ec]
mov word [ebp - 0x14], 8
test ecx, ecx
je 0x488bdc
xor esi, esi
mov ebx, 0x5aefa0
mov eax, dword [ebx]
test eax, eax
je 0x488bd3
push eax
call sub.USER32.dll_IsWindow
test eax, eax
je 0x488bb5
push 0
mov edx, dword [ebx]
push edx
call sub.USER32.dll_ShowWindow
push 0
push 0
push 0x10
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_PostMessageA
xor eax, eax
xor edx, edx
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor ecx, ecx
xor eax, eax
mov dword [ebx + 8], ecx
xor edx, edx
mov dword [ebx - 8], eax
mov dword [ebx - 4], edx
dec dword [0x5af0ec]
inc esi
add ebx, 0x14
cmp esi, 0x10
jne 0x488b8d
mov word [ebp - 0x14], 0
xor ecx, ecx
mov dword [0x5af0f0], ecx
jmp 0x488c0f
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret

Function at 0x488d6c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0x5af570
call fcn.004d57f0
xor edx, edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
push edi
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x488dae
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x488e66
push 0x1f8
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
jne 0x488dcc
push 0x1f7
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
jne 0x488ddd
push 0x1f6
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
jne 0x488dee
push 0x1f5
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
jne 0x488e00
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x488e66
push 0xfffffffffffffff4
push ebx
call sub.USER32.dll_GetWindowLongA
push eax
push 0xffffffffffffffeb
push ebx
call sub.USER32.dll_SetWindowLongA
push edi
push 0xfffffffffffffff4
push ebx
call sub.USER32.dll_SetWindowLongA
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
call sub.USER32.dll_SetWindowTextA
push 5
push ebx
call sub.USER32.dll_ShowWindow
mov word [ebp - 0x14], 0
jmp 0x488e57
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret