joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce600
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4ce6a2
cmp dword [ebx + 0x90], 0
jne 0x4ce69c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ce578
call fcn.00409f70
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x4ce69c
push 3
mov eax, dword [esp + 4]
push eax
call fcn.0040a100
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.0040a110
test al, 8
je 0x4ce662
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4ce69c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.00473ebc
push eax
call fcn.0040a3b0
dec esi
cmp esi, 0xffffffff
jne 0x4ce671
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4ce8c0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x58f35c]
cmp dword [eax + 0x170], 0
je 0x4cea25
test bl, bl
jne 0x4ce973
cmp dword [esi + 0x98], 0
jne 0x4ce968
mov eax, esi
call fcn.004d1428
push eax
push 0x4ce7cc
call fcn.00409f70
cmp dword [esi + 0x40], 0
je 0x4ce939
mov eax, dword [0x58f35c]
cmp byte [eax + 0xcf], 0
je 0x4ce939
mov eax, dword [esi + 0xd4]
call fcn.00407d10
mov edi, eax
cmp edi, 0
jl 0x4ce939
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call fcn.0040a3e0
dec edi
cmp edi, 0xffffffff
jne 0x4ce922
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ce968
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00473ebc
push eax
call fcn.0040a3d0
dec edi
cmp edi, 0xffffffff
jne 0x4ce948
inc dword [esi + 0x98]
jmp 0x4cea25
cmp dword [esi + 0x98], 0
jle 0x4cea25
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x4cea25
cmp dword [esi + 0x40], 0
je 0x4ce9d0
mov eax, dword [0x58f35c]
cmp byte [eax + 0xcf], 0
je 0x4ce9d0
mov eax, dword [esi + 0xd4]
call fcn.00407d10
mov edi, eax
cmp edi, 0
jl 0x4ce9d0
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call fcn.0040a3e0
dec edi
cmp edi, 0xffffffff
push dword [ebp - 0x17]

