joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10054f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, dword [ebp + 8]
mov eax, dword [0x1007a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [0x1007b604], 0
je 0x10054f4a
mov eax, dword [0x1007b600]
add eax, 0xfffffffb
cmp eax, 1
ja 0x10054f4a
mov byte [esi + 4], 1
mov dword [esi], 2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002cad0
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [ebp - 0x28]
mov ecx, edi
call fcn.100541d0
cmp byte [edi + 4], 0
jne 0x1005501e
lea ebx, [ebp - 0x28]
mov eax, dword [ebx]
mov dword [ebp - 0x34], eax
mov ecx, ebx
call fcn.1004fa50
cmp byte [ebx + 4], 0
jne 0x1005502c
mov edx, dword [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], 0
mov ecx, ebx
mov dword [ebp - 0x30], edx
call fcn.10014de0
mov ecx, ebx
mov edx, str.Enabled
push 8
call fcn.10014f30
add esp, 4
movzx eax, byte [ebp + 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x14], 7
mov eax, ebx
jbe 0x10054fb9
mov eax, dword [ebp - 0x28]
mov ecx, 4
lea edx, [ebp - 0x2c]
push ecx
push edx
push ecx
push edi
push eax
push dword [ebp - 0x34]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov edi, eax
mov ecx, ebx
call fcn.100150f0
test edi, edi
jne 0x10055037
cmp byte [0x1007b5ec], 0
mov edi, dword [ebp - 0x30]
mov bl, byte [ebp + 0xc]
jne 0x10054fef
test bl, bl
jne 0x10055014
mov byte [0x1007b5ec], bl
mov byte [esi + 4], 0
test edi, edi
je 0x10055006
push edi
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10054f36
lea ecx, [ebp - 0x28]
call fcn.10054520
jmp 0x10054fef
mov eax, dword [ebp - 0x28]
mov byte [esi + 4], 1
mov dword [esi], eax
jmp 0x10054f36
mov eax, dword [ebp - 0x28]
mov byte [esi + 4], 1
mov dword [esi], eax
jmp 0x10055006
mov byte [esi + 4], 1
mov dword [esi], 8
mov edi, dword [ebp - 0x30]
jmp 0x10054ff9
Function at 0x100550a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x1007a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x1007b5f0], edi
jne 0x100550d9
mov byte [esi + 4], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002cad0
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x1007b5f0], edi
lea ebx, [ebp - 0x28]
mov ecx, ebx
call fcn.100541d0
cmp byte [ebx + 4], 0
jne 0x100551a3
lea ebx, [ebp - 0x28]
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
mov ecx, ebx
call fcn.1004fa50
cmp byte [ebx + 4], 0
jne 0x100551ae
mov edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], 0
mov ecx, ebx
mov dword [ebp - 0x34], edx
call fcn.10014de0
mov ecx, ebx
mov edx, str.Theme
push 6
call fcn.10014f30
add esp, 4
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x14], 7
mov eax, ebx
jbe 0x1005514a
mov eax, dword [ebp - 0x28]
mov ecx, 4
lea edx, [ebp - 0x2c]
push ecx
push edx
push ecx
xor ebx, ebx
push ebx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov edi, eax
lea ecx, [ebp - 0x28]
call fcn.100150f0
test edi, edi
jne 0x100551c2
mov byte [esi + 4], bl
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10055183
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.advapi32.dll_RegCloseKey]
test edi, edi
je 0x100550c5
mov dword [0x1007b5f0], 0
jmp 0x100550c5
mov eax, dword [ebp - 0x28]
mov byte [esi + 4], 1
mov dword [esi], eax
jmp 0x10055194
mov eax, dword [ebp - 0x28]
mov byte [esi + 4], 1
mov dword [esi], eax
push dword [ebp - 0x30]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10055194
mov dword [esi], 8
mov bl, 1
jmp 0x10055170

Function at 0x10055da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1007b624]
mov ecx, dword [0x1007a2f0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10055dc7
mov al, byte [0x1007b622]
pop ebp
ret
push 0x1007b624
call fcn.1002d432
add esp, 4
cmp dword [0x1007b624], 0xffffffff
jne 0x10055dc0
push str.MOZ_DISABLE_WALKTHESTACK
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10055e09
cmp byte [eax], 0
sete al
mov byte [0x1007b622], al
push 0x1007b624
call fcn.1002d432
add esp, 4
jmp 0x10055dc0
mov al, 1
jmp 0x10055df5
Function at 0x10065250
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x1007a00c]
xor eax, ebp
mov dword [esp + 0xc], eax
xor eax, eax
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], eax
push 8
push ecx
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x10065298
mov esi, dword [esp]
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0xc]
xor ecx, ebp
call fcn.1002cad0
mov eax, esi
mov edx, edi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
int3

Function at 0x10069240
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [0x1007b5ec], 0
je 0x1006927a
push 0x100717b8
push str.MOZ_SKELETON_UI_RESTARTING
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov eax, dword [0x1007a224]
cmp eax, 0xffffffff
je 0x10069271
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov byte [esi + 4], 0
mov eax, esi
pop esi
pop ebp
ret
mov byte [esi + 4], 1
mov dword [esi], 2
jmp 0x10069275

Function at 0x100692d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp + 0x1a]
mov dword [ebp - 0x18], eax
mov esi, dword [0x1007b674]
mov edi, dword [0x1007b670]
mov eax, edi
mov edx, esi
lock cmpxchg8b qword [0x1007b670]
xor edx, esi
xor eax, edi
or eax, edx
jne 0x100692f2
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esi, dword [0x1007b66c]
mov edi, dword [0x1007b668]
mov eax, edi
mov edx, esi
lock cmpxchg8b qword [0x1007b668]
xor edx, esi
xor eax, edi
or eax, edx
jne 0x10069318
mov eax, dword [ebp - 0x18]
and eax, 1
xchg dword [0x1007b660], eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10069350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [0x1007b67c]
mov edi, dword [0x1007b678]
mov eax, edi
mov edx, esi
lock cmpxchg8b qword [0x1007b678]
xor edx, esi
xor eax, edi
or eax, edx
jne 0x1006935c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x454832
Capabilities:
Encode data using xor

Disassembly:
out 0x40, eax
add byte [ebx + 0x2de8f8ec], cl
cld
cli
dec dword [eax - 0x3aa04ab]
mov ebp, esp
clc
call fcn.0040446a
mov byte [ebp - 5], dl
push ebp
cld
call 0x8c418dd2
xor byte [eax + 2], 1
jne 0x454835
or eax, 0x8bfffaf8
add ah, bh
mov eax, dword [eax + 0x75010260]
call fcn.0040405e
mov eax, dword [eax]
cld
mov eax, dword [eax + 0x75010288]
call fcn.0040405e
mov dl, byte [ebp - 5]
and dl, 0xfc
mov eax, dword [eax]
cld
call fcn.00476a02
cmp byte [ebp - 5], 0
jle 0x454889
mov eax, dword [ebp - 4]
call fcn.00404412
mov ebx, dword [ebp + 0xc]
adc byte [eax - 0x74ffbf19], 0xec
invalid

Function at 0x495246
Capabilities:
Encode data using xor

