joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11007e90
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x14c
mov eax, dword [0x111c8010]
xor eax, esp
mov dword [esp + 0x148], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x11007ee0
mov eax, 6
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.1113507a
add esp, 0x14c
ret
mov eax, dword [esp + 0x30]
cmp eax, 6
ja 0x11007ef2
jne 0x11007f19
cmp dword [esp + 0x34], 1
jbe 0x11007f19
push esi
xor eax, eax
push edi
lea esi, [esp + 0xc]
lea edi, [esp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.11007820
pop edi
test al, al
mov eax, dword [esp + 4]
pop esi
jne 0x11007f19
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.1113507a
add esp, 0x14c
ret

Function at 0x110091f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1115d7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x111c8010]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.11004d20
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x11009250
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.110087c0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.11004d20
cmp dword [esp + 0x28], 8
jb 0x1100929b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1101d128
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x11009f20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1115e8b0
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x111c8010]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov ebp, dword [0x111d3550]
mov eax, dword [0x111d3554]
xor ebx, ebx
mov dword [esi], vtable.CHttpBase.0
mov dword [esi + 8], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov eax, 7
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ebx
mov word [esi + 0x4c], bx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebx
mov word [esi + 0x68], bx
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], ebx
mov word [esi + 0x84], bx
mov byte [esp + 0x1c], 6
lea edi, [esi + 0xd0]
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], 1
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc8], ebx
mov byte [esi + 0xcc], bl
mov byte [esi + 0xce], bl
push ebx
mov dword [edi], ebx
call fcn.1100e220
mov byte [esi + 0xe8], bl
mov dword [esi + 0xec], ebx
mov byte [esi + 0xf4], bl
mov byte [esi + 0x100], bl
mov dword [esi + 0xc], ebp
mov dword [esi + 0xe0], 2
mov dword [esi + 0xe4], 5
mov dword [esi + 0xf0], ebx
mov byte [esi + 0xcd], bl
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x1100d580
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test al, al
je 0x1100d5a7
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x1100d59a
mov eax, dword [eax + 4]
jmp 0x1100d59d
add eax, 4
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
ret 4

Function at 0x1100d7b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, ecx
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
call edx
test al, al
je 0x1100d837
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x14]
add eax, eax
cmp dword [ecx + 0x18], 8
push ebx
push esi
mov dword [esp + 0x10], eax
jb 0x1100d7d9
mov ebx, dword [ecx + 4]
jmp 0x1100d7dc
lea ebx, [ecx + 4]
cmp eax, 8
mov esi, ebx
jl 0x1100d806
shr eax, 3
push edi
mov edi, eax
lea esp, [esp]
lea eax, [esi + 4]
push eax
push esi
call fcn.1100d5b0
add esp, 8
add esi, 8
sub edi, 1
jne 0x1100d7f0
pop edi
mov ecx, dword [ebp + 0x24]
push ecx
push 1
lea edx, [esp + 0x18]
push 4
push edx
call fcn.1113a817
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push 1
push ecx
push ebx
call fcn.1113a817
mov edx, dword [ebp + 0x24]
push edx
call fcn.1113aa17
add esp, 0x24
pop esi
pop ebx
pop ebp
ret 4
Function at 0x11010850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1115d013
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x111c8010]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi], 0x111b7b40
mov edx, dword [ecx]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], eax
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.11004850
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.11004850
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x14

Function at 0x110124a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1115eb38
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x111c8010]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi + 8], ebx
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x1c], bl
mov dword [esp + 0x18], ebx
lea edi, [esi + 0x30]
mov dword [esi], vtable.CCurlHttp.0
push ebx
mov dword [edi], ebx
call fcn.1100e220
mov byte [esi + 0x58], bl
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x40], 0x2bc
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x110131a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1115d531
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x111c8010]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [edi], vtable.CSimpleThread.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0xc], bl
mov dword [edi], vtable.CCurlWorkshop.0
mov dword [edi + 0x10], ebx
call fcn.11014010
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.11014010
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ebx
mov byte [esp + 0x18], 1
call fcn.11014010
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ebx
mov byte [esp + 0x18], 2
call fcn.11014010
mov dword [edi + 0x3c], eax
lea eax, [edi + 0x44]
mov dword [edi + 0x40], ebx
push eax
mov dword [eax + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [edi + 0x60]
call fcn.11017d40
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x11013370
Capabilities:
Get socket status

Disassembly:
sub esp, 0x330
mov cl, byte [edi + 0xc]
push ebx
push ebp
push esi
xor eax, eax
xor esi, esi
test cl, cl
mov dword [esp + 0x14], eax
jne 0x11013451
push edi
call fcn.11013780
mov ebp, dword [sym.imp.WS2_32.dll_select]
xor ebx, ebx
lea ebx, [ebx]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x12c]
push eax
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x23c]
push edx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x1388
mov dword [esp + 0x244], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x13c], esi
call fcn.1104e430
mov eax, dword [esp + 0x24]
add esp, 0x14
cmp eax, esi
jl 0x11013412
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x12c]
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x23c]
push edx
add eax, 1
push eax
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x11013425
call fcn.1113b6fa
cmp dword [eax], 4
je 0x110133a0
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x14], esi
call fcn.110504b0
add esp, 8
cmp dword [esp + 0xc], esi
jle 0x11013448
mov dword [esp + 0x14], 1
cmp eax, 0xffffffff
je 0x11013425
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
add esp, 0x330
ret
Function at 0x110154f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using des

Disassembly:
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x10]
push edi
add ecx, 8
mov edi, 8
lea esp, [esp]
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x111b6ef8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x111b70f8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x111b72f8]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x111b74f8]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x111b6ff8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x111b71f8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x111b73f8]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x111b75f8]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x111b6ef8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x111b70f8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x111b72f8]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x111b74f8]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x111b6ff8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x111b71f8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x111b73f8]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x111b75f8]
xor esi, ebx
sub edi, 1
jne 0x11015510
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
ret 0xc
Function at 0x11015930
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
sub esp, 8
push esi
push edi
xor esi, esi
lea eax, [esp + 8]
push eax
push esi
push esi
push esi
push 2
mov dword [esp + 0x1c], esi
call sub.iphlpapi.dll_GetAdaptersAddresses
cmp eax, 0x6f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
jne 0x11015966
mov ecx, dword [esp + 8]
push ecx
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
lea edx, [esp + 8]
push edx
push esi
push 0
push 0
push 2
call sub.iphlpapi.dll_GetAdaptersAddresses
test eax, eax
jne 0x110159cc
test esi, esi
mov eax, esi
je 0x110159dc
mov ecx, 1
cmp dword [eax + 0x44], ecx
jne 0x11015991
cmp dword [eax + 0x34], 0
jg 0x1101599a
mov eax, dword [eax + 8]
test eax, eax
jne 0x11015986
jmp 0x110159cc
movzx ecx, byte [eax + 0x31]
movzx edx, byte [eax + 0x30]
push ecx
movzx ecx, byte [eax + 0x2f]
push edx
movzx edx, byte [eax + 0x2e]
push ecx
movzx ecx, byte [eax + 0x2d]
push edx
movzx edx, byte [eax + 0x2c]
push ecx
push edx
push str._02x_02x_02x_02x_02x_02x
push 0x14
push 0x111d35d4
call fcn.1113b73e
add esp, 0x24
test esi, esi
je 0x110159dc
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x111d35d4
pop edi
lea edx, [eax + 2]
pop esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110159e6
sub eax, edx
sar eax, 1
je 0x11015a00
mov eax, 0x111d35d4
add esp, 8
ret
call fcn.11015630
add esp, 8
ret
Function at 0x11015d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1115da71
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x111c8010]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
mov eax, dword [0x111c8010]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
xor ebp, ebp
mov dword [esp + 0x58], ebp
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], ebp
call fcn.11015a10
add esp, 4
mov dword [esp + 0x58], 1
push 1
push 0x111b6dbc
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
call fcn.11004c40
lea eax, [esp + 0x10]
push eax
push edi
lea edx, [esp + 0x38]
mov byte [esp + 0x60], 2
call fcn.11015e40
add esp, 8
mov byte [esp + 0x58], 1
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x11015db0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1101d128
add esp, 4
mov eax, dword [edi + 0x14]
cmp eax, ebp
je 0x11015df1
add eax, 0xffffffff
push eax
mov ecx, 1
lea esi, [esp + 0x14]
mov edx, edi
call fcn.11007630
push 0xffffffffffffffff
push ebp
push eax
mov ecx, edi
mov byte [esp + 0x64], 3
call fcn.11004d20
cmp dword [esp + 0x28], 8
jb 0x11015e00
mov edx, dword [esp + 0x14]
push edx
call fcn.1101d128
add esp, 4
jmp 0x11015e00
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.11004d20
cmp dword [esp + 0x48], 8
jb 0x11015e14
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1101d128
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1113507a
add esp, 0x50
ret

Function at 0x11016a70
Capabilities:
Terminate thread

Disassembly:
cmp dword [esi + 4], 0
je 0x11016b06
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
je 0x11016ae9
mov eax, dword [esi + 4]
test eax, eax
je 0x11016ae9
mov ecx, dword [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x11016ae9
call fcn.110034b0
mov ecx, dword [esi + 8]
mov edx, dword [eax]
mov edx, dword [edx + 8]
push ecx
push str.CSimpleThread::DestroyThread
push str.._threadSimpleThread.cpp
push 0x26
push 2
push eax
call edx
call fcn.11003440
mov edx, dword [esi + 8]
mov ecx, dword [eax]
push edx
push str.CSimpleThread::DestroyThread
push 2
push eax
mov eax, dword [ecx + 4]
call eax
mov eax, dword [esi + 4]
add esp, 0x28
test eax, eax
je 0x11016ae9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov al, 1
ret 4
xor al, al
ret 4
Function at 0x11016ba0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x11016bd9
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x11016bcc
cmp dword [esp + 8], 0x103
je 0x11016c14
mov edx, dword [esi + 4]
push edx
call edi
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
push eax
mov byte [esi + 0xc], 0
call edi
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x11016b10
push 0
push 0
mov dword [esi + 4], 0
mov dword [eax], 0
call fcn.1113bd17
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
pop edi
setne al
pop esi
pop ecx
ret
pop edi
mov al, 1
pop esi
pop ecx
ret

Function at 0x11016e10
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x111c8010]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x11016e4f
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.1113507a
add esp, 0x19c
ret
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x11016e38
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [esi + 4]
push 1
push eax
push ecx
mov dword [esi + 8], eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
push 0x111d2458
push 0x10f
call fcn.1113bdc5
add esp, 8
test eax, eax
mov dword [esi + 0x10], eax
je 0x11016e38
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x194]
mov word [esi + 0xc], ax
xor ecx, esp
mov eax, 1
call fcn.1113507a
add esp, 0x19c
ret
Function at 0x11016f90
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x20
mov eax, dword [0x111c8010]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x10f
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
push 0
push esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.11135000
mov cx, word [ebp + 0xc]
mov edi, dword [sym.imp.WS2_32.dll_htons]
add esp, 0xc
push 0x100
mov word [esi], cx
call edi
push 1
mov word [esi + 2], ax
call edi
mov word [esi + 4], ax
xor eax, eax
push 1
mov word [esi + 6], ax
mov word [esi + 8], ax
mov word [esi + 0xa], ax
call edi
movzx edx, ax
push 1
mov dword [esp + 0x14], edx
call edi
movzx eax, ax
mov dword [esp + 0x14], eax
mov eax, ebx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x11017026
sub eax, edi
movzx eax, ax
movzx ecx, ax
add ecx, 2
push ecx
mov dword [esp + 0x1c], eax
call fcn.11135ec2
mov edi, eax
add esp, 4
test edi, edi
jne 0x11017064
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1113507a
add esp, 0x20
ret 0x18
mov edx, dword [esp + 0x18]
add edx, 2
push edx
push edi
mov eax, ebx
call fcn.11017530
test eax, eax
je 0x1101704d
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x11017080
sub eax, edx
add eax, 1
movzx ebx, ax
movzx eax, bx
push eax
add esi, 0xc
push edi
push esi
call fcn.11135a80
mov cx, word [esp + 0x20]
movzx eax, bx
add esi, eax
mov ax, word [esp + 0x1c]
mov word [esi], ax
push edi
mov word [esi + 2], cx
call fcn.11135de5
mov ecx, dword [ebp + 0x10]
add esp, 0x10
push 0x10
lea edx, [esp + 0x20]
push edx
mov edx, dword [ebp + 4]
add ebx, 0x10
push 0
movzx eax, bx
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1113507a
add esp, 0x20
ret 0x18
Function at 0x1101c6d4
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x9c8]
sub esp, 0xa48
mov eax, dword [0x111c8010]
xor eax, ebp
mov dword [ebp + 0x9c4], eax
mov eax, dword [ebp + 0x9d0]
push ebx
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
push str.Psapi.dll
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x80], eax
je 0x1101c72c
push 0x11161af4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x7c], eax
jne 0x1101c733
xor eax, eax
jmp 0x1101c808
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x70], eax
jne 0x1101c74e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1101c7fc
push esi
push edi
mov esi, 0x22c
push esi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.11135000
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x68], esi
call sub.KERNEL32.dll_Process32FirstW
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1101c7eb
cmp byte [ebp + 0x9d4], bl
mov eax, dword [ebp - 0x60]
jne 0x1101c78a
cmp eax, dword [ebp - 0x78]
je 0x1101c7df
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x1101c7da
push 0x400
lea eax, [ebp + 0x1c4]
push eax
push ebx
push esi
call dword [ebp - 0x7c]
test eax, eax
je 0x1101c7d7
push dword [ebp - 0x74]
call fcn.11134f22
push eax
push dword [ebp - 0x74]
lea eax, [ebp + 0x1c4]
push eax
call fcn.11139d09
add esp, 0x10
test eax, eax
jne 0x1101c7d7
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
push esi
call edi
cmp dword [ebp - 0x6c], ebx
jne 0x1101c7f5
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x70]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1101c77a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x70]
call edi
pop edi
pop esi
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 0x9c4]
xor ecx, ebp
pop ebx
call fcn.1113507a
add ebp, 0x9c8
leave
ret 8