joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bc3c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
je 0x48bcea
cmp eax, 0xcb
je 0x48bc7f
cmp eax, 0xcc
je 0x48bc75
push ebx
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [ebx]
call dword [eax]
pop ecx
mov eax, ebx
call fcn.0048bd1c
pop ecx
pop ebx
ret
mov edx, dword [ebx + 0x190]
movzx ecx, byte [edx + 0x10]
test ecx, ecx
jne 0x48bc98
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], edx
jmp 0x48bc75
mov edx, dword [ebx + 8]
test edx, edx
je 0x48bca3
push ebx
call dword [edx]
pop ecx
push ebx
mov edx, dword [ebx + 0x190]
call dword [edx]
pop ecx
test eax, eax
je 0x48bd14
cmp eax, 2
je 0x48bc8d
mov edx, dword [ebx + 8]
test edx, edx
je 0x48bca3
cmp eax, 3
je 0x48bcc7
cmp eax, 1
jne 0x48bc9f
mov ecx, dword [edx + 4]
add ecx, 1
mov dword [edx + 4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x48bc9b
mov ecx, dword [ebx + 0x11c]
add eax, ecx
mov dword [edx + 8], eax
mov edx, dword [ebx + 8]
jmp 0x48bc9b
push ebx
call fcn.0048ea80
pop ecx
movzx edx, byte [ebx + 0x40]
test edx, edx
jne 0x48bd05
mov dword [ebx + 0x14], 0xcb
jmp 0x48bc7f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ecx
pop ebx
ret
xor eax, eax
pop ecx
pop ebx
ret

Function at 0x48bd1c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
sub esp, 8
mov ebx, eax
mov edx, dword [ebx + 0x14]
cmp edx, 0xcc
je 0x48bd45
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x14], 0xcc
mov edx, dword [ebx + 0x180]
movzx ecx, byte [edx + 8]
test ecx, ecx
je 0x48bdde
mov eax, dword [ebx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], edi
lea ecx, [ebx + 0x78]
mov esi, ecx
jmp 0x48bd6a
xor eax, eax
cmp eax, dword [ebx + 0x60]
jae 0x48bdb2
mov edx, dword [ebx + 8]
test edx, edx
je 0x48bd8c
push ebx
mov dword [edx + 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x60]
mov dword [edx + 8], eax
mov edi, dword [ebx + 8]
call dword [edi]
pop ecx
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x184]
mov edi, eax
xor eax, eax
push eax
push esi
push eax
push ebx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x48bdff
cmp eax, dword [ebx + 0x60]
jb 0x48bd6f
mov edx, dword [ebx + 0x180]
push ebx
call dword [edx + 4]
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x180]
mov dword [ebx + 0x78], 0
movzx eax, byte [edx + 8]
test eax, eax
jne 0x48bd68
mov esi, dword [esp]
mov edi, dword [esp + 4]
movzx edx, byte [ebx + 0x41]
test edx, edx
je 0x48bded
mov edx, 0xce
jmp 0x48bdf2
mov edx, 0xcd
mov dword [ebx + 0x14], edx
mov eax, 1
add esp, 8
pop ebx
ret
mov esi, dword [esp]
mov edi, dword [esp + 4]
xor eax, eax
add esp, 8
pop ebx
ret
Function at 0x49085c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebp
sub esp, 0x20
mov edi, eax
mov esi, dword [edi + 0x1a8]
mov edx, dword [edi + 0x4c]
cmp edx, 1
je 0x4909b1
mov byte [esi + 0x1c], 0
xor ebp, ebp
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x100]
push edx
push 1
push edi
call dword [ecx + 8]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov edx, dword [edi + 0x64]
test edx, edx
jle 0x4909aa
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp], ebx
xor edx, edx
mov ebx, eax
mov dword [esp + 4], edx
jmp 0x4908c3
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x18]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [edi + ebp*4 + 0x20]
mov eax, ecx
cdq
idiv edi
lea ebp, [ebp + ebp]
test esi, esi
mov ecx, eax
je 0x4908f0
mov edx, dword [esp + 0xc]
add dword [ebx + ebp*2], 0xff
mov ebx, dword [edx + 0x18]
mov ebp, dword [ebx + ebp*2]
lea ebx, [edi + edi - 2]
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0xfe]
cdq
idiv ebx
xor esi, esi
mov edx, eax
xor eax, eax
mov ebx, eax
mov eax, edi
mov edi, edx
cmp esi, edi
jle 0x49094c
mov dword [esp + 0x18], eax
mov edx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
shl edx, 9
sub edx, ebx
sub edx, ebx
lea edi, [eax + edx + 0xfe]
add edi, 0x1fe
add ebx, 1
mov eax, edi
cdq
idiv ecx
cmp esi, eax
jg 0x490930
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, ecx
imul edx, ebx
mov byte [esi + ebp], dl
add esi, 1
cmp esi, 0xff
jle 0x490910
mov edx, dword [esp + 8]
test edx, edx
je 0x49098f
mov ebx, 1
movzx edx, byte [ebp]
mov esi, ebp
sub esi, ebx
mov byte [esi], dl
movzx edx, byte [ebp + 0xff]
mov byte [ebx + ebp + 0xff], dl
add ebx, 1
cmp ebx, 0xff
jle 0x49096c
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
add edx, 1
cmp edx, dword [ebx + 0x64]
mov dword [esp + 4], edx
jl 0x4908bc
mov ebx, dword [esp]
add esp, 0x20
pop ebp
pop esi
pop edi
ret
mov byte [esi + 0x1c], 1
mov ebp, 0x1fe
jmp 0x49087c
Function at 0x4dc7ee
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [ecx + 4]
test esi, esi
je 0x4dc80f
mov eax, dword [ecx]
mov eax, dword [eax + 8]
add eax, esi
jmp 0x4dc811
xor eax, eax
mov dword [edx], eax
movzx eax, word [ecx + 8]
mov dword [edx + 4], eax
movzx eax, word [ecx + 0xa]
mov dword [edx + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 2]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 4]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 6]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 0xa]
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0x20]
imul eax, dword [edx + 0x18]
imul eax, dword [edx + 0x1c]
shl eax, 2
mov dword [edx + 0x28], eax
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x4dc884
mov eax, dword [ecx]
mov eax, dword [eax + 8]
add eax, esi
jmp 0x4dc886
xor eax, eax
pop edi
mov dword [edx + 0x2c], eax
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4e0a19
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4e0b3c
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4e0b20
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4e0a72
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4e0a50
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x4e0df8
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x4e0f26
mov eax, 0xf81f
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x4e0f06
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff07e0
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x1002]
mov ebx, edx
and ebx, 0xffff07e0
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff07e0
add ebx, ecx
mov ecx, esi
and ecx, 0xffff07e0
lea ecx, [ebx + ecx + 0x40]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff07e0
lea ecx, [edx + esi + 0x1002]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x4e0e51
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4e0e32
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4e1031
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push ebx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x20]
push esi
mov esi, dword [eax + 0x20]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
add eax, ebx
cmp ebx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], eax
jae 0x4e1154
mov eax, 0x83e0
mov edx, 0x7c1f
push edi
mov edi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [ebx + ecx*2]
add edi, ebx
cmp ebx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
jae 0x4e1130
movzx ecx, word [ebx + 2]
movzx esi, word [edi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi]
movzx edi, word [ebx]
mov dword [ebp - 4], ecx
mov ebx, edi
and ebx, eax
mov ecx, esi
and ecx, eax
add ecx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add ecx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
lea ebx, [ecx + ebx + 0x10040]
mov dword [ebp - 0x20], edi
and edi, edx
mov ecx, esi
and ecx, edx
add ecx, edi
mov edi, dword [ebp - 4]
and edi, edx
add ecx, edi
mov edi, dword [ebp - 8]
and edi, edx
lea ecx, [ecx + edi + 0x802]
shr ecx, 2
mov edi, dword [ebp - 0x14]
shr ebx, 2
xor ebx, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and bx, dx
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
shr ecx, 2
add edi, 4
mov dword [ebp - 0x14], edi
xor ebx, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], bx
mov ebx, dword [ebp - 0x10]
add ebx, 4
cmp ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
jb 0x4e108d
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [edi + 0x60]
mov ecx, dword [ecx]
mov edi, dword [ecx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
jb 0x4e106e
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4e115a
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x4e128b
mov eax, 0xf0f0
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x4e126b
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff0f0f
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x2020]
mov ebx, edx
and ebx, 0xffff0f0f
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff0f0f
add ebx, ecx
mov ecx, esi
and ecx, 0xffff0f0f
lea ecx, [ebx + ecx + 0x202]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff0f0f
lea ecx, [edx + esi + 0x2020]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x4e11b3
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4e1194
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4e1291
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x6c]
imul edi, dword [eax + 0x60]
mov ebx, dword [eax + 0x20]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x4e13a9
push esi
mov esi, 0xe3
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x68]
add eax, ebx
add edx, ebx
cmp ebx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jae 0x4e1389
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [ebx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx]
mov ebx, ecx
and ebx, 0x1c
mov edx, eax
and edx, 0x1c
add edx, ebx
mov ebx, dword [ebp - 4]
and ebx, 0x1c
add edx, ebx
mov dword [ebp - 0x1c], ecx
and cx, si
mov ebx, edi
and ebx, 0x1c
lea edx, [edx + ebx + 8]
mov ebx, eax
and bx, si
shr edx, 2
and ax, si
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, si
add ebx, ecx
mov ecx, edi
and cx, si
and di, si
lea ecx, [ebx + ecx + 0x42]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
and cx, si
and dl, 0x1c
add eax, ecx
mov ecx, dword [ebp - 4]
and cx, si
add eax, ecx
lea eax, [eax + edi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [eax], dl
mov edx, dword [ebp - 0x10]
inc ebx
inc ebx
inc edx
inc edx
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
jb 0x4e12e9
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add ecx, dword [edx + 0x60]
mov eax, dword [eax]
mov edx, dword [eax + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4e12cb
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x4e143b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push esi
mov esi, dword [eax]
mov ebx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x6c]
imul edi, dword [esi + 0x60]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], edi
jae 0x4e1562
mov eax, 0xff1c
mov edx, dword [esi + 0x60]
mov esi, dword [esi + 0x68]
lea esi, [ebx + esi*2]
add edx, ebx
cmp ebx, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], esi
jae 0x4e1543
movzx esi, word [edx + 2]
movzx ecx, word [edx]
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov ebx, esi
mov ecx, 0xe3
and dx, cx
and bx, cx
add ebx, edx
mov edx, dword [ebp - 4]
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, esi
and cx, ax
and esi, eax
lea edx, [ebx + edx + 0x42]
mov ebx, dword [ebp - 0xc]
and bx, ax
shr edx, 2
add ecx, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add ecx, ebx
mov ebx, edi
and bx, ax
and edi, eax
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [ebp - 0x10]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0xc]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
and edx, 0xffff00e3
lea ecx, [esi + edi + 0x208]
shr ecx, 2
xor edx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], dx
mov edx, dword [ebp - 0x14]
add ebx, 4
add edx, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
jb 0x4e1494
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [edx + 4]
add ecx, dword [esi + 0x60]
mov esi, dword [edx]
mov edx, dword [esi + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
jb 0x4e1475
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4e1672
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push esi
mov esi, dword [eax]
mov ebx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x6c]
imul edi, dword [esi + 0x60]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], edi
jae 0x4e1799
mov eax, 0xff00
mov edx, dword [esi + 0x60]
mov esi, dword [esi + 0x68]
lea esi, [ebx + esi*2]
add edx, ebx
cmp ebx, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], esi
jae 0x4e177a
movzx esi, word [edx + 2]
movzx ecx, word [edx]
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov ebx, esi
mov ecx, 0xff
and dx, cx
and bx, cx
add ebx, edx
mov edx, dword [ebp - 4]
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, esi
and cx, ax
and esi, eax
lea edx, [ebx + edx + 2]
mov ebx, dword [ebp - 0xc]
and bx, ax
shr edx, 2
add ecx, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add ecx, ebx
mov ebx, edi
and bx, ax
and edi, eax
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [ebp - 0x10]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0xc]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
and edx, 0xffff00ff
lea ecx, [esi + edi + 0x200]
shr ecx, 2
xor edx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], dx
mov edx, dword [ebp - 0x14]
add ebx, 4
add edx, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
jb 0x4e16cb
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [edx + 4]
add ecx, dword [esi + 0x60]
mov esi, dword [edx]
mov edx, dword [esi + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
jb 0x4e16ac
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4e17a0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x6c]
imul edi, dword [eax + 0x60]
mov ebx, dword [eax + 0x20]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x4e18b8
push esi
mov esi, 0xf0
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x68]
add eax, ebx
add edx, ebx
cmp ebx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jae 0x4e1898
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [ebx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx]
mov ebx, ecx
and ebx, 0xf
mov edx, eax
and edx, 0xf
add edx, ebx
mov ebx, dword [ebp - 4]
and ebx, 0xf
add edx, ebx
mov dword [ebp - 0x1c], ecx
and cx, si
mov ebx, edi
and ebx, 0xf
lea edx, [edx + ebx + 2]
mov ebx, eax
and bx, si
shr edx, 2
and ax, si
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, si
add ebx, ecx
mov ecx, edi
and cx, si
and di, si
lea ecx, [ebx + ecx + 0x20]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
and cx, si
and dl, 0xf
add eax, ecx
mov ecx, dword [ebp - 4]
and cx, si
add eax, ecx
lea eax, [eax + edi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [eax], dl
mov edx, dword [ebp - 0x10]
inc ebx
inc ebx
inc edx
inc edx
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
jb 0x4e17f8
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add ecx, dword [edx + 0x60]
mov eax, dword [eax]
mov edx, dword [eax + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4e17da
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret