joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a7a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov ax, word [0x1007757c]
mov word [ebp - 0x670], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x66e]
push ecx
call fcn.10040790
add esp, 0xc
mov edx, 2
imul eax, edx, 6
xor ecx, ecx
mov word [ebp + eax - 0x20], cx
mov edx, 2
shl edx, 0
mov eax, 0x73
mov word [ebp + edx - 0x20], ax
mov ecx, 2
imul edx, ecx, 5
mov eax, 0x2a
mov word [ebp + edx - 0x20], ax
mov ecx, 2
imul edx, ecx, 0
mov eax, 0x25
mov word [ebp + edx - 0x20], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x5c
mov word [ebp + ecx - 0x20], dx
mov eax, 2
imul ecx, eax, 3
mov edx, 0x2a
mov word [ebp + ecx - 0x20], dx
mov eax, 2
shl eax, 2
mov ecx, 0x2e
mov word [ebp + eax - 0x20], cx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x670]
push ecx
call dword [0x100ad8a8]
add esp, 0xc
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x670]
push eax
call dword [0x100ad890]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x1000a97d
mov ecx, dword [ebp - 0x270]
and ecx, 0x10
jne 0x1000a95a
push 0x100775d0
lea edx, [ebp - 0x244]
push edx
call fcn.10048e62
add esp, 8
test eax, eax
je 0x1000a95a
push 0x100775d4
lea eax, [ebp - 0x244]
push eax
call fcn.10048e62
add esp, 8
test eax, eax
je 0x1000a95a
mov ecx, 2
shl ecx, 1
mov edx, 0x5c
mov word [ebp + ecx - 0x10], dx
mov eax, 2
imul ecx, eax, 5
xor edx, edx
mov word [ebp + ecx - 0x10], dx
mov eax, 2
imul ecx, eax, 0
mov edx, 0x25
mov word [ebp + ecx - 0x10], dx
mov eax, 2
imul ecx, eax, 3
mov edx, 0x25
mov word [ebp + ecx - 0x10], dx
mov eax, 2
shl eax, 0
mov ecx, 0x73
mov word [ebp + eax - 0x10], cx
mov edx, 2
shl edx, 2
mov eax, 0x73
mov word [ebp + edx - 0x10], ax
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x670]
push ecx
call dword [0x100ad8a8]
add esp, 0x10
lea edx, [ebp - 0x670]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [0x100ad894]
test eax, eax
jne 0x1000a87f
mov edx, dword [ebp - 4]
push edx
call dword [0x100ad898]
mov esp, ebp
pop ebp
ret
Function at 0x1000a990
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov ax, word [0x1007757c]
mov word [ebp - 0x670], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x66e]
push ecx
call fcn.10040790
add esp, 0xc
mov edx, 2
imul eax, edx, 5
mov ecx, 0x2a
mov word [ebp + eax - 0x20], cx
mov edx, 2
shl edx, 0
mov eax, 0x73
mov word [ebp + edx - 0x20], ax
mov ecx, 2
imul edx, ecx, 3
mov eax, 0x2a
mov word [ebp + edx - 0x20], ax
mov ecx, 2
imul edx, ecx, 6
xor eax, eax
mov word [ebp + edx - 0x20], ax
mov ecx, 2
imul edx, ecx, 0
mov eax, 0x25
mov word [ebp + edx - 0x20], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x5c
mov word [ebp + ecx - 0x20], dx
mov eax, 2
shl eax, 2
mov ecx, 0x2e
mov word [ebp + eax - 0x20], cx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x670]
push ecx
call dword [0x100ad8a8]
add esp, 0xc
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x670]
push eax
call dword [0x100ad890]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x1000ab76
mov ecx, dword [ebp - 0x270]
and ecx, 0x10
je 0x1000ab53
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x244]
cmp ecx, 0x2e
je 0x1000ab53
mov edx, 2
shl edx, 0
movzx eax, word [ebp + edx - 0x244]
cmp eax, 0x2e
je 0x1000ab53
mov ecx, 2
imul edx, ecx, 3
mov eax, 0x25
mov word [ebp + edx - 0x10], ax
mov ecx, 2
imul edx, ecx, 5
xor eax, eax
mov word [ebp + edx - 0x10], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x5c
mov word [ebp + ecx - 0x10], dx
mov eax, 2
shl eax, 2
mov ecx, 0x73
mov word [ebp + eax - 0x10], cx
mov edx, 2
imul eax, edx, 0
mov ecx, 0x25
mov word [ebp + eax - 0x10], cx
mov edx, 2
shl edx, 0
mov eax, 0x73
mov word [ebp + edx - 0x10], ax
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x670]
push ecx
call dword [0x100ad8a8]
add esp, 0x10
lea edx, [ebp - 0x670]
push edx
call fcn.1000a7a0
add esp, 4
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x270]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [0x100ad894]
test eax, eax
jne 0x1000aa6f
mov eax, dword [ebp - 4]
push eax
call dword [0x100ad898]
mov esp, ebp
pop ebp
ret

Function at 0x1000b320
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [0x1008f3f0], 0
mov dword [ebp - 4], 0
movzx eax, byte [0x1008f3f0]
test eax, eax
jne 0x1000b372
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x1e
jle 0x1000b34e
jmp 0x1000b372
mov edx, dword [ebp + 8]
push edx
push 0x1000b2b0
call dword [sym.imp.USER32.dll_EnumWindows]
movzx eax, byte [0x1008f3f0]
test eax, eax
jne 0x1000b370
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000b332
mov esp, ebp
pop ebp
ret
Function at 0x1000b380
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1000b4f3
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1000b4e9
lea edx, [ebp - 0x214]
push edx
push str.avgcsrvx.exe
call fcn.1004977d
add esp, 8
test eax, eax
jne 0x1000b3f0
mov byte [ebp - 1], 1
lea eax, [ebp - 0x214]
push eax
push str.avgemcx.exe
call fcn.1004977d
add esp, 8
test eax, eax
jne 0x1000b40c
mov byte [ebp - 1], 1
lea ecx, [ebp - 0x214]
push ecx
push str.avgidsagent.exe
call fcn.1004977d
add esp, 8
test eax, eax
jne 0x1000b428
mov byte [ebp - 1], 1
lea edx, [ebp - 0x214]
push edx
push str.avgnsx.exe
call fcn.1004977d
add esp, 8
test eax, eax
jne 0x1000b444
mov byte [ebp - 1], 1
lea eax, [ebp - 0x214]
push eax
push str.avgrsx.exe
call fcn.1004977d
add esp, 8
test eax, eax
jne 0x1000b460
mov byte [ebp - 1], 1
lea ecx, [ebp - 0x214]
push ecx
push str.avgsvcx.exe
call fcn.1004977d
add esp, 8
test eax, eax
jne 0x1000b47c
mov byte [ebp - 1], 1
lea edx, [ebp - 0x214]
push edx
push str.avgui.exe
call fcn.1004977d
add esp, 8
test eax, eax
jne 0x1000b498
mov byte [ebp - 1], 1
lea eax, [ebp - 0x214]
push eax
push str.avguix.exe
call fcn.1004977d
add esp, 8
test eax, eax
jne 0x1000b4b4
mov byte [ebp - 1], 1
lea ecx, [ebp - 0x214]
push ecx
push str.avgwdsvcx.exe
call fcn.1004977d
add esp, 8
test eax, eax
jne 0x1000b4d0
mov byte [ebp - 1], 1
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x1000b3d4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x1000b500
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000b51d
xor eax, eax
jmp 0x1000b668
push 0
push 0x2000000
push 3
push 0
push 0
push 0x60000
mov ecx, dword [ebp + 8]
push ecx
call dword [0x100ad888]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1000b549
xor eax, eax
jmp 0x1000b668
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 4
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 5
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x221
push 0x20
push 2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x40], 0
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x40], 0x10000000
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x40]
push edx
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 4], 0
je 0x1000b631
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 4
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1000b670
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007452b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
lea ecx, [ebp - 0x34]
call fcn.1000d720
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x1000b6d5
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100125f0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0xd]
jmp 0x1000b7ae
mov dword [ebp - 0x260], 0x22c
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1000b723
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100125f0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0xe]
jmp 0x1000b7ae
mov dword [ebp - 0x1c], 0
movzx eax, word [ebp - 0x23c]
test eax, eax
jne 0x1000b73e
mov dword [ebp - 0x18], 0
jmp 0x1000b750
lea ecx, [ebp - 0x23c]
push ecx
call fcn.10048ec4
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10013680
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10016150
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000b723
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0xf], 1
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100125f0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10010150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10010174
xor eax, eax
jmp 0x100101f4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001018b
xor eax, eax
jmp 0x100101f4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x100101d7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x100101d7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x100101ae
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x100101e3
xor eax, eax
jmp 0x100101f4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x100101f1
xor eax, eax
jmp 0x100101f4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10019120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, 2
shl eax, 3
mov ecx, 0x6c
mov word [ebp + eax - 0x30], cx
mov edx, 2
imul eax, edx, 5
mov ecx, 0x2e
mov word [ebp + eax - 0x30], cx
mov edx, 2
shl edx, 1
mov eax, 0x64
mov word [ebp + edx - 0x30], ax
mov ecx, 2
imul edx, ecx, 6
mov eax, 0x64
mov word [ebp + edx - 0x30], ax
mov ecx, 2
imul edx, ecx, 3
mov eax, 0x6c
mov word [ebp + edx - 0x30], ax
mov ecx, 2
imul edx, ecx, 0
mov eax, 0x6e
mov word [ebp + edx - 0x30], ax
mov ecx, 2
shl ecx, 0
mov edx, 0x74
mov word [ebp + ecx - 0x30], dx
mov eax, 2
imul ecx, eax, 7
mov edx, 0x6c
mov word [ebp + ecx - 0x30], dx
mov eax, 2
shl eax, 2
mov ecx, 0x6c
mov word [ebp + eax - 0x30], cx
mov edx, 2
imul eax, edx, 9
xor ecx, ecx
mov word [ebp + eax - 0x30], cx
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x1c], 0x4e
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x1c], 0x6e
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x1c], 0x65
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x1c], 0x65
mov ecx, 1
imul edx, ecx, 0xc
mov byte [ebp + edx - 0x1c], 0x72
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x1c], 0x6d
mov edx, 1
imul eax, edx, 6
mov byte [ebp + eax - 0x1c], 0x69
mov ecx, 1
imul edx, ecx, 0xb
mov byte [ebp + edx - 0x1c], 0x50
mov eax, 1
imul ecx, eax, 0xd
mov byte [ebp + ecx - 0x1c], 0x6f
mov edx, 1
imul eax, edx, 0x11
mov byte [ebp + eax - 0x1c], 0x73
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x1c], 0x63
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x1c], 0x74
mov edx, 1
imul eax, edx, 0x12
mov byte [ebp + eax - 0x1c], 0
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x1c], 0x61
mov edx, 1
imul eax, edx, 0xf
mov byte [ebp + eax - 0x1c], 0x65
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x1c], 0x74
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x1c], 0x54
mov eax, 1
shl eax, 4
mov byte [ebp + eax - 0x1c], 0x73
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x1c], 0x72
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10019319
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100ad870], eax
cmp dword [0x100ad870], 0
je 0x10019319
push 0
mov edx, dword [ebp + 8]
push edx
call dword [0x100ad870]
test eax, eax
jne 0x10019319
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10019510
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007481a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x248], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x100195af
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x100195a5
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp + 8]
call fcn.1001ad80
test eax, eax
jne 0x10019590
mov dword [ebp - 0x14], 1
jmp 0x100195a5
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x10019574
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.1000f520
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001aa90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074912
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
mov eax, 2
imul ecx, eax, 6
mov edx, 0x65
mov word [ebp + ecx - 0x40], dx
mov eax, 2
shl eax, 3
mov ecx, 0x2e
mov word [ebp + eax - 0x40], cx
mov edx, 2
shl edx, 0
mov eax, 0x78
mov word [ebp + edx - 0x40], ax
mov ecx, 2
imul edx, ecx, 0
mov eax, 0x65
mov word [ebp + edx - 0x40], ax
mov ecx, 2
imul edx, ecx, 5
mov eax, 0x72
mov word [ebp + edx - 0x40], ax
mov ecx, 2
imul edx, ecx, 9
mov eax, 0x65
mov word [ebp + edx - 0x40], ax
mov ecx, 2
imul edx, ecx, 0xb
mov eax, 0x65
mov word [ebp + edx - 0x40], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x70
mov word [ebp + ecx - 0x40], dx
mov eax, 2
imul ecx, eax, 7
mov edx, 0x72
mov word [ebp + ecx - 0x40], dx
mov eax, 2
imul ecx, eax, 0xa
mov edx, 0x78
mov word [ebp + ecx - 0x40], dx
mov eax, 2
shl eax, 2
mov ecx, 0x6f
mov word [ebp + eax - 0x40], cx
mov edx, 2
imul eax, edx, 3
mov ecx, 0x6c
mov word [ebp + eax - 0x40], cx
mov edx, 2
imul eax, edx, 0xc
xor ecx, ecx
mov word [ebp + eax - 0x40], cx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x278], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x1001acb4
lea ecx, [ebp - 0x278]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1001acaa
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000d240
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1001ad80
test eax, eax
jne 0x1001ac79
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x20]
jne 0x1001ac79
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1001ac79
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call fcn.1000f520
jmp 0x1001acaa
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x4c]
call fcn.1000f520
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x1001abf9
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10020b3a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100604c5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005fd71

