joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018260
Capabilities:
Encrypt data using rc6

Disassembly:
mov eax, 0x108
call fcn.10086e00
mov ecx, dword [esp + 0x118]
cmp ecx, 0x10
je 0x10018292
cmp ecx, 0xc
je 0x10018292
cmp ecx, 8
je 0x10018292
mov dword [esp + 0x118], 0x10
mov ecx, dword [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x114]
push ebp
mov ebp, dword [esp + 0x114]
push esi
lea eax, [ebx - 8]
xor esi, esi
xor edx, edx
test eax, eax
push edi
mov dword [ebp], ecx
jl 0x10018325
lea edi, [eax + 8]
shr edi, 3
lea eax, [edi*8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x124]
xor ecx, ecx
xor edx, edx
mov cl, byte [eax]
mov dh, byte [eax + 1]
inc eax
or ecx, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x10
or ecx, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x18
or ecx, edx
inc eax
mov dword [esp + esi*4 + 0x18], ecx
xor ecx, ecx
mov cl, byte [eax]
inc esi
inc eax
xor edx, edx
mov dh, byte [eax]
or ecx, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x10
or ecx, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x18
or ecx, edx
inc eax
mov dword [esp + esi*4 + 0x18], ecx
inc esi
dec edi
jne 0x100182ca
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x128]
jmp 0x1001832c
mov eax, dword [esp + 0x124]
mov edi, ebx
sub edi, edx
je 0x1001839b
mov ecx, ebx
xor edi, edi
and ecx, 7
xor edx, edx
add eax, ecx
dec ecx
cmp ecx, 7
ja case.default.0x10018343
jmp dword [ecx*4 + 0x10018434]
dec eax
xor ecx, ecx
mov cl, byte [eax]
mov edi, ecx
shl edi, 0x18
dec eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x10
or edi, edx
dec eax
xor ecx, ecx
mov ch, byte [eax]
or edi, ecx
dec eax
xor edx, edx
mov dl, byte [eax]
or edi, edx
dec eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x18
dec eax
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 0x10
or edx, ecx
dec eax
xor ecx, ecx
mov ch, byte [eax]
or edx, ecx
xor ecx, ecx
mov cl, byte [eax - 1]
or edx, ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + esi*4 + 0x18], edx
mov dword [esp + esi*4 + 0x1c], edi
lea eax, [ebx + 3]
mov dword [ebp + 4], 0xb7e15163
cdq
and edx, 3
add edx, eax
lea eax, [ecx + ecx + 2]
mov ecx, 1
sar edx, 2
cmp eax, ecx
mov dword [esp + 0x14], edx
jle 0x100183d2
mov esi, dword [ebp + ecx*4]
sub esi, 0x61c88647
mov dword [ebp + ecx*4 + 4], esi
inc ecx
cmp ecx, eax
jl 0x100183bf
cmp eax, edx
jle 0x100183d8
mov edx, eax
lea ecx, [edx + edx*2]
xor ebx, ebx
xor esi, esi
xor edx, edx
xor edi, edi
test ecx, ecx
jle 0x10018429
mov dword [esp + 0x10], ecx
lea ecx, [edx + edi]
mov edi, dword [ebp + esi*4 + 4]
add ecx, edi
rol ecx, 3
mov edi, ecx
mov dword [ebp + esi*4 + 4], ecx
lea ecx, [edx + edi]
add edx, edi
add edx, dword [esp + ebx*4 + 0x18]
inc esi
rol edx, cl
cmp esi, eax
mov dword [esp + ebx*4 + 0x18], edx
jl 0x10018413
xor esi, esi
mov ecx, dword [esp + 0x14]
inc ebx
cmp ebx, ecx
jl 0x1001841e
xor ebx, ebx
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x10], ecx
jne 0x100183eb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x10018856
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x10018925
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x100188c3
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.LIBEAY32.dll_RC5_32_encrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10018895
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x100189cc
call 0x100188d5
pop edx
lea ecx, [edx + 0x108]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x10018975
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.LIBEAY32.dll_RC5_32_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10018932
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x100189cc
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.LIBEAY32.dll_RC5_32_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x100189ca
jmp 0x100189cc
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1001a350
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 8
call fcn.10086e00
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov ecx, 0x412
mov esi, 0x10089b48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
cmp edi, 0x48
jle 0x1001a37d
mov edi, 0x48
mov ecx, dword [esp + 0x20]
push ebp
add edi, ecx
mov eax, ecx
xor ebp, ebp
xor edx, edx
mov dl, byte [eax]
inc eax
cmp eax, edi
mov esi, edx
jb 0x1001a395
mov eax, ecx
xor edx, edx
mov dl, byte [eax]
shl esi, 8
or esi, edx
inc eax
cmp eax, edi
jb 0x1001a3a5
mov eax, ecx
xor edx, edx
mov dl, byte [eax]
shl esi, 8
or esi, edx
inc eax
cmp eax, edi
jb 0x1001a3b5
mov eax, ecx
xor edx, edx
mov dl, byte [eax]
shl esi, 8
or esi, edx
inc eax
cmp eax, edi
jb 0x1001a3c5
mov eax, ecx
mov edx, dword [ebx + ebp*4]
xor edx, esi
mov dword [ebx + ebp*4], edx
inc ebp
cmp ebp, 0x12
jl 0x1001a388
xor esi, esi
pop ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
lea eax, [esp + 0xc]
push ebx
push eax
call sym.LIBEAY32.dll_BF_encrypt
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + esi*4], ecx
mov dword [ebx + esi*4 + 4], edx
add esi, 2
add esp, 8
cmp esi, 0x12
jl 0x1001a3de
xor esi, esi
lea eax, [esp + 0xc]
push ebx
push eax
call sym.LIBEAY32.dll_BF_encrypt
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + esi*4 + 0x48], ecx
mov dword [ebx + esi*4 + 0x4c], edx
add esi, 2
add esp, 8
cmp esi, 0x400
jl 0x1001a405
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x1001ad56
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x1001ae35
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x1001adcb
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.LIBEAY32.dll_BF_encrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001ad95
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x1001aeec
call 0x1001addd
pop edx
lea ecx, [edx + 0x120]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x1001ae8d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.LIBEAY32.dll_BF_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001ae42
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x1001aeec
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.LIBEAY32.dll_BF_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x1001aeea
jmp 0x1001aeec
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1001d262
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x1001d345
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x1001d2d7
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.LIBEAY32.dll_CAST_encrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001d2a1
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x1001d3fc
call 0x1001d2e9
pop edx
lea ecx, [edx + 0x124]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x1001d39d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.LIBEAY32.dll_CAST_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001d352
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x1001d3fc
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.LIBEAY32.dll_CAST_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x1001d3fa
jmp 0x1001d3fc
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1001e9d0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1001e9c9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1001e9e7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edi, es
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1001ea45
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1001ea2c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1001ea35
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1001ea3f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1001ea21
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1001e9ab
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1001ea92
dec eax
je 0x1001ea89
sub eax, 3
je 0x1001ea80
mov dword [ebp - 4], 0x40
jmp 0x1001eaaf
mov dword [ebp - 4], 4
jmp 0x1001ea95
mov dword [ebp - 4], 0x20
jmp 0x1001ea95
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1001eae1
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1001ea61
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1001e2f2
aad 0x4d
in al, dx
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x1001eaed
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001e9e0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1001e9c9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1001e9e7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edi, es
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1001ea45
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1001ea2c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1001ea35
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1001ea3f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1001ea21
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1001e9ab
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1001ea92
dec eax
je 0x1001ea89
sub eax, 3
je 0x1001ea80
mov dword [ebp - 4], 0x40
jmp 0x1001eaaf
mov dword [ebp - 4], 4
jmp 0x1001ea95
mov dword [ebp - 4], 0x20
jmp 0x1001ea95
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1001eae1
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1001ea61
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1001e2f2
aad 0x4d
in al, dx
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x1001eaed
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001ea10
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1001e9c9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1001e9e7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edi, es
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1001ea45
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1001ea2c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1001ea35
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1001ea3f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1001ea21
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1001e9ab
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1001ea92
dec eax
je 0x1001ea89
sub eax, 3
je 0x1001ea80
mov dword [ebp - 4], 0x40
jmp 0x1001eaaf
mov dword [ebp - 4], 4
jmp 0x1001ea95
mov dword [ebp - 4], 0x20
jmp 0x1001ea95
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1001eae1
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1001ea61
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1001e2f2
aad 0x4d
in al, dx
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x1001eaed
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001eef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x1001ef06
call fcn.1001e2b7
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.1001e2f2
cmpsb byte [esi], byte es:[edi]
stosd dword es:[edi], eax
leave
inc ecx
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.1001e302
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1001e2b7
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.1001e2f2
xchg byte [eax], dl
or dh, byte [ebp + 0x10468]
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
push dword [ebp + 8]
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
invalid
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid

Function at 0x1001eff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
invalid
test dword [ebp - 7], edx
invalid
Function at 0x1002a2c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.10086e00
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
lea esi, [eax - 1]
push edi
mov edi, dword [esp + 0x38]
lea ecx, [esi - 0x29]
cmp edi, ecx
jle 0x1002a2ff
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp esi, 0x29
jge 0x1002a323
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
lea eax, [esi - 0x14]
push 0x37
push str..crypto_rsa_rsa_oaep.c
push eax
mov dword [esp + 0x1c], eax
call sym.LIBEAY32.dll_CRYPTO_malloc
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
jne 0x1002a361
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ebx, dword [esp + 0x2c]
push 0
mov byte [ebx], 0
lea ebp, [ebx + 1]
add ebx, 0x15
call sym.LIBEAY32.dll_EVP_sha1
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push 0
push ebx
push edx
push eax
call sym.LIBEAY32.dll_EVP_Digest
mov ecx, esi
xor eax, eax
sub ecx, edi
lea edi, [ebx + 0x14]
sub ecx, 0x29
push 0x14
mov edx, ecx
push ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x58]
mov eax, ebx
sub eax, ecx
mov edx, ecx
add eax, esi
mov esi, dword [esp + 0x54]
shr ecx, 2
lea edi, [eax - 0x14]
mov byte [eax - 0x15], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sym.LIBEAY32.dll_RAND_bytes
add esp, 0x20
test eax, eax
jg 0x1002a3de
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
push 0x14
push ebp
push edi
push esi
call fcn.1002a620
add esp, 0x10
test edi, edi
jle 0x1002a40a
mov eax, ebx
sub esi, ebx
mov ecx, edi
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x1002a3fd
mov esi, dword [esp + 0x30]
push edi
push ebx
lea eax, [esp + 0x1c]
push 0x14
push eax
call fcn.1002a620
lea eax, [esp + 0x24]
add esp, 0x10
sub eax, ebp
mov ecx, 0x14
mov dl, byte [eax + ebp]
mov bl, byte [ebp]
xor bl, dl
mov byte [ebp], bl
inc ebp
dec ecx
jne 0x1002a426
push esi
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret