joyce8/EMBER2024-capa huggingface dataset:
Function at 0x582388
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov esi, ecx
mov ebx, eax
mov eax, edx
call fcn.0058231c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + ebx*8]
mov edx, dword [esi + ebx*8 + 4]
xor eax, dword [ebp - 0x20]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x10]
mov eax, 8
mov edx, 0x5ddd30
movzx ebx, byte [ecx]
movzx ebx, byte [edx + ebx]
mov byte [ecx], bl
inc ecx
add edx, 0x40
dec eax
jne 0x5823c1
xor eax, eax
mov ecx, 4
lea edx, [ebp - 4]
movzx ebx, byte [ebp + eax - 0x10]
shl ebx, 4
xor bl, byte [ebp + eax - 0xf]
mov byte [edx], bl
add eax, 2
inc edx
dec ecx
jne 0x5823db
movzx eax, byte [ebp - 4]
movzx edx, byte [ebp - 3]
movzx ecx, byte [ebp - 2]
mov byte [ebp - 0x21], cl
movzx ecx, byte [ebp - 1]
mov byte [ebp - 0x22], cl
movzx ecx, byte [ebp - 0x22]
movzx ecx, byte [ecx + 0x5ddf30]
mov byte [ebp - 0x22], cl
movzx ecx, byte [ebp - 0x21]
movzx ecx, byte [ecx + 0x5de030]
mov byte [ebp - 0x21], cl
movzx ecx, byte [ebp - 0x21]
xor cl, byte [ebp - 0x22]
and cl, 0x8e
xor byte [ebp - 0x21], cl
xor byte [ebp - 0x22], cl
movzx ecx, byte [ebp - 0x22]
movzx ecx, byte [ecx + 0x5de130]
mov byte [ebp - 0x22], cl
movzx eax, al
movzx eax, byte [eax + 0x5de230]
movzx edx, dl
movzx edx, byte [edx + 0x5de330]
mov ecx, edx
xor cl, al
and cl, 0x90
xor al, cl
xor dl, cl
movzx ecx, dl
shr ecx, 1
xor cl, al
and cl, 5
xor al, cl
add ecx, ecx
xor dl, cl
mov byte [ebp - 0x12], al
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x21]
mov byte [ebp - 0x14], al
movzx eax, byte [ebp - 0x22]
mov byte [ebp - 0x13], al
movzx eax, word [ebp - 0x12]
xor ax, word [ebp - 0x14]
and ax, 0x363b
xor word [ebp - 0x12], ax
xor word [ebp - 0x14], ax
movzx eax, word [ebp - 0x14]
shr eax, 4
xor ax, word [ebp - 0x14]
and ax, 8
movzx edx, word [ebp - 0x14]
xor dx, ax
shl eax, 4
xor dx, ax
mov word [ebp - 0x14], dx
movzx eax, word [ebp - 0x14]
shr eax, 1
xor ax, word [ebp - 0x14]
and ax, 0x2020
movzx edx, word [ebp - 0x14]
xor dx, ax
add eax, eax
xor dx, ax
mov word [ebp - 0x14], dx
movzx eax, word [ebp - 0x12]
mov word [ebp - 4], ax
movzx eax, word [ebp - 0x14]
mov word [ebp - 2], ax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5824f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00582220
xor ebx, ebx
mov ecx, esi
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00582388
xor eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
inc ebx
cmp ebx, 0x10
jne 0x582510
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00582298
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5827bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], eax
mov edi, 8
mov esi, dword [esp]
movzx eax, byte [esi]
xor ebx, ebx
mov edx, 7
mov ecx, edx
movzx ebp, al
shr ebp, cl
mov ecx, ebp
and cl, 1
xor bl, cl
dec edx
test edx, edx
jne 0x5827d6
and al, 0xfe
or bl, al
mov byte [esi], bl
inc esi
dec edi
jne 0x5827cc
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5827fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 8
lea esi, [ebp + 8]
movzx edx, byte [esi]
xor ebx, ebx
mov eax, 7
mov ecx, eax
movzx edi, dl
shr edi, cl
mov ecx, edi
and cl, 1
xor bl, cl
dec eax
test eax, eax
jne 0x582817
and dl, 1
cmp bl, dl
sete al
inc esi
dec dword [ebp - 4]
jne 0x58280d
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x583ab8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov dword [ebp - 0xc], eax
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, 0x18
mov byte [ebp - 0x14], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0x13], al
mov eax, esi
shr eax, 8
mov byte [ebp - 0x12], al
mov eax, esi
mov byte [ebp - 0x11], al
mov eax, dword [ecx]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 0x18
mov byte [ebp - 0x18], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0x17], al
mov eax, esi
shr eax, 8
mov byte [ebp - 0x16], al
mov eax, esi
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, 1
mov dword [ebp - 0x10], 8
movzx ebx, byte [ebp - 1]
mov esi, dword [edx + ebx*4]
movzx ebx, byte [ebp - 2]
add esi, dword [edx + ebx*4 + 0x400]
movzx ebx, byte [ebp - 3]
xor esi, dword [edx + ebx*4 + 0x800]
movzx ebx, byte [ebp - 4]
add esi, dword [edx + ebx*4 + 0xc00]
xor esi, dword [ebp - 8]
xor esi, dword [ecx + eax*4]
mov dword [ebp - 8], esi
inc eax
movzx ebx, byte [ebp - 5]
mov esi, dword [edx + ebx*4]
movzx ebx, byte [ebp - 6]
add esi, dword [edx + ebx*4 + 0x400]
movzx ebx, byte [ebp - 7]
xor esi, dword [edx + ebx*4 + 0x800]
movzx ebx, byte [ebp - 8]
add esi, dword [edx + ebx*4 + 0xc00]
xor esi, dword [ebp - 4]
xor esi, dword [ecx + eax*4]
mov dword [ebp - 4], esi
inc eax
dec dword [ebp - 0x10]
jne 0x583b1d
mov eax, dword [ecx + 0x44]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x19]
mov byte [ebp - 0x20], al
movzx eax, byte [ebp - 0x1a]
mov byte [ebp - 0x1f], al
movzx eax, byte [ebp - 0x1b]
mov byte [ebp - 0x1e], al
movzx eax, byte [ebp - 0x1c]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
movzx eax, byte [ebp - 1]
mov byte [ebp - 0x24], al
movzx eax, byte [ebp - 2]
mov byte [ebp - 0x23], al
movzx eax, byte [ebp - 3]
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 4]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x583be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov dword [ebp - 0xc], eax
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, 0x18
mov byte [ebp - 0x14], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0x13], al
mov eax, esi
shr eax, 8
mov byte [ebp - 0x12], al
mov eax, esi
mov byte [ebp - 0x11], al
mov eax, dword [ecx + 0x44]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 0x18
mov byte [ebp - 0x18], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0x17], al
mov eax, esi
shr eax, 8
mov byte [ebp - 0x16], al
mov eax, esi
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, 0x10
mov dword [ebp - 0x10], 8
movzx ebx, byte [ebp - 1]
mov esi, dword [edx + ebx*4]
movzx ebx, byte [ebp - 2]
add esi, dword [edx + ebx*4 + 0x400]
movzx ebx, byte [ebp - 3]
xor esi, dword [edx + ebx*4 + 0x800]
movzx ebx, byte [ebp - 4]
add esi, dword [edx + ebx*4 + 0xc00]
xor esi, dword [ebp - 8]
xor esi, dword [ecx + eax*4]
mov dword [ebp - 8], esi
dec eax
movzx ebx, byte [ebp - 5]
mov esi, dword [edx + ebx*4]
movzx ebx, byte [ebp - 6]
add esi, dword [edx + ebx*4 + 0x400]
movzx ebx, byte [ebp - 7]
xor esi, dword [edx + ebx*4 + 0x800]
movzx ebx, byte [ebp - 8]
add esi, dword [edx + ebx*4 + 0xc00]
xor esi, dword [ebp - 4]
xor esi, dword [ecx + eax*4]
mov dword [ebp - 4], esi
dec eax
dec dword [ebp - 0x10]
jne 0x583c46
mov eax, dword [ecx]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x19]
mov byte [ebp - 0x20], al
movzx eax, byte [ebp - 0x1a]
mov byte [ebp - 0x1f], al
movzx eax, byte [ebp - 0x1b]
mov byte [ebp - 0x1e], al
movzx eax, byte [ebp - 0x1c]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
movzx eax, byte [ebp - 1]
mov byte [ebp - 0x24], al
movzx eax, byte [ebp - 2]
mov byte [ebp - 0x23], al
movzx eax, byte [ebp - 3]
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 4]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x583d08
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov edi, eax
mov edx, dword [ebp - 0x14]
mov eax, 0x5de478
mov ecx, 0x1000
call fcn.004032f0
mov edx, dword [ebp + 8]
mov eax, 0x5de430
mov ecx, 0x48
call fcn.004032f0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], 0x12
mov edi, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 4]
mov eax, dword [ebp - 0x1c]
add eax, 3
sub eax, esi
xor edx, edx
div ebx
add edx, dword [ebp - 0x20]
movzx eax, byte [edx]
mov byte [ecx], al
inc esi
inc ecx
cmp esi, 4
jne 0x583d53
mov eax, dword [ebp - 4]
xor dword [edi], eax
add dword [ebp - 0x1c], 4
mov eax, ebx
cmp eax, dword [ebp - 0x1c]
ja 0x583d81
sub dword [ebp - 0x1c], eax
add edi, 4
dec dword [ebp - 0x18]
jne 0x583d4e
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, 8
call fcn.00403b7c
mov dword [ebp - 0x18], 9
mov ebx, dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00583ab8
mov eax, dword [ebp - 0x10]
mov edx, eax
shr edx, 0x18
mov byte [ebp - 0x24], dl
mov edx, eax
shr edx, 0x10
mov byte [ebp - 0x23], dl
mov edx, eax
shr edx, 8
mov byte [ebp - 0x22], dl
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x24]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
mov edx, eax
shr edx, 0x18
mov byte [ebp - 0x28], dl
mov edx, eax
shr edx, 0x10
mov byte [ebp - 0x27], dl
mov edx, eax
shr edx, 8
mov byte [ebp - 0x26], dl
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x28]
mov dword [ebx + 4], eax
add ebx, 8
dec dword [ebp - 0x18]
jne 0x583da2
mov dword [ebp - 0x1c], 4
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x80
mov ebx, esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00583ab8
mov eax, dword [ebp - 0x10]
mov edx, eax
shr edx, 0x18
mov byte [ebp - 0x2c], dl
mov edx, eax
shr edx, 0x10
mov byte [ebp - 0x2b], dl
mov edx, eax
shr edx, 8
mov byte [ebp - 0x2a], dl
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x2c]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
mov edx, eax
shr edx, 0x18
mov byte [ebp - 0x30], dl
mov edx, eax
shr edx, 0x10
mov byte [ebp - 0x2f], dl
mov edx, eax
shr edx, 8
mov byte [ebp - 0x2e], dl
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x30]
mov dword [ebx + 4], eax
add ebx, 8
dec dword [ebp - 0x18]
jne 0x583e18
add esi, 0x400
dec dword [ebp - 0x1c]
jne 0x583e0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x584730
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, 0xff
mov ecx, dword [esp]
shr ecx, 8
and ecx, 0xff
mov eax, dword [esp]
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp]
shr esi, 0x18
mov dword [esp + 8], esi
cmp dword [esp + 4], 0x100
jne 0x5847c1
movzx ebx, byte [ebx + 0x5df578]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x5df478]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x5df478]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x5df578]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jb 0x58481b
movzx ebx, byte [ebx + 0x5df578]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x5df578]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x5df478]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x5df478]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x5df478]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x5df478]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x640b18]
movzx ecx, byte [ecx + 0x5df578]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x5df478]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x640f18]
movzx eax, byte [eax + 0x5df478]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x5df578]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x641318]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x5df578]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x5df578]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x641718]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x5848d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
movzx ecx, cl
imul ebx, ecx, 0x1010101
mov ecx, eax
mov eax, 0x40
mov esi, dword [edx]
xor esi, ebx
mov dword [ecx], esi
add edx, 4
add ecx, 4
dec eax
jne 0x5848ea
pop esi
pop ebx
ret
Function at 0x585658
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], pe_nt_image_headers32
mov esi, 0x5df478
mov ebx, 0x640b18
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.00584618
mov dword [esp + 8], eax
mov eax, edi
call fcn.00584628
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.00584618
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.00584628
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x585671
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x58bb30
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0058c67c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x58ea00
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x633614
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x58ea1f
mov esi, 1
mov edx, 0x63371c
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x58ea98
dec ebx
je 0x58eaba
dec ebx
je 0x58eadc
dec ebx
je 0x58eafd
jmp 0x58eb17
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x58eb17
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x58eb17
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x58eb17
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x58ea88
inc esi
add edx, 0x40
cmp esi, 9
jne 0x58ea3b
mov esi, 0x20
mov eax, 0x633644
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x58eb3c
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x58eb78
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x6336cb]
test bl, bl
jbe 0x58eba9
lea eax, [esi + 0x3e0]
call fcn.0058eb54
lea eax, [esi + 0x3fc]
call fcn.0058eb54
dec bl
jne 0x58eb8f
mov cl, 0x30
mov edi, 0x63369c
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x58ebca
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x58ebd7
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x58ebb3
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x58ebe4
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.0058e998
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x58ec00
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.0058e998
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.0058e998
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x58ec1c
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.0058eb78
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x58ec46
mov bl, 1
mov eax, 0x633594
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x58ec7f
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x58ec8c
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x58ec6b
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x58ecb6
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.0058ea00
jmp 0x58ecdd
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.0058ea00
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x58ece5
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x58ec9e
mov bl, 0x40
mov esi, 0x6335d4
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x58ed4b
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x58ed58
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x58ed34
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0058e9c0
inc ebx
inc esi
cmp bl, 0x41
jne 0x58ed66
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x58fbb8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x58fc69
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x58fc64
mov eax, ebp
mov edx, 8
call fcn.00405b00
push 1
mov eax, ebp
call fcn.004058d0
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.0058ebe4
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5917f4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x5917fd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5919a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00591b3c
xor eax, eax
push ebp
push 0x591981
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x59184c
call fcn.00404dc0
jmp 0x591988
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x59190f
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x59189d
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x59189d
lea eax, [ebp - 0x10]
call fcn.005915b8
push dword [ebp - 0x10]
push 0x5919bc
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405774
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x5918d2
lea eax, [ebp - 0x18]
call fcn.005915b8
push dword [ebp - 0x18]
push 0x5919bc
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405774
mov eax, dword [ebp - 0x14]
call fcn.00405870
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x59196b
lea eax, [ebp - 0x20]
call fcn.005915b8
push dword [ebp - 0x20]
push 0x5919bc
push ebx
push 0x5919c8
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405774
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.005917bc
jmp 0x59196b
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x591932
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x591932
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x591948
mov eax, ebx
call fcn.00405870
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x59196b
lea eax, [ebp - 0x24]
mov ecx, 0x5919c8
mov edx, ebx
call fcn.004056f8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.005917bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x591988
mov eax, dword [ebp - 4]
call fcn.00591b48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5919aa
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00405404
ret