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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
and dword [edi + 0x2cb0], 0
cmp dword [edi + 0x2cb8], 2
jne 0x4b8c33
push 1
lea ecx, [edi + 0x38]
call fcn.004b8b67
test eax, eax
je 0x4b8c2c
push dword [edi + 0x80]
mov ecx, edi
push dword [edi + 0x7c]
call fcn.004b83db
jmp 0x4b8df3
and dword [edi + 0x2cb8], 0
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
push ebx
push 8
pop ecx
sub ecx, edx
mov dword [ebp - 0x10], edx
shr eax, cl
shr eax, 0x10
cmp dword [edi + 0x2ca0], 0x25
movzx eax, al
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x2cac]
jae 0x4b8c6f
test eax, eax
mov ebx, 0x550260
mov ecx, 0x550250
mov eax, 0x550290
jmp 0x4b8c80
test eax, eax
mov ebx, 0x550280
mov ecx, 0x550270
mov eax, 0x5502cc
cmove ebx, ecx
mov dword [ebp - 4], eax
mov eax, dword [eax]
mov ecx, ebx
xor eax, dword [ebp - 8]
mov edx, 0xff
push esi
xor esi, esi
mov cl, byte [ecx]
sar edx, cl
not edx
test eax, edx
je 0x4b8cbc
mov edi, dword [ebp - 4]
inc esi
mov edx, 0xff
mov cl, byte [esi + ebx]
mov eax, dword [edi + esi*4]
xor eax, dword [ebp - 8]
sar edx, cl
not edx
test eax, edx
jne 0x4b8ca2
mov edi, dword [ebp - 0xc]
movzx eax, byte [esi + ebx]
lea ebx, [edi + 0x38]
add eax, dword [ebp - 0x10]
mov ecx, ebx
mov dword [ebx], eax
call fcn.004b8adc
cmp esi, 9
jb 0x4b8d72
jne 0x4b8cee
push dword [edi + 0x80]
inc dword [edi + 0x2cb8]
push dword [edi + 0x7c]
jmp 0x4b8dea
and dword [edi + 0x2cb8], 0
mov ecx, edi
cmp esi, 0xe
jne 0x4b8d21
push 0x55010c
call fcn.004b8473
push 0xf
mov ecx, ebx
lea esi, [eax + 5]
call fcn.004b8b67
add eax, 0x7fff
push esi
mov dword [edi + 0x7c], eax
push eax
jmp 0x4b8de4
mov eax, dword [edi + 0x78]
sub eax, esi
inc eax
and eax, 3
push 0x5500d4
mov ebx, dword [edi + eax*4 + 0x68]
call fcn.004b8473
add eax, 2
cmp eax, 0x101
jne 0x4b8d55
cmp esi, 0xa
jne 0x4b8d55
xor dword [edi + 0x2cac], 1
xor eax, eax
jmp 0x4b8df1
cmp ebx, 0x100
lea ecx, [eax + 1]
cmovb ecx, eax
mov eax, dword [edi + 0x2cc8]
dec eax
cmp ebx, eax
lea esi, [ecx + 1]
cmovb esi, ecx
jmp 0x4b8dce
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 0x5501b4
call fcn.004b8473
movzx ecx, al
mov ebx, dword [edi + ecx*4 + 0x494]
test al, al
je 0x4b8dcb
dec dword [edi + ebx*4 + 0x1494]
mov eax, dword [edi + ecx*4 + 0x490]
inc dword [edi + eax*4 + 0x1494]
mov dword [edi + ecx*4 + 0x494], eax
mov dword [edi + ecx*4 + 0x490], 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.004b83db
pop esi
pop ebx
pop edi
leave
ret
Function at 0x4c0291
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]
push edi
cmp esi, 8
jb 0x4c02ba
mov edi, esi
shr edi, 3
mov eax, dword [ecx + 4]
sub esi, 8
xor eax, dword [ecx]
add ecx, 8
xor edx, eax
sub edi, 1
jne 0x4c02a8
cmp esi, 4
jb 0x4c02c4
xor edx, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x4c02d7
movzx eax, byte [ecx]
shl eax, 0x10
xor edx, eax
inc ecx
jmp 0x4c02e0
mov eax, edx
mov edi, ecx
cmp esi, 1
jbe 0x4c02eb
movzx eax, byte [ecx]
shl eax, 8
xor edx, eax
inc ecx
jmp 0x4c02f3
mov edx, eax
mov ecx, edi
test esi, esi
je 0x4c02f8
movzx ecx, byte [ecx]
xor edx, ecx
pop edi
mov eax, edx
pop esi
pop ebp
ret

