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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x30
lea ebx, [ebp - 0x34]
mov dword [ebp - 0x40], edx
mov eax, ebx
mov dword [ebp - 0x38], ecx
push 0
push eax
call fcn.00525340
mov edx, dword [ebp - 0x38]
mov esi, 1
add esp, 0xc
xor edi, edi
sub esi, edx
lea ecx, [edx + 0x20]
lea eax, [edx + 0xf]
mov dword [ebp - 0x3c], ecx
add byte [eax], 1
jne 0x46e73d
dec eax
lea ecx, [esi + eax]
test ecx, ecx
jg 0x46e730
mov ecx, dword [ebp - 0x3c]
push ebx
call fcn.0048bf90
add esp, 4
test eax, eax
jne 0x46e7a4
mov edx, dword [ebp - 0x38]
add edi, 0x10
add ebx, 0x10
lea eax, [edx + 0xf]
cmp edi, 0x30
jl 0x46e730
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x34]
xor edx, edx
sub ecx, eax
lea eax, [ebp - 0x34]
add eax, edx
add edx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [ecx + eax]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp edx, 0x30
jl 0x46e768
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x34]
push 0x100
call fcn.0048add0
add esp, 4
test eax, eax
jne 0x46e7a4
mov ecx, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x46e970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0x587608
push ecx
mov dword [ebp - 4], edx
call fcn.0052e79e
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x46e996
mov eax, 0xffffc200
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 2
push 0
push ebx
call fcn.0052a49a
push ebx
call fcn.0053573e
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
jne 0x46e9c5
push ebx
call fcn.005294e0
add esp, 4
mov eax, 0xffffc200
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
push ebx
call fcn.0052a49a
mov esi, dword [ebp + 8]
lea eax, [edi + 1]
add esp, 0xc
mov dword [esi], edi
test eax, eax
je 0x46ea76
xor eax, eax
add edi, 1
setb al
neg eax
or eax, edi
push eax
push 1
call fcn.0052fab7
mov ecx, dword [ebp - 4]
add esp, 8
mov dword [ecx], eax
test eax, eax
je 0x46ea76
push ebx
push dword [esi]
push 1
push eax
call fcn.0052a094
mov esi, dword [esi]
mov edi, eax
push ebx
call fcn.005294e0
mov eax, dword [ebp - 4]
add esp, 0x14
mov edx, dword [eax]
cmp edi, esi
je 0x46ea50
mov eax, dword [ebp + 8]
mov ecx, edx
mov eax, dword [eax]
test eax, eax
je 0x46ea3b
nop
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x46ea30
push edx
call fcn.00529d29
add esp, 4
mov eax, 0xffffc200
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
push str._____BEGIN
push edx
mov eax, dword [ebx]
mov byte [edx + eax], 0
call fcn.005244a0
add esp, 8
test eax, eax
je 0x46ea6d
inc dword [ebx]
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.005294e0
add esp, 4
mov eax, 0xffffc080
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f170
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
xorps xmm0, xmm0
movq qword [eax], xmm0
push eax
mov dword [eax + 8], 0
lea eax, [ebp - 0xc]
push eax
call fcn.004747f0
add esp, 8
test eax, eax
je 0x46f1a1
add eax, 0xffffc580
mov esp, ebp
pop ebp
ret
cmp dword [0x572788], 0
push ebx
push esi
push edi
mov edi, 0x572788
mov edx, edi
je 0x46f215
mov ebx, dword [ebp - 8]
cmp dword [edx + 4], ebx
jne 0x46f20b
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [ebp - 4]
sub esi, 4
jb 0x46f1d9
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x46f1de
add edx, 4
add eax, 4
sub esi, 4
jae 0x46f1c8
cmp esi, 0xfffffffc
je 0x46f221
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x46f20b
cmp esi, 0xfffffffd
je 0x46f221
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x46f20b
cmp esi, 0xfffffffe
je 0x46f221
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x46f20b
cmp esi, 0xffffffff
je 0x46f221
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x46f221
add edi, 0x14
mov edx, edi
cmp dword [edi], 0
jne 0x46f1b7
pop edi
pop esi
mov eax, 0xffffc380
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x46f215
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
mov dword [eax], ecx
cmp ecx, 1
jne 0x46f252
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, 5
je 0x46f240
test eax, eax
jne 0x46f246
cmp dword [ecx + 4], 0
je 0x46f252
pop edi
pop esi
mov eax, 0xffffc580
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470550
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test edx, edx
push ebx
mov ecx, 0x367cd507
mov dword [ebp - 0xc], 0xc1059ed8
mov dword [eax], 0
mov ebx, 0xa54ff53a
mov dword [eax + 4], 0
mov edx, 0x510e527f
mov eax, 0xbb67ae85
cmovne eax, ecx
mov ecx, 0x3070dd17
mov dword [ebp - 0x10], eax
mov eax, 0x3c6ef372
cmovne eax, ecx
mov ecx, 0x5be0cd19
mov dword [ebp - 0x14], eax
mov eax, 0xf70e5939
cmovne ebx, eax
mov eax, 0x64f98fa7
push esi
push edi
mov edi, 0x1f83d9ab
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
cmovne edi, eax
mov eax, 0x68581511
mov esi, 0x9b05688c
cmovne esi, eax
test ebx, ebx
mov ebx, dword [ebp - 4]
mov eax, 0xffc00b31
cmovne edx, eax
mov eax, 0xbefa4fa4
cmovne ecx, eax
mov eax, 0x6a09e667
cmovne eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 0x68], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472e90
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, ecx
mov dword [ebp - 4], eax
push edi
mov edi, 0x5724f8
mov edx, edi
test eax, eax
je 0x472f14
cmp dword [0x5724f8], 0
je 0x472f14
mov ebx, dword [eax + 4]
cmp dword [edx + 4], ebx
jne 0x472f0a
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [eax + 8]
sub esi, 4
jb 0x472ed5
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x472eda
add edx, 4
add eax, 4
sub esi, 4
jae 0x472ec4
cmp esi, 0xfffffffc
je 0x472f1d
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x472f07
cmp esi, 0xfffffffd
je 0x472f1d
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x472f07
cmp esi, 0xfffffffe
je 0x472f1d
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x472f07
cmp esi, 0xffffffff
je 0x472f1d
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x472f1d
mov eax, dword [ebp - 4]
add edi, 0x18
mov edx, edi
cmp dword [edi], 0
jne 0x472eb3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474a00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 0x40
mov dword [ebp - 0x78], eax
mov edi, edx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x7c], esi
push 0
push eax
call fcn.00525340
push dword [ebp + 0x10]
mov edx, esi
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0x67452301
mov dword [ebp - 0x68], 0xefcdab89
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
call fcn.004765c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x474b38
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
push 8
call fcn.004765c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x474b38
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x74]
call fcn.00476670
mov esi, eax
test esi, esi
jne 0x474b38
cmp edi, 0x10
ja 0x474ab3
push edi
lea eax, [ebp - 0x18]
push eax
push ebx
jmp 0x474b30
movups xmm0, xmmword [ebp - 0x18]
lea ecx, [ebp - 0x74]
movups xmmword [ebx], xmm0
call fcn.00475d80
mov esi, eax
test esi, esi
jne 0x474b38
push 0x10
lea edx, [ebp - 0x18]
call fcn.004765c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x474b38
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x74]
call fcn.004765c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x474b38
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
push 8
call fcn.004765c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x474b38
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x74]
call fcn.00476670
mov esi, eax
test esi, esi
jne 0x474b38
cmp edi, 0x20
lea eax, [edi - 0x10]
mov ecx, 0x10
cmovae eax, ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.00524840
add esp, 0xc
mov eax, 0x58
lea ecx, [ebp - 0x74]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x474b40
mov eax, 0x10
lea ecx, [ebp - 0x18]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x474b53
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x475d80
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0
xor eax, eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret
Function at 0x476850
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 0x30], edx
mov dword [ecx + 0xc], 0
push ebx
push esi
push edi
test edx, edx
jne 0x4768e5
mov eax, 0x137e2179
mov dword [ebp - 0x20], 0x2b3e6c1f
mov esi, 0x5be0cd19
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
mov edi, 0xfb41bd6b
mov ebx, 0x1f83d9ab
mov dword [ebp - 0x24], 0x9b05688c
mov dword [ebp - 0x1c], 0x510e527f
mov edx, 0xade682d1
mov dword [ebp - 0x14], 0x5f1d36f1
mov esi, 0xfe94f82b
mov dword [ebp - 0x18], 0xa54ff53a
mov eax, 0xf3bcc908
mov dword [ebp - 0x10], 0x3c6ef372
mov dword [ebp - 8], 0x84caa73b
mov dword [ebp - 0xc], 0xbb67ae85
mov dword [ebp - 4], 0x6a09e667
jmp 0x47694d
mov eax, 0xbefa4fa4
mov dword [ebp - 0x20], 0x68581511
mov esi, 0x47b5481d
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
mov edi, 0x64f98fa7
mov ebx, 0xdb0c2e0d
mov dword [ebp - 0x24], 0x8eb44a87
mov edx, 0xffc00b31
mov dword [ebp - 0x1c], 0x67332667
mov dword [ebp - 0x14], 0xf70e5939
mov esi, 0x3070dd17
mov dword [ebp - 0x18], 0x152fecd8
mov eax, 0xc1059ed8
mov dword [ebp - 0x10], 0x9159015a
mov dword [ebp - 8], 0x367cd507
mov dword [ebp - 0xc], 0x629a292a
mov dword [ebp - 4], 0xcbbb9d5d
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x20], esi
mov esi, dword [ebp - 0x10]
mov dword [ecx + 0x24], esi
mov esi, dword [ebp - 0x14]
mov dword [ecx + 0x28], esi
mov esi, dword [ebp - 0x18]
mov dword [ecx + 0x2c], esi
mov esi, dword [ebp - 0x2c]
mov dword [ecx + 0x30], edx
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x34], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x38], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x3c], edx
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x40], edi
mov dword [ecx + 0x44], ebx
mov dword [ecx + 0x48], eax
xor eax, eax
pop edi
mov dword [ecx + 0x4c], esi
pop esi
mov dword [ecx + 0xd0], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ae20
Capabilities:
Hash data using sha1

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
mov ebx, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ebx
mov edx, dword [edi]
cmp dword [edx + 0x3c], 0
jne 0x48022c
cmp dword [edx + 0x94], 0
je 0x480206
cmp dword [edx + 0x9c], 0
je 0x480206
cmp dword [edx + 0xa0], 0
je 0x480206
cmp dword [edx + 0x98], 0
jne 0x48022c
push str.got_no_pre_shared_key
push 0xd40
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 1
push edi
call fcn.00475430
mov eax, 0xffff8a00
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, ecx
mov ebx, dword [ebx]
sub eax, ebx
cmp eax, 2
jge 0x480249
push str.bad_client_key_exchange_message
push 0xd49
jmp 0x480329
movzx esi, byte [ebx]
movzx eax, byte [ebx + 1]
add ebx, 2
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ebx
cmp esi, 1
jb 0x48031f
sub ecx, ebx
cmp esi, ecx
ja 0x48031f
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x480286
push esi
push ebx
push edi
push dword [edx + 0x40]
call eax
add esp, 0x10
test eax, eax
jmp 0x4802c1
cmp esi, dword [edx + 0xa0]
jne 0x4802c3
mov edx, dword [edx + 0x9c]
mov byte [ebp - 1], 0
test esi, esi
je 0x4802bd
sub ebx, edx
mov edi, esi
movzx eax, byte [ebx + edx]
lea edx, [edx + 1]
movzx ecx, byte [edx - 1]
xor ecx, eax
mov al, byte [ebp - 1]
or eax, ecx
mov byte [ebp - 1], al
sub edi, 1
jne 0x4802a0
mov edi, dword [ebp - 0x14]
cmp byte [ebp - 1], 0
je 0x4802ca
mov dword [ebp - 8], 0xffff9380
cmp dword [ebp - 8], 0xffff9380
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
jne 0x480312
push esi
push eax
push str.Unknown_PSK_identity
push 0xd68
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
mov edx, 3
mov ecx, edi
call fcn.00475580
add esp, 0x14
mov dl, 2
mov ecx, edi
push 0x73
call fcn.0046a220
add esp, 4
mov eax, 0xffff9380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, esi
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.bad_client_key_exchange_message
push 0xd52
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 1
push edi
call fcn.00475430
add esp, 0x14
mov eax, 0xffff8400
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48abb0
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x48abc3
mov esi, 1
mov edx, 0x5bff10
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x5bff38
jl 0x48ac00
mov eax, 1
mov byte [0x5bf910], 0x63
mov byte [0x5bfe73], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x5bf910], bl
mov byte [ebx + 0x5bfe10], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x48ac40
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x5bf910]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x5c1338], ecx
rol ecx, 8
mov dword [esi*4 + 0x5c0f38], ecx
rol ecx, 8
mov dword [esi*4 + 0x5c0338], ecx
rol ecx, 8
mov dword [esi*4 + 0x5bff38], ecx
movzx ecx, byte [esi + 0x5bfe10]
test ecx, ecx
je 0x48ad6f
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x48ad78
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x5c0b38], eax
rol eax, 8
mov dword [esi*4 + 0x5c0738], eax
rol eax, 8
mov dword [esi*4 + 0x5c1738], eax
rol eax, 8
mov dword [esi*4 + 0x5bfa10], eax
inc esi
cmp esi, 0x100
jl 0x48acb5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48bd50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
push pe_nt_image_headers32
lea eax, [esp + 0x14]
mov esi, edx
push 0
push eax
mov ebx, ecx
call fcn.00525340
push dword [ebp + 8]
lea edi, [ebx + 8]
mov edx, esi
lea ecx, [esp + 0x20]
mov dword [ebx + 4], edi
call fcn.0048add0
mov edx, eax
add esp, 0x10
mov dword [esp + 0xc], edx
test edx, edx
jne 0x48bf54
mov ecx, dword [esp + 0x10]
mov dword [ebx], ecx
shl ecx, 4
add ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [edi + 0xc], eax
add edi, 0x10
mov esi, dword [ebx]
dec esi
test esi, esi
jle 0x48bf3e
nop dword [eax + eax]
movzx eax, byte [ecx + 3]
dec esi
movzx edx, byte [eax + 0x5bf910]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x5bfa10]
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5c1738]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5c0738]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5c0b38]
mov dword [edi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x5bf910]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x5c1738]
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5c0738]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5bfa10]
movzx eax, bl
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5c0b38]
mov dword [edi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x5bf910]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x5c1738]
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5c0738]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5bfa10]
movzx eax, bl
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5c0b38]
mov dword [edi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x5bf910]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x5c1738]
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5c0738]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5bfa10]
movzx eax, bl
movzx eax, byte [eax + 0x5bf910]
xor edx, dword [eax*4 + 0x5c0b38]
mov dword [edi + 0xc], edx
add edi, 0x10
test esi, esi
jg 0x48bde0
mov edx, dword [esp + 0xc]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
mov eax, pe_nt_image_headers32
lea ecx, [esp + 0x10]
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x48bf60
mov ecx, dword [esp + 0x12c]
mov eax, edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x48cab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
test al, 0xf
je 0x48cacc
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x48cc09
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
test edx, edx
jne 0x48cb5e
mov ebx, dword [ebp + 0xc]
dec eax
mov ecx, dword [ebp + 0x10]
mov edi, ebx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 8], ecx
mov dword [ebp - 8], eax
movups xmm2, xmmword [ecx]
mov edx, ecx
mov ecx, dword [ebp - 4]
push esi
call fcn.0048c520
lea eax, [ebx + 0xf]
add esp, 4
cmp esi, eax
ja 0x48cb30
lea eax, [esi + 0xf]
cmp eax, ebx
jb 0x48cb30
mov ecx, esi
mov edx, 0x10
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x48cb20
jmp 0x48cb3d
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
mov ecx, dword [ebp + 8]
add esi, 0x10
add ecx, 0x10
sub edi, 0x10
sub dword [ebp - 8], 1
movups xmmword [ebx], xmm2
mov dword [ebp + 8], ecx
jne 0x48caf7
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
lea edx, [eax - 1]
mov edi, dword [ebp + 0x10]
mov ebx, ecx
sub ebx, edi
shr edx, 4
inc edx
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], esi
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x48cb86
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x48cb94
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x48cbbc
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x48cbbc
mov ebx, esi
mov ecx, edi
mov esi, dword [ebp + 8]
sub ebx, edi
mov edx, 0x10
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x48cba2
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 8]
jmp 0x48cbc9
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp - 0x10], 1
mov edx, esi
mov ecx, dword [ebp - 4]
push esi
jne 0x48cbdc
call fcn.0048bf90
jmp 0x48cbe1
call fcn.0048c520
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0xc]
sub ebx, 0x10
add esi, 0x10
mov dword [ebp + 8], ebx
add esp, 4
mov dword [ebp - 8], esi
add edi, 0x10
sub dword [ebp - 0xc], 1
movups xmmword [ecx], xmm0
jne 0x48cb78
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x48d850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov eax, ecx
xor dl, dl
xor edi, edi
mov dword [ebp - 4], eax
test esi, esi
je 0x48d902
cmp esi, 0x20
jb 0x48d8e7
mov ecx, esi
mov edx, ebx
and ecx, 0xffffffe0
xorps xmm3, xmm3
xorps xmm2, xmm2
sub edx, eax
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edx + eax - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [ebx + edi + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, ecx
jb 0x48d881
mov eax, dword [ebp - 4]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd edx, xmm2
cmp edi, esi
jae 0x48d902
sub ebx, dword [ebp - 4]
add eax, edi
sub esi, edi
mov cl, byte [eax + ebx]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x48d8f2
pop edi
pop esi
movzx eax, dl
pop ebx
mov esp, ebp
pop ebp
ret