joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444330
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x498498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00490fa2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00443c80
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00490ed0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0048d799
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0048d799
push 1
push 0
push 0
mov ecx, esi
call fcn.0048d741
push 1
push 0
push 1
mov ecx, esi
call fcn.0048d741
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00491014
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4444b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4984b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00490fa2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00443c80
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00490ed0
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x444574
cmp dword [esp + 0x40], 1
jne 0x444572
cmp ecx, eax
jge 0x444574
mov eax, ecx
cmp eax, 0xc8
jge 0x444580
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00444330
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00491014
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x444d80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x498563
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048bbb4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0049124a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00492766
test eax, eax
je 0x444e9c
mov ecx, dword [esp + 0x3c]
call fcn.00491277
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x444e60
push edi
mov ecx, esi
call fcn.0048e8e7
mov ecx, esi
call fcn.00445040
cmp dword [esp + 0x38], 1
jne 0x444e95
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048ea22
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4470a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4470d3
push esi
call fcn.00455460
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4470cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x447159
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x447142
mov eax, dword [esi + 8]
test eax, eax
je 0x4470f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44713e
cmp eax, 2
je 0x447142
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4470ea
cmp eax, 3
je 0x44711d
cmp eax, 1
jne 0x4470ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4470ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4470ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00447180
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x447168
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00447180
add esp, 4
pop esi
ret

Function at 0x447a00
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x447a21
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x447a21
mov eax, dword [eax + 0x44]
test eax, eax
je 0x447a21
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x464ce0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xc19ea8]
xor edx, edx
cmp eax, edx
jne 0x464d06
xor eax, eax
mov byte [eax + 0xc19da8], al
inc eax
cmp eax, 0x100
jl 0x464cee
mov dword [0xc19ea8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xc19da8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x464d97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x464d6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x464d38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x464da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x464df3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x464dda
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46b770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498a4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0046c090
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xbe89ec
call fcn.0048a344
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x46b803
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048a344
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x46b7fc
push 0
mov ecx, eax
call fcn.00462910
mov dword [esi + 0xc], eax
jmp 0x46b805
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x46b805
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x48c9aa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48c9e2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048aa5e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048aa36
jmp 0x48c9ee
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48e0a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48e0e3
call fcn.00493b4c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48e0e3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48e0da
xor eax, eax
jmp 0x48e0eb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048e0f1
pop edi
pop esi
pop ebx
ret 4
Function at 0x49407c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4940aa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4940c8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00493fe2
jmp 0x4940c8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4940c8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00493fe2
test edi, edi
mov eax, edi
jne 0x4940b2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001c3c
Capabilities:
Delete file

Disassembly:
sub esp, 0x67c
mov eax, dword [0x1007100c]
xor eax, esp
mov dword [esp + 0x674], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x3fe
push eax
mov word [esp + 0x288], ax
lea eax, [esp + 0x28a]
push eax
call fcn.100119c0
push 0x73
pop ebp
push 0x2a
xor eax, eax
mov word [esp + 0x282], bp
mov word [esp + 0x28c], ax
pop eax
push 0x25
pop ebx
push 0x5c
pop ecx
push 0x2e
mov word [esp + 0x28a], ax
mov word [esp + 0x286], ax
pop eax
mov word [esp + 0x284], ax
lea eax, [esp + 0x27c]
push edi
push eax
lea eax, [esp + 0x294]
mov word [esp + 0x284], bx
push eax
mov word [esp + 0x28c], cx
call dword [0x10093128]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x284]
push eax
call dword [0x10093124]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001da6
test byte [esp + 0x10], 0x10
jne 0x10001d8b
lea eax, [esp + 0x3c]
push 0x10068570
push eax
call fcn.1001284a
pop ecx
pop ecx
test eax, eax
je 0x10001d8b
lea eax, [esp + 0x3c]
push 0x10068574
push eax
call fcn.1001284a
pop ecx
pop ecx
test eax, eax
je 0x10001d8b
push 0x5c
pop eax
mov word [esp + 0x268], ax
xor eax, eax
mov word [esp + 0x26e], ax
lea eax, [esp + 0x3c]
push eax
push edi
lea eax, [esp + 0x26c]
mov word [esp + 0x26c], bx
push eax
lea eax, [esp + 0x28c]
mov word [esp + 0x276], bx
push eax
mov word [esp + 0x276], bp
mov word [esp + 0x27c], bp
call dword [0x10093128]
add esp, 0x10
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x10093120]
test eax, eax
jne 0x10001cf4
push esi
call dword [0x1009311c]
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100105a7
add esp, 0x67c
ret
Function at 0x10001dca
Capabilities:
Delete directory