Function at 0x4c13b6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
or dword [edi], 0xffffffff
cmp dword [eax], 0x23170f69
jne 0x4c1491
mov ecx, 0x40c1
cmp word [eax + 4], cx
jne 0x4c1491
mov ebx, dword [ebp + 0x14]
mov edx, 0x2790
mov byte [ebx], 1
movzx ecx, word [eax + 6]
cmp cx, dx
jne 0x4c13fa
mov byte [ebx], 0
jmp 0x4c1408
mov edx, 0x2791
cmp cx, dx
jne 0x4c1491
mov ecx, dword [eax + 8]
xor esi, esi
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
cmp dword [0x5836b8], esi
jbe 0x4c1491
mov ch, byte [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [esi*4 + 0x5836c0]
cmp eax, dword [edx + 8]
jne 0x4c1467
mov edi, dword [ebp - 4]
cmp edi, dword [edx + 0xc]
mov edi, dword [ebp + 0x18]
jne 0x4c1467
xor eax, eax
cmp byte [ebx], al
je 0x4c1446
cmp dword [edx + 4], eax
jmp 0x4c1448
cmp dword [edx], eax
sete al
test eax, eax
jne 0x4c1464
mov cl, byte [edx + 0x18]
test ch, ch
je 0x4c145d
test cl, cl
sete al
jmp 0x4c1460
movzx eax, cl
test eax, eax
je 0x4c1472
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [0x5836b8]
jb 0x4c1424
jmp 0x4c1491
movzx eax, byte [ebp + 0xc]
movzx ecx, byte [ebp + 0xc]
xor eax, 1
cmp dword [edx + 0x14], 1
cmove eax, ecx
test eax, eax
je 0x4c148f
mov eax, 0x80004002
jmp 0x4c1493
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4c1c5b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov dword [ebp + 8], eax
cmp eax, 3
jae 0x4c1c7a
push edi
call fcn.004c29bf
jmp 0x4c1cd2
mov ecx, dword [edi]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [edi + 0x24]
xor edx, dword [edi + eax*4 + 0x60]
mov eax, dword [edi + 4]
movzx edx, dx
mov esi, dword [ecx + edx*4]
mov dword [ecx + edx*4], eax
push dword [edi + 0x30]
push dword [edi + 0x18]
push dword [edi + 0x14]
push dword [edi + 0x28]
push dword [edi]
push dword [edi + 4]
push esi
push dword [ebp + 8]
call fcn.004c2b3e
add esp, 0x20
inc dword [edi + 0x14]
inc dword [edi]
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jne 0x4c1cd3
push edi
call fcn.004c2657
pop ecx
sub ebx, 1
jne 0x4c1c67
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4c26d1
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
neg eax
and eax, 0xedb88320
xor edx, eax
sub edi, 1
jne 0x4c26ff
mov dword [esi], edx
inc ecx
add esi, 4
cmp ecx, 0x100
jb 0x4c26fa
pop edi
pop esi
pop ebp
ret

Function at 0x4c2e1e
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 0x4c2e54
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x4c2e47
cmp esi, ecx
jae 0x4c2f37
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 0x4c2ecd
movzx ecx, cl
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
movzx eax, al
shr ecx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x5507e0]
xor ecx, eax
or ecx, edx
jmp 0x4c2f1d
cmp edi, 6
jbe 0x4c2f1d
cmp edx, 4
jne 0x4c2f1d
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + str.cw]
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 0x4c2e66
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4c3a6f
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 0x4cc0c1
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 0x4cc157
push ebx
mov ebx, dword [ebp + 0xc]
cmp ecx, 0x10
je 0x4cc0fc
mov al, byte [esi + ecx]
xor byte [ebx], al
inc ecx
inc ebx
sub edi, 1
je 0x4cc0f9
cmp ecx, 0x10
jne 0x4cc0e8
mov dword [ebp + 0x10], edi
cmp edi, 0x10
jb 0x4cc125
mov ecx, dword [ebp - 4]
mov esi, edi
shr esi, 4
add ecx, 0x10
push esi
mov edx, ebx
call dword [0x587858]
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 0x4cc151
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 [0x587858]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
sub esi, ebx
mov al, byte [esi + ebx]
xor byte [ebx], al
inc ecx
inc ebx
sub edx, 1
jne 0x4cc145
mov eax, dword [ebp + 8]
pop ebx
mov dword [eax], ecx
pop edi
pop esi
leave
ret

