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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x479fc2
cmp dword [ebx + 0x90], 0
jne 0x479fbc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x479e6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x479fbc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x479f82
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x479fbc
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.004228bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x479f91
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4f23a8]
cmp dword [eax + 0x170], 0
je 0x47a345
test bl, bl
jne 0x47a293
cmp dword [esi + 0x98], 0
jne 0x47a288
mov eax, esi
call fcn.0047cadc
push eax
push 0x47a0ec
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x47a259
mov eax, dword [0x4f23a8]
cmp byte [eax + 0xcf], 0
je 0x47a259
mov eax, dword [esi + 0xd4]
call fcn.00407418
mov edi, eax
cmp edi, 0
jl 0x47a259
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47a242
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47a288
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004228bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47a268
inc dword [esi + 0x98]
jmp 0x47a345
cmp dword [esi + 0x98], 0
jle 0x47a345
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x47a345
cmp dword [esi + 0x40], 0
je 0x47a2f0
mov eax, dword [0x4f23a8]
cmp byte [eax + 0xcf], 0
je 0x47a2f0
mov eax, dword [esi + 0xd4]
call fcn.00407418
mov edi, eax
cmp edi, 0
jl 0x47a2f0
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47a2d9
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47a31f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004228bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47a2ff
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x46f9f4]
call fcn.004075d8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47af00
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 0x47af6b
cmp byte [ebx + 0xcf], 0
jne 0x47af6b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405d20
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x47af58
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47af78
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405be4
jmp 0x47af78
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405be4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x47c29c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x47c30a
mov eax, esi
call fcn.00463374
test al, al
je 0x47c30a
mov eax, dword [ebx + 0x80]
call fcn.0046306c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47c30a
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x47c2fe
push 0
mov eax, dword [ebx + 0x80]
call fcn.0046306c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.0045a7ec
jmp 0x47c30a
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.0047c0e8
pop esi
pop ebx
ret
Function at 0x488c30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x488c39
push ecx
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 0x488dff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00488f94
xor eax, eax
push ebp
push 0x488dd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x488c89
call fcn.004047e0
jmp 0x488dd7
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x488d5e
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x488cde
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x488cde
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00488b04
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406184
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 0x488d1d
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00488b04
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00406184
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.00405c70
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x488dba
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00488b04
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x488e1c
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406184
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00488b24
jmp 0x488dba
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x488d81
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x488d81
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 0x488d97
mov eax, ebx
call fcn.00405c70
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x488dba
lea eax, [ebp - 0x28]
mov ecx, 0x488e1c
mov edx, ebx
call fcn.004060a0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00488b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488dd7
mov eax, dword [ebp - 4]
call fcn.00488f9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488e06
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405bdc
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00405bdc
ret
Function at 0x48a9dc
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, 0x4ea340
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 0x48a9fb
mov esi, 1
mov edx, 0x4ea448
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 0x48aa74
dec ebx
je 0x48aa96
dec ebx
je 0x48aab8
dec ebx
je 0x48aad9
jmp 0x48aaf3
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 0x48aaf3
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 0x48aaf3
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 0x48aaf3
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 0x48aa64
inc esi
add edx, 0x40
cmp esi, 9
jne 0x48aa17
mov esi, 0x20
mov eax, 0x4ea370
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 0x48ab18
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48ab54
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 + 0x4ea3f7]
test bl, bl
jbe 0x48ab85
lea eax, [esi + 0x3e0]
call fcn.0048ab30
lea eax, [esi + 0x3fc]
call fcn.0048ab30
dec bl
jne 0x48ab6b
mov cl, 0x30
mov edi, 0x4ea3c8
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x48aba6
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x48abb3
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x48ab8f
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x48abc0
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.0048a974
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x48abdc
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.0048a974
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.0048a974
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x48abf8
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.0048ab54
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x48ac22
mov bl, 1
mov eax, 0x4ea2c0
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x48ac5b
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x48ac68
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x48ac47
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x48ac92
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.0048a9dc
jmp 0x48acb9
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.0048a9dc
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x48acc1
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 0x48ac7a
mov bl, 0x40
mov esi, 0x4ea300
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x48ad27
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x48ad34
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x48ad10
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0048a99c
inc ebx
inc esi
cmp bl, 0x41
jne 0x48ad42
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48b8a0
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 0x48b951
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x48b94c
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.00405838
push 1
mov eax, edi
call fcn.004057cc
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.0048abc0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x492d10
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 0x492d31
inc edi
mov eax, esi
call fcn.00405358
cmp edi, eax
jg 0x492d43
cmp byte [esi + edi - 1], 0x20
je 0x492d30
mov eax, esi
test eax, eax
je 0x492d4e
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x492e10
cmp byte [esi + edi - 1], 0x2e
je 0x492e34
jmp 0x492e10
cmp byte [esi + edi - 1], 0x2e
jne 0x492db8
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x492e34
cmp dword [esp + 8], 0xff
jg 0x492e34
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x492d9c
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x492da4
mov bl, 1
jmp 0x492db2
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x492e34
jmp 0x492e0f
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x492ddd
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 0x492e0f
inc edi
mov eax, esi
call fcn.00405358
cmp edi, eax
jg 0x492def
cmp byte [esi + edi - 1], 0x20
je 0x492ddc
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x492e07
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x492e34
jmp 0x492e1f
inc edi
mov eax, esi
call fcn.00405358
cmp edi, eax
jle 0x492d66
cmp dword [esp + 4], 3
jne 0x492e34
cmp dword [esp + 8], 0xff
jg 0x492e34
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49d9d9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov edi, dword [ecx + esi + 0x20]
mov ebp, dword [ecx + esi + 0x1c]
add edi, esi
mov ebx, dword [ecx + esi + 0x24]
add ebp, esi
add ebx, esi
jmp 0x49da02
lea edi, [edi + 4]
lea ebx, [ebx + 2]
mov eax, dword [edi]
push dword [esp + 0x1c]
add eax, esi
push eax
call fcn.0049e083
pop ecx
pop ecx
movzx ecx, word [ebx]
mov ecx, dword [ebp + ecx*4]
add ecx, esi
cmp dword [esp + 0x18], eax
jne 0x49d9fc
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
ret

