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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 0x30], 0
jne 0x4a2c7e
mov ecx, 0x4a2ce0
mov dl, 1
mov eax, dword [0x4a2264]
call fcn.0040dda0
call fcn.00404764
mov dword [ebp - 8], edx
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
test eax, eax
jle 0x4a2ccd
mov dword [ebp - 0xc], eax
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x60]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x40]
xor al, byte [edx]
mov byte [esi], al
mov ecx, dword [ebx + 0x44]
dec ecx
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x3c]
inc eax
call fcn.00403274
mov eax, dword [ebx + 0x3c]
add eax, dword [ebx + 0x44]
dec eax
movzx edx, byte [esi]
mov byte [eax], dl
inc dword [ebp - 8]
inc esi
dec dword [ebp - 0xc]
jne 0x4a2c8e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a2cf8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 0x30], 0
jne 0x4a2d22
mov ecx, 0x4a2d8c
mov dl, 1
mov eax, dword [0x4a2264]
call fcn.0040dda0
call fcn.00404764
mov esi, edx
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
test eax, eax
jle 0x4a2d7a
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
mov byte [ebp - 9], al
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x60]
mov eax, dword [ebx + 0x40]
movzx eax, byte [eax]
xor al, byte [esi]
mov edx, dword [ebp - 8]
mov byte [edx], al
mov ecx, dword [ebx + 0x44]
dec ecx
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x3c]
inc eax
call fcn.00403274
mov eax, dword [ebx + 0x3c]
add eax, dword [ebx + 0x44]
dec eax
movzx edx, byte [ebp - 9]
mov byte [eax], dl
inc esi
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x4a2d34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a3348
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a33ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4a2588]
mov eax, 0x14
call fcn.00405e1c
mov edi, eax
mov dword [edi + 0xc], esi
lea edx, [ebp - 8]
mov eax, esi
call dword [eax + 0x34]
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409630
mov edx, dword [ebp - 4]
lea eax, [edi + 4]
call fcn.00404e68
mov eax, esi
call dword [eax + 0x30]
mov dword [edi + 8], eax
mov eax, dword [0x568d8c]
mov dword [edi], eax
mov byte [edi + 0x10], bl
mov dword [0x568d8c], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a33d1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e38
ret
Function at 0x4a33d8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4a3454
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4a25b0]
mov eax, 0x10
call fcn.00405e1c
mov ebx, eax
mov dword [ebx + 0xc], esi
lea edx, [ebp - 8]
mov eax, esi
call dword [eax + 0x34]
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409630
mov edx, dword [ebp - 4]
lea eax, [ebx + 4]
call fcn.00404e68
mov eax, esi
call dword [eax + 0x30]
mov dword [ebx + 8], eax
mov eax, dword [0x568d90]
mov dword [ebx], eax
mov dword [0x568d90], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a345b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e38
ret

Function at 0x4a34b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jle 0x4a34d1
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4a34be
pop edi
pop esi
pop ebx
ret
Function at 0x4aeb0c
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 0x4aeb9d
movzx ebx, byte [ebx + 0x548994]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x548894]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x548894]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x548994]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jl 0x4aebf7
movzx ebx, byte [ebx + 0x548994]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x548994]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x548894]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x548894]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x548894]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x548894]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x569e80]
movzx ecx, byte [ecx + 0x548994]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x548894]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x56a280]
movzx eax, byte [eax + 0x548894]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x548994]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x56a680]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x548994]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x548994]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x56aa80]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x4aecb4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
movzx ecx, cl
imul ecx, ecx, 0x1010101
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
mov esi, dword [edx + ebx*4 + 4]
xor esi, ecx
mov dword [eax + ebx*4 + 4], esi
mov esi, dword [edx + ebx*4 + 8]
xor esi, ecx
mov dword [eax + ebx*4 + 8], esi
mov esi, dword [edx + ebx*4 + 0xc]
xor esi, ecx
mov dword [eax + ebx*4 + 0xc], esi
add ebx, 4
cmp ebx, 0x40
jl 0x4aecc1
pop esi
pop ebx
ret
Function at 0x4afb78
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, 0x548894
mov ebx, 0x569e80
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.004ae9f4
mov dword [esp + 8], eax
mov eax, edi
call fcn.004aea04
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.004ae9f4
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.004aea04
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 0x4afb91
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4aff88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
movzx ebx, dl
dec ebx
test ebx, ebx
jl 0x4affdc
inc ebx
xor edx, edx
mov ecx, edx
add ecx, ecx
add ecx, ecx
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x54acc4]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x54b0c4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x54b4c4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x54b8c4]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4aff96
pop edi
pop esi
pop ebx
ret