Disassembly:
out 0x40, eax
add byte [ebx + 0x5589f0ec], cl
clc
mov dword [ebp - 4], eax
xor eax, dword [ebp - 0x7c0bba77]
jge 0x495252
push dword [esi + edi - 0x75]
add ah, bh
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x10], eax
jmp 0x495270
cmp dword [ebp - 0x10], 0
je 0x495281
mov eax, dword [eax]
invalid
cmp dword [ebp - 0x10], 0
jne 0x495292
mov eax, dword [eax]
cld
mov eax, dword [eax + 0x60]
mov dword [ebp - 0xc], eax
jmp 0x49529b
pop es
inc ebp
invalid
mov eax, dword [eax]
hlt
Function at 0x50cf32
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov al, byte [ebp - 9]
add al, 0x41
xor edx, edx
mov dl, byte [ebp - 9]
mov byte [ebp + edx - 0x54], al
mov al, byte [ebp - 9]
add al, 0x61
xor edx, edx
mov dl, byte [ebp - 9]
mov byte [ebp + edx - 0x3a], al
inc byte [ebp - 9]
cmp byte [ebp - 9], 0x1a
jne 0x50cf43
mov byte [ebp - 9], 0
mov al, byte [ebp - 9]
add al, 0x30
xor edx, edx
mov dl, byte [ebp - 9]
mov byte [ebp + edx - 0x20], al
inc byte [ebp - 9]
cmp byte [ebp - 9], 0xa
jne 0x50cf6c
mov byte [ebp - 0x16], 0x2b
mov byte [ebp - 0x15], 0x2f
lea edx, [ebp - 0xc]
mov ecx, 3
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jne 0x50d015
xor eax, eax
mov al, byte [ebp - 0xc]
shr eax, 2
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0x10], al
mov al, byte [ebp - 0xc]
and al, 3
and eax, 0xb0bff
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0xb]
shr edx, 4
or eax, edx
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0xb]
and al, 0xf
and eax, 0xb0bff
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 0xa]
shr edx, 6
or eax, edx
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0xa]
and al, 0x3f
and eax, 0xb0bff
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x50cf8b
cmp dword [ebp - 0x14], 1
jne 0x50d058
xor eax, eax
mov al, byte [ebp - 0xc]
shr eax, 2
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0x10], al
mov al, byte [ebp - 0xc]
and al, 3
and eax, 0xb0bff
shl eax, 4
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0xf], al
mov byte [ebp - 0xe], 0x3d
mov byte [ebp - 0xd], 0x3d
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x50d0b3
cmp dword [ebp - 0x14], 2
jne 0x50d0b3
xor eax, eax
mov al, byte [ebp - 0xc]
shr eax, 2
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0x10], al
mov al, byte [ebp - 0xc]
and al, 3
and eax, 0xb0bff
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0xb]
shr edx, 4
or eax, edx
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0xb]
and al, 0xf
and eax, 0xb0bff
shl eax, 2
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], 0x3d
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50e02e
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405062
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x50e059
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x50e196
mov eax, dword [ebp - 0x10]
test eax, eax
jns 0x50e073
add eax, 3
sar eax, 2
lea eax, [eax + eax*2]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 2], 0x3d
jne 0x50e08c
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3d
jne 0x50e09c
dec dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004057ae
cmp dword [ebp - 0x14], 0
je 0x50e196
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405526
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jg 0x50e196
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax - 1]
mov al, byte [eax + 0x68bfdc]
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
mov al, byte [eax + 0x68bfdc]
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 1]
mov al, byte [eax + 0x68bfdc]
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 2]
mov al, byte [eax + 0x68bfdc]
mov byte [ebp - 0x1c], al
mov al, byte [ebp - 0x19]
and al, 0x3f
shl eax, 2
mov dl, byte [ebp - 0x1a]
and dl, 0x30
and edx, 0xb0bff
shr edx, 4
add al, dl
mov edx, dword [ebp - 0x18]
mov byte [edx], al
inc dword [ebp - 0x18]
cmp byte [ebp - 0x1b], 0x40
je 0x50e186
mov al, byte [ebp - 0x1a]
and al, 0xf
shl eax, 4
mov dl, byte [ebp - 0x1b]
and dl, 0x3c
and edx, 0xb0bff
shr edx, 2
add al, dl
mov edx, dword [ebp - 0x18]
mov byte [edx], al
inc dword [ebp - 0x18]
cmp byte [ebp - 0x1c], 0x40
je 0x50e186
mov al, byte [ebp - 0x1b]
and al, 3
shl eax, 6
mov dl, byte [ebp - 0x1c]
and dl, 0x3f
add al, dl
mov edx, dword [ebp - 0x18]
mov byte [edx], al
inc dword [ebp - 0x18]
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x50e0d1
mov esp, ebp
pop ebp
ret
Function at 0x50e19a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x50e1bd
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004057ae
cmp dword [ebp - 0x14], 0
je 0x50e33a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405526
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jg 0x50e33a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
and al, 0xfc
and eax, 0xb0bff
shr eax, 2
mov al, byte [eax + 0x68bf98]
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov eax, dword [ebp - 0xc]
inc eax
cmp eax, dword [ebp - 0x10]
jg 0x50e2f8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
and al, 3
and eax, 0xb0bff
shl eax, 4
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx]
and dl, 0xf0
and edx, 0xb0bff
shr edx, 4
add eax, edx
mov al, byte [eax + 0x68bf98]
mov edx, dword [ebp - 0x18]
mov byte [edx + 1], al
mov eax, dword [ebp - 0xc]
add eax, 2
cmp eax, dword [ebp - 0x10]
jg 0x50e2d0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx]
and al, 0xf
and eax, 0xb0bff
shl eax, 2
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx + 1]
and dl, 0xc0
and edx, 0xb0bff
shr edx, 6
add eax, edx
mov al, byte [eax + 0x68bf98]
mov edx, dword [ebp - 0x18]
mov byte [edx + 2], al
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx + 1]
and al, 0x3f
and eax, 0xb0bff
mov al, byte [eax + 0x68bf98]
mov edx, dword [ebp - 0x18]
mov byte [edx + 3], al
jmp 0x50e326
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx]
and al, 0xf
and eax, 0xb0bff
shl eax, 2
mov al, byte [eax + 0x68bf98]
mov edx, dword [ebp - 0x18]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x18]
mov byte [eax + 3], 0x3d
jmp 0x50e326
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
and al, 3
and eax, 0xb0bff
shl eax, 4
mov al, byte [eax + 0x68bf98]
mov edx, dword [ebp - 0x18]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x18]
mov byte [eax + 2], 0x3d
mov eax, dword [ebp - 0x18]
mov byte [eax + 3], 0x3d
add dword [ebp - 0x18], 4
add dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x50e20c
mov esp, ebp
pop ebp
ret

