joyce8/EMBER2024-capa huggingface dataset:
Function at 0x548d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
push edi
mov edi, edx
mov dword [esp + 0x20], ebp
mov ebx, dword [ebp + 0x10]
cmp ebx, 3
jae 0x548d94
call fcn.00549fa0
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [ebp]
push esi
mov dword [esp + 0x10], 2
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
movzx eax, word [ebp + eax*4 + 0x60]
xor edx, eax
mov eax, dword [ebp + 0x24]
mov esi, dword [eax + edx*4]
lea ecx, [eax + edx*4]
mov eax, dword [ebp + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp]
add ebx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], ecx
mov dword [eax + edx*4], esi
mov eax, dword [esp + 0x14]
test esi, esi
je 0x548eab
mov edx, dword [esp + 0x2c]
sub edx, esi
cmp edx, eax
jae 0x548eab
cmp dword [esp + 0x30], edx
mov esi, dword [esp + 0x1c]
sbb eax, eax
mov ebp, dword [esp + 0x10]
and eax, dword [esp + 0x14]
sub eax, edx
add eax, dword [esp + 0x30]
mov eax, dword [esi + eax*4]
mov esi, edx
neg esi
mov dword [esp + 0x34], eax
lea eax, [esi + ecx]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x20]
cmp al, byte [ecx + ebp]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
jne 0x548e8c
mov ebp, dword [esp + 0x20]
mov eax, ecx
mov cl, byte [ecx]
cmp cl, byte [ebp]
mov ebp, dword [esp + 0x24]
jne 0x548e71
inc eax
cmp eax, ebx
je 0x548e9c
mov cl, byte [eax]
cmp cl, byte [eax + esi]
je 0x548e65
mov ecx, dword [esp + 0x18]
sub eax, ecx
cmp dword [esp + 0x10], eax
jae 0x548e8c
mov dword [edi], eax
mov dword [esp + 0x10], eax
lea eax, [edx - 1]
mov dword [edi + 4], eax
add edi, 8
sub dword [esp + 0x28], 1
je 0x548eab
mov esi, dword [esp + 0x34]
jmp 0x548df8
sub ebx, dword [esp + 0x18]
lea eax, [edx - 1]
mov dword [edi], ebx
mov dword [edi + 4], eax
add edi, 8
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x14]
inc ecx
inc dword [ebp]
mov dword [ebp + 4], ecx
pop esi
cmp ecx, dword [ebp + 8]
jne 0x548ec5
mov ecx, ebp
call fcn.00549820
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x548ed0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov esi, ecx
nop dword [eax + eax]
cmp dword [esi + 0x10], 3
jae 0x548ef0
mov ecx, esi
call fcn.00549fa0
dec ebx
jmp 0x548f6d
mov ebp, dword [esi + 8]
mov edi, dword [esi + 4]
sub ebp, edi
mov ecx, dword [esi + 0x14]
cmp ebx, ebp
mov eax, dword [esi + 0x28]
cmovbe ebp, ebx
sub ebx, ebp
mov dword [esp + 0x14], ebx
mov ebx, dword [esi]
lea eax, [eax + ecx*4]
mov dword [esp + 0x10], eax
lea eax, [ecx + ebp]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], eax
nop
movzx eax, byte [ebx]
lea edx, [ebx + 1]
movzx ecx, byte [ebx + 2]
mov ebx, dword [esp + 0x18]
shl eax, 8
or ecx, eax
movzx eax, byte [edx]
movzx eax, word [esi + eax*4 + 0x60]
xor ecx, eax
mov eax, dword [ebx + ecx*4]
mov dword [ebx + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x10]
mov ebx, edx
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x10], ecx
sub ebp, 1
jne 0x548f20
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp edi, dword [esi + 8]
jne 0x548f69
mov ecx, esi
call fcn.00549820
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x548ee0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x5498c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov dword [ecx], 0
lea esi, [ecx + 0x60]
mov dword [ecx + 0x34], 0
xor edx, edx
mov word [ecx + 0x1e], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x468], 0xffffffff
mov dword [ecx + 0x46c], 0xffffffff
mov dword [ecx + 0x30], 0x20
mov byte [ecx + 0x1d], 1
mov dword [ecx + 0x48], 4
mov word [ecx + 0x58], 2
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x549913
pop esi
ret
Function at 0x552390
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
mov ebx, edx
mov ecx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x28]
movzx esi, word [ecx]
mov eax, esi
mov dword [esp + 0x14], ebx
xor eax, 0x7f0
shr esi, 4
shr eax, 4
mov dword [esp + 0x10], ebp
mov edx, dword [edi + esi*4]
mov eax, dword [edi + eax*4]
mov dword [esp + 0x28], eax
movzx eax, word [ecx + 0x10]
mov esi, dword [esp + 0x28]
shr eax, 4
mov dword [esp + 0x1c], edx
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x552428
lea ebx, [ebp + 4]
mov esi, ecx
mov ebp, dword [esp + 0x14]
nop word [eax + eax]
push edi
push ebx
mov ecx, esi
call fcn.00554430
mov edx, dword [esp + 0x18]
lea eax, [ebx + 0x20]
push edi
push eax
lea ecx, [esi + 0x10]
call fcn.00554430
mov edx, dword [esp + 0x1c]
add ebx, 0x440
add esi, 0x20
sub ebp, 1
jne 0x5523f0
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ebx, dword [ebp]
cmp ebx, 0x10
jbe 0x552502
lea eax, [ebp + 0x44]
add ebx, 0xfffffff1
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 0x10]
xor eax, 0x7f0
shr ebx, 1
shr eax, 4
lea ebp, [ebx + 0x180]
add esi, dword [edi + eax*4]
lea ebp, [ecx + ebp*2]
mov dword [esp + 0x28], esi
nop dword [eax]
dec ebx
lea ebp, [ebp - 2]
mov dword [esp + 0x1c], ebx
lea eax, [ebx + 0x80]
mov ebx, dword [esp + 0x24]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x200]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add esi, dword [edi + ecx*4]
cmp eax, 2
jae 0x552472
movzx ecx, word [ebp]
mov ebx, dword [esp + 0x1c]
mov eax, ecx
mov edx, dword [esp + 0x18]
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [edx + ebx*8], eax
mov eax, dword [edi + ecx*4]
add eax, esi
mov esi, dword [esp + 0x28]
mov dword [edx + ebx*8 + 4], eax
test ebx, ebx
jne 0x552460
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
lea ebx, [eax*4 - 0x40]
mov eax, dword [esp + 0x14]
cmp eax, 1
jbe 0x552502
add esi, 0x484
lea edi, [eax - 1]
push ebx
push edx
push esi
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x24]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x5524e8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x5525d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
or edx, 0x100
mov esi, edx
shr edx, 1
and esi, 1
neg esi
shr esi, 4
movzx ecx, word [edi + edx*2]
and esi, 0x7f
shr ecx, 4
xor ecx, esi
add eax, dword [ebx + ecx*4]
cmp edx, 2
jae 0x5525e1
pop edi
pop esi
pop ebx
ret 4
Function at 0x552610
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [esp + 0x14]
mov ebp, ecx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
shr eax, 8
add ecx, esi
add eax, ecx
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esp + 0x18]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x552623
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8
Function at 0x553790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x18], ebx
lea esi, [ebx + 0x270]
mov dword [ebx + 0x7c], 0
mov ecx, esi
mov dword [ebx + 0x78], 0
call fcn.005498c0
lea ecx, [ebx + 0xd8]
mov dword [ebx + 0x26c], esi
call fcn.0054ae50
xorps xmm0, xmm0
mov dword [esp + 0x38], 5
lea edx, [esp + 0x38]
mov dword [esp + 0x60], 0
mov ecx, ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
movlpd qword [esp + 0x78], xmm0
call fcn.00554070
mov word [ebx + 0x2cb0], 0x100
mov edi, 2
add ebx, 0x2cb2
nop
mov ecx, edi
movd xmm0, edi
shr ecx, 1
mov esi, 1
dec ecx
pshufd xmm0, xmm0, 0
shl esi, cl
xor edx, edx
test esi, esi
je 0x5538e2
cmp esi, 0x10
jb 0x5538d0
andps xmm0, xmmword [0x58cd30]
mov eax, esi
packuswb xmm0, xmm0
and eax, 0xfffffff0
packuswb xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 8]
mov dword [eax - 8], ecx
lea eax, [eax + 0x10]
mov dword [eax - 0x14], ecx
add edx, 0x10
mov dword [eax - 0x10], ecx
mov dword [eax - 0xc], ecx
cmp edx, dword [esp + 0x1c]
jb 0x5538b4
cmp edx, esi
jae 0x5538e2
mov eax, esi
lea ecx, [edx + ebx]
sub eax, edx
push eax
push edi
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
inc edi
add ebx, esi
cmp edi, 0x16
jb 0x553870
mov ebx, dword [esp + 0x18]
mov edi, 8
add ebx, 0x760
nop dword [eax]
xor edx, edx
mov eax, edi
lea esi, [edx + 4]
nop word [eax + eax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x55392a
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x553920
sub esi, 1
jne 0x553910
mov eax, 0xa1
add edi, 0x10
sub eax, edx
mov dword [ebx], eax
add ebx, 4
cmp edi, 0x808
jb 0x553900
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax + 0x50], esi
mov dword [eax + 0x1bcb8], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x553af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movaps xmm0, xmmword [0x58e1b0]
push ebx
push esi
mov esi, ecx
mov ebx, 0x400
push edi
mov edi, 0xc
mov eax, dword [esi + 0x78]
lea edx, [esi + 0x1e68]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x2030]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], 1
mov dword [esi + 0x3c], 1
mov dword [esi + 0x38], 1
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
movups xmmword [esi + 0x1e30], xmm0
movups xmmword [esi + 0x1e40], xmm0
mov ecx, 0x10
nop word [eax + eax]
mov word [eax - 0x180], bx
mov word [eax], bx
add eax, 2
sub ecx, 1
jne 0x553ba0
mov word [edx - 0x18], bx
mov word [edx], bx
mov word [edx + 0x18], bx
mov word [edx + 0x30], bx
add edx, 2
sub edi, 1
jne 0x553b91
mov eax, 0x4000400
lea edi, [esi + 0x21b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x23b0]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x98]
mov eax, 0x300
add ecx, dword [esi + 0x94]
shl eax, cl
test eax, eax
je 0x553c12
mov edi, dword [esi + 0x50]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, 0x4000400
lea edi, [esi + 0x24b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x26b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esi + 0x28b0]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x2ab0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [esi + 0x1c], 0
lea eax, [esi + 0xbcb8]
mov dword [esi + 0x18], 0
mov ecx, 0x800
mov dword [eax], 0x40000000
lea eax, [eax + 0x20]
sub ecx, 1
jne 0x553c64
mov dword [esi + 0x34], ecx
mov eax, 1
mov ecx, dword [esi + 0x9c]
mov edx, 0x100
shl eax, cl
mov ecx, dword [esi + 0x94]
dec eax
mov dword [esi + 0x4c], eax
mov eax, edx
shr eax, cl
mov ecx, dword [esi + 0x98]
shl edx, cl
sub edx, eax
pop edi
mov dword [esi + 0x48], edx
pop esi
pop ebx
ret

Function at 0x554430
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0xc], edx
mov edx, ecx
push esi
push edi
mov dword [esp + 0x10], edx
mov edi, ebx
mov esi, ebx
shr esi, 2
shr edi, 1
mov eax, edi
and eax, 1
movzx ecx, word [edx + esi*2 + 4]
neg eax
shr eax, 4
neg esi
and eax, 0x7f
shr ecx, 4
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [esp + 0x10]
shr esi, 4
mov edx, dword [ebp + ecx*4]
movzx ecx, word [eax + edi*2 + 8]
add edx, dword [ebp + esi*4]
mov eax, ecx
add edx, dword [esp + 0x14]
xor ecx, 0x7f0
mov esi, dword [esp + 0x1c]
shr eax, 4
shr ecx, 4
mov eax, dword [ebp + eax*4]
add eax, edx
mov dword [esi + ebx*4], eax
mov eax, dword [ebp + ecx*4]
add eax, edx
mov edx, dword [esp + 0x10]
mov dword [esi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x554447
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x555000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 0x20
push edi
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esi + 0x78], 0
cmova eax, ecx
mov dword [esi + 0x7c], 0
mov dword [esi + 0x54], eax
xor ecx, ecx
mov eax, dword [esi]
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x58], 0
cmp eax, dword [esi + 0x20]
je 0x55511c
lea ebx, [esi + 0xd0]
lea ebp, [ecx + 0x20]
mov edx, dword [ebx]
test edx, edx
je 0x5550f5
mov dword [ebx], 0
nop
mov eax, dword [ebx - 8]
mov edi, dword [edx]
mov eax, dword [eax + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov edx, edi
test edi, edi
jne 0x5550e0
add ebx, 0x28
sub ebp, 1
jne 0x5550d2
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
test edx, edx
je 0x555117
mov eax, dword [esi + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x5c], ebp
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
lea eax, [ecx + 5]
lea eax, [eax + eax*4]
mov dword [esi + 0x9c], 0
lea ebx, [esi + eax*8]
mov dword [esi + 0xa0], 0
lea eax, [ecx + 1]
mov dword [esi + 0xa4], 0
lea ecx, [ebx + 0x20]
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x58], eax
call fcn.0055b2c0
mov ebp, eax
test ebp, ebp
jne 0x555209
lea ecx, [ebx + 0x1c]
call fcn.0055b2c0
mov ebp, eax
test ebp, ebp
jne 0x555209
lea ecx, [ebx + 0x20]
call fcn.0055b3c0
mov ebp, eax
test ebp, ebp
jne 0x555209
lea ecx, [ebx + 0x1c]
call fcn.0055b3c0
mov ebp, eax
test ebp, ebp
jne 0x555209
push ebx
call fcn.00556b20
mov ebp, eax
test ebp, ebp
je 0x55521b
mov dword [esi + 0x44], 0
lea edi, [esi + 0xe4]
mov dword [esp + 0x10], 0x20
cmp dword [edi - 4], 0
je 0x5551ee
lea ecx, [edi + 4]
call fcn.0055b3c0
mov ecx, edi
call fcn.0055b3c0
lea ecx, [edi - 4]
call fcn.0055b670
mov ecx, edi
call fcn.0055b3f0
lea ecx, [edi + 4]
call fcn.0055b3f0
add edi, 0x28
sub dword [esp + 0x10], 1
jne 0x5551d1
test ebp, ebp
jle 0x555214
movzx ebp, bp
or ebp, 0x80070000
test ebp, ebp
je 0x55521b
mov dword [esi + 0x40], ebp
cmp dword [esi + 0x38], 0
jne 0x555234
cmp dword [esi + 0x40], 0
jne 0x555234
cmp dword [esi + 0x3c], 0
jne 0x555234
mov dword [esi + 0x44], 0
xor eax, eax
cmp dword [esi + 0x44], eax
pop edi
cmovne ebp, eax
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x5575a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
mov eax, dword [edi]
movzx ecx, byte [ebx + 1]
add word [eax + 2], 4
add ecx, 4
movzx eax, byte [ebx - 5]
mov dword [esp + 8], ecx
mov byte [ebx + 1], cl
cmp ecx, eax
jbe 0x5575f3
cmp dword [esp + 8], 0x7c
lea ecx, [ebx - 6]
mov eax, dword [ecx]
mov edx, dword [ebx]
push esi
mov si, word [ebx + 4]
mov dword [ebx], eax
mov ax, word [ecx + 4]
mov dword [ecx], edx
mov word [ecx + 4], si
mov word [ebx + 4], ax
mov dword [edi + 8], ecx
pop esi
jbe 0x5575f3
mov ecx, edi
call fcn.00557190
mov eax, dword [edi + 8]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
cmp dword [edi + 0xc], 0
jne 0x557617
cmp ecx, dword [edi + 0x40]
jbe 0x557617
mov dword [edi], ecx
mov dword [edi + 4], ecx
pop edi
pop ebx
pop ecx
ret
mov ecx, edi
pop edi
pop ebx
add esp, 4
jmp fcn.005576e0

Function at 0x557630
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [ebp]
movzx ebx, byte [edi + 1]
movzx edx, word [esi + 2]
lea ecx, [ebx + ebx]
cmp edx, ecx
sbb eax, eax
add ebx, 4
neg eax
add dword [ebp + 0x20], eax
mov dword [ebp + 0x14], eax
lea eax, [edx + 4]
mov word [esi + 2], ax
mov byte [edi + 1], bl
cmp ebx, 0x7c
jbe 0x55766c
mov ecx, ebp
call fcn.00557190
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
cmp dword [ebp + 0xc], 0
jne 0x557692
cmp ecx, dword [ebp + 0x40]
jbe 0x557692
pop edi
pop esi
mov dword [ebp], ecx
mov dword [ebp + 4], ecx
pop ebp
pop ebx
ret
pop edi
pop esi
mov ecx, ebp
pop ebp
pop ebx
jmp fcn.005576e0

Function at 0x5576a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
mov eax, dword [edi + 0x24]
movzx edx, byte [esi + 1]
mov dword [edi + 0x20], eax
add edx, 4
mov eax, dword [edi]
add word [eax + 2], 4
mov byte [esi + 1], dl
cmp edx, 0x7c
jbe 0x5576c8
call fcn.00557190
mov ecx, edi
pop edi
pop esi
jmp fcn.005576e0
Function at 0x559780
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x98
push 0
mov dword [esp + 0x18], edi
lea eax, [edi + 0x100]
push eax
call sub.msvcrt.dll_memset
push 0x98
lea eax, [edi + 0x198]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x30]
add esp, 0x18
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x10100ff
mov dword [ecx + 8], 0
nop
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x559830
xor ebp, ebp
lea edx, [edi + 0x1048]
mov dword [esp + 0x14], ebp
xor ebx, ebx
mov dword [esp + 0x18], edx
nop dword [eax]
lea ecx, [edi + 0x330]
add ecx, ebx
movzx eax, byte [ecx]
cmp eax, ebp
jne 0x55987c
nop
movzx eax, byte [ecx + 1]
lea ecx, [ecx + 1]
inc ebx
cmp eax, ebp
je 0x559870
lea ebp, [ebx + 1]
mov esi, edx
xor edi, edi
movzx eax, word [edi + 0x58e1f0]
xor edx, edx
div ebp
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop word [eax + eax]
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x5598a0
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x559883
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc ebp
mov edi, dword [esp + 0x10]
sub edx, 0xffffff80
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
cmp ebp, 0x19
jb 0x559860
mov eax, dword [esp + 0x10]
xor edx, edx
lea edi, [edx + 3]
lea ebx, [eax + 0x448]
lea ebp, [edx + 0x18]
nop word [eax + eax]
lea ecx, [eax + 0x333]
movzx eax, byte [ecx + edx]
add ecx, edx
cmp eax, edi
jne 0x55990c
movzx eax, byte [ecx + 1]
lea ecx, [ecx + 1]
inc edx
cmp eax, edi
je 0x559900
mov eax, edx
mov ecx, ebx
shl eax, 4
mov esi, 0x20
add eax, 0x28
movzx eax, ax
nop
mov word [ecx], ax
lea ecx, [ecx + 4]
mov word [ecx - 2], 0x703
sub esi, 1
jne 0x559920
mov eax, dword [esp + 0x10]
inc edi
sub ebx, 0xffffff80
sub ebp, 1
jne 0x5598f0
pop edi
pop esi
pop ebp
pop ebx
mov dword [eax + 0x444], 0x40070000
add esp, 0xc
ret

Function at 0x55b5d0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push 0
push dword [esp + 0x14]
push edx
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x55b5f9
xor eax, eax
pop ecx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
pop ecx
ret 4
Function at 0x55b610
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
mov esi, ecx
push eax
push 4
push dword [esp + 0x18]
push edx
push 0
push 0
call sub.msvcrt.dll__beginthreadex
mov edi, eax
add esp, 0x18
mov dword [esi], edi
test edi, edi
je 0x55b654
push dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x55b654
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
pop edi
cmovne ecx, eax
mov eax, ecx
pop esi
pop ecx
ret 8
Function at 0x55bec0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
sub edx, 1
je 0x55bee8
sub edx, 3
je 0x55bed9
sub edx, 6
jne 0x55beef
add ecx, 0x10
jmp fcn.00566430
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 0xc], 0xffffffff
ret
mov dword [ecx + 4], 0xffffffff
ret