Function at 0x4cf5e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x4cf64b
cmp byte [ebx + 0xcf], 0
jne 0x4cf64b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call fcn.0040a138
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406884
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cf638
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cf658
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00406748
jmp 0x4cf658
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00406748
add esp, 0x204
pop esi
pop ebx
ret
Function at 0x4d0be8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x4d0c56
mov eax, esi
call fcn.004b75a8
test al, al
je 0x4d0c56
mov eax, dword [ebx + 0x80]
call fcn.004b71fc
push eax
call fcn.0040a1c8
test eax, eax
je 0x4d0c56
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4d0c4a
push 0
mov eax, dword [ebx + 0x80]
call fcn.004b71fc
push eax
call fcn.0040a3e0
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.004ae82c
jmp 0x4d0c56
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.004d0a34
pop esi
pop ebx
ret
Function at 0x4d5aec
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4d5af5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4d5ca7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004d5e3c
xor eax, eax
push ebp
push 0x4d5c85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4d5b44
call fcn.004051a4
jmp 0x4d5c8c
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x4d5c13
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4d5b99
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4d5b99
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004d5a40
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406bec
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4d5bd2
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004d5a40
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00406bec
mov eax, dword [ebp - 0x14]
call fcn.004067d4
push eax
call fcn.00409980
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4d5c6f
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004d5a40
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x4d5cc4
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00406bec
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004d5a60
jmp 0x4d5c6f
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4d5c36
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4d5c36
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4d5c4c
mov eax, ebx
call fcn.004067d4
push eax
call fcn.00409980
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4d5c6f
lea eax, [ebp - 0x24]
mov ecx, 0x4d5cc4
mov edx, ebx
call fcn.00406b1c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004d5a60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5c8c
mov eax, dword [ebp - 4]
call fcn.004d5e48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5cae
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00406740
ret
Function at 0x4d7a8c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x4d7aad
inc edi
mov eax, esi
call fcn.00405c3c
cmp edi, eax
jg 0x4d7abf
cmp byte [esi + edi - 1], 0x20
je 0x4d7aac
mov eax, esi
test eax, eax
je 0x4d7aca
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x4d7b8c
cmp byte [esi + edi - 1], 0x2e
je 0x4d7bb0
jmp 0x4d7b8c
cmp byte [esi + edi - 1], 0x2e
jne 0x4d7b34
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x4d7bb0
cmp dword [esp + 8], 0xff
jg 0x4d7bb0
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x4d7b18
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x4d7b20
mov bl, 1
jmp 0x4d7b2e
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x4d7bb0
jmp 0x4d7b8b
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x4d7b59
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x4d7b8b
inc edi
mov eax, esi
call fcn.00405c3c
cmp edi, eax
jg 0x4d7b6b
cmp byte [esi + edi - 1], 0x20
je 0x4d7b58
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x4d7b83
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x4d7bb0
jmp 0x4d7b9b
inc edi
mov eax, esi
call fcn.00405c3c
cmp edi, eax
jle 0x4d7ae2
cmp dword [esp + 4], 3
jne 0x4d7bb0
cmp dword [esp + 8], 0xff
jg 0x4d7bb0
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e54d0
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x4e54e4
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x4e54e3
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.00406248
xor ebx, ebx
cmp esi, dword [esp]
jge 0x4e5648
inc ebx
mov eax, edi
call fcn.00405fdc
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x4e5601
inc ebx
mov eax, edi
call fcn.00405fdc
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x4e55d0
inc ebx
mov eax, edi
call fcn.00405fdc
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405fdc
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
jmp 0x4e563c
inc ebx
mov eax, edi
call fcn.00405fdc
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405fdc
mov byte [eax + ebx - 1], 0x3d
jmp 0x4e563c
inc ebx
mov eax, edi
call fcn.00405fdc
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405fdc
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00405fdc
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x4e5518
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4e58a4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004e6358
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4e8938
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x585a0c
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4e8957
mov esi, 1
mov edx, 0x585b14
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4e89d0
dec ebx
je 0x4e89f2
dec ebx
je 0x4e8a14
dec ebx
je 0x4e8a35
jmp 0x4e8a4f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4e8a4f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4e8a4f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4e8a4f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4e89c0
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4e8973
mov esi, 0x20
mov eax, 0x585a3c
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4e8a74
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4e8ab0
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x585ac3]
test bl, bl
jbe 0x4e8ae1
lea eax, [esi + 0x3e0]
call fcn.004e8a8c
lea eax, [esi + 0x3fc]
call fcn.004e8a8c
dec bl
jne 0x4e8ac7
mov cl, 0x30
mov edi, 0x585a94
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x4e8b02
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4e8b0f
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4e8aeb
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4e8b1c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004e88d0
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4e8b38
mov bl, 0x1c
mov esi, 0x585a5c
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004e88d0
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004e88d0
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4e8b54
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004e8ab0
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4e8b7e
mov bl, 1
mov eax, 0x58598c
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4e8bb7
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4e8bc4
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4e8ba3
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4e8bee
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004e8938
jmp 0x4e8c15
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004e8938
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4e8c1d
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4e8bd6
mov bl, 0x40
mov esi, 0x5859cc
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x4e8c83
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4e8c90
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4e8c6c
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004e88f8
inc ebx
inc esi
cmp bl, 0x41
jne 0x4e8c9e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e8d94
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4e8e45
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x4e8e40
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.00406248
push 1
mov eax, edi
call fcn.00405fdc
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004e8b1c
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f2494
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add eax, eax
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.004062e0
cmp byte [ebp - 1], 0
jne 0x4f24f4
mov eax, esi
call fcn.00405fdc
movzx edx, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4f250e
sub al, 2
jb 0x4f2515
jmp 0x4f251a
mov ebx, 2
jmp 0x4f251a
mov ebx, 1
mov eax, esi
call fcn.00405fdc
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4f25fe
test edi, edi
jle 0x4f2576
mov eax, esi
call fcn.00405fdc
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00405fdc
mov byte [eax + ebx - 1], 0
jmp 0x4f25f2
test edi, edi
jge 0x4f25bc
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00405fdc
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4f25f2
mov eax, esi
call fcn.00405fdc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
movzx ecx, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00405fdc
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4f2532
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4f260f
sub al, 2
jb 0x4f2649
jmp 0x4f2691
cmp edi, 2
jne 0x4f2615
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4f2691
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00405fdc
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x585ce4]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4f2625
jmp 0x4f2691
cmp edi, 2
jne 0x4f264f
dec ebx
test ebx, ebx
jle 0x4f268c
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00405fdc
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x585ce8]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4f265b
jmp 0x4f268c
inc ebx
mov eax, esi
call fcn.00405fdc
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4f267f
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.00406248
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x52231c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x522376
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00522310
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.005131fc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00512d60
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52237d
lea eax, [ebp - 4]
call fcn.00406738
ret
Function at 0x535d04
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x535d0c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x535f7a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call fcn.0042f79c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x471f6c]
call fcn.00478290
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x531de4]
call fcn.004fd108
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.0053474c
add eax, 0x40
mov edx, 0x535f94
call fcn.00406748
mov dl, 1
mov eax, dword [0x471ad8]
call fcn.004778bc
mov dword [ebp - 0x10], eax
push 0x535fe4
mov eax, dword [ebp - 8]
push dword [eax + 0x40]
push 0x536008
mov eax, dword [ebp - 8]
push dword [eax + 0x44]
push 0x536024
mov eax, dword [ebp - 8]
push dword [eax + 0x4c]
push 0x536050
mov eax, dword [ebp - 8]
push dword [eax + 0x50]
push 0x536080
mov eax, dword [ebp - 8]
push dword [eax + 0x54]
push 0x53609c
mov eax, dword [ebp - 8]
push dword [eax + 0x58]
push 0x5360b8
mov eax, dword [ebp - 8]
push dword [eax + 0x60]
lea eax, [ebp - 0x18]
mov edx, 0xe
call fcn.00406bec
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040679c
xor eax, eax
push ebp
push 0x535e5d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x535e4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x64]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.005328cc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.004784a0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x5360d8
call fcn.00406b1c
mov eax, dword [ebp - 0x1c]
call fcn.004067d4
push eax
call fcn.00409980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x535e53
ret

Function at 0x536a54
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403ba0
ret