Function at 0x546cda
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x69bc64
mov eax, ebx
mov edx, 0xfffffff8
test al, 1
je 0x546cf6
shr eax, 1
xor eax, 0xedb88320
jmp 0x546cf8
shr eax, 1
inc edx
jne 0x546ce9
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x546ce2
pop ebx
ret
Function at 0x546d8a
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
or ecx, 0xffffffff
dec edx
test edx, edx
jl 0x546dbb
inc edx
xor ebx, ebx
movzx esi, byte [eax + ebx]
xor esi, ecx
and esi, 0xff
mov esi, dword [esi*4 + 0x69bc64]
shr ecx, 8
and ecx, 0xffffff
xor esi, ecx
mov ecx, esi
inc ebx
dec edx
jne 0x546d97
mov eax, ecx
pop esi
pop ebx
ret

Function at 0x557df2
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], eax
test edx, edx
jle 0x557eaf
mov ebx, dword [esp + 4]
movzx ebx, byte [ebx + 0x100]
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0x101]
mov byte [esp + 8], al
mov esi, dword [esp + 4]
mov edi, edx
dec edi
test edi, edi
jb 0x557e96
inc edi
mov dword [esp + 0xc], 0
movzx eax, bl
inc eax
and eax, 0xff
mov ebx, eax
movzx ebp, bl
movzx eax, byte [esi + ebp]
movzx edx, byte [esp + 8]
add eax, edx
and eax, 0xff
mov byte [esp + 8], al
movzx eax, byte [esp + 8]
lea edx, [esi + eax]
lea eax, [esi + ebp]
call fcn.00557d62
movzx eax, byte [esi + ebp]
movzx edx, byte [esp + 8]
movzx edx, byte [esi + edx]
add eax, edx
and eax, 0xff
mov edx, dword [esp]
mov ecx, dword [esp + 0xc]
lea ecx, [edx + ecx]
movzx eax, al
movzx eax, byte [esi + eax]
xor byte [ecx], al
inc dword [esp + 0xc]
dec edi
jne 0x557e36
mov eax, dword [esp + 4]
mov byte [eax + 0x100], bl
mov eax, dword [esp + 4]
movzx edx, byte [esp + 8]
mov byte [eax + 0x101], dl
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x558846
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], eax
mov dword [edx + 8], 0x67452301
mov dword [edx + 0xc], 0xefcdab89
mov dword [edx + 0x10], 0x98badcfe
mov dword [edx + 0x14], 0x10325476
ret

Function at 0x55a1e6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040725a
xor eax, eax
push ebp
push 0x559fd3
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00511766
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
call fcn.00403236
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.00511766
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x559fda
lea eax, [ebp - 4]
call fcn.004071e6
ret
Function at 0x57c2a6
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x69c108
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x57c2c8
shr eax, 1
xor eax, 0xedb88320
jmp 0x57c2ca
shr eax, 1
dec edx
jne 0x57c2b6
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x57c2af
mov byte [0x69c508], 1
pop esi
pop ebx
ret

Function at 0x57c2e6
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x69c508], 0
jne 0x57c2fd
call fcn.0057c2a6
mov eax, edi
dec eax
test eax, eax
jl 0x57c325
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x69c108]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x57c307
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x57ec16
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja 0x57ed61
jmp dword [ecx*4 + 0x57e9c3]
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x57edfb
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0057ddce
test eax, eax
je 0x57edfb
mov eax, ebx
call fcn.0057ee06
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x57ed94
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x57ee06
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x57ee37
dec al
je 0x57ee72
dec al
je 0x57eeb7
dec al
je 0x57ef20
jmp 0x57efaa
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x57efaa
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x57ee47
jmp 0x57efaa
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x57efaa
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x57ee82
jmp 0x57efaa
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x57efaa
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x57eee6
xor ebp, ebp
jmp 0x57eef6
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x57eeff
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x57eec7
jmp 0x57efaa
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x57efaa
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x57ef79
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0057c32e
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x57ef34
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret