joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9ad5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0xc], edi
cmp dword [edi + 0x2cb8], 2
mov dword [edi + 0x2cb0], esi
jne 0x4c9b1c
push 1
lea ecx, [edi + 0x38]
call fcn.004c9a61
test eax, eax
je 0x4c9b16
push dword [edi + 0x80]
mov ecx, edi
push dword [edi + 0x7c]
call fcn.004c92a6
jmp 0x4c9cd7
mov dword [edi + 0x2cb8], esi
push ebx
mov ebx, dword [edi + 0x3c]
mov edx, 0xff
push 8
pop ecx
sub ecx, dword [edi + 0x38]
shr ebx, cl
shr ebx, 0x10
and ebx, edx
cmp dword [edi + 0x2ca0], 0x25
jae 0x4c9b4e
mov eax, 0x5399d8
mov dword [ebp - 4], 0x539a08
mov ecx, 0x5399c8
jmp 0x4c9b5f
mov eax, 0x5399f8
mov dword [ebp - 4], 0x539a44
mov ecx, 0x5399e8
cmp dword [edi + 0x2cac], esi
cmove eax, ecx
mov dword [ebp - 8], eax
mov cl, byte [eax]
mov eax, dword [ebp - 4]
sar edx, cl
not edx
mov eax, dword [eax]
xor eax, ebx
test eax, edx
je 0x4c9b9b
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc esi
mov edx, 0xff
mov cl, byte [esi + edi]
mov eax, dword [eax + esi*4]
sar edx, cl
xor eax, ebx
not edx
test eax, edx
jne 0x4c9b7f
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
lea ebx, [edi + 0x38]
mov ecx, ebx
movzx eax, byte [esi + eax]
add dword [ebx], eax
call fcn.004c9a15
cmp esi, 9
jb 0x4c9c50
jne 0x4c9bcd
push dword [edi + 0x80]
inc dword [edi + 0x2cb8]
push dword [edi + 0x7c]
jmp 0x4c9ccf
and dword [edi + 0x2cb8], 0
mov ecx, edi
cmp esi, 0xe
jne 0x4c9c00
push 0x539884
call fcn.004c93aa
push 0xf
mov ecx, ebx
lea esi, [eax + 5]
call fcn.004c9a61
add eax, 0x7fff
push esi
mov dword [edi + 0x7c], eax
push eax
jmp 0x4c9cc9
mov eax, dword [edi + 0x78]
sub eax, esi
mov dword [ebp - 0xc], esi
inc eax
and eax, 3
push 0x53984c
mov ebx, dword [edi + eax*4 + 0x68]
call fcn.004c93aa
lea esi, [eax + 2]
cmp esi, 0x101
jne 0x4c9c39
cmp dword [ebp - 0xc], 0xa
jne 0x4c9c39
xor dword [edi + 0x2cac], 1
xor eax, eax
jmp 0x4c9cd6
cmp ebx, 0x100
jb 0x4c9c42
inc esi
mov eax, dword [edi + 0x2cc8]
dec eax
cmp ebx, eax
jb 0x4c9cb3
inc esi
jmp 0x4c9cb3
mov ecx, dword [edi + 0x2ca0]
and dword [edi + 0x2cb8], 0
add ecx, esi
mov eax, ecx
shr eax, 4
sub ecx, eax
mov dword [edi + 0x2ca0], ecx
mov ecx, edi
push 0x53992c
call fcn.004c93aa
mov ecx, eax
and ecx, 0xff
mov ebx, dword [edi + ecx*4 + 0x494]
dec ecx
cmp ecx, 0xffffffff
je 0x4c9cb0
dec dword [edi + ebx*4 + 0x1494]
mov eax, dword [edi + ecx*4 + 0x494]
inc dword [edi + eax*4 + 0x1494]
mov dword [edi + ecx*4 + 0x498], eax
mov dword [edi + ecx*4 + 0x494], ebx
add esi, 2
mov eax, dword [edi + 0x78]
push esi
push ebx
mov dword [edi + eax*4 + 0x68], ebx
mov eax, dword [edi + 0x78]
inc eax
mov dword [edi + 0x7c], ebx
and eax, 3
mov dword [edi + 0x78], eax
mov dword [edi + 0x80], esi
mov ecx, edi
call fcn.004c92a6
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d2349
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
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
pop ebp
ret

Function at 0x4dae8d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 8
jb 0x4daeb5
push edi
mov edi, esi
shr edi, 3
mov eax, dword [ecx + 4]
sub esi, 8
xor eax, dword [ecx]
add ecx, 8
xor edx, eax
dec edi
jne 0x4daea4
pop edi
cmp esi, 4
jb 0x4daebf
xor edx, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x4daed0
movzx eax, byte [ecx]
shl eax, 0x10
xor edx, eax
inc ecx
cmp esi, 1
jbe 0x4daede
movzx eax, byte [ecx]
shl eax, 8
xor edx, eax
inc ecx
test esi, esi
pop esi
je 0x4daee8
movzx ecx, byte [ecx]
xor edx, ecx
mov eax, edx
pop ebp
ret

Function at 0x4dcfe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edx + 4]
mov ecx, dword [edx]
add esi, 2
lea esi, [edx + esi*4]
mov dword [ebp - 4], esi
test edi, edi
je 0x4dd072
push ebx
mov ebx, dword [ebp + 0xc]
cmp ecx, 0x10
je 0x4dd019
mov al, byte [esi + ecx]
xor byte [ebx], al
inc ecx
inc ebx
dec edi
je 0x4dd016
cmp ecx, 0x10
jne 0x4dd007
mov dword [ebp + 0x10], edi
cmp edi, 0x10
jb 0x4dd042
mov ecx, dword [ebp - 4]
mov esi, edi
shr esi, 4
add ecx, 0x10
push esi
mov edx, ebx
call dword [0x56baac]
shl esi, 4
add ebx, esi
sub edi, esi
mov esi, dword [ebp - 4]
push 0x10
mov dword [ebp + 0x10], edi
pop ecx
test edi, edi
je 0x4dd06c
xor eax, eax
lea ecx, [esi + 0x10]
mov edi, esi
mov edx, esi
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [0x56baac]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
sub esi, ebx
mov al, byte [esi + ebx]
xor byte [ebx], al
inc ecx
inc ebx
dec edx
jne 0x4dd062
mov eax, dword [ebp + 8]
pop ebx
mov dword [eax], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4dd3a8
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov ecx, 0x12345678
mov esi, 0x23456789
mov edx, 0x34567890
cmp dword [ebp + 0x10], edi
jbe 0x4dd405
push ebx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [edi + ebx]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x56bae0]
movzx eax, cl
add eax, esi
imul esi, eax, 0x8088405
inc esi
mov eax, esi
shr eax, 0x18
xor eax, edx
shr edx, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x56bae0]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x4dd3c7
pop ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 0x18], esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x1c], edx
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x4dd419
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, dword [edx + 0xc]
mov eax, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4dd4a3
mov edx, eax
mov edi, dword [ebp + 0xc]
mov eax, esi
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [ebp - 4]
shr ecx, 8
xor cl, byte [eax + edi]
movzx eax, cl
xor eax, ebx
shr ebx, 8
and eax, 0xff
xor ebx, dword [eax*4 + 0x56bae0]
movzx eax, bl
add eax, edx
imul edx, eax, 0x8088405
inc edx
mov eax, edx
shr eax, 0x18
xor eax, esi
shr esi, 8
and eax, 0xff
xor esi, dword [eax*4 + 0x56bae0]
mov eax, dword [ebp - 4]
mov byte [eax + edi], cl
inc eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
cmp eax, edi
jb 0x4dd43a
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, edi
pop edi
mov dword [edx + 0x14], esi
pop esi
mov dword [edx + 0xc], ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4dd4b7
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], ecx
jbe 0x4dd544
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0xc]
mov dl, byte [ecx + eax]
mov eax, edi
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [ebp - 4]
shr ecx, 8
xor cl, dl
mov byte [eax + esi], cl
mov ecx, 0xff
movzx eax, dl
xor eax, ebx
shr ebx, 8
and eax, ecx
xor ebx, dword [eax*4 + 0x56bae0]
movzx eax, bl
add eax, dword [ebp - 8]
imul esi, eax, 0x8088405
inc esi
mov eax, esi
mov dword [ebp - 8], esi
shr eax, 0x18
xor eax, edi
shr edi, 8
and eax, ecx
mov ecx, dword [ebp - 4]
xor edi, dword [eax*4 + 0x56bae0]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x4dd4d8
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], edi
pop edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4dd619
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
movzx eax, al
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00455160
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
add esp, 0xc
xor edx, edx
sub esi, eax
lea ecx, [ebp - 0x44]
add ecx, edx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 0x14
jb 0x4dd650
lea eax, [ebp - 0xa4]
push eax
call fcn.004f32ac
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004f32de
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.004f2921
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x4df06c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov edx, dword [edx]
and edx, 7
cmp eax, 5
jae 0x4df08a
xor eax, eax
jmp 0x4df1a1
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
push ebx
mov ebx, dword [ebp + 8]
add ecx, ebx
push esi
mov dword [ebp + 0xc], ecx
lea esi, [edi + ebx]
jmp 0x4df0a9
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x4df0ad
inc esi
cmp esi, ecx
jb 0x4df0a0
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, ebx
sub edi, ebx
cmp esi, dword [ebp + 0xc]
jae 0x4df18e
cmp ecx, 2
jbe 0x4df106
xor edx, edx
movzx ebx, byte [esi + 4]
lea eax, [ebx + 1]
test al, 0xfe
jne 0x4df183
movzx eax, byte [esi + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp + 0x10]
add eax, edi
add edi, 5
cmp dword [ebp + 0x18], 0
mov dword [ebp - 4], eax
je 0x4df132
add ebx, eax
jmp 0x4df134
shr edx, cl
test edx, edx
je 0x4df0c7
cmp edx, 4
ja 0x4df124
cmp edx, 3
je 0x4df124
mov eax, edx
shr eax, 1
movzx eax, byte [eax + esi + 1]
inc eax
test al, 0xfe
jne 0x4df0c7
or edx, 8
shr edx, 1
inc edi
mov ecx, dword [ebp + 0xc]
jmp 0x4df09b
sub ebx, eax
test edx, edx
je 0x4df163
and edx, 6
mov eax, ebx
shl edx, 2
mov ecx, edx
shr eax, cl
inc eax
test al, 0xfe
jne 0x4df161
mov eax, 0x100
shl eax, cl
dec eax
xor ebx, eax
cmp dword [ebp + 0x18], 0
je 0x4df15e
add ebx, dword [ebp - 4]
jmp 0x4df161
sub ebx, dword [ebp - 4]
xor edx, edx
mov eax, ebx
mov byte [esi + 1], bl
shr eax, 8
mov byte [esi + 2], al
mov eax, ebx
shr ebx, 0x18
shr eax, 0x10
and bl, 1
neg bl
mov byte [esi + 3], al
mov byte [esi + 4], bl
jmp 0x4df189
or edx, 8
shr edx, 1
inc edi
mov ebx, dword [ebp + 8]
jmp 0x4df12a
xor eax, eax
shr edx, cl
cmp ecx, 2
pop esi
cmova edx, eax
mov eax, dword [ebp + 0x14]
pop ebx
mov dword [eax], edx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4e2c25
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x100
or esi, edi
mov eax, esi
add ebx, ebx
shr eax, 7
mov ecx, edi
and eax, 1
and ecx, ebx
push eax
mov eax, esi
add ecx, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*2]
push eax
push dword [ebp + 8]
call fcn.004e3ef2
add esi, esi
add esp, 0xc
mov eax, esi
xor eax, ebx
not eax
and edi, eax
cmp esi, 0x10000
jb 0x4e2c38
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4e2c79
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
or esi, 0x100
mov ecx, dword [ebp + 8]
mov eax, esi
shr eax, 8
movzx edx, word [ecx + eax*2]
mov ecx, esi
shr ecx, 7
add esi, esi
and ecx, 1
shr edx, 4
neg ecx
sar ecx, 4
and ecx, 0x7f
xor edx, ecx
add edi, dword [ebx + edx*4]
cmp esi, 0x10000
jb 0x4e2c8d
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4e2cc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, 0x100
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0x14]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x4e2cd7
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4e4035
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, dword [ebp + 0x10]
inc eax
shl eax, cl
push edi
or esi, eax
xor edi, edi
cmp esi, 1
je 0x4e4078
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add edi, dword [eax + ecx*4]
cmp esi, 1
jne 0x4e4055
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4e40bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
xor esi, esi
inc edi
test ebx, ebx
je 0x4e40ff
mov eax, dword [ebp + 0x10]
mov edx, eax
shr eax, 1
and edx, 1
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edi*2]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
add edi, edi
and eax, 0x7f
or edi, edx
xor ecx, eax
mov eax, dword [ebp + 0x14]
add esi, dword [eax + ecx*4]
dec ebx
jne 0x4e40cf
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x4e424e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0
je 0x4e4264
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
cmp eax, dword [ecx]
je 0x4e428d
mov eax, dword [esi]
push dword [esi + 0xc]
mov eax, dword [eax + 0x18]
push eax
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax]
add esp, 0x10
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4e428d
push 2
pop eax
jmp 0x4e42ed
cmp dword [esi + 4], 0
je 0x4e429d
mov ecx, dword [esi]
mov eax, dword [esi + 8]
cmp eax, dword [ecx + 4]
je 0x4e42c2
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x18]
push eax
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax]
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
je 0x4e4288
and dword [esi + 0x34], 0
lea eax, [esi + 0x3c]
and dword [esi + 0x38], 0
push eax
call fcn.004e872f
pop ecx
test eax, eax
je 0x4e42dc
push 0xc
jmp 0x4e428a
lea eax, [esi + 0x40]
push eax
call fcn.004e872f
neg eax
pop ecx
sbb eax, eax
and eax, 0xc
pop esi
pop ebp
ret

Function at 0x4e4354
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
and dword [esi + 0xc], 0
lea eax, [esi + 4]
push eax
call fcn.004e872f
pop ecx
test eax, eax
jne 0x4e438a
lea eax, [esi + 8]
push eax
call fcn.004e872f
pop ecx
test eax, eax
jne 0x4e438a
push esi
push 0x4e42f0
push esi
call fcn.004e88a1
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x4e705c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [ebp + 0xc]
xor cl, cl
xor eax, eax
or dword [esi], 0xffffffff
mov byte [esi + 4], 0
test edi, edi
je 0x4e70c7
mov edx, dword [ebp + 8]
xor cl, byte [eax + edx]
inc eax
cmp eax, edi
jb 0x4e707b
test cl, cl
jne 0x4e70c7
test edi, edi
je 0x4e70c7
mov ecx, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov edx, edi
mov byte [esi + 4], bl
call fcn.004d1fea
mov edx, eax
xor eax, eax
xor ecx, ecx
cmp dword [ecx + 0x53a8f4], edx
jne 0x4e70b1
cmp dword [ecx + 0x53a8f0], edi
je 0x4e70bd
add ecx, 0xc
inc eax
cmp ecx, 0x48
jb 0x4e70a1
or eax, 0xffffffff
mov dword [esi], eax
test eax, eax
jns 0x4e70c7
mov byte [esi + 4], 0
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8

Function at 0x4e81cf
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov dword [eax + 0x34], ecx
lea esi, [eax + 0x60]
mov word [eax + 0x1e], cx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
push 8
mov edx, ecx
pop edi
mov eax, edx
shr edx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor edx, eax
dec edi
jne 0x4e81fd
mov dword [esi], edx
inc ecx
add esi, 4
cmp ecx, 0x100
jb 0x4e81f8
pop edi
pop esi
pop ebp
ret
Function at 0x4e88a1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.00503cdf
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x4e88cd
call fcn.004e87e5
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e8c98
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], ecx
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
test edi, edi
je 0x4e8cce
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x4e8cc1
cmp esi, ecx
jae 0x4e8dba
mov eax, esi
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebx + esi*4 - 4]
mov eax, esi
mov dword [ebp + 8], ecx
div edi
mov dword [ebp - 8], eax
test edx, edx
jne 0x4e8d4c
movzx ecx, cl
movzx edx, byte [ecx + 0x53a958]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + 0x53a958]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
and eax, 0xff
shr ecx, 8
and ecx, 0xff
movzx eax, byte [eax + 0x53a958]
movzx ecx, byte [ecx + 0x53a958]
or edx, eax
mov eax, dword [ebp - 8]
shl edx, 8
movzx eax, byte [eax + 0x53a948]
xor ecx, eax
or ecx, edx
jmp 0x4e8da0
cmp edi, 6
jbe 0x4e8da0
cmp edx, 4
jne 0x4e8da0
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx ecx, byte [eax + 0x53a958]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0x53a958]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff
shl ecx, 8
movzx eax, byte [eax + 0x53a958]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + 0x53a958]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add edx, 4
xor eax, ecx
mov dword [ebp - 4], edx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x4e8ce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ede1e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x200
jb 0x4ede80
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x4ede80
mov ecx, dword [edx + 0x3c]
cmp ecx, 0x1000
jae 0x4ede80
lea eax, [ecx + 0x200]
cmp eax, dword [ebp + 0xc]
ja 0x4ede80
test cl, 7
jne 0x4ede80
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x4ede80
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x4ede99
sub eax, 0x74
je 0x4ede92
dec eax
dec eax
je 0x4ede92
dec eax
dec eax
je 0x4ede8b
sub eax, 0x3c
je 0x4ede84
sub eax, 0x8464
je 0x4ede99
xor eax, eax
pop ebp
ret
mov edx, 0x3030401
jmp 0x4ede9e
mov edx, 0x3030701
jmp 0x4ede9e
mov edx, 0x3030501
jmp 0x4ede9e
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x4ede80
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4edebb
cmp eax, 0x20b
jne 0x4ede80
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
inc eax
pop ebp
ret
Function at 0x4f32ac
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x18], 0
and dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x4f34ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 5
mov esi, ecx
push eax
push esi
mov dword [ebp - 0x8c], esi
call fcn.004f2891
push 5
lea ecx, [ebp - 0x84]
lea eax, [esi + 0x60]
push ecx
push eax
mov dword [ebp - 0x88], eax
call fcn.004f2891
add esp, 0x18
lea edi, [ebp - 0x44]
mov esi, ebx
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4f354b
lea esi, [ebp - 0x44]
sub esi, ebx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x8c]
call fcn.004f29b1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x88]
call fcn.004f29b1
add esp, 0x18
mov ecx, ebx
push 5
pop edx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4f353d
dec edi
jne 0x4f3509
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c72
mov esp, ebp
pop ebp
ret 8

Function at 0x4f355e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x10
xor eax, eax
mov dword [ebp - 0xc0], ebx
pop ecx
lea edi, [ebp - 0x58]
mov dword [ebp - 0xbc], esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
cmp edi, 0x40
jbe 0x4f35dc
lea eax, [ebp - 0xb8]
push eax
call fcn.004f32ac
push edi
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.004f32de
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004f2921
add esp, 0x18
xor esi, esi
mov ecx, esi
mov eax, dword [ebp + ecx - 0x18]
bswap eax
mov dword [ebp + ecx - 0x58], eax
add ecx, 4
cmp ecx, 0x14
jb 0x4f35c8
jmp 0x4f3611
xor esi, esi
test edi, edi
je 0x4f3611
mov ebx, esi
mov eax, ebx
mov edx, ebx
and eax, 3
shr edx, 2
push 3
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0xbc]
shl ecx, 3
movzx eax, byte [eax + ebx]
shl eax, cl
or dword [ebp + edx*4 - 0x58], eax
inc ebx
cmp ebx, edi
jb 0x4f35e4
mov ebx, dword [ebp - 0xc0]
mov eax, esi
xor dword [ebp + eax*4 - 0x58], 0x36363636
inc eax
cmp eax, 0x10
jb 0x4f3613
push ebx
call fcn.004f32ac
push 0x10
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.004f28d2
add esp, 0x10
xor dword [ebp + esi*4 - 0x58], 0x6a6a6a6a
inc esi
cmp esi, 0x10
jb 0x4f3636
lea esi, [ebx + 0x60]
push esi
call fcn.004f32ac
push 0x10
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.004f28d2
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00453c72
mov esp, ebp
pop ebp
ret 8