Function at 0x49deb3
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
jmp 0x49deba
dec eax
test al, 3
jne 0x49deb9
xor ecx, ecx
test eax, eax
je 0x49ded8
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
xor dword [ecx + edx], esi
add ecx, 4
cmp ecx, eax
jb 0x49decd
pop esi
ret
Function at 0x4ad684
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ad78f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x69c], 0
je 0x4ad6d7
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x4ad6d7
inc eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
lea esi, [ecx + edx]
movzx ecx, byte [ebx + 0x69c]
xor byte [esi], cl
inc edx
dec eax
jne 0x4ad6c4
lea edx, [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xd8]
mov esi, eax
mov dl, 9
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x94]
test al, al
je 0x4ad771
inc dword [0x4ea7ec]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x44]
mov edx, 8
mov eax, ebx
call fcn.0040c568
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0x11
mov eax, dword [ebx + 0x4b4]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4ea7ec]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x40]
mov ecx, 5
mov eax, 0x4ad7ac
call fcn.0040dae4
mov ecx, dword [ebp - 0x10]
mov dl, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad796
lea eax, [ebp - 0x44]
call fcn.00405bd4
lea eax, [ebp - 0x10]
call fcn.00405bd4
ret
Function at 0x4c4260
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.004058d0
cmp byte [ebp - 1], 0
jne 0x4c42c0
mov eax, esi
call fcn.004057cc
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 0x4c42da
sub al, 2
jb 0x4c42e1
jmp 0x4c42e6
mov ebx, 2
jmp 0x4c42e6
mov ebx, 1
mov eax, esi
call fcn.004057cc
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4c43ca
test edi, edi
jle 0x4c4342
mov eax, esi
call fcn.004057cc
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.004057cc
mov byte [eax + ebx - 1], 0
jmp 0x4c43be
test edi, edi
jge 0x4c4388
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.004057cc
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 0x4c43be
mov eax, esi
call fcn.004057cc
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.004057cc
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4c42fe
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4c43db
sub al, 2
jb 0x4c4415
jmp 0x4c445d
cmp edi, 2
jne 0x4c43e1
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4c445d
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.004057cc
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4ea81c]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4c43f1
jmp 0x4c445d
cmp edi, 2
jne 0x4c441b
dec ebx
test ebx, ebx
jle 0x4c4458
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.004057cc
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4ea820]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4c4427
jmp 0x4c4458
inc ebx
mov eax, esi
call fcn.004057cc
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4c444b
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.00405838
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4