Function at 0x100604d0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005ffac

Function at 0x1006e603
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006e441
Function at 0x4015a0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x1c
mov eax, dword [0x501230]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x38], ebx
jbe 0x401769
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x401738
push eax
call fcn.004059e0
add esp, 4
test eax, eax
jne 0x401703
push dword [esp + 0x10]
call fcn.004059f0
add esp, 4
test eax, eax
jne 0x4016ca
movups xmm0, xmmword [0x4daac0]
mov eax, 2
movups xmmword [esp + 0x18], xmm0
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x14]
movzx eax, word [eax + ebx*4]
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x1a], ax
lea eax, [esp + 0x18]
push 0x10
push eax
push dword [esp + 0x18]
mov dword [esp + 0x28], esi
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
je 0x401676
push 1
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.00405640
inc ebx
add esp, 0xc
cmp ebx, dword [esp + 0x38]
jb 0x4015d4
jmp 0x401769
push 0
push 0x4da8b8
call fcn.004073a0
add esp, 8
test eax, eax
je 0x4016b9
call edi
push dword [eax]
call fcn.004067e0
add esp, 4
push eax
mov eax, dword [esp + 0x18]
push dword [eax + ebx*4]
push esi
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
push str.TUBE:__s:_u_binding_error___s_n
push 0
push 0x4da8b8
call fcn.00407400
add esp, 0x18
push dword [esp + 0x10]
call fcn.00402090
add esp, 4
jmp 0x401769
push 0
push 0x4da8b8
call fcn.004073a0
add esp, 8
test eax, eax
je 0x4016f5
push dword [esp + 0x10]
push str.TUBE:_failed_to_switch_fd_d_to_nonblock_mode_n
push 0
push 0x4da8b8
call fcn.00407400
add esp, 0x10
push dword [esp + 0x10]
call fcn.00402090
add esp, 4
jmp 0x401769
push 1
push 0x4da8b8
call fcn.004073a0
add esp, 8
test eax, eax
je 0x40172a
push str.TUBE:_binding_port_sockfd_O_CLOEXEC_set_error_n
push 1
push 0x4da8b8
call fcn.00407400
add esp, 0xc
push dword [esp + 0x10]
call fcn.00402090
add esp, 4
jmp 0x401769
push 0
push 0x4da8b8
call fcn.004073a0
add esp, 8
test eax, eax
je 0x401769
call edi
push dword [eax]
call fcn.004067e0
push eax
push str.TUBE:_failed_to_open_socket__s_n
push 0
push 0x4da8b8
call fcn.00407400
add esp, 0x14
mov eax, dword [ebp + 4]
cmp eax, dword [esp + 0x38]
je 0x4017ef
xor ebx, ebx
test eax, eax
je 0x4017cc
nop dword [eax + eax]
mov eax, dword [ebp]
push 3
push 0x4da8b8
mov esi, dword [eax + ebx*4]
call fcn.004073a0
add esp, 8
test eax, eax
je 0x4017b0
push esi
push str.CLOSE_fd_d_n
push 3
push 0x4da8b8
call fcn.00407400
add esp, 0x10
nop
push esi
call fcn.00405840
add esp, 4
test eax, eax
je 0x4017c6
call edi
cmp dword [eax], 4
je 0x4017b0
call edi
inc ebx
cmp ebx, dword [ebp + 4]
jb 0x401780
push 0
push ebp
call fcn.00405680
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004c75e8
add esp, 0x1c
ret
mov ecx, dword [esp + 0x28]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c75e8
add esp, 0x1c
ret