joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005bf0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 8]
mov byte [ebp - 1], 1
push eax
mov ebx, ecx
mov dword [ebp - 0x1c], 4
push 8
push ebx
mov esi, edx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
jne 0x10005c32
xor al, al
mov byte [ebp - 1], al
jmp 0x10005d74
mov ecx, dword [ebp - 8]
shr ecx, 3
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push edi
mov edi, ecx
test ecx, ecx
jne 0x10005c68
mov ecx, 1
mov dword [ebp - 8], 1
mov dword [ebp - 0x10], ecx
mov edi, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov ebx, dword [esi + 0x10]
xor edx, edx
mov eax, ebx
mov dword [ebp - 0x24], ebx
div ecx
xor edx, edx
mov ecx, eax
mov eax, ebx
div dword [ebp - 0x10]
test edx, edx
je 0x10005c84
inc ecx
test edx, edx
cmove edi, dword [ebp - 0x14]
test edx, edx
mov eax, dword [ebp - 0x18]
cmove eax, dword [ebp - 0x1c]
cmp dword [esi + 0x14], 0xf
jbe 0x10005ca4
mov eax, dword [esi]
imul edi, ecx
mov ecx, eax
sub edi, ebx
add eax, ebx
jmp 0x10005cb0
mov edi, eax
lea eax, [ebx + esi]
imul edi, ecx
mov ecx, esi
sub edi, ebx
push 0
sub eax, ecx
mov ecx, esi
push edi
push eax
call fcn.10006360
mov ecx, 0x3e8
xor edx, edx
mov eax, ecx
xor ebx, ebx
div dword [ebp - 8]
sub ecx, edx
xor edi, edi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x24]
sub eax, edi
cmp eax, ecx
jg 0x10005ce3
mov dword [ebp - 0xc], eax
mov ebx, 1
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10005ced
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
add eax, edi
push ecx
push eax
push 0
push ebx
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x10005d11
mov ecx, dword [ebp - 0xc]
add edi, ecx
test ebx, ebx
je 0x10005cd2
jmp 0x10005d16
xor al, al
mov byte [ebp - 1], al
mov ecx, dword [esi + 0x10]
cmp edi, ecx
ja 0x10005d2e
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0xf
jbe 0x10005d28
mov esi, dword [esi]
mov byte [esi + edi], 0
jmp 0x10005d6d
mov edx, dword [esi + 0x14]
mov ebx, edi
mov eax, edx
sub ebx, ecx
sub eax, ecx
cmp ebx, eax
ja 0x10005d5b
mov dword [esi + 0x10], edi
cmp edx, 0xf
jbe 0x10005d47
mov esi, dword [esi]
push ebx
add esi, ecx
push 0
push esi
call fcn.10065910
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x10005d6d
push 0
push ebx
mov byte [ebp - 0x24], 0
mov ecx, esi
push dword [ebp - 0x24]
push ebx
call fcn.10006980
mov ebx, dword [ebp - 0x20]
mov al, byte [ebp - 1]
pop edi
test ebx, ebx
je 0x10005d82
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005d90
Capabilities:
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0
jne 0x10005db8
push esi
call fcn.10005a50
test al, al
je 0x10005e54
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x8003
push dword [esi]
mov dword [ebp - 4], 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10005e24
mov eax, dword [ebp + 0xc]
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x10005dee
mov ecx, dword [eax]
push 0
push dword [eax + 0x10]
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10005e24
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp - 4]
push 0x6801
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x10005e3b
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x10005e3b
mov dword [ebp - 4], eax
jmp 0x10005e46
mov dword [ebp - 4], 0
test bl, bl
jne 0x10005e68
mov eax, dword [ebp - 8]
test eax, eax
je 0x10005e54
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push edi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 8]
call fcn.10005bf0
add esp, 4
mov bl, al
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10007900
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088837
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d8
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x2c8], esi
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2d8], esi
lea eax, [ebp - 0x218]
push edi
mov dword [ebp - 0x2c0], 0
push 0x200
push 1
push eax
mov dword [ebp - 0x2a8], 0x67452301
mov dword [ebp - 0x2a4], 0xefcdab89
mov dword [ebp - 0x2a0], 0x98badcfe
mov dword [ebp - 0x29c], 0x10325476
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
call fcn.100722c6
add esp, 0x10
test eax, eax
je 0x100079ed
nop dword [eax + eax]
push eax
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x2b0]
call fcn.10007680
push edi
push 0x200
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.100722c6
add esp, 0x14
test eax, eax
jne 0x100079c0
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x2e8]
call fcn.10007720
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x2c0], 1
nop word [eax + eax]
mov dl, byte [ebp + edi - 0x2e8]
mov al, dl
mov byte [ebp - 0x2b1], dl
shr al, 4
cmp al, 0xa
sbb cl, cl
add al, 0x57
and cl, 0xd9
add cl, al
mov eax, dword [esi + 0x10]
mov byte [ebp - 0x2cc], cl
mov dword [ebp - 0x2c4], eax
cmp eax, dword [esi + 0x14]
jae 0x10007aa5
inc eax
mov dword [ebp - 0x2b8], esi
cmp dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
jbe 0x10007a89
mov eax, dword [esi]
mov dword [ebp - 0x2b8], eax
mov esi, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2c4]
mov byte [eax + esi], cl
mov byte [eax + esi + 1], 0
mov esi, dword [ebp - 0x2c8]
jmp 0x10007ac6
push dword [ebp - 0x2cc]
mov byte [ebp - 0x2d0], 0
push dword [ebp - 0x2d0]
push ecx
mov ecx, esi
call fcn.100066c0
mov dl, byte [ebp - 0x2b1]
and dl, 0xf
cmp dl, 0xa
sbb cl, cl
add dl, 0x57
and cl, 0xd9
add cl, dl
mov edx, dword [esi + 0x10]
mov byte [ebp - 0x2d4], cl
cmp edx, dword [esi + 0x14]
jae 0x10007afe
cmp dword [esi + 0x14], 0xf
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jbe 0x10007af4
mov eax, dword [esi]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x10007b19
push dword [ebp - 0x2d4]
mov byte [ebp - 0x2bc], 0
push dword [ebp - 0x2bc]
push ecx
mov ecx, esi
call fcn.100066c0
inc edi
cmp edi, 0x10
jb 0x10007a40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063317
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10011fe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088980
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100a70c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1006332a
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10061afd
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.100121b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10019e80
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10019ee9
cmp dword [edi], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
jne 0x10019f76
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x10019ee3
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [edi + 4]
mov dword [edi + 8], eax
test eax, eax
jne 0x10019ef4
cmp ecx, 0xffffffff
je 0x10019ee3
push eax
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 1
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
push 0x1008f510
push 0x10f
call fcn.1006368b
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
jne 0x10019f6a
mov eax, dword [edi + 8]
test eax, eax
je 0x10019f49
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x10019f40
push 0
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10019ee3
push eax
call fcn.10063325
add esp, 4
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call esi
mov word [edi + 0xc], ax
mov dword [edi], 1
mov eax, 2
mov word [ebp - 0x10], ax
mov eax, dword [ebp + 8]
push 0x35
mov dword [ebp - 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10073b46
add esp, 4
call esi
mov esi, eax
call fcn.10073b25
movups xmm0, xmmword [ebp - 0x10]
push ebx
add esi, eax
sub esp, 0x10
mov eax, esp
mov word [edi + 0xc], si
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.1001a000
test eax, eax
je 0x10019ee9
movups xmm0, xmmword [ebp - 0x10]
push ebx
push dword [ebp + 0x1c]
push ecx
push dword [ebp + 0x10]
mov ecx, edi
sub esp, 0x14
mov eax, esp
movups xmmword [eax], xmm0
call fcn.1001a200
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1001a000
Capabilities:
Print debug messages
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov esi, ecx
push 0x10f
push 0
mov dword [ebp - 0x28], esi
mov ebx, dword [esi + 0x10]
push ebx
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x18], ebx
call fcn.10065910
mov ax, word [esi + 0xc]
add esp, 0xc
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov word [ebx], ax
push 0x100
call esi
push 1
mov word [ebx + 2], ax
call esi
mov word [ebx + 4], ax
xor eax, eax
push 1
mov dword [ebx + 6], eax
mov word [ebx + 0xa], ax
call esi
movzx eax, ax
push 1
mov dword [ebp - 0x20], eax
call esi
mov ecx, edi
movzx eax, ax
mov dword [ebp - 0x24], eax
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a080
sub ecx, edx
movzx esi, cx
lea eax, [esi + 2]
push eax
call fcn.10072a58
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1001a1e3
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a0a7
sub ecx, edx
movzx eax, cx
test edi, edi
je 0x1001a1d8
mov edx, eax
lea eax, [esi + 2]
movzx ecx, ax
lea eax, [edx + 2]
cmp ecx, eax
jb 0x1001a1d8
lea eax, [edx + 1]
push eax
call fcn.10063682
mov edx, eax
mov dword [ebp - 0x1c], eax
add esp, 4
sub edx, edi
mov cl, byte [edi]
lea edi, [edi + 1]
mov byte [edx + edi - 1], cl
test cl, cl
jne 0x1001a0e1
push 0x10098548
push eax
call fcn.10073b07
mov edx, eax
add esp, 8
xor edi, edi
test edx, edx
je 0x1001a14e
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a110
sub ecx, esi
movzx esi, cx
test si, si
je 0x1001a139
push edx
push esi
movzx eax, di
add eax, ebx
push str._c_s
push eax
call fcn.10005600
inc edi
add esp, 0x10
add edi, esi
push 0x10098548
push 0
call fcn.10073b07
mov edx, eax
add esp, 8
test edx, edx
jne 0x1001a104
push dword [ebp - 0x1c]
call fcn.10063325
mov ecx, ebx
add esp, 4
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a160
sub ecx, edx
lea eax, [ecx + 1]
movzx edi, ax
mov eax, dword [ebp - 0x18]
mov esi, edi
push esi
add eax, 0xc
push ebx
push eax
mov dword [ebp - 0x18], eax
call fcn.10065380
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push ebx
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x24]
mov word [eax + esi + 2], cx
call fcn.1006dacf
add esp, 0x10
lea eax, [ebp - 0x14]
push 0x10
push eax
push 0
lea eax, [edi + 0x10]
movzx eax, ax
push eax
mov eax, dword [ebp - 0x28]
push dword [eax + 0x10]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
setne cl
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063317
mov esp, ebp
pop ebp
ret 0x14
push str.YB_EncodeDotStr_Erro
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10063317
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1001a940
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x100a70c0]
xor eax, esp
mov dword [esp + 0x84], eax
cmp dword [ecx + 0x10], 0
je 0x1001a990
cmp dword [ecx + 0x14], 0xf
jbe 0x1001a968
mov ecx, dword [ecx]
lea eax, [esp + 4]
push eax
push ecx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1001a990
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.10063317
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x84]
or eax, 0xffffffff
xor ecx, esp
call fcn.10063317
mov esp, ebp
pop ebp
ret
Function at 0x10021e50
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a756
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100a70c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 1
push 0x14
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.1006332a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
xor eax, eax
mov dword [ebp - 0x1c], 1
xor ebx, ebx
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
mov esi, 0x3c
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov edx, edi
sub edx, ecx
cmp esi, edx
jae 0x10021ee2
lea edi, [ecx + esi]
jmp 0x10021f12
jbe 0x10021f15
sub eax, ecx
cmp esi, eax
jbe 0x10021f02
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.100269e0
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x10], esi
jmp 0x10021f18
sub esi, edx
push esi
push 0
push edi
call fcn.10065910
add esp, 0xc
add edi, esi
mov dword [ebp - 0x2c], edi
mov esi, dword [ebp - 0x10]
push 1
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
mov ecx, ebx
cmp eax, 0x7a
jne 0x10021f34
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
jmp 0x10021ed5
test eax, eax
je 0x10021f5c
test ecx, ecx
je 0x10021fa9
sub esi, ecx
cmp esi, 0x1000
jb 0x10021f58
mov edx, dword [ecx - 4]
add esi, 0x23
sub ecx, edx
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x10021fbe
mov ecx, edx
push esi
push ecx
jmp 0x10021fa1
xor edi, edi
cmp dword [ebx], edi
jbe 0x10021f80
lea esi, [ecx + 0x14]
cmp dword [esi - 0x10], 0
jne 0x10021f78
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.100263c0
inc edi
add esi, 0x38
cmp edi, dword [ebx]
jb 0x10021f65
mov ecx, dword [ebp - 0x10]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x10021f9f
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021fbe
push ecx
push ebx
call fcn.10063674
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1006dd1f
int3
Function at 0x10023eb0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov esi, ecx
push 2
mov dword [ebp - 0x238], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10023f8c
push ebx
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push 0
push eax
call fcn.10065910
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x10023f88
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10026530
test al, al
je 0x10023f6b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x228]
cmp ecx, eax
je 0x10023f6b
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10023f65
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jne 0x10023f26
push edi
call ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10063317
mov esp, ebp
pop ebp
ret
Function at 0x10028df0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
je 0x10028e03
xor eax, eax
pop esi
pop ebp
ret 4
lea eax, [esi + 0x20]
push eax
push dword [ebp + 8]
push esi
push 0x10028dc0
push 0
push 0
call fcn.100740ee
xor ecx, ecx
mov dword [esi + 0x1c], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x10028e30
Capabilities:
Suspend thread

Disassembly:
push dword [ecx + 0x1c]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x10028e50
Capabilities:
Resume thread

Disassembly:
push dword [ecx + 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret
Function at 0x1002f1e0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b21e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x64
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x48], esi
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push str.kernel32.dll
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002f265
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002f265
lea ecx, [ebp - 0x70]
push ecx
call eax
jmp 0x1002f26f
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x70]
cmp ax, 9
je 0x1002f29b
cmp ax, 6
je 0x1002f29b
call fcn.10028cd0
lea ecx, [ebp - 0x2c]
lea edx, [eax + 0x154]
call fcn.1001b990
mov ecx, eax
mov eax, 2
jmp 0x1002f2b5
call fcn.10028cd0
lea ecx, [ebp - 0x44]
lea edx, [eax + 0x16c]
call fcn.1001b990
mov ecx, eax
mov eax, 1
xorps xmm0, xmm0
xor edx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
or eax, 4
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
test al, 2
je 0x1002f346
mov ecx, dword [ebp - 0x18]
and eax, 0xfffffffd
mov dword [ebp - 0x48], eax
cmp ecx, 7
jbe 0x1002f332
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f325
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f39f
push ecx
push edx
call fcn.10063674
mov eax, dword [ebp - 0x48]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
test al, 1
je 0x1002f380
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x1002f380
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f376
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f39f
push ecx
push edx
call fcn.10063674
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063317
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006dd1f
int3
Function at 0x1002f3b0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10028cd0
lea ecx, [ebp - 0x38]
lea edx, [eax + 0x124]
call fcn.1001b990
push 0xf003f
xor ebx, ebx
mov esi, eax
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x1002f43e
cmp dword [esi + 0x14], 7
jbe 0x1002f3f5
mov esi, dword [esi]
push 0xf01ff
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1002f437
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], ebx
push ecx
xorps xmm0, xmm0
push 1
push eax
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
push dword [ebp - 0x3c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test esi, esi
setne bl
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x1002f474
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f46a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f487
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10063317
mov esp, ebp
pop ebp
ret
call fcn.1006dd1f
int3