joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100050a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b525
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100ab080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], vtable.CMitFile.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push closesocket
push 3
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push eax
call fcn.10003da0
lea ecx, [ebp - 0x30]
call fcn.10003960
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x10005126
xor esi, esi
jmp 0x10005200
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
lea ecx, [ebp - 0x60]
push ecx
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x60], xmm0
call esi
mov eax, dword [ebp - 0x60]
inc eax
push eax
call fcn.100666d7
add esp, 4
mov dword [ebp - 0x4c], 0
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x54]
movlpd qword [ebp - 0x54], xmm0
push eax
push dword [ebp - 0x2c]
call esi
push 0
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x54]
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push eax
push dword [ebp - 0x2c]
movlpd qword [ebp - 0x54], xmm0
call esi
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x48]
mov edx, edi
mov byte [eax + edi], 0
call fcn.10003730
push edi
mov byte [ebp - 4], 1
call fcn.1006637a
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x48]
add esp, 4
push eax
call fcn.10004d40
mov ecx, dword [ebp - 0x34]
mov esi, 1
cmp ecx, 0xf
jbe 0x100051e5
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100051db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000524f
push ecx
push edx
call fcn.100666c9
add esp, 8
push dword [ebp - 0x2c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10005230
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005226
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000524f
push ecx
push edx
call fcn.100666c9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006636c
mov esp, ebp
pop ebp
ret 4
call fcn.10070c0f
int3
Function at 0x10005ae0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x10005c6c
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x10005c6c
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x10005c6c
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x10005c6c
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
push esi
call edi
test eax, eax
jne 0x10005c6c
push 0x10
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
push esi
call edi
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
test eax, eax
jne 0x10005c6c
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x10005c6c
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x10005c6c
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x10005c6c
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
test eax, eax
jne 0x10005c6c
push 0x10
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
test eax, eax
jne 0x10005c6c
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x10005c6c
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x10005c6c
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x10005c6c
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
test eax, eax
jne 0x10005c6c
mov eax, dword [esi]
test eax, eax
je 0x10005c5e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov dword [esi], 0
xor al, al
pop esi
pop ebp
ret 4
pop edi
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x10005c80
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 0x10005cc2
xor al, al
mov byte [ebp - 1], al
jmp 0x10005e04
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 0x10005cf8
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 0x10005d14
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 0x10005d34
mov eax, dword [esi]
imul edi, ecx
mov ecx, eax
sub edi, ebx
add eax, ebx
jmp 0x10005d40
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.100063f0
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 0x10005d73
mov dword [ebp - 0xc], eax
mov ebx, 1
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10005d7d
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 0x10005da1
mov ecx, dword [ebp - 0xc]
add edi, ecx
test ebx, ebx
je 0x10005d62
jmp 0x10005da6
xor al, al
mov byte [ebp - 1], al
mov ecx, dword [esi + 0x10]
cmp edi, ecx
ja 0x10005dbe
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0xf
jbe 0x10005db8
mov esi, dword [esi]
mov byte [esi + edi], 0
jmp 0x10005dfd
mov edx, dword [esi + 0x14]
mov ebx, edi
mov eax, edx
sub ebx, ecx
sub eax, ecx
cmp ebx, eax
ja 0x10005deb
mov dword [esi + 0x10], edi
cmp edx, 0xf
jbe 0x10005dd7
mov esi, dword [esi]
push ebx
add esi, ecx
push 0
push esi
call fcn.10068810
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x10005dfd
push 0
push ebx
mov byte [ebp - 0x24], 0
mov ecx, esi
push dword [ebp - 0x24]
push ebx
call fcn.10006a10
mov ebx, dword [ebp - 0x20]
mov al, byte [ebp - 1]
pop edi
test ebx, ebx
je 0x10005e12
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 0x10005e20
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 0x10005e48
push esi
call fcn.10005ae0
test al, al
je 0x10005ee4
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 0x10005eb4
mov eax, dword [ebp + 0xc]
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x10005e7e
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 0x10005eb4
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 0x10005ecb
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x10005ecb
mov dword [ebp - 4], eax
jmp 0x10005ed6
mov dword [ebp - 4], 0
test bl, bl
jne 0x10005ef8
mov eax, dword [ebp - 8]
test eax, eax
je 0x10005ee4
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.10005c80
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 0x10007990
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 0x1008b657
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d0
mov eax, dword [0x100ab080]
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 - 0x2d0], 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.100751b6
add esp, 0x10
test eax, eax
je 0x10007a7d
nop dword [eax + eax]
push eax
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x2b0]
call fcn.10007710
push edi
push 0x200
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.100751b6
add esp, 0x14
test eax, eax
jne 0x10007a50
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x2e0]
call fcn.100077b0
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 ch, byte [ebp + edi - 0x2e0]
mov cl, ch
mov byte [ebp - 0x2b1], ch
shr cl, 4
cmp cl, 0xa
sbb al, al
and al, 0xd9
lea edx, [eax + 0x57]
mov eax, dword [esi + 0x10]
add dl, cl
mov dword [ebp - 0x2c4], eax
cmp eax, dword [esi + 0x14]
jae 0x10007b2e
inc eax
mov dword [ebp - 0x2b8], esi
cmp dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
jbe 0x10007b14
mov eax, dword [esi]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2c4]
add eax, dword [ebp - 0x2b8]
mov esi, dword [ebp - 0x2c8]
mov byte [eax], dl
mov byte [eax + 1], 0
jmp 0x10007b4a
push edx
mov byte [ebp - 0x2cc], 0
push dword [ebp - 0x2cc]
push ecx
mov ecx, esi
call fcn.10006750
mov ch, byte [ebp - 0x2b1]
mov edx, dword [esi + 0x10]
and ch, 0xf
cmp ch, 0xa
mov byte [ebp - 0x2b1], ch
sbb al, al
and al, 0xd9
add al, 0x57
mov cl, al
add cl, ch
cmp edx, dword [esi + 0x14]
jae 0x10007b82
cmp dword [esi + 0x14], 0xf
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jbe 0x10007b78
mov eax, dword [esi]
add eax, edx
mov byte [eax], cl
mov byte [eax + 1], 0
jmp 0x10007b98
push ecx
mov byte [ebp - 0x2bc], 0
push dword [ebp - 0x2bc]
push ecx
mov ecx, esi
call fcn.10006750
inc edi
cmp edi, 0x10
jb 0x10007ad0
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.1006636c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10012100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b7a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100ab080]
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.1006637f
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10064b74
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.100122d0
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 0x10019f10
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 0x10019f79
cmp dword [edi], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
jne 0x1001a006
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x10019f73
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [edi + 4]
mov dword [edi + 8], eax
test eax, eax
jne 0x10019f84
cmp ecx, 0xffffffff
je 0x10019f73
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 0x10092530
push 0x10f
call fcn.100666e0
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
jne 0x10019ffa
mov eax, dword [edi + 8]
test eax, eax
je 0x10019fd9
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x10019fd0
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 0x10019f73
push eax
call fcn.1006637a
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.10076a36
add esp, 4
call esi
mov esi, eax
call fcn.10076a15
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.1001a090
test eax, eax
je 0x10019f79
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.1001a290
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1001a090
Capabilities:
Print debug messages
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100ab080]
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.10068810
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 0x1001a110
sub ecx, edx
movzx esi, cx
lea eax, [esi + 2]
push eax
call fcn.10075948
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1001a273
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a137
sub ecx, edx
movzx eax, cx
test edi, edi
je 0x1001a268
mov edx, eax
lea eax, [esi + 2]
movzx ecx, ax
lea eax, [edx + 2]
cmp ecx, eax
jb 0x1001a268
lea eax, [edx + 1]
push eax
call fcn.100666d7
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 0x1001a171
push 0x1009b538
push eax
call fcn.100769f7
mov edx, eax
add esp, 8
xor edi, edi
test edx, edx
je 0x1001a1de
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a1a0
sub ecx, esi
movzx esi, cx
test si, si
je 0x1001a1c9
push edx
push esi
movzx eax, di
add eax, ebx
push str._c_s
push eax
call fcn.10005690
inc edi
add esp, 0x10
add edi, esi
push 0x1009b538
push 0
call fcn.100769f7
mov edx, eax
add esp, 8
test edx, edx
jne 0x1001a194
push dword [ebp - 0x1c]
call fcn.1006637a
mov ecx, ebx
add esp, 4
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a1f0
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.10068280
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.100709bf
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.1006636c
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.1006636c
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1001a9d0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x100ab080]
xor eax, esp
mov dword [esp + 0x84], eax
cmp dword [ecx + 0x10], 0
je 0x1001aa20
cmp dword [ecx + 0x14], 0xf
jbe 0x1001a9f8
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 0x1001aa20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.1006636c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x84]
or eax, 0xffffffff
xor ecx, esp
call fcn.1006636c
mov esp, ebp
pop ebp
ret
Function at 0x100220c0
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d5e6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100ab080]
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.1006637f
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 0x10022152
lea edi, [ecx + esi]
jmp 0x10022182
jbe 0x10022185
sub eax, ecx
cmp esi, eax
jbe 0x10022172
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.10026c50
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x10], esi
jmp 0x10022188
sub esi, edx
push esi
push 0
push edi
call fcn.10068810
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 0x100221a4
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
jmp 0x10022145
test eax, eax
je 0x100221cc
test ecx, ecx
je 0x10022219
sub esi, ecx
cmp esi, 0x1000
jb 0x100221c8
mov edx, dword [ecx - 4]
add esi, 0x23
sub ecx, edx
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x1002222e
mov ecx, edx
push esi
push ecx
jmp 0x10022211
xor edi, edi
cmp dword [ebx], edi
jbe 0x100221f0
lea esi, [ecx + 0x14]
cmp dword [esi - 0x10], 0
jne 0x100221e8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.10026630
inc edi
add esi, 0x38
cmp edi, dword [ebx]
jb 0x100221d5
mov ecx, dword [ebp - 0x10]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x1002220f
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002222e
push ecx
push ebx
call fcn.100666c9
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.10070c0f
int3
Function at 0x10024130
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x100ab080]
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 0x1002420c
push ebx
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push 0
push eax
call fcn.10068810
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 0x10024208
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.100267a0
test al, al
je 0x100241eb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x228]
cmp ecx, eax
je 0x100241eb
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100241e5
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 0x100241a6
push edi
call ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1006636c
mov esp, ebp
pop ebp
ret
Function at 0x10029020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
je 0x10029033
xor eax, eax
pop esi
pop ebp
ret 4
lea eax, [esi + 0x20]
push eax
push dword [ebp + 8]
push esi
push 0x10028ff0
push 0
push 0
call fcn.10076fde
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 0x10029060
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 0x10029080
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