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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x454e7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x454e86
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x454e9d
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043eab0
add esp, 4
or eax, 0xffffffff
jmp 0x454e9f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4010c1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4010cb
repz ret
jmp fcn.00401368
Function at 0x10001561
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 8]
dec eax
je 0x10001576
dec eax
dec eax
jne 0x1000159d
push 0
call sym.LIBEAY32.dll_ERR_remove_state
pop ecx
jmp 0x1000159d
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
jne 0x1000159d
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1000159d
cmp ecx, dword [eax + 0x34]
je 0x1000159d
mov dword [0x100a41e4], 1
xor eax, eax
inc eax
ret 0xc

Function at 0x1000164c
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, pe_nt_image_headers32
call fcn.1005ead0
mov eax, dword [0x100a4120]
xor eax, dword [ebp + 4]
push ebx
push esi
push 0xfffffffffffffff4
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ebx, ebx
cmp eax, ebx
je 0x1000169a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1000169a
lea eax, [ebp + 0xc]
push eax
mov eax, dword [sym.imp.MSVCR70.dll__iob]
push dword [ebp + 8]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR70.dll_vfprintf]
add esp, 0xc
jmp 0x10001718
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0xff
push eax
call dword [sym.imp.MSVCR70.dll__vsnprintf]
add esp, 0x10
mov byte [ebp - 9], bl
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10001703
call fcn.100015a3
test eax, eax
je 0x10001703
push str.OPENSSL
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push ebx
mov esi, eax
lea eax, [ebp - 0x108]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push 1
push ebx
push ebx
push ebx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x10001718
push 0x10
push str.OpenSSL:_FATAL
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esp, [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.1005eb3e
pop esi
pop ebx
leave
ret
Function at 0x10003277
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
je 0x10003339
cmp dword [esp + 0x14], 0
je 0x10003339
mov ebx, dword [sym.imp.MSVCR70.dll__errno]
call ebx
and dword [eax], 0
mov eax, dword [esi]
test eax, eax
jne 0x100032fc
mov edi, 0x244
push edi
call dword [sym.imp.MSVCR70.dll_malloc]
test eax, eax
pop ecx
mov dword [esi], eax
jne 0x100032c2
call ebx
mov dword [eax], 0xc
jmp 0x10003345
push edi
push 0
push eax
call sub.MSVCR70.dll_memset
add esp, 0xc
push dword [esi]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x140], eax
mov eax, dword [esi]
cmp dword [eax + 0x140], 0xffffffff
jne 0x1000330d
push eax
call dword [sym.imp.MSVCR70.dll_free]
and dword [esi], 0
pop ecx
call ebx
jmp 0x1000333f
push eax
push dword [eax + 0x140]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10003345
mov eax, dword [esi]
lea ecx, [eax + 0x2c]
push 0xff
push ecx
add eax, 0x144
push eax
call dword [sym.imp.MSVCR70.dll_strncpy]
mov eax, dword [esi]
and byte [eax + 0x243], 0
mov eax, dword [esi]
add esp, 0xc
add eax, 0x144
jmp 0x10003347
call dword [sym.imp.MSVCR70.dll__errno]
mov dword [eax], 0x16
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x10004123
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
xor eax, eax
inc eax
ret
Function at 0x10009e5d
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
xor eax, eax
inc eax
ret

Function at 0x10009f44
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x1c
xor eax, eax
inc eax
ret

Function at 0x10009f95
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x20
xor eax, eax
inc eax
ret
Function at 0x1000c10a
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
xor eax, eax
inc eax
ret

Function at 0x1000c19f
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
xor eax, eax
inc eax
ret
Function at 0x1000f67c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov eax, 0x88
lea ebp, [esp - 0x64]
call fcn.1005ead0
mov eax, dword [0x100a4120]
xor eax, dword [ebp + 0x68]
and dword [ebp + 0x5c], 0
push ebx
push esi
mov esi, dword [ebp + 0x6c]
mov dword [ebp + 0x60], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x78]
inc eax
test edi, edi
je 0x1000f6b1
mov dword [ebp + 0x5c], eax
mov dword [esi], edi
jmp 0x1000f6b8
mov ecx, dword [esi]
mov dword [ebp + 0x78], ecx
mov edi, ecx
cmp dword [ebp + 0x70], 0
mov ebx, 0x80
je 0x1000f775
mov dword [ebp + 0x5c], eax
mov eax, dword [edi + 0x40]
cmp eax, ebx
mov dword [ebp + 0x6c], eax
jle 0x1000f6e8
push str.j____int_sizeof_ctx__key_
push 0x52
push str..cryptohmachmac.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
mov eax, dword [ebp + 0x74]
cmp dword [ebp + 0x6c], eax
jge 0x1000f722
push dword [ebp + 0x7c]
lea eax, [esi + 4]
push edi
push eax
call sym.LIBEAY32.dll_EVP_DigestInit_ex
push dword [ebp + 0x74]
lea eax, [esi + 4]
push dword [ebp + 0x70]
push eax
call sym.LIBEAY32.dll_EVP_DigestUpdate
lea edi, [esi + 0x34]
push edi
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 4]
push eax
call sym.LIBEAY32.dll_EVP_DigestFinal_ex
add esp, 0x24
jmp 0x1000f758
test eax, eax
jl 0x1000f72a
cmp eax, ebx
jle 0x1000f73e
push str.len_0__len__int_sizeof_ctx__key_
push 0x5c
push str..cryptohmachmac.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
push dword [ebp + 0x74]
lea eax, [esi + 0x38]
push dword [ebp + 0x70]
push eax
call sub.MSVCR70.dll_memcpy
mov eax, dword [ebp + 0x74]
lea edi, [esi + 0x34]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, ebx
je 0x1000f77d
mov eax, ebx
sub eax, edi
push eax
lea eax, [edi + esi + 0x38]
push 0
push eax
call sub.MSVCR70.dll_memset
mov edi, dword [ebp + 0x78]
add esp, 0xc
cmp dword [ebp + 0x5c], 0
je 0x1000f7e1
jmp 0x1000f780
mov edi, dword [ebp + 0x78]
xor eax, eax
mov cl, byte [esi + eax + 0x38]
xor cl, 0x36
mov byte [ebp + eax - 0x24], cl
inc eax
cmp eax, ebx
jl 0x1000f782
push dword [ebp + 0x7c]
lea eax, [esi + 0x14]
push edi
push eax
call sym.LIBEAY32.dll_EVP_DigestInit_ex
push dword [edi + 0x40]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x14]
push eax
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0x18
xor eax, eax
mov cl, byte [esi + eax + 0x38]
xor cl, 0x5c
mov byte [ebp + eax - 0x24], cl
inc eax
cmp eax, ebx
jl 0x1000f7b4
push dword [ebp + 0x7c]
lea ebx, [esi + 0x24]
push edi
push ebx
call sym.LIBEAY32.dll_EVP_DigestInit_ex
push dword [edi + 0x40]
lea eax, [ebp - 0x24]
push eax
push ebx
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0x18
lea eax, [esi + 0x14]
push eax
add esi, 4
push esi
call sym.LIBEAY32.dll_EVP_MD_CTX_copy_ex
pop ecx
pop ecx
mov ecx, dword [ebp + 0x60]
xor ecx, dword [ebp + 0x68]
pop edi
pop esi
pop ebx
call fcn.1005eb3e
add ebp, 0x64
leave
ret
Function at 0x10011280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0x1c
pop eax
call fcn.1005ead0
mov eax, dword [0x100a4120]
xor eax, dword [ebp + 4]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 0x20]
movzx ecx, byte [esi]
push edi
mov edi, dword [eax]
lea eax, [esi + 1]
mov dh, byte [eax]
mov dword [ebp - 0xc], eax
xor ebx, ebx
or ecx, edx
inc eax
movzx edx, byte [eax]
shl edx, 0x10
or ecx, edx
inc eax
movzx edx, byte [eax]
shl edx, 0x18
or ecx, edx
inc eax
movzx edx, byte [eax]
inc eax
mov bh, byte [eax]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x14], cl
or edx, ebx
inc eax
xor ebx, ebx
mov bh, byte [eax + 1]
mov bl, byte [eax]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x13], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x12], al
shl ebx, 0x10
or edx, ebx
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x11], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x10], dl
je 0x100113d6
mov dword [ebp + 0x20], eax
test edi, edi
jne 0x10011380
push dword [ebp + 0x1c]
lea eax, [ebp - 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call sym.LIBEAY32.dll_DES_encrypt3
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ebx, eax
shr ebx, 8
mov byte [ebp - 0x13], bl
mov ebx, eax
mov ecx, eax
mov byte [ebp - 0x14], al
shr ebx, 0x10
shr eax, 0x18
mov byte [ebp - 0x12], bl
mov byte [ebp - 0x11], al
mov eax, edx
mov ebx, eax
shr ebx, 8
mov byte [ebp - 0xf], bl
mov ebx, eax
mov byte [ebp - 0x10], al
shr ebx, 0x10
shr eax, 0x18
add esp, 0x10
inc dword [ebp - 8]
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], al
mov al, byte [ebp + edi - 0x14]
mov ebx, dword [ebp + 8]
xor al, byte [ebx]
mov ebx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
inc dword [ebp + 8]
inc edi
and edi, 7
dec dword [ebp + 0x20]
mov byte [ebx], al
jne 0x10011328
cmp dword [ebp - 8], 0
je 0x100113d6
mov byte [esi], cl
mov esi, dword [ebp - 0xc]
mov eax, ecx
shr eax, 8
mov byte [esi], al
inc esi
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
inc esi
shr ecx, 0x18
mov byte [esi], cl
inc esi
mov byte [esi], dl
mov eax, edx
shr eax, 8
inc esi
mov byte [esi], al
mov eax, edx
inc esi
shr eax, 0x10
shr edx, 0x18
mov byte [esi], al
mov byte [esi + 1], dl
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.1005eb3e
leave
ret
Function at 0x10011800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0x1c
pop eax
call fcn.1005ead0
mov eax, dword [0x100a4120]
xor eax, dword [ebp + 4]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 0x18]
movzx ecx, byte [esi]
push edi
mov edi, dword [eax]
lea eax, [esi + 1]
mov dh, byte [eax]
mov dword [ebp - 0xc], eax
xor ebx, ebx
or ecx, edx
inc eax
movzx edx, byte [eax]
shl edx, 0x10
or ecx, edx
inc eax
movzx edx, byte [eax]
shl edx, 0x18
or ecx, edx
inc eax
movzx edx, byte [eax]
inc eax
mov bh, byte [eax]
mov byte [ebp - 0x14], cl
or edx, ebx
inc eax
xor ebx, ebx
mov bh, byte [eax + 1]
mov bl, byte [eax]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x13], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x12], al
shl ebx, 0x10
or edx, ebx
mov eax, edx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, edx
shr eax, 0x10
mov ebx, ecx
mov byte [ebp - 0xe], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
shr ecx, 0x18
mov byte [ebp - 0x10], dl
shr edx, 0x18
test eax, eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x11], cl
mov byte [ebp - 0xd], dl
je 0x10011951
mov dword [ebp + 0x18], eax
test edi, edi
jne 0x100118f8
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 0x1c]
push eax
call sym.LIBEAY32.dll_DES_encrypt1
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0x13], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x12], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
mov ecx, eax
shr ecx, 8
mov byte [ebp - 0xf], cl
mov ecx, eax
mov byte [ebp - 0x10], al
shr ecx, 0x10
shr eax, 0x18
add esp, 0xc
inc dword [ebp - 8]
mov byte [ebp - 0x14], bl
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], al
mov al, byte [ebp + edi - 0x14]
mov ecx, dword [ebp + 8]
xor al, byte [ecx]
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
inc dword [ebp + 8]
inc edi
and edi, 7
dec dword [ebp + 0x18]
mov byte [ecx], al
jne 0x100118a6
cmp dword [ebp - 8], 0
je 0x10011951
mov eax, dword [ebp - 0xc]
mov byte [esi], bl
mov ecx, ebx
shr ecx, 8
mov byte [eax], cl
inc eax
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [ebp - 0x18]
inc eax
shr ebx, 0x18
mov byte [eax], bl
inc eax
mov byte [eax], cl
mov edx, ecx
shr edx, 8
inc eax
mov byte [eax], dl
mov edx, ecx
inc eax
shr edx, 0x10
shr ecx, 0x18
mov byte [eax], dl
mov byte [eax + 1], cl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.1005eb3e
leave
ret

Function at 0x10013019
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.LIBEAY32.dll_DES_cbc_encrypt

Function at 0x1001302b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.LIBEAY32.dll_DES_xcbc_encrypt

Function at 0x10013068
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.LIBEAY32.dll_DES_ede3_ofb64_encrypt

Function at 0x10013076
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.LIBEAY32.dll_DES_enc_read
Function at 0x100130f1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.LIBEAY32.dll_DES_ofb64_encrypt

Function at 0x1001330c
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 8
pop eax
call fcn.1005ead0
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1048
push 0x10070078
push esi
call sub.MSVCR70.dll_memcpy
mov ecx, dword [ebp + 0xc]
add esp, 0xc
cmp ecx, 0x48
jle 0x1001333a
push 0x48
pop ecx
mov edi, dword [ebp + 0x10]
and dword [ebp + 8], 0
mov eax, edi
lea edx, [ecx + edi]
push ebx
movzx ecx, byte [eax]
inc eax
cmp eax, edx
jb 0x10013351
mov eax, edi
movzx ebx, byte [eax]
shl ecx, 8
or ecx, ebx
inc eax
cmp eax, edx
jb 0x10013360
mov eax, edi
movzx ebx, byte [eax]
shl ecx, 8
or ecx, ebx
inc eax
cmp eax, edx
jb 0x1001336f
mov eax, edi
movzx ebx, byte [eax]
shl ecx, 8
or ecx, ebx
inc eax
cmp eax, edx
jb 0x1001337e
mov eax, edi
mov ebx, dword [ebp + 8]
lea ebx, [esi + ebx*4]
xor dword [ebx], ecx
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x12
jl 0x10013347
and dword [ebp - 8], 0
and dword [ebp - 4], 0
xor edi, edi
pop ebx
lea eax, [ebp - 8]
push esi
push eax
call sym.LIBEAY32.dll_BF_encrypt
mov eax, dword [ebp - 8]
mov dword [esi + edi*4], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 4], eax
inc edi
inc edi
cmp edi, 0x12
pop ecx
pop ecx
jl 0x1001339a
xor edi, edi
lea eax, [ebp - 8]
push esi
push eax
call sym.LIBEAY32.dll_BF_encrypt
mov eax, dword [ebp - 8]
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 0x4c], eax
inc edi
inc edi
cmp edi, 0x400
pop ecx
pop ecx
jl 0x100133bc
pop edi
pop esi
leave
ret
Function at 0x10014db1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x30
pop eax
call fcn.1005ead0
mov eax, dword [0x100a4120]
xor eax, dword [ebp + 4]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
mov dword [ebp - 4], eax
jle 0x10014ecb
cmp esi, 0x80
jg 0x10014ecb
push ebx
mov ebx, dword [ebp + 0x18]
push edi
push 0x10
lea eax, [ebp - 0x30]
push ebx
push eax
call sub.MSVCR70.dll_memcpy
push dword [ebp + 0x14]
push ebx
push ebx
call sym.LIBEAY32.dll_AES_encrypt
add esp, 0x18
lea eax, [esi + 7]
push 8
cdq
pop ecx
idiv ecx
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 0x10], eax
je 0x10014e3a
test eax, eax
jle 0x10014e7d
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x20]
sub edx, ebx
sub esi, ebx
mov ecx, ebx
sub edi, ebx
mov dword [ebp - 0xc], eax
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
mov byte [edi + ecx], al
inc ecx
dec dword [ebp - 0xc]
jne 0x10014e27
jmp 0x10014e7d
and dword [ebp - 8], 0
test eax, eax
jle 0x10014e7d
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
sub esi, eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], ebx
sub dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
sub edi, eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + ecx - 0x20]
mov dl, byte [esi + ecx]
mov al, byte [eax + ecx]
xor al, dl
inc dword [ebp - 8]
mov byte [edi + ecx], al
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
mov byte [ecx], dl
jl 0x10014e5b
mov eax, dword [ebp + 0x10]
push 8
pop ecx
cdq
mov esi, ecx
idiv esi
test edx, edx
mov dword [ebp - 0x10], edx
jne 0x10014ea1
push 0x10
lea eax, [ebp + eax - 0x30]
push eax
push ebx
call sub.MSVCR70.dll_memcpy
add esp, 0xc
jmp 0x10014ec9
mov dword [ebp + 0x10], ecx
xor esi, esi
sub dword [ebp + 0x10], edx
lea edi, [ebp + eax - 0x30]
mov al, byte [edi + esi + 1]
mov cl, byte [ebp + 0x10]
mov dl, byte [edi + esi]
shr al, cl
mov ecx, dword [ebp - 0x10]
shl dl, cl
or al, dl
mov byte [esi + ebx], al
inc esi
cmp esi, 0x10
jl 0x10014ead
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.1005eb3e
leave
ret
Function at 0x100156f5
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push 4
pop eax
call fcn.1005ead0
push esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.LIBEAY32.dll_AES_set_encrypt_key
add esp, 0xc
test eax, eax
jl 0x100158f9
mov edx, dword [esi + 0xf0]
and dword [ebp - 4], 0
shl edx, 2
test edx, edx
push ebx
push edi
jle 0x10015773
lea ecx, [esi + edx*4 + 8]
lea eax, [esi + 8]
mov ebx, dword [ecx - 8]
mov edi, dword [eax - 8]
add dword [ebp - 4], 4
mov dword [eax - 8], ebx
mov ebx, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebx
mov ebx, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebx
mov ebx, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebx
mov dword [ecx + 4], edi
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp dword [ebp - 4], edx
jl 0x10015735
xor eax, eax
inc eax
cmp dword [esi + 0xf0], eax
mov dword [ebp - 4], eax
jle 0x100158f5
lea ecx, [esi + 2]
mov eax, 0xff
mov edx, dword [ecx + 0xe]
movzx ebx, byte [ecx + 0xf]
mov ebx, dword [ebx*4 + 0x10073560]
add ecx, 0x10
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x10073560]
and edi, eax
mov edi, dword [edi*4 + 0x10074160]
and ebx, eax
xor edi, dword [ebx*4 + 0x10074960]
and edx, eax
mov edx, dword [edx*4 + 0x10073560]
and edx, eax
xor edi, dword [edx*4 + 0x10074d60]
movzx edx, byte [ecx]
mov edx, dword [edx*4 + 0x10073560]
movzx ebx, byte [ecx + 3]
and edx, eax
xor edi, dword [edx*4 + 0x10074560]
mov edx, dword [ecx + 2]
mov dword [ecx - 2], edi
mov ebx, dword [ebx*4 + 0x10073560]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x10073560]
and edi, eax
mov edi, dword [edi*4 + 0x10074160]
and ebx, eax
xor edi, dword [ebx*4 + 0x10074960]
movzx ebx, byte [ecx + 4]
mov ebx, dword [ebx*4 + 0x10073560]
and ebx, eax
xor edi, dword [ebx*4 + 0x10074560]
movzx ebx, byte [ecx + 7]
and edx, eax
mov edx, dword [edx*4 + 0x10073560]
and edx, eax
xor edi, dword [edx*4 + 0x10074d60]
mov edx, dword [ecx + 6]
mov dword [ecx + 2], edi
mov ebx, dword [ebx*4 + 0x10073560]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x10073560]
and edi, eax
mov edi, dword [edi*4 + 0x10074160]
and ebx, eax
xor edi, dword [ebx*4 + 0x10074960]
movzx ebx, byte [ecx + 8]
mov ebx, dword [ebx*4 + 0x10073560]
and edx, eax
mov edx, dword [edx*4 + 0x10073560]
and ebx, eax
xor edi, dword [ebx*4 + 0x10074560]
movzx ebx, byte [ecx + 0xb]
and edx, eax
xor edi, dword [edx*4 + 0x10074d60]
mov edx, dword [ecx + 0xa]
mov dword [ecx + 6], edi
mov ebx, dword [ebx*4 + 0x10073560]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x10073560]
and edi, eax
mov edi, dword [edi*4 + 0x10074160]
and ebx, eax
xor edi, dword [ebx*4 + 0x10074960]
movzx ebx, byte [ecx + 0xc]
mov ebx, dword [ebx*4 + 0x10073560]
and edx, eax
mov edx, dword [edx*4 + 0x10073560]
and ebx, eax
xor edi, dword [ebx*4 + 0x10074560]
and edx, eax
xor edi, dword [edx*4 + 0x10074d60]
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xa], edi
cmp edx, dword [esi + 0xf0]
jl 0x1001578d
pop edi
xor eax, eax
pop ebx
pop esi
leave
ret
Function at 0x1001d709
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x1001d722
mov edi, ebx
mov ebx, eax
jmp 0x1001d724
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x1001d739
push eax
push esi
call sym.LIBEAY32.dll_bn_expand2
pop ecx
pop ecx
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x1001d762
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ecx, dword [ecx + eax*4]
xor ecx, dword [edx + eax*4]
mov edx, dword [esi]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [ebx + 4]
jl 0x1001d740
jmp 0x1001d762
mov ecx, dword [edi]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esi]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x1001d757
mov edi, dword [edi + 4]
test edi, edi
mov dword [esi + 4], edi
jle 0x1001d788
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
mov ecx, dword [eax]
sub eax, 4
test ecx, ecx
jne 0x1001d788
dec dword [esi + 4]
cmp dword [esi + 4], ecx
jg 0x1001d777
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
ret