Disassembly:
sub esp, 0x67c
mov eax, dword [0x1007100c]
xor eax, esp
mov dword [esp + 0x674], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x3fe
push eax
mov word [esp + 0x288], ax
lea eax, [esp + 0x28a]
push eax
call fcn.100119c0
add esp, 0xc
push 0x2a
pop eax
push 0x73
pop ecx
push 0x25
pop ebp
mov word [esp + 0x27a], ax
mov word [esp + 0x276], ax
xor eax, eax
push 0x5c
mov word [esp + 0x280], ax
pop eax
push 0x2e
pop ebx
mov word [esp + 0x274], ax
lea eax, [esp + 0x270]
push edi
push eax
lea eax, [esp + 0x288]
mov word [esp + 0x27a], cx
push eax
mov word [esp + 0x27c], bp
mov word [esp + 0x284], bx
call dword [0x10093128]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x284]
push eax
call dword [0x10093124]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001f26
test byte [esp + 0x10], 0x10
je 0x10001f0b
cmp word [esp + 0x3c], bx
je 0x10001f0b
cmp word [esp + 0x3e], bx
je 0x10001f0b
xor eax, eax
mov word [esp + 0x26a], bp
push 0x5c
mov word [esp + 0x272], ax
pop eax
push 0x73
mov word [esp + 0x26c], ax
pop eax
mov word [esp + 0x26c], ax
mov word [esp + 0x266], ax
lea eax, [esp + 0x3c]
push eax
push edi
lea eax, [esp + 0x26c]
mov word [esp + 0x26c], bp
push eax
lea eax, [esp + 0x28c]
push eax
call dword [0x10093128]
add esp, 0x10
lea ecx, [esp + 0x280]
call fcn.10001c3c
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x10093120]
test eax, eax
jne 0x10001e85
push esi
call dword [0x1009311c]
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100105a7
add esp, 0x67c
ret
Function at 0x10003a86
Capabilities:
Get file size

Disassembly:
push 0x58
mov eax, 0x1005b966
call fcn.10014636
mov edi, ecx
mov ebx, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.1000801d
lea ecx, [ebp - 0x64]
call fcn.10002073
add esp, 0x18
mov esi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
push str.SCAN
call fcn.10007f0a
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.1000a028
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.10007fe1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.10007fe1
push ecx
push 0x80
push 3
push ecx
push 1
mov ecx, ebx
call fcn.1000819f
mov edx, 0x80000000
mov ecx, eax
call fcn.1000ce9a
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x10003b70
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80000
ja 0x10003b53
cmp dword [ebp - 0x18], 0
jne 0x10003b53
lea ecx, [ebp - 0x30]
call fcn.10008018
push eax
mov ecx, edi
call fcn.10003cf3
test al, al
je 0x10003b67
mov ecx, edi
mov byte [edi + 0x415c], 1
call fcn.10003d23
mov byte [edi + 0x415c], 0
jmp 0x10003b67
push str.:_OK
mov ecx, ebx
call fcn.10008138
push ebx
mov ecx, edi
call fcn.100042b3
mov ecx, esi
call fcn.1000cdb8
jmp 0x10003b84
push str.:_OK
mov ecx, ebx
call fcn.10008138
push ebx
mov ecx, edi
call fcn.100042b3
lea ecx, [ebp - 0x30]
call fcn.10007fe1
call fcn.100145e5
ret 4

Function at 0x10003c87
Capabilities:
Create tcp socket

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 0x78]
call dword [0x1009310c]
push 6
push 1
push 2
pop ebx
push ebx
call dword [sym.imp.WS2_32.dll_socket]
lea esi, [edi + 0x40c0]
mov dword [edi + 0x78], eax
push str.127.0.0.1
mov word [esi], bx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x10093108]
pop edi
cmp eax, 0xffffffff
pop esi
setne al
pop ebx
ret

