joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7aba
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x676261
call fcn.00629210
sub esp, 0x84
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [0x77391c], 0x7d0
mov esi, 0x77390c
jb 0x4b7b26
push 0x64
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004200b1
mov ecx, eax
call fcn.0041f911
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0041f8ef
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004200b1
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0041f8ef
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004bc468
push 0x50
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.0062e000
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.004b6909
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004bc78f
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.004b6b37
mov ecx, esi
call fcn.0052200a
mov esi, eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004232e6
lea eax, [ebp + 0x20]
push eax
lea ecx, [esi + 0x18]
call fcn.0040a1e2
lea eax, [ebp + 0x38]
push eax
lea ecx, [esi + 0x30]
call fcn.004232e6
mov eax, dword [ebp + 0x50]
push edi
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x54]
push 0x114
mov dword [esi + 0x4c], eax
call fcn.004871ec
push edi
push 1
lea ecx, [ebp + 8]
call fcn.0042386b
push edi
push 1
lea ecx, [ebp + 0x20]
call fcn.0040abbf
push edi
push 1
lea ecx, [ebp + 0x38]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x50

Function at 0x4bf244
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x676930
call fcn.00629210
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], str.directory
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
mov dword [esi], 0x6a6540
mov dword [esi + 8], 0x6a655c
mov dword [esi + 0xc], ebx
call fcn.004c3f2d
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0xf
mov byte [esi + 0x58], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4cabd8
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x677383
call fcn.00629210
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x94], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], ebx
and byte [esi + 0xc0], 0xf8
lea edi, [esi + 0x64]
push 0xa
pop ecx
xor eax, eax
mov byte [ebp - 4], 1
push 0x58
rep stosd dword es:[edi], eax
lea eax, [esi + 4]
push ebx
push eax
call fcn.0062e000
push 4
mov dword [esi + 0xac], 0x186a0
call fcn.006291d8
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4cac80
push 0x4cad17
push 0x4cad2a
push 0xf
push 0x20
push 0x18
push 0x4f
call fcn.0052dbcf
mov dword [edi], eax
jmp 0x4cac82
mov edi, ebx
mov ecx, dword [ebp - 0xc]
mov eax, 0x100000
mov dword [esi + 0xa8], edi
mov dword [esi + 0x28], 0x52e2e0
mov dword [esi + 0x2c], 0x52e300
mov dword [esi + 0x30], 0x52e2cc
mov dword [esi + 0x34], 0x52e26a
mov dword [esi + 0x38], 0x52e2d7
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov eax, esi
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e3bd3
Capabilities:
Encode data using xor

Disassembly:
push ebp
sub esp, 0x18
mov eax, 0x677fec
call fcn.00629210
sub esp, 0xf0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp + 0x18], esi
mov ebx, dword [esi + 0x354]
call fcn.004e3d7e
mov esi, dword [esi + 0x140]
lea edi, [ebp + 4]
push 5
pop ecx
mov dword [ebp], 0x32716572
add esi, 8
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xfc]
call fcn.004651cd
and dword [ebp - 4], 0
lea eax, [ebp]
push 0x18
push eax
lea ecx, [ebp - 0xfc]
call fcn.00465169
push 5
pop ecx
mov esi, eax
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
push 5
pop ecx
mov esi, ebx
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov ecx, edi
mov eax, dword [ebx + ecx + 0x14]
xor dword [ebp + ecx - 0x74], eax
add ecx, 4
cmp ecx, 0x14
jb 0x4e3c38
movzx eax, byte [0x74d05c]
mov esi, dword [ebp + 0x18]
mov ecx, esi
shr eax, 2
not eax
mov dword [ebp - 0x58], edi
and eax, 1
mov dword [ebp - 0x60], edi
or al, 2
mov dword [ebp - 0x5c], edi
mov byte [ebp - 0x55], al
mov byte [ebx], al
lea eax, [ebp - 0x50]
push dword [esi + 0x140]
mov dword [ebp - 0x54], 0x44000000
push eax
call fcn.004ddfd1
mov eax, dword [esi + 0x140]
mov ecx, esi
push 0x14
add eax, 8
push eax
call fcn.004e4f94
lea eax, [ebx + 0xc]
push eax
push 0x54
lea eax, [ebp - 0x60]
push eax
call fcn.005651b4
lea eax, [ebx + 0x114]
mov dword [ebx + 5], edi
push eax
lea ecx, [ebx + 1]
push 8
push ecx
mov dword [ecx], edi
call fcn.005651b4
push edi
push 0x7c
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00475a54
lea ecx, [ebp - 0xfc]
call fcn.00409944
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x1c]
pop ebp
ret

Function at 0x4ea81f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x678371
call fcn.00629210
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebx], 0x6aeb24
mov dword [ebp - 4], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x14]
push 5
pop ecx
lea esi, [ebp + 0xc]
mov byte [ebp - 4], 1
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [ebx + 0x10], eax
push edi
call fcn.0048f232
mov ecx, eax
mov esi, edx
mov eax, dword [0x76d69c]
cdq
add ecx, eax
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x28], ecx
adc esi, edx
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], 0xea60
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], edi
lea esi, [ebx + 0x4c]
mov dword [esi], 0x6aea1c
push 0x6aeb9c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.0046e056
push esi
push eax
lea ecx, [ebx + 0x50]
mov byte [ebp - 4], 4
call fcn.00534bd8
push edi
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0042386b
push 0x1388
call fcn.0045b411
mov ecx, ebx
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x8c], edi
call fcn.004eba74
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4fd2dc
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x678fb6
call fcn.00629210
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0050d107
xor ebx, ebx
mov dword [esi + 0xc], 0x6b0b5c
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], 0x68ea80
mov dword [esi + 0x14], ebx
mov eax, dword [ebp + 0xc]
mov dl, byte [ebp + 8]
mov dword [esi], 0x6b0be0
mov dword [esi + 0xc], 0x6b1368
mov dword [esi + 0x10], 0x6b1140
mov byte [esi + 0x18], dl
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], ebx
mov byte [esi + 0x30], bl
mov ecx, dword [eax]
movzx eax, dl
push eax
push ecx
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.004f978a
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
push 0x779268
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x2c], ebx
call dword [0x68d454]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5114d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x18]
jmp 0x5114f4
mov ecx, dword [esi]
push 0xffffffffffffffff
mov ecx, dword [ecx + 0xd8]
call fcn.004fb996
add esi, 4
cmp esi, dword [edi + 0x1c]
jne 0x5114e2
push dword [esp + 8]
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x24]
push esi
mov dword [edi + 0x1c], eax
push dword [esi + 4]
push dword [esi]
call fcn.0050ecfe
mov eax, dword [esi]
push 1
mov dword [esi + 4], eax
push dword [edi + 0x3c]
call fcn.0045b404
xor eax, eax
lea ecx, [edi + 0x78]
push eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
call fcn.004fca52
pop edi
pop esi
pop ecx
ret

Function at 0x52b665
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x488
push ebx
push ebp
push esi
push edi
push 0
push 0x20
push dword [esp + 0x4b8]
lea eax, [esp + 0x24]
push eax
call fcn.00551829
mov al, byte [esp + 0x37]
mov edx, dword [esp + 0x4a8]
and al, 0x3f
and byte [esp + 0x18], 0xf8
or al, 0x40
mov edi, dword [esp + 0x4ac]
mov ecx, edx
add ecx, 0x40
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x4a0]
mov ebx, edi
adc ebx, 0
mov dword [esp + 0x14], ecx
xor esi, esi
mov dword [esp + 0x10], ebx
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x49c]
test edi, edi
jb 0x52b6f4
ja 0x52b6d6
test edx, edx
je 0x52b6f4
mov ebp, dword [esp + 0x4a4]
mov al, byte [ecx + ebp]
mov byte [ebx + ecx + 0x40], al
add ecx, 1
adc esi, 0
cmp esi, edi
jb 0x52b6dd
ja 0x52b6f4
cmp ecx, edx
jb 0x52b6dd
xor ecx, ecx
lea esi, [ebx + 0x20]
xor ebp, ebp
mov al, byte [esp + ecx + 0x38]
mov byte [esi + ecx], al
add ecx, 1
adc ebp, 0
jne 0x52b70f
cmp ecx, 0x20
jb 0x52b6fb
push 0
pop ebp
add edx, 0x20
lea eax, [esp + 0x118]
adc edi, ebp
push edi
push edx
push esi
push eax
call fcn.00551829
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x19c]
push eax
call fcn.00551cea
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x29c]
push eax
call fcn.0055253d
lea eax, [esp + 0x298]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.005524cf
mov ecx, ebp
mov edx, ebp
mov al, byte [esp + ecx + 0x58]
mov byte [ecx + ebx], al
add ecx, 1
adc edx, ebp
jne 0x52b77a
cmp ecx, 0x20
jb 0x52b767
push dword [esp + 0x10]
mov eax, dword [esp + 0x4b4]
push dword [esp + 0x18]
add eax, 0x20
push ebx
push eax
push ebx
lea eax, [esp + 0x16c]
push eax
call fcn.0052b96f
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00551cea
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x21c]
push eax
call fcn.00551ca9
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00551d1e
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00551c5b
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00551da4
mov ecx, ebp
mov edx, ebp
mov al, byte [esp + ecx + 0x78]
mov byte [esi + ecx], al
add ecx, 1
adc edx, ebp
jne 0x52b818
cmp ecx, 0x20
jb 0x52b805
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x488
ret 0x18
Function at 0x52dd88
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor edx, edx
push edi
mov edi, dword [esp + 0xc]
cmp esi, 4
jb 0x52ddb0
mov ecx, esi
shr ecx, 2
mov eax, dword [edi]
sub esi, 4
xor edx, eax
add edi, 4
rol edx, 0xd
sub ecx, 1
jne 0x52dd9e
test esi, esi
je 0x52ddc2
movzx ecx, byte [edi]
xor edx, ecx
inc edi
rol edx, 8
sub esi, 1
jne 0x52ddb4
pop edi
mov eax, edx
pop esi
ret 8

Function at 0x53440d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [0x77af0c]
or edx, 0xffffffff
test esi, esi
jne 0x53443c
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
cmp eax, 4
jb 0x53447b
shr eax, 2
mov ecx, dword [esi]
lea esi, [esi + 4]
crc32 edx, ecx
sub eax, 1
jne 0x53442b
jmp 0x53447b
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x53447b
push ebx
mov ebx, dword [esp + 0xc]
test bl, 7
je 0x534462
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x534449
test ecx, ecx
je 0x53447a
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x534466
pop ebx
not edx
mov eax, edx
pop esi
ret 8

Function at 0x54538c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x67d541
call fcn.00629210
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
and dword [edi + 4], 0
mov dword [edi + 8], 0x6a303c
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xc]
push 0xffffffffffffffff
mov dword [edi], 0x6b8aa0
mov dword [edi + 8], 0x6b8aac
push dword [esi + 0xd8]
mov byte [ebp - 4], 2
call fcn.004f978a
mov eax, dword [ebp + 0x18]
lea ecx, [edi + 0x38]
or dword [edi + 0x24], 0xffffffff
or dword [edi + 0x28], 0xffffffff
and dword [edi + 0x2c], 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x34], eax
lea eax, [ebp + 0xb]
push eax
mov dword [ebp + 8], ecx
lea eax, [ebp + 0x18]
fldz
push eax
fstp dword [ebp + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x30], esi
call fcn.00523f38
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x58]
call fcn.004951d5
lea ecx, [ebp + 0x20]
call fcn.00528a13
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x40
Function at 0x547ea3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x67d779
call fcn.00629210
sub esp, 0x18
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, ecx
push 8
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00547cc9
and dword [ebp - 4], 0
push 0x14
mov dword [ebx], 0x6b8c4c
call fcn.006291d8
pop ecx
mov dword [ebp + 0x24], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x547f05
push 0x6b8af4
push 8
mov ecx, eax
call fcn.005477fa
jmp 0x547f07
xor eax, eax
mov dword [ebx + 0x6c], eax
mov ebx, dword [eax + 0x10]
push 0x6b9250
push 0x20
mov byte [ebp - 4], 0
mov edi, dword [ebx + 0x20]
push edi
call fcn.005535f5
add esp, 0xc
add esi, 0x20
add edi, 3
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x24], 0x17
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0xc]
mov byte [eax], 1
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00549ac2
mov eax, dword [ebx + 0x6c]
push 0x6b9250
push 0x20
mov ebx, dword [eax + 0x10]
mov edi, dword [ebx + 0x4c]
push edi
call fcn.005535f5
add esp, 0xc
lea esi, [ebp - 0x24]
add edi, 3
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x50], 0x17
pop edi
pop esi
mov eax, dword [ecx + 0x6c]
pop ebx
mov eax, dword [eax + 0xc]
mov byte [eax + 1], 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x549ac2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor ecx, ecx
push esi
mov esi, dword [esp + 8]
mov eax, ecx
xor eax, 3
mov al, byte [eax + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x14
jne 0x549acd
pop esi
ret 8
Function at 0x551b85
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
add eax, 2
push esi
mov esi, dword [esp + 0x18]
mov ebx, eax
push edi
mov edi, ebp
push 0x1f
sub edi, esi
pop edx
mov cl, byte [edi + esi]
mov al, byte [esi]
and cl, 3
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 2], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 1], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx], cl
lea ebx, [ebx + 4]
mov ecx, dword [edi + esi]
mov eax, dword [esi]
lea esi, [esi + 4]
shr ecx, 6
and cl, 3
shr eax, 6
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 3], cl
sub edx, 1
jne 0x551ba2
mov cl, byte [ebp + 0x7c]
mov edx, dword [esp + 0x1c]
and cl, 3
mov ebx, dword [esp + 0x18]
shl cl, 2
pop edi
mov al, byte [edx + 0x7c]
and al, 3
xor cl, al
mov byte [ebx + 0x7c], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx + 0x7d], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
pop esi
xor cl, al
pop ebp
mov byte [ebx + 0x7e], cl
pop ebx
pop ecx
ret 0xc

Function at 0x551dbf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
lea ebx, [edx + 2]
push edi
push 0xa
pop ebp
lea edi, [esi + 4]
mov al, byte [edi - 4]
and al, 7
mov byte [ebx - 2], al
mov eax, dword [edi - 4]
shr eax, 3
and al, 7
mov byte [ebx - 1], al
mov ecx, dword [edi - 4]
shr ecx, 6
and cl, 7
mov byte [ebx], cl
mov al, byte [edi]
and al, 1
shl al, 2
xor al, cl
mov byte [ebx], al
lea ebx, [ebx + 8]
mov eax, dword [edi]
shr eax, 1
and al, 7
mov byte [ebx - 7], al
mov eax, dword [edi]
shr eax, 4
and al, 7
mov byte [ebx - 6], al
mov ecx, dword [edi]
lea edi, [edi + 0xc]
shr ecx, 7
and cl, 7
mov byte [ebx - 5], cl
mov al, byte [edi - 8]
and al, 3
add al, al
xor al, cl
mov byte [ebx - 5], al
mov eax, dword [edi - 8]
shr eax, 2
and al, 7
mov byte [ebx - 4], al
mov eax, dword [edi - 8]
shr eax, 5
and al, 7
mov byte [ebx - 3], al
sub ebp, 1
jne 0x551dd4
mov al, byte [esi + 0x78]
and al, 7
mov byte [edx + 0x50], al
mov eax, dword [esi + 0x78]
shr eax, 3
and al, 7
mov byte [edx + 0x51], al
mov ecx, dword [esi + 0x78]
shr ecx, 6
and cl, 7
mov byte [edx + 0x52], cl
mov al, byte [esi + 0x7c]
and al, 1
shl al, 2
xor al, cl
mov byte [edx + 0x52], al
mov eax, dword [esi + 0x7c]
shr eax, 1
and al, 7
mov byte [edx + 0x53], al
mov eax, dword [esi + 0x7c]
shr eax, 4
and al, 7
xor ebx, ebx
mov byte [edx + 0x54], al
mov esi, ebx
mov cl, byte [esi + edx]
add cl, bl
mov al, cl
and cl, 7
sar al, 3
add byte [esi + edx + 1], al
mov byte [esi + edx], cl
sar cl, 2
mov bl, cl
mov al, cl
shl al, 3
sub byte [esi + edx], al
inc esi
cmp esi, 0x54
jl 0x551e8d
add byte [edx + 0x54], bl
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x551ebe
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
xor ecx, ecx
mov edx, ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ebx, 0x6b93e8
mov ebp, ecx
sub ebx, edi
add edx, dword [ebx + edi]
mov esi, dword [edi]
mov al, byte [edi]
sub esi, edx
sub al, dl
shr esi, 0x1f
mov byte [esp + ebp + 0x10], al
lea edi, [edi + 4]
inc ebp
mov edx, esi
cmp ebp, 0x20
jl 0x551ed6
mov edx, dword [esp + 0x34]
dec esi
movzx eax, byte [esp + ecx + 0x10]
xor eax, dword [edx + ecx*4]
and eax, esi
xor dword [edx + ecx*4], eax
inc ecx
cmp ecx, 0x20
jl 0x551ef8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x55da18
Capabilities:
Encode data using xor

Disassembly:
movzx edx, byte [esp + 0xc]
mov ecx, dword [esp + 4]
neg edx
push esi
mov esi, dword [esp + 0xc]
push edi
push 0x20
sub esi, ecx
pop edi
mov eax, dword [esi + ecx]
xor eax, dword [ecx]
and eax, edx
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edi, 1
jne 0x55da2e
pop edi
pop esi
ret 0xc

Function at 0x55da44
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push 0x1e
pop edi
mov ebx, dword [esi + 0x7c]
mov ecx, edi
mov edx, ebx
xor edx, 0x7f
dec edx
shr edx, 0x1f
mov eax, dword [esi + ecx*4]
xor eax, 0xff
dec eax
shr eax, 0x1f
and edx, eax
dec ecx
test ecx, ecx
jg 0x55da5d
mov ecx, dword [esi]
mov ebp, 0xed
sub ecx, ebp
not ecx
shr ecx, 0x1f
and ecx, edx
neg ecx
mov eax, ecx
and eax, 0x7f
sub ebx, eax
movzx eax, cl
mov dword [esi + 0x7c], ebx
sub dword [esi + edi*4], eax
dec edi
test edi, edi
jg 0x55da8f
and ecx, ebp
sub dword [esi], ecx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x55e379
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
mov eax, esi
xor ebx, ebx
mov dword [esp + 0x14], eax
test esi, esi
je 0x55e411
push edi
dec esi
cmp dword [esp + 0x28], 0
mov dword [esp + 0x24], esi
je 0x55e3a6
call dword [esp + 0x28]
mov esi, dword [esp + 0x10]
push 8
pop eax
dec eax
mov dword [esp + 0x14], eax
call fcn.00644642
mov edi, eax
jmp 0x55e3be
xor ebp, 1
call fcn.00644642
cmp edi, eax
je 0x55e3bb
call fcn.00644642
mov edi, eax
call fcn.00644642
cmp edi, eax
jne 0x55e3e7
xor esi, 1
call fcn.00644642
cmp edi, eax
je 0x55e3d7
mov dword [esp + 0x10], esi
cmp ebp, esi
je 0x55e3b2
mov eax, dword [esp + 0x14]
add ebx, ebx
or ebx, ebp
test eax, eax
jne 0x55e3ad
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov byte [eax], bl
inc eax
xor ebx, ebx
mov dword [esp + 0x20], eax
test esi, esi
jne 0x55e396
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc

Function at 0x55e4ec
Capabilities:
Create thread

Disassembly:
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
call 0x55e4ec
jmp 0x55e4ec
push 0
push 0x400
mov dword [0x7a9e78], 0
push 0x55e49f
mov dword [0x7a9e6c], 1
call fcn.006447fa
add esp, 0xc
push 0x10
call dword [0x68d3c8]
push 1
mov dword [0x7a9e6c], 0
call dword [0x68d3c8]
mov eax, dword [0x7a9e78]
mov ecx, dword [0x7a9e78]
shr eax, 3
xor ecx, eax
mov eax, dword [0x7a9e74]
shr ecx, 3
xor eax, ecx
xor dword [0x7a9e78], eax
and dword [0x7a9e78], 7
mov eax, dword [0x7a9e78]
mov dword [0x7a9e74], eax
mov eax, dword [0x7a9e70]
mov ecx, dword [0x7a9e78]
shl eax, 3
xor ecx, eax
mov dword [0x7a9e70], ecx
mov eax, dword [0x7a9e70]
ret

Function at 0x564b22
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
ret 4
Function at 0x5651b4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 4], ebx
push edi
mov edi, dword [esp + 0x18]
mov dh, byte [edi]
mov al, byte [edi + 4]
test ebx, ebx
je 0x56520c
push ebp
mov ebp, dword [esp + 0x14]
push esi
inc dh
movzx esi, dh
mov dl, byte [esi + edi + 8]
add al, dl
movzx ecx, al
mov byte [esp + 0x1c], al
mov al, byte [ecx + edi + 8]
mov byte [esi + edi + 8], al
mov byte [ecx + edi + 8], dl
mov al, byte [esi + edi + 8]
add al, dl
movzx eax, al
mov al, byte [eax + edi + 8]
xor byte [ebp], al
inc ebp
mov al, byte [esp + 0x1c]
sub ebx, 1
jne 0x5651d2
pop esi
pop ebp
movzx ecx, dh
mov dword [edi], ecx
movzx ecx, al
mov eax, dword [esp + 8]
mov dword [edi + 4], ecx
pop edi
pop ebx
pop ecx
ret 0xc