Function at 0x4b8920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00429364
cmp ebx, dword [ebp - 8]
jge 0x4b8983
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042978c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042978c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004297b8
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4b8949
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b898c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00429364
cmp ebx, dword [ebp - 8]
jge 0x4b89ef
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042978c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042978c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004297b8
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4b89b5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4bdd04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405294
xor eax, eax
push ebp
push 0x4bdd98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404e14
mov eax, dword [ebp - 4]
test eax, eax
je 0x4bdd40
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test bx, bx
jbe 0x4bdd7a
mov di, 1
movzx eax, di
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax - 1]
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
movzx edx, word [ebp - 6]
xor dx, 0xf
call fcn.00404ffc
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004050e0
inc edi
dec bx
jne 0x4bdd4b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd9f
lea eax, [ebp - 0xc]
call fcn.00404e14
lea eax, [ebp - 4]
call fcn.00404e14
ret
Function at 0x4be9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4be9d9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405294
xor eax, eax
push ebp
push 0x4bebd7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004be7b4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004be7b4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404eac
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4bea30
sub eax, 4
mov eax, dword [eax]
sar eax, 1
jns 0x4bea37
adc eax, 0
test eax, eax
jle 0x4beb9c
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x4bea57
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404eac
lea eax, [ebp - 0x14]
call fcn.00404e14
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4bea6b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
sar edi, 1
jns 0x4bea74
adc edi, 0
test edi, edi
jle 0x4beb92
mov ebx, 1
mov edx, 0x4bebe8
lea eax, [ebp - 0x28]
call fcn.004036c4
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403694
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.004036c4
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403694
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.00405078
mov eax, dword [ebp - 0x24]
call fcn.00409e34
mov byte [ebp - 0x19], al
mov edx, 0x4bebe8
lea eax, [ebp - 0x28]
call fcn.004036c4
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403694
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.004036c4
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403694
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.00405078
mov eax, dword [ebp - 0x34]
call fcn.00409e34
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
movzx edx, byte [ebp - 0x1a]
call fcn.00404ffc
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004be7b4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
call fcn.004050e0
inc ebx
dec edi
jne 0x4bea81
inc esi
dec dword [ebp - 0x20]
jne 0x4bea47
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404e68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bebde
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404e38
lea eax, [ebp - 0x24]
call fcn.00404e14
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404e38
ret
Function at 0x4c0c74
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004037e0
ret

Function at 0x4e9ee8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4e9f42
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004e9ed8
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004e2ab0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004e26a8
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9f49
lea eax, [ebp - 4]
call fcn.00404e14
ret
Function at 0x4f548c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4f5494
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4f5686
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4f569c
mov eax, esi
call fcn.004e880c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404e68
lea ecx, [ebp - 0x10]
mov edx, 0x4f56b0
mov eax, esi
call fcn.004e880c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404e68
lea ecx, [ebp - 0x14]
mov edx, 0x4f56c8
mov eax, esi
call fcn.004e880c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404e68
lea ecx, [ebp - 0x18]
mov edx, 0x4f56e4
mov eax, esi
call fcn.004e880c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404e68
lea ecx, [ebp - 0x1c]
mov edx, 0x4f5700
mov eax, esi
call fcn.004e880c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404e68
lea ecx, [ebp - 0x24]
mov edx, 0x4f5718
mov eax, esi
call fcn.004e880c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409994
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409e70
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4f5730
mov eax, esi
call fcn.004e880c
mov eax, dword [ebp - 0x28]
call fcn.004e62b4
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4f5740
mov eax, esi
call fcn.004e880c
mov eax, dword [ebp - 0x2c]
call fcn.004e62b4
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4f5758
mov eax, esi
call fcn.004e880c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409e70
inc eax
je 0x4f5629
lea ecx, [ebp - 0x34]
mov edx, 0x4f5758
mov eax, esi
call fcn.004e880c
mov eax, dword [ebp - 0x34]
call fcn.00409e34
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
movzx edx, word [ebp - 4]
movzx eax, word [ebp - 8]
call fcn.0040bc38
fstp qword [ebp - 0x3c]
wait
call fcn.0040bfa0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4f5644
lea ecx, [ebp - 0x40]
mov edx, 0x4f5758
mov eax, esi
call fcn.004e880c
mov eax, dword [ebp - 0x40]
call fcn.004e62b4
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4f5768
mov eax, esi
call fcn.004e880c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404e68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f568d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404e38
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404e38
ret
Function at 0x4fc6b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x4fc6cd
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x4fc6da
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4fc6f8
cld
pop edi
pop esi
movzx ecx, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fc71c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
movzx ecx, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4fc762
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.00405078
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00405078
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52864c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x56bbcc
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x52866e
shr eax, 1
xor eax, 0xedb88320
jmp 0x528670
shr eax, 1
dec edx
jne 0x52865c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x528655
mov byte [0x56bfcc], 1
pop esi
pop ebx
ret

Function at 0x52868c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x56bfcc], 0
jne 0x5286a3
call fcn.0052864c
mov eax, edi
dec eax
test eax, eax
jl 0x5286cb
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x56bbcc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5286ad
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x52b008
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x52b0a2.0
jmp dword [ecx*4 + 0x52b03b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x52b06d
sub dl, 8
je 0x52b07c
jmp case.0x52b0a2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52acb4
jmp case.0x52b0a2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52ad0c
jmp case.0x52b0a2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x52b0a2.0
movzx ecx, byte [ecx + 0x52b0a9]
jmp dword [ecx*4 + 0x52b0ba]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52adb8
jmp case.0x52b0a2.0
cmp dl, 3
jne 0x52b0e7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52ae0c
jmp case.0x52b0a2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52adc8
jmp case.0x52b0a2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52ae50
jmp case.0x52b0a2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x52b112
sub dl, 8
je 0x52b11e
jmp case.0x52b0a2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52ae7c
jmp case.0x52b0a2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52aee8
jmp case.0x52b0a2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x52b13d
sub dl, 8
je 0x52b149
jmp case.0x52b0a2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52afa4
jmp case.0x52b0a2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52afcc
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x52b1ed
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0052a1c0
test eax, eax
je 0x52b1ed
mov eax, ebx
call fcn.0052b1f8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x52b186
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8