Function at 0x100043fa
Capabilities:
Create tcp socket

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x1007100c]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov edi, ecx
push eax
push 0x101
call dword [0x100930fc]
push 6
push 1
push 2
pop ebx
push ebx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
jne 0x10004443
call dword [0x100930f8]
xor al, al
jmp 0x100044ab
lea esi, [edi + 0x40c0]
push str.127.0.0.1
mov word [esi], bx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x10093108]
cmp eax, 0xffffffff
jne 0x10004496
push dword [edi + 0x78]
call dword [0x1009310c]
jmp 0x10004439
push str.PING
mov ecx, edi
call fcn.10003cf3
mov ecx, edi
call fcn.10003d23
mov al, 1
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100105a7
add esp, 0x1a0
ret
Function at 0x10004712
Capabilities:
Enumerate process modules

Disassembly:
push 0x450
mov eax, 0x1005bb71
call fcn.10014636
mov edi, ecx
mov eax, dword [ebp + 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x43c], 0x428
lea eax, [ebp - 0x43c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x10004797
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x454]
call fcn.1000805e
and dword [ebp - 4], 0
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x45c]
push eax
lea ecx, [edi + 0x40d0]
call fcn.10008478
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.1000810c
lea eax, [ebp - 0x43c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1000474b
mov ecx, esi
call fcn.1000cdb8
call fcn.100145e5
ret 4

Function at 0x100047aa
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005bbaf
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x1007100c]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push esi
mov eax, dword [0x1007100c]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
push str.QueryFullProcessImageNameW
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esi + 0x40d0]
call fcn.100084d3
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0x22c
call fcn.10008046
and dword [esp + 0x288], 0
lea ecx, [esp + 0x14]
call fcn.10008046
push 0
push 2
mov byte [esp + 0x290], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x10004893
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x10004893
mov ebx, dword [esp + 0xc]
push dword [esp + 0x4c]
mov ecx, ebx
call fcn.10004712
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x10004873
mov ebx, dword [esp + 0x10]
mov ecx, esi
call fcn.1000cdb8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x14]
call fcn.1000810c
lea ecx, [esp + 0x2c]
call fcn.1000810c
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.100105a7
mov esp, ebp
pop ebp
ret

Function at 0x10004f87
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [0x10074d78], bl
inc ebx
cmp ebx, 0x1e
jg 0x10004fbf
push esi
push 0x10004f20
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [0x10074d78], 0
jne 0x10004fbf
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x10074d78], 0
je 0x10004f93
pop esi
pop ebx
ret
Function at 0x10004fc2
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x80], 0x22c
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x100050f6
push edi
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
xor edi, edi
inc edi
jmp 0x100050e6
lea eax, [ebp - 0x5c]
push eax
push str.avgcsrvx.exe
call fcn.10012888
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x5c]
push eax
push str.avgemcx.exe
cmove ebx, edi
call fcn.10012888
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x5c]
push eax
push str.avgidsagent.exe
cmove ebx, edi
call fcn.10012888
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x5c]
push eax
push str.avgnsx.exe
cmove ebx, edi
call fcn.10012888
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x5c]
push eax
push str.avgrsx.exe
cmove ebx, edi
call fcn.10012888
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x5c]
push eax
push str.avgsvcx.exe
cmove ebx, edi
call fcn.10012888
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x5c]
push eax
push str.avgui.exe
cmove ebx, edi
call fcn.10012888
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x5c]
push eax
push str.avguix.exe
cmove ebx, edi
call fcn.10012888
add esp, 0x40
movzx ebx, bl
test eax, eax
lea eax, [ebp - 0x5c]
cmove ebx, edi
push eax
push str.avgwdsvcx.exe
call fcn.10012888
pop ecx
test eax, eax
movzx ebx, bl
pop ecx
lea eax, [ebp - 0x80]
cmove ebx, edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, edi
je 0x10005010
mov ecx, esi
call fcn.1000cdb8
pop edi
mov ecx, dword [ebp + 0x1ac]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.100105a7
lea esp, [ebp + 0x1b0]
pop ebp
ret