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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5932e0]
xor eax, ebp
mov dword [ebp - 4], eax
sub esp, 0x18
mov ecx, esp
push 0x1f
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.SoftwarePoliciesYandexBrowser
mov byte [ecx], 0
call fcn.00409ab0
mov ecx, 0x80000002
call fcn.004090c0
add esp, 0x18
test eax, eax
je 0x4df880
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 4
push 0
push str.UpdateAllowed
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret

Function at 0x4e46d0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x60], 0
je 0x4e47b0
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
add eax, ecx
cmp ecx, eax
jb 0x4e47a6
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
push 0
push 0x8000
push eax
mov dword [esp + 0x18], eax
call fcn.00430e90
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + 8]
test edi, edi
je 0x4e47b0
xor ebx, ebx
test edi, edi
je 0x4e478e
mov ax, word [esi + 0x4c]
mov ecx, dword [esi + 0x44]
or ax, 2
movzx eax, ax
mov edx, eax
xor edx, 1
imul edx, eax
mov eax, dword [esi + 0x38]
sar edx, 8
xor dl, byte [eax + ebx]
movzx eax, dl
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x5798a0]
xor eax, ecx
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x44], eax
movzx eax, al
add eax, dword [esi + 0x48]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x48], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5798a0]
mov dword [esi + 0x4c], ecx
mov eax, dword [esi + 0x38]
mov byte [ebx + eax], dl
inc ebx
cmp ebx, edi
jb 0x4e4725
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edi
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
movzx eax, byte [ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e47c0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp ebx, 0xffffffff
je 0x4e48c8
cmp byte [esi + 0x61], 0
jne 0x4e489d
mov al, byte [esi + 0x5c]
lea ecx, [esi + 0x50]
mov byte [esi + 0x5b], al
mov edx, ecx
lea eax, [ecx + 0xc]
mov dword [esp + 0x10], edx
cmp eax, ecx
mov dword [esp + 0x14], 0
sbb edi, edi
and edi, 0xfffffff4
add edi, 0xc
cmp ecx, eax
ja 0x4e488c
mov bl, byte [edx]
mov ax, word [esi + 0x4c]
mov ecx, dword [esi + 0x44]
or ax, 2
movzx edx, ax
movzx eax, bl
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x5798a0]
xor eax, ecx
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x44], eax
movzx eax, al
add eax, dword [esi + 0x48]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x48], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5798a0]
mov eax, edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x4c], ecx
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
sar ecx, 8
xor cl, bl
mov byte [edx], cl
inc edx
mov dword [esp + 0x10], edx
cmp eax, edi
jne 0x4e4810
mov ebx, dword [ebp + 8]
lea ecx, [esi + 0x50]
push 0
push 0xc
push ecx
mov ecx, dword [esi + 0x40]
call fcn.0041c290
mov byte [esi + 0x61], 1
push ebx
mov ecx, esi
call fcn.004e5f80
mov ecx, dword [esi + 0x40]
push 0
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
call fcn.0041c290
movzx eax, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4e5f80
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ax, word [edi + 0x4c]
mov edx, dword [edi + 0x44]
or ax, 2
movzx esi, ax
movzx eax, byte [ebp + 8]
xor eax, edx
mov ecx, dword [edi + 0x4c]
movzx eax, al
shr edx, 8
mov eax, dword [eax*4 + 0x5798a0]
xor eax, edx
mov dword [edi + 0x44], eax
movzx eax, al
add eax, dword [edi + 0x48]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 0x48], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5798a0]
mov dword [edi + 0x4c], ecx
mov ecx, esi
mov eax, esi
xor eax, 1
imul eax, ecx
pop edi
pop esi
pop ebx
sar eax, 8
xor al, byte [ebp + 8]
pop ebp
ret 4
Function at 0x4e5ff0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x4e600c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0xc
lea edi, [esi + 0x50]
push edi
call fcn.00430e90
lea eax, [edi + 0xc]
mov dword [esp + 0xc], 0
cmp eax, edi
sbb ebx, ebx
and ebx, 0xfffffff4
add ebx, 0xc
cmp edi, eax
ja 0x4e60a0
mov ax, word [esi + 0x4c]
lea edi, [edi + 1]
mov ecx, dword [esi + 0x44]
or ax, 2
movzx eax, ax
mov edx, eax
xor edx, 1
imul edx, eax
sar edx, 8
xor dl, byte [edi - 1]
movzx eax, dl
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x5798a0]
xor eax, ecx
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x44], eax
movzx eax, al
add eax, dword [esi + 0x48]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x48], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5798a0]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esi + 0x4c], ecx
mov byte [edi - 1], dl
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x4e6032
mov al, byte [esi + 0x5c]
mov byte [esi + 0x60], 1
cmp al, byte [esi + 0x5b]
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e6310
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x139c
call fcn.005161e0
mov eax, dword [0x5932e0]
xor eax, esp
mov dword [esp + 0x1398], eax
mov eax, dword [ebp + 8]
mov edx, 0x34567890
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x12345678
mov esi, 0x23456789
mov dword [edi + 0x44], 0x12345678
mov dword [edi + 0x48], 0x23456789
mov dword [edi + 0x4c], 0x34567890
mov al, byte [eax]
nop dword [eax]
movzx eax, al
mov ecx, ebx
xor eax, ebx
shr ecx, 8
movzx eax, al
mov ebx, dword [eax*4 + 0x5798a0]
xor ebx, ecx
movzx eax, bl
add eax, esi
mov dword [edi + 0x44], ebx
imul esi, eax, 0x8088405
inc esi
mov eax, esi
mov dword [edi + 0x48], esi
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x5798a0]
mov eax, dword [ebp + 8]
inc eax
mov dword [edi + 0x4c], edx
mov dword [ebp + 8], eax
mov al, byte [eax]
test al, al
jne 0x4e6360
call fcn.004fea0d
mov esi, eax
mov dword [esp + 0x139c], 0xffffffff
mov dword [esp + 0x1c], esi
mov ecx, 1
mov eax, esi
shr eax, 0x1e
xor eax, esi
imul esi, eax, 0x6c078965
add esi, ecx
mov dword [esp + ecx*4 + 0x1c], esi
inc ecx
cmp ecx, 0x270
jl 0x4e63c7
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x270
call fcn.004e6550
lea ecx, [esp + 0x18]
mov dword [edi + 0x50], eax
call fcn.004e6550
lea ecx, [esp + 0x18]
mov dword [edi + 0x54], eax
call fcn.004e6550
push 0x8000
mov dword [edi + 0x58], eax
call fcn.00515233
mov dword [edi + 0x38], eax
add esp, 4
lea ecx, [eax + 0x8000]
mov eax, dword [edi + 0xc]
mov dword [eax], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x13a4]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor ecx, esp
mov al, 1
call fcn.00514e1d
mov esp, ebp
pop ebp
ret 4
Function at 0x4e6550
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x4e65ae
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4e6570
mov eax, dword [edi]
jmp 0x4e6699
cmp eax, 0x4e0
jb 0x4e6699
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x4e65d0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x4e6620
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e7b20
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5599fb
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5932e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004e7900
push ecx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.004454d0
push ecx
push 0x30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xe4]
call fcn.004e7cd0
cmp dword [ebp - 0x94], 0
je 0x4e7ca0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xe4]
push eax
call fcn.004e12a0
lea ecx, [ebp - 0xe4]
call fcn.0041aec0
mov edi, dword [ebp + 8]
cmp byte [edi + 0x40], 0
je 0x4e7bd1
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x4e7bd1
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov dword [edi + 0x3c], 0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4e7bdb
mov eax, dword [esi]
push eax
call fcn.005215bd
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x4e7bec
mov esi, dword [esi]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00525707
add esp, 8
lea ecx, [ebp - 0xe4]
call fcn.004126d0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4e7c44
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e7c3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e7cbb
push edx
push ecx
call fcn.005150f8
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4e7c85
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4e7c85
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4e7c85
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push str.cannot_save_zip_file
lea ecx, [ebp - 0x34]
call fcn.0040a550
push 0x591060
lea eax, [ebp - 0x34]
push eax
call fcn.005167cc
call fcn.00519e03
int3
Function at 0x4ec930
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4ec93b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004ec950
Function at 0x4f0b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x100
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
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 + 0xc]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x4f0b56
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f0cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
push edi
lea edi, [eax + 1]
test edx, edx
je 0x4f0d3f
push ebx
mov ebx, dword [ebp + 8]
push esi
nop dword [eax + eax]
movzx edx, word [ecx + edi*2]
mov esi, ebx
and esi, 1
shr edx, 4
mov ecx, esi
shr ebx, 1
neg ecx
add edi, edi
sar ecx, 4
or edi, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + edx*4]
sub dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
jne 0x4f0d10
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4f0ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], edi
movzx esi, word [edi]
movzx ecx, word [edi + 2]
mov eax, esi
shr eax, 4
xor esi, 0x7f0
shr esi, 4
mov eax, dword [ebx + eax*4]
mov dword [ebp - 0x10], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, dword [ebx + esi*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + ecx*4]
add eax, dword [ebx + esi*4]
xor esi, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], esi
cmp esi, dword [ebp + 8]
jae 0x4f1034
mov edx, esi
mov dword [ebp - 0xc], 0
mov esi, dword [ebp - 0xc]
or edx, 8
nop dword [eax]
mov eax, dword [ebp - 8]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x4f0f30
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp - 4]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp - 4], esi
cmp esi, 8
jb 0x4f0f14
cmp esi, 0x10
jae 0x4f0fda
lea eax, [esi - 8]
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
cmp esi, dword [ebp + 8]
jae 0x4f1034
mov edx, eax
xor esi, esi
or edx, 8
mov eax, dword [ebp - 8]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x4f0f90
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp - 4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], eax
cmp esi, 0x10
jb 0x4f0f80
cmp esi, dword [ebp + 8]
jae 0x4f1034
lea eax, [esi - 0x10]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0x18]
xor edi, edi
or eax, 0x100
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [esi + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x4f0ff0
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp + 8]
jb 0x4f0fe5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f2bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
mov dword [ebp - 0x10], ecx
lea edx, [ecx + 0x32550]
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0xc], edx
push edi
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], 4
mov edi, eax
lea eax, [ebx + 1]
nop
movzx edx, word [ecx + eax*2 + 0x32bf4]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edx*4 + 0x30ea0]
sub dword [ebp - 4], 1
jne 0x4f2be0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [edx], ebx
add edx, 4
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jb 0x4f2bd0
pop edi
pop esi
mov dword [ecx + 0x32590], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f2c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5932e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 4
mov ebx, ecx
push edi
mov dword [ebp - 0x208], eax
movzx edi, byte [ebx + eax + 0x306a0]
mov edx, edi
mov esi, edi
shr edx, 1
and esi, 1
dec edx
or esi, 2
mov ecx, edx
shl esi, cl
lea ecx, [ebx + 0x30ea0]
sub eax, esi
sub esi, edi
push ecx
lea ecx, [ebx + 0x32b0e]
push eax
lea ecx, [ecx + esi*2]
call fcn.004f0cf0
mov ecx, dword [ebp - 0x208]
add esp, 8
mov dword [ebp + ecx*4 - 0x204], eax
mov eax, ecx
inc eax
mov dword [ebp - 0x208], eax
cmp eax, 0x80
jb 0x4f2c63
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x21c], 4
sub ecx, ebx
lea esi, [ebx + 0x31950]
lea eax, [ebx + 0x32910]
mov dword [ebp - 0x20c], esi
lea edx, [ebx + 0x31d58]
mov dword [ebp - 0x208], eax
sub ecx, 0x31d50
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x218], ecx
nop dword [eax + eax]
mov eax, dword [ebx + 0x32594]
xor edi, edi
mov dword [ebp - 0x214], edi
test eax, eax
je 0x4f2d72
mov eax, edi
xor esi, esi
mov edi, dword [ebp - 0x208]
or eax, 0x40
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [edi + edx*2]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [ebx + ecx*4 + 0x30ea0]
cmp eax, 1
jne 0x4f2d20
mov edi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x20c]
mov dword [eax + edi*4], esi
inc edi
mov eax, dword [ebx + 0x32594]
mov dword [ebp - 0x214], edi
cmp edi, eax
jb 0x4f2d12
mov esi, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
mov ecx, 0xe
cmp eax, ecx
jbe 0x4f2d96
nop dword [eax + eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [ebx + 0x32594]
jb 0x4f2d80
mov eax, dword [esi]
mov ecx, 4
mov edi, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [ebx + ecx + 0x306a0]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + edi - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x4f2dc0
mov edx, dword [ebp - 0x210]
add esi, 0x100
sub dword [ebp - 0x208], 0xffffff80
add edx, 0x200
sub edi, 0x200
mov dword [ebp - 0x20c], esi
sub dword [ebp - 0x21c], 1
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x218], edi
jne 0x4f2d00
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 0x3bcf8], 0
xor ecx, ebp
pop ebx
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
Function at 0x4f4410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 4], edx
cmp dword [esi], 0
je 0x4f4428
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea ecx, [esi + 0x30]
call fcn.004f6240
test eax, eax
jne 0x4f4523
push eax
push eax
push eax
push eax
mov dword [esi + 0x28], 1
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x14], eax
mov edi, 1
test eax, eax
jne 0x4f446c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x4f4523
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x4f4496
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x4f4523
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x4f44bc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x4f4523
mov ebx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
push ebx
mov edx, ebx
call fcn.004f6200
add esp, 4
test eax, eax
jne 0x4f4523
push ebx
lea ecx, [esi + 0x24]
xor edx, edx
call fcn.004f6200
add esp, 4
test eax, eax
jne 0x4f4523
lea eax, [ebp - 8]
mov dword [esi + 4], edi
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
push 0
push 0
call fcn.00521d2e
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4f4514
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
cmovne edi, eax
test edi, edi
jne 0x4f4523
pop edi
pop ebx
mov dword [esi], 1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.004f42e0
pop edi
pop ebx
mov eax, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f6540
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov bl, byte [ecx + 0x34]
push esi
mov esi, dword [ecx + 0x38]
test esi, esi
jle 0x4f6573
mov edx, dword [ecx + 0x260]
push edi
movzx edi, bl
mov eax, edx
shl edx, 8
shr eax, 0x18
xor eax, edi
xor edx, dword [eax*4 + 0x57cc88]
sub esi, 1
jne 0x4f6556
mov dword [ecx + 0x260], edx
pop edi
mov eax, dword [ecx + 0x34]
mov byte [ecx + eax + 0x58], 1
mov edx, dword [ecx + 0x38]
mov eax, edx
sub eax, 1
je 0x4f6620
sub eax, 1
je 0x4f6605
sub eax, 1
je 0x4f65de
mov byte [edx + ecx + 0x54], 1
mov edx, dword [ecx + 0x24]
mov eax, dword [ecx + 0x44]
mov byte [edx + eax], bl
inc dword [ecx + 0x44]
mov edx, dword [ecx + 0x44]
mov eax, dword [ecx + 0x24]
mov byte [edx + eax], bl
inc dword [ecx + 0x44]
mov edx, dword [ecx + 0x44]
mov eax, dword [ecx + 0x24]
mov byte [edx + eax], bl
inc dword [ecx + 0x44]
mov edx, dword [ecx + 0x44]
mov eax, dword [ecx + 0x24]
mov byte [edx + eax], bl
mov esi, dword [ecx + 0x44]
inc esi
mov dword [ecx + 0x44], esi
mov dl, byte [ecx + 0x38]
mov eax, dword [ecx + 0x24]
sub dl, 4
mov byte [esi + eax], dl
inc dword [ecx + 0x44]
pop esi
pop ebx
ret
mov eax, dword [ecx + 0x44]
mov edx, dword [ecx + 0x24]
pop esi
mov byte [edx + eax], bl
inc dword [ecx + 0x44]
mov edx, dword [ecx + 0x44]
mov eax, dword [ecx + 0x24]
mov byte [edx + eax], bl
inc dword [ecx + 0x44]
mov edx, dword [ecx + 0x44]
mov eax, dword [ecx + 0x24]
mov byte [edx + eax], bl
inc dword [ecx + 0x44]
pop ebx
ret
mov eax, dword [ecx + 0x44]
mov edx, dword [ecx + 0x24]
pop esi
mov byte [edx + eax], bl
inc dword [ecx + 0x44]
mov edx, dword [ecx + 0x44]
mov eax, dword [ecx + 0x24]
mov byte [edx + eax], bl
inc dword [ecx + 0x44]
pop ebx
ret
mov eax, dword [ecx + 0x44]
mov edx, dword [ecx + 0x24]
pop esi
mov byte [edx + eax], bl
inc dword [ecx + 0x44]
pop ebx
ret
Function at 0x502470
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
sub edi, ecx
xor esi, esi
cmp ecx, dword [esp + 0x14]
cmova edi, ebx
test edi, edi
je 0x5024b8
nop
movsx eax, byte [ecx]
lea ecx, [ecx + 1]
imul eax, eax, 0xcc9e2d51
inc edx
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
rol esi, 0xd
add esi, 0xfaddaf14
lea esi, [esi + esi*4]
cmp edx, edi
jne 0x502490
mov eax, 0x4e25
mov ecx, esi
mul esi
pop edi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x1e
imul ecx, ecx, 0x7fffd8ee
sub esi, ecx
lea eax, [esi + 0x2710]
pop esi
pop ebx
ret