Function at 0x4cc47f
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 0x4cc4d8
push ebx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [edi + ebx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x587880]
movzx eax, cl
add eax, esi
imul esi, eax, 0x8088405
inc esi
mov eax, esi
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x587880]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x4cc49e
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 0x4cc4ec
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 0x4cc572
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
movzx eax, al
xor ebx, dword [eax*4 + 0x587880]
movzx eax, bl
add eax, edx
imul edx, eax, 0x8088405
inc edx
mov eax, edx
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x587880]
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 0x4cc50d
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
leave
ret 0xc

Function at 0x4cc584
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 0x4cc60e
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
movzx eax, dl
xor eax, ebx
mov ecx, dword [ebp - 4]
movzx eax, al
shr ebx, 8
xor ebx, dword [eax*4 + 0x587880]
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
movzx eax, al
xor edi, dword [eax*4 + 0x587880]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x4cc5a5
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
leave
ret 0xc

Function at 0x4cc6df
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004ecad0
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 0x4cc714
lea eax, [ebp - 0xa4]
push eax
call fcn.004e08cd
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004e08ff
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.004dffb5
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
call fcn.00460412
leave
ret
Function at 0x4ce48c
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 0x4ce4aa
xor eax, eax
jmp 0x4ce5d0
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 0x4ce4c9
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x4ce4cd
inc esi
cmp esi, ecx
jb 0x4ce4c0
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, ebx
sub edi, ebx
cmp esi, dword [ebp + 0xc]
jae 0x4ce5bd
cmp ecx, 2
jbe 0x4ce557
xor edx, edx
movzx ecx, byte [esi + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x4ce5b1
movzx eax, byte [esi + 3]
mov ebx, dword [ebp + 0x10]
shl ecx, 8
add ebx, edi
or ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
add ecx, ebx
sub eax, ebx
cmp dword [ebp + 0x18], 0
cmove ecx, eax
mov dword [ebp - 4], ecx
mov ebx, ecx
test edx, edx
je 0x4ce58b
and edx, 6
mov eax, ecx
shl edx, 2
mov ecx, edx
shr eax, cl
inc eax
test al, 0xfe
jne 0x4ce589
mov eax, dword [ebp + 0x10]
mov ebx, 0x100
shl ebx, cl
add eax, edi
dec ebx
xor ebx, dword [ebp - 4]
cmp dword [ebp + 0x18], 0
je 0x4ce587
add ebx, eax
jmp 0x4ce589
shr edx, cl
test edx, edx
je 0x4ce4e7
cmp edx, 4
ja 0x4ce579
cmp edx, 3
je 0x4ce579
mov eax, edx
shr eax, 1
movzx eax, byte [eax + esi + 1]
inc eax
test al, 0xfe
jne 0x4ce4e7
or edx, 8
shr edx, 1
inc edi
mov ecx, dword [ebp + 0xc]
jmp 0x4ce4bb
sub ebx, eax
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
push 5
mov byte [esi + 4], bl
mov ebx, dword [ebp + 8]
pop eax
jmp 0x4ce5b9
or edx, 8
xor eax, eax
shr edx, 1
inc eax
add edi, eax
jmp 0x4ce57f
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
leave
ret
Function at 0x4d217f
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.004d33ed
add esi, esi
add esp, 0xc
mov eax, esi
xor eax, ebx
not eax
and edi, eax
cmp esi, 0x10000
jb 0x4d2192
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4d21d3
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 0x4d21e7
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4d221c
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 0x4d2231
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4d3532
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
bts esi, eax
xor edi, edi
cmp esi, 1
je 0x4d3571
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 0x4d354e
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4d35b8
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 0x4d35fc
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]
sub ebx, 1
jne 0x4d35ca
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x4d374a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0
je 0x4d3760
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
cmp eax, dword [ecx]
je 0x4d3784
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
je 0x4d37e1
cmp dword [esi + 4], 0
je 0x4d3794
mov ecx, dword [esi]
mov eax, dword [esi + 8]
cmp eax, dword [ecx + 4]
je 0x4d37b9
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 0x4d37e1
and dword [esi + 0x34], 0
lea eax, [esi + 0x3c]
and dword [esi + 0x38], 0
push eax
call fcn.004d67c5
pop ecx
test eax, eax
jne 0x4d37dd
lea eax, [esi + 0x40]
push eax
call fcn.004d67c5
pop ecx
test eax, eax
je 0x4d37e4
push 0xc
jmp 0x4d37e3
push 2
pop eax
pop esi
pop ebp
ret

Function at 0x4d384b
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.004d67c5
pop ecx
test eax, eax
jne 0x4d3881
lea eax, [esi + 8]
push eax
call fcn.004d67c5
pop ecx
test eax, eax
jne 0x4d3881
push esi
push 0x4d37e7
push esi
call fcn.004d6941
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x4d655d
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 0x4d65c2
mov edx, dword [ebp + 8]
xor cl, byte [eax + edx]
inc eax
cmp eax, edi
jb 0x4d657c
test cl, cl
jne 0x4d65c2
test edi, edi
je 0x4d65c2
mov ecx, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov edx, edi
mov byte [esi + 4], bl
call fcn.004be329
mov edx, eax
xor ecx, ecx
xor eax, eax
cmp dword [eax + 0x550d04], edx
jne 0x4d65b2
cmp dword [eax + 0x550d00], edi
je 0x4d65cb
add eax, 0xc
inc ecx
cmp eax, 0x48
jb 0x4d65a2
or dword [esi], 0xffffffff
mov byte [esi + 4], 0
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
mov dword [esi], ecx
test ecx, ecx
js 0x4d65be
jmp 0x4d65c2

Function at 0x4d6941
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.00507d52
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x4d696d
call fcn.004d6885
mov esi, eax
mov eax, esi
pop esi
leave
ret
Function at 0x4db301
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x200
jb 0x4db367
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x4db367
mov ecx, dword [edx + 0x3c]
cmp ecx, 0x1000
jae 0x4db367
lea eax, [ecx + 0x200]
cmp eax, dword [ebp + 0xc]
ja 0x4db367
test cl, 7
jne 0x4db367
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x4db367
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x4db380
sub eax, 0x74
je 0x4db379
dec eax
sub eax, 1
je 0x4db379
dec eax
sub eax, 1
je 0x4db372
sub eax, 0x3c
je 0x4db36b
sub eax, 0x8464
je 0x4db380
xor eax, eax
pop ebp
ret
mov edx, 0x3030401
jmp 0x4db385
mov edx, 0x3030701
jmp 0x4db385
mov edx, 0x3030501
jmp 0x4db385
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x4db367
movzx eax, word [ecx + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x4db3a8
mov ecx, 0x20b
cmp ax, cx
jne 0x4db367
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
inc eax
pop ebp
ret
Function at 0x4e08cd
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 0x4e0acf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x579258]
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 - 0x88], esi
call fcn.004dff16
push 5
lea ecx, [ebp - 0x84]
lea eax, [esi + 0x60]
push ecx
push eax
mov dword [ebp - 0x8c], eax
call fcn.004dff16
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 0x4e0b73
lea esi, [ebp - 0x44]
sub esi, ebx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x88]
call fcn.004e0045
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call fcn.004e0045
add esp, 0x18
mov ecx, ebx
push 5
pop edx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x4e0b61
sub edi, 1
jne 0x4e0b2d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460412
leave
ret 8