joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ddb00
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x248
mov eax, dword [0x52e098]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
push edi
mov edi, ecx
test esi, esi
je 0x4ddce1
cmp dword [ebp + 0x10], 0
je 0x4ddce1
cmp dword [edi + 4], 0xffffffff
je 0x4ddb49
call fcn.004ddd00
mov al, byte [esi]
cmp al, 0x30
jl 0x4ddb7b
cmp al, 0x39
jg 0x4ddb7b
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x230], xmm0
push esi
mov word [esp + 0x234], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x234], eax
jmp 0x4ddbbd
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x4ddce1
xorps xmm0, xmm0
movaps xmmword [esp + 0x230], xmm0
movsx eax, word [esi + 0xa]
push eax
mov eax, dword [esi + 0xc]
push dword [eax]
lea eax, [esp + 0x23c]
push eax
call fcn.004b6e70
mov ax, word [esi + 8]
add esp, 0xc
mov word [esp + 0x230], ax
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_htons]
push 6
push 1
push 2
mov word [esp + 0x23e], ax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov dword [esp + 0xc], 1
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x4ddce1
push 0x10
lea eax, [esp + 0x234]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x4ddce1
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x4ddce1
lea eax, [esp + 0x18]
mov dword [esp + 0x24], esi
push eax
lea eax, [esp + 0x12c]
mov dword [esp + 0x24], 1
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x134], esi
push eax
push 0
push 0
mov dword [esp + 0x13c], 1
call dword [sym.imp.WS2_32.dll_select]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x4ddce1
push 0x31
push 0x401
push dword [esp + 0x18]
mov dword [edi + 4], esi
push esi
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov eax, dword [esp + 0x10]
lea ecx, [edi + 0xc]
push dword [esp + 0x14]
mov dword [edi + 8], eax
call fcn.00444780
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x24], eax
xor eax, eax
mov dword [edi + 0x40028], 1
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0049de5d
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x24c]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.0049de5d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ddef0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3b0b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52e098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CAPISocket.0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
jb 0x4ddf3e
mov eax, dword [edi]
jmp 0x4ddf40
mov eax, edi
mov byte [eax], 0
mov dword [ebp - 4], 0
push 0x40000
mov dword [esi + 0x4002c], 0x5243cc
mov dword [esi + 0x40030], 0x40000
call fcn.0049e121
mov dword [esi + 0x40034], eax
mov dword [esi + 0x40038], 0
mov dword [esi + 0x4003c], 0
lea ebx, [esi + 0x40044]
mov byte [ebp - 4], 1
push 8
mov dword [ebp - 0x14], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.0049de73
add esp, 8
mov dword [ebx], eax
test eax, eax
je 0x4ddfce
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebx]
mov dword [eax], ebx
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4ddfef
mov edi, dword [edi]
mov eax, dword [0x53f058]
mov ecx, eax
inc eax
mov byte [edi], 0
mov dword [esi + 0x24], 0
mov dword [0x53f058], eax
test ecx, ecx
jne 0x4de01a
push 0x53f8b8
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi + 0x40040], 0
mov eax, esi
mov dword [esi + 0x40028], 0
mov dword [esi + 0x40058], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4de050
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, edx
or eax, 0xffffffff
xor esi, esi
mov ebx, ecx
test edi, edi
je 0x4de078
movzx edx, byte [esi + ebx]
inc esi
xor edx, eax
shr eax, 8
movzx ecx, dl
xor eax, dword [ecx*4 + 0x5215e0]
cmp esi, edi
jb 0x4de060
pop edi
pop esi
pop ebx
ret
Function at 0x4dfdb0
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3e00
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
mov eax, dword [0x52e098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae ecx, dword [ebp + 8]
call fcn.004ecd20
test al, al
jne 0x4dfeca
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0x52226c
call esi
push 0
push str.Object
call esi
push 0
push str.Item
call esi
push 0
push 0x522280
call esi
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc0]
cmovae eax, dword [ebp + 8]
sub esp, 8
push 2
push eax
call fcn.0044c6f0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.00449a30
test eax, eax
jne 0x4dfe7c
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00446360
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0x522284
cmovae eax, dword [ebp + 8]
push eax
call fcn.004bedcc
push 0
mov esi, eax
push 0
push esi
call fcn.004bec19
add esp, 0x14
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push esi
push 1
push 4
push eax
call fcn.004be361
push esi
call fcn.004bd08c
add esp, 0x14
lea ecx, [ebp - 0xc0]
call fcn.004468e0
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x4dfedf
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00445260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4e1ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, cl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [ebp - 4], eax
xor eax, eax
test ecx, ecx
jle 0x4e1b1e
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
sub ebx, ecx
nop dword [eax]
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x53f458]
mov ecx, edi
xor dl, byte [ebx + esi]
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov byte [esi], dl
cmp eax, dword [ebp + 8]
jl 0x4e1af0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4e2d90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x53f2e0], 2
jne 0x4e2def
mov edx, dword [0x53f428]
sub edx, 0xffffff80
cmp dword [edx + 0x14], 0x10
jb 0x4e2db0
mov ecx, dword [edx]
jmp 0x4e2db2
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e2db6
sub ecx, esi
pop esi
je 0x4e2def
cmp dword [edx + 0x14], 0x10
mov dword [0x53f0d0], 1
mov dword [0x53f2e0], 1
jb 0x4e2dde
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e2e00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x53f2dc], 2
jne 0x4e2e5f
mov edx, dword [0x53f428]
add edx, 0x68
cmp dword [edx + 0x14], 0x10
jb 0x4e2e20
mov ecx, dword [edx]
jmp 0x4e2e22
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e2e26
sub ecx, esi
pop esi
je 0x4e2e5f
cmp dword [edx + 0x14], 0x10
mov dword [0x53f0cc], 1
mov dword [0x53f2dc], 1
jb 0x4e2e4e
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e2e70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x53f2d8], 2
jne 0x4e2ecf
mov edx, dword [0x53f428]
add edx, 0x50
cmp dword [edx + 0x14], 0x10
jb 0x4e2e90
mov ecx, dword [edx]
jmp 0x4e2e92
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e2e96
sub ecx, esi
pop esi
je 0x4e2ecf
cmp dword [edx + 0x14], 0x10
mov dword [0x53f0c8], 1
mov dword [0x53f2d8], 1
jb 0x4e2ebe
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e2ee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x53f2d4], 2
jne 0x4e2f3f
mov edx, dword [0x53f428]
add edx, 0x38
cmp dword [edx + 0x14], 0x10
jb 0x4e2f00
mov ecx, dword [edx]
jmp 0x4e2f02
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e2f06
sub ecx, esi
pop esi
je 0x4e2f3f
cmp dword [edx + 0x14], 0x10
mov dword [0x53f0c4], 1
mov dword [0x53f2d4], 1
jb 0x4e2f2e
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret
Function at 0x4e2f50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x53f2d0], 2
jne 0x4e2faf
mov edx, dword [0x53f428]
add edx, 0x20
cmp dword [edx + 0x14], 0x10
jb 0x4e2f70
mov ecx, dword [edx]
jmp 0x4e2f72
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e2f76
sub ecx, esi
pop esi
je 0x4e2faf
cmp dword [edx + 0x14], 0x10
mov dword [0x53f0c0], 1
mov dword [0x53f2d0], 1
jb 0x4e2f9e
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e2fc0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x52e098]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x53f2c8], 2
jne 0x4e3114
push ebx
mov byte [ebp - 0x10], 0x28
mov al, 0x67
xor al, byte [ebp - 0x10]
mov cl, 0x58
xor cl, byte [ebp - 0x10]
mov bh, 0x4d
mov byte [ebp - 0xf], al
mov ah, 0x47
mov byte [ebp - 0xe], cl
mov dl, 0x5c
mov cl, byte [ebp - 0x10]
mov ch, 0x46
mov byte [ebp - 0x35], 0x50
xor ah, cl
mov al, byte [ebp - 0x35]
mov dh, 6
xor al, cl
mov byte [ebp - 0x36], bh
mov byte [ebp - 7], al
mov bl, 0x41
mov al, byte [ebp - 0x36]
xor dl, cl
push 9
push 0
xor al, cl
mov byte [ebp - 0xb], ah
push 0
mov byte [ebp - 6], al
xor bl, cl
lea eax, [ebp - 0xf]
mov byte [ebp - 5], 0
push eax
push 0
xor ch, cl
mov dword [0x53f0b8], 1
xor dh, cl
mov dword [0x53f2c8], 1
xor bh, cl
mov byte [ebp - 0xd], dl
push 0
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xa], ch
mov byte [ebp - 9], dh
mov byte [ebp - 8], bh
mov byte [ebp - 5], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 2
jne 0x4e310b
movaps xmm0, xmmword [str._oPTION]
mov al, al
mov byte [ebp - 0x1c], 0x4e
mov cl, 0x2f
xor al, byte [ebp - 0x1c]
mov ch, 0x26
mov byte [ebp - 0x1b], al
mov dl, 0x3b
mov al, byte [ebp - 0x1c]
mov bl, 0x20
mov ah, 0x2d
mov byte [ebp - 0x13], 0
mov dh, 0x2b
mov byte [ebp - 0x13], 0
mov bh, 0x3c
mov dword [ebp - 0x24], 0x4e554f46
xor cl, al
mov word [ebp - 0x20], 0xe44
xor ch, al
mov byte [ebp - 0x1a], cl
xor dl, al
mov byte [ebp - 0x16], ch
xor bl, al
mov byte [ebp - 0x19], dl
xor ah, al
mov byte [ebp - 0x18], bl
xor dh, al
mov byte [ebp - 0x17], ah
xor bh, al
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x1e], 0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x15
jb 0x4e30d5
push 0x40
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x1e], 0
push eax
lea eax, [ebp - 0x33]
push eax
push dword [0x53f088]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049de5d
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049de5d
mov esp, ebp
pop ebp
ret
Function at 0x4e3130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x53f2c4], 2
jne 0x4e318f
mov edx, dword [0x53f428]
add edx, 8
cmp dword [edx + 0x14], 0x10
jb 0x4e3150
mov ecx, dword [edx]
jmp 0x4e3152
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e3156
sub ecx, esi
pop esi
je 0x4e318f
cmp dword [edx + 0x14], 0x10
mov dword [0x53f0b4], 1
mov dword [0x53f2c4], 1
jb 0x4e317e
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e31a0
Capabilities:
Create process on windows

Disassembly:
cmp dword [0x53f2e4], 2
jne 0x4e31f2
mov eax, dword [0x53f428]
cmp byte [eax + 0x288], 0
je 0x4e31f2
cmp dword [eax + 0xc0], 0
jbe 0x4e31f2
add eax, 0xb0
mov dword [0x53f0d4], 1
mov dword [0x53f2e4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4e31e1
mov eax, dword [eax]
push 9
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x4e39c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [eax]
push 0xfa
call esi
mov eax, dword [0x53f120]
test eax, eax
je 0x4e39e0
cmp dword [0x53f3c8], 0
je 0x4e39e0
push eax
push 1
push 0x1fffff
call edi
cmp eax, 0xffffffff
je 0x4e39e0
push 0
push 1
lea ecx, [ebp - 1]
push ecx
push 0x400000
push eax
call ebx
test eax, eax
jne 0x4e39e0
push dword [0x53f3c8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5190
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
push 0x3000
push 0x104
mov edi, ecx
mov esi, edx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x4e5222
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e51c0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4e521b
push 0
push 0
push ebx
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
jne 0x4e522c
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4e5200
sub esi, ecx
push 0x8000
lea eax, [esi + 1]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4e5222
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4e5246
sub esi, ecx
push 0x8000
lea eax, [esi + 1]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push ebx
call edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e52a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f44b4
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x52e098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dl, cl
mov eax, dword [0x53f428]
cmp dword [eax + 0x18], 0
je 0x4e53e3
movzx esi, dl
lea ecx, [eax + 0x12c]
lea eax, [esi + 1]
cmp dword [ecx + 4], eax
jb 0x4e53e3
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004502b0
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x3c], 0
jbe 0x4e53e3
mov ch, 0x59
mov byte [ebp - 0x12], 0
mov al, 0x76
mov byte [ebp - 0x18], ch
mov dl, 0x3c
mov dword [ebp - 0x50], esi
xor dl, ch
mov byte [ebp - 0x12], 0
mov ah, al
mov byte [ebp - 0x15], dl
mov edx, dword [0x53f428]
xor al, ch
xor ah, ch
mov byte [ebp - 0x17], al
mov cl, 0x37
mov byte [ebp - 0x13], ah
xor cl, ch
lea eax, [ebp - 0x17]
mov bl, 0x2e
mov byte [ebp - 0x16], cl
xor bl, ch
lea edx, [edx + 8]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x14], bl
call fcn.0044b380
add esp, 4
mov esi, eax
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
mov ecx, dword [0x53f428]
push eax
lea eax, [ebp - 0x58]
add ecx, 0x12c
push eax
call fcn.004502b0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x30]
add eax, 0x2c
mov edx, esi
push eax
call fcn.0044d320
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4e5396
mov eax, dword [eax]
push 5
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x4e53bc
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00445260
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp eax, 0x10
jb 0x4e53e3
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00445260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049de5d
mov esp, ebp
pop ebp
ret
Function at 0x4e6bb0
Capabilities:
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x52e098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x140], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x140]
push eax
push ebx
mov dword [ebp - 0x144], ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4e6d33
nop dword [eax + eax]
movaps xmm0, xmmword [0x524c10]
xor eax, eax
movups xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], 0x29
mov cl, byte [ebp - 0x18]
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0x10
jb 0x4e6c13
mov byte [ebp - 7], 0
lea ecx, [ebp - 0x17]
lea eax, [ebp - 0x11c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6c50
test dl, dl
je 0x4e6c4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6c50
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6c30
xor eax, eax
jmp 0x4e6c55
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e6d1d
mov ecx, dword [ebp - 0x138]
call fcn.004e6ee0
test al, al
jne 0x4e6d1d
push dword [ebp - 0x138]
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4e6d1d
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x14c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, 0xffffffff
je 0x4e6d16
push 0
call fcn.004bf820
add esp, 4
mov ebx, eax
mov esi, edx
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
call fcn.004e6e40
add esp, 8
sub ebx, eax
sbb esi, edx
mov dword [ebp - 0x16c], esi
js 0x4e6d10
jg 0x4e6cea
cmp ebx, 0xf
jbe 0x4e6d10
push dword [ebp - 0x138]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4e6d10
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x144]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x140]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4e6c00
cmp ebx, 0xffffffff
je 0x4e6d3f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049de5d
mov esp, ebp
pop ebp
ret
Function at 0x4e6d50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x52e098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov bl, dl
mov dword [ebp - 0x138], ecx
push 2
mov byte [ebp - 0x131], bl
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4e6dfe
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x10c]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4e6de0
test dl, dl
je 0x4e6ddc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4e6de0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4e6dc0
xor eax, eax
jmp 0x4e6de5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e6dea
inc esi
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
test eax, eax
jne 0x4e6db0
mov bl, byte [ebp - 0x131]
cmp edi, 0xffffffff
je 0x4e6e0a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4e6e25
cmp esi, 1
setl al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049de5d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
cmp esi, 1
pop edi
setle al
xor ecx, ebp
pop esi
pop ebx
call fcn.0049de5d
mov esp, ebp
pop ebp
ret

Function at 0x4e6ee0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x52e098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowExA]
push esi
push edi
mov edi, ecx
xor esi, esi
push 0
push 0
push esi
push 0
call ebx
mov esi, eax
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0x124]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0x104
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0xf
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x120], 0
jne 0x4e6f5e
xor ecx, ecx
jmp 0x4e6f70
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6f67
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x120]
call fcn.004454e0
cmp dword [ebp - 0x124], edi
jne 0x4e6f94
cmp dword [ebp - 0x110], 0
jne 0x4e6feb
mov eax, dword [ebp - 0x10c]
cmp eax, 0x10
jb 0x4e6fd0
mov ecx, dword [ebp - 0x120]
inc eax
cmp eax, 0x1000
jb 0x4e6fc7
test cl, 0x1f
jne 0x4e701c
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4e701c
sub ecx, eax
cmp ecx, 4
jb 0x4e701c
cmp ecx, 0x23
ja 0x4e701c
mov ecx, eax
push ecx
call fcn.0049e10e
add esp, 4
test esi, esi
jne 0x4e6f00
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049de5d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10c]
cmp eax, 0x10
jb 0x4e7009
inc eax
lea ecx, [ebp - 0x120]
push eax
push dword [ebp - 0x120]
call fcn.00445260
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049de5d
mov esp, ebp
pop ebp
ret
call fcn.004bc8e8
int3