joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46dec0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00628ef0
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
push esi
test eax, eax
je 0x46dee5
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x46deea
mov ebx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x46dfbb
push edi
mov edi, dword [ebp + 8]
inc edi
nop word [eax + eax]
movzx eax, byte [edi - 1]
cmp esi, 3
jb 0x46df4d
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
mov ecx, eax
shr ecx, 6
add edx, 2
and ecx, 0x3f
and eax, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov cl, byte [eax + ebx]
jmp 0x46df90
shl eax, 0x10
cmp esi, 2
jne 0x46df5d
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
add edx, 2
cmp esi, 1
jne 0x46df83
mov al, 0x3d
jmp 0x46df8c
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [edx], al
mov cl, 0x3d
lea eax, [edx + 1]
sub esi, 3
mov byte [eax], cl
lea edx, [eax + 1]
mov ecx, dword [ebp - 4]
add edi, 3
add ecx, 4
mov dword [ebp - 4], ecx
test esi, esi
jg 0x46df00
pop edi
pop esi
mov byte [edx], 0
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov byte [edx], cl
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472b70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00628ef0
push ebx
push esi
mov eax, ecx
mov esi, edx
push edi
mov dword [ebp - 4], eax
call fcn.00493df0
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.0062e060
add esp, 8
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x472c28
push 0x45
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [edi + 1]
lea ecx, [edi + 2]
call fcn.004818c0
push 0x6d7188
push esi
push 0x6d718c
push dword [ebp - 4]
push str.fopen_
push 5
call fcn.00482150
add esp, 0x24
call fcn.00635abd
cmp dword [eax], 2
je 0x472bfe
call fcn.00635abd
cmp dword [eax], 6
je 0x472bfe
lea eax, [edi + 2]
lea ecx, [edi + 0x4e]
jmp 0x472c08
mov eax, 0x80
mov ecx, 0x4c
push ecx
mov edx, 0x6d
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_bss_file.c
push eax
lea ecx, [edx - 0x4d]
call fcn.004818c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x695d50
call fcn.0046aa80
add esp, 4
mov esi, eax
push edi
test esi, esi
jne 0x472c4d
call fcn.0063ab0e
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0x6a
push esi
call fcn.0046b550
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.00628ef0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], edx
cmp edx, ebx
je 0x475336
mov eax, dword [ebx + 4]
push esi
lea esi, [ecx - 1]
not ecx
shr ecx, 0x1f
shr esi, 0x1f
and esi, ecx
mov ecx, dword [edx + 4]
xor eax, ecx
dec esi
and eax, esi
mov dword [ebp - 0xc], esi
xor ecx, eax
mov dword [edx + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
movd xmm0, esi
and eax, esi
pshufd xmm4, xmm0, 0
xor ecx, eax
mov dword [edx + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, esi
and eax, 4
xor ecx, eax
mov dword [edx + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x475335
push edi
cmp ecx, 4
jb 0x475310
mov esi, dword [edx]
lea edx, [ecx - 1]
mov edi, dword [ebx]
lea edx, [edi + edx*4]
mov dword [ebp + 8], edx
lea edx, [ecx - 1]
lea edx, [esi + edx*4]
mov dword [ebp - 4], edx
cmp edi, edx
mov edx, dword [ebp - 8]
ja 0x4752a9
cmp dword [ebp + 8], esi
jae 0x475310
cmp edi, ebx
ja 0x4752b2
cmp dword [ebp + 8], ebx
jae 0x475310
cmp edi, edx
ja 0x4752bb
cmp dword [ebp + 8], edx
jae 0x475310
cmp esi, ebx
ja 0x4752c4
cmp dword [ebp - 4], ebx
jae 0x475310
cmp esi, edx
ja 0x4752cd
cmp dword [ebp - 4], edx
jae 0x475310
mov dword [ebp + 8], ecx
and dword [ebp + 8], 0xfffffffc
movups xmm3, xmmword [edi + eax*4]
movups xmm2, xmmword [esi + eax*4]
movaps xmm1, xmm3
pxor xmm1, xmm2
pand xmm1, xmm4
movaps xmm0, xmm1
pxor xmm1, xmm3
pxor xmm0, xmm2
movups xmmword [esi + eax*4], xmm0
movups xmmword [edi + eax*4], xmm1
add eax, 4
cmp eax, dword [ebp + 8]
jl 0x4752d4
mov dword [ebp + 8], eax
cmp eax, ecx
jge 0x475334
nop dword [eax]
mov ecx, dword [edx]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
mov edi, dword [ecx + eax*4]
xor edi, edx
and edi, dword [ebp - 0xc]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
mov edx, dword [ebp - 8]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, dword [ebp + 0xc]
jl 0x475310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477ea0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov eax, dword [ecx + 4]
cmp eax, 0x18
jne 0x477eb1
mov edx, ecx
xor ecx, ecx
jmp fcn.004778d0
cmp eax, 0x17
jne 0x477ebf
mov edx, ecx
xor ecx, ecx
jmp fcn.004778d0
xor eax, eax
ret

Function at 0x47f5c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 4
call fcn.00628ef0
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [esp + 0xc], esi
call fcn.0047f540
test eax, eax
je 0x47f62f
cmp eax, 0x70e074
je 0x47f62f
call fcn.0047f540
test eax, eax
je 0x47f609
mov eax, dword [eax + 4]
test eax, eax
je 0x47f609
push ebx
push esi
call eax
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x64
push 0x3ae
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rand_rand_lib.c
push 0x65
lea ecx, [edx - 0x40]
call fcn.004818c0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x4b7030
mov ecx, 0x717138
call fcn.00488a50
neg eax
sbb eax, eax
test dword [0x71713c], eax
je 0x47f727
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x71712c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x47f756
push edi
push edi
xor ecx, ecx
call fcn.00493940
add esp, 8
test eax, eax
je 0x47f727
lea ecx, [edi + 1]
call fcn.00492bb0
test eax, eax
je 0x47f727
mov esi, dword [0x717134]
push esi
push ecx
mov dword [eax + 8], 1
call fcn.004b63c0
mov edi, eax
add esp, 8
test edi, edi
je 0x47f719
test esi, esi
jne 0x47f730
cmp dword [edi + 0x64], esi
je 0x47f6c9
mov eax, 0x81
mov ecx, 0x336
jmp 0x47f6fb
cmp dword [edi], 0
jne 0x47f730
mov eax, dword [edi + 4]
test eax, eax
je 0x47f6e6
cmp dword [eax], 0
jne 0x47f6e6
mov eax, 0x82
mov ecx, 0x33d
jmp 0x47f6fb
call fcn.00488a00
mov dword [edi], eax
test eax, eax
jne 0x47f730
mov eax, 0x7e
mov ecx, 0x344
push ecx
mov edx, 0x77
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_randdrbg_lib.c
push eax
lea ecx, [edx - 0x53]
call fcn.004818c0
add esp, 0xc
mov ecx, edi
call fcn.004b64f0
push 0
push dword [0x71712c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov dword [edi + 0x58], 1
mov ecx, edi
mov dword [edi + 0x5c], 1
call fcn.004b65b0
add esp, 4
push edi
push dword [0x71712c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.004b6e40
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481fd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 8
call fcn.00628ef0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call esi
push 0
push 0x40000
xor ecx, ecx
mov dword [esp + 0x14], eax
call fcn.00493940
add esp, 8
test eax, eax
je 0x4820f6
mov edx, 0x481f90
mov ecx, 0x716908
call fcn.00488a50
neg eax
sbb eax, eax
test dword [0x7168fc], eax
je 0x4820f6
call esi
push dword [0x716d14]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0xffffffff
je 0x4820f6
test edi, edi
jne 0x4820d3
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xffffffffffffffff
push dword [0x716d14]
call esi
test eax, eax
je 0x4820f6
push 0x188
mov dword [0x70e32c], edi
call fcn.006330cd
mov edi, eax
add esp, 4
test edi, edi
je 0x4820ec
push 0x188
push 0
push edi
call fcn.0062c020
add esp, 0xc
xor ecx, ecx
push 0
push 0
call fcn.00493940
add esp, 8
test eax, eax
je 0x4820e5
mov ecx, 1
call fcn.00492bb0
test eax, eax
je 0x4820e5
push edi
mov dword [eax + 4], 1
push dword [0x716d14]
call esi
test eax, eax
je 0x4820e5
push 0
push 2
xor ecx, ecx
call fcn.00493940
add esp, 8
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.004814e0
push 0
push dword [0x716d14]
call esi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x487580
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x10]
push eax
call fcn.0062c020
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x488760
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2c
call fcn.00628ef0
mov eax, dword [0x70d514]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 8], eax
mov eax, esi
mov dword [esp + 0xc], edx
push edi
sub eax, 0
je 0x4887d2
sub eax, 2
je 0x4887d2
sub eax, 0x15
je 0x4887d2
mov edx, 0x8f
push 0x297
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_addr.c
push 0x83
lea ecx, [edx - 0x6f]
call fcn.004818c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00628dca
mov esp, ebp
pop ebp
ret
call fcn.00488980
cmp eax, 1
jne 0x4887be
xor eax, eax
mov dword [esp + 0x18], esi
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
xor edi, edi
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x488814
test esi, esi
jne 0x488814
or eax, 0x400
mov dword [esp + 0x14], eax
push dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
je 0x48886c
nop
cmp esi, 8
je 0x4888c7
mov eax, dword [esp + 0x14]
test eax, 0x400
je 0x488883
push dword [esp + 0xc]
and eax, 0xfffffbff
mov edi, esi
or eax, 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x488830
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00628dca
mov esp, ebp
pop ebp
ret
mov edx, 0x8f
push 0x2da
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_addr.c
push 2
lea ecx, [edx - 0x6f]
call fcn.004818c0
test edi, edi
cmovne esi, edi
mov ecx, esi
call fcn.00488280
push eax
push 1
call fcn.00482150
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00628dca
mov esp, ebp
pop ebp
ret
mov edx, 0x8f
push 0x2cb
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_addr.c
push 0x41
lea ecx, [edx - 0x6f]
call fcn.004818c0
mov ecx, dword [esp + 0x40]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00628dca
mov esp, ebp
pop ebp
ret

Function at 0x488980
Capabilities:
Initialize winsock library

Disassembly:
cmp dword [0x716dd0], 0
jne 0x4889f9
push 0x190
push 0
push 0x716dd8
mov dword [0x716dd0], 1
call fcn.0062c020
add esp, 0xc
push 0x716dd8
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4889f9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 9
push 0x87
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock.c
push eax
lea ecx, [edx - 7]
call fcn.004818c0
mov edx, 0x70
push 0x88
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock.c
push 0x7a
lea ecx, [edx - 0x50]
call fcn.004818c0
add esp, 0x18
or eax, 0xffffffff
ret
mov eax, 1
ret
Function at 0x48b070
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, ecx
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.0062c020
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov eax, 1
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
ret

Function at 0x48b0d0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.0062c020
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
ret

Function at 0x48b510
Capabilities:
Hash data using sha224

Disassembly:
mov dword [ecx], 0xc1059ed8
mov eax, 1
mov dword [ecx + 4], 0xcbbb9d5d
mov dword [ecx + 8], 0x367cd507
mov dword [ecx + 0xc], 0x629a292a
mov dword [ecx + 0x10], 0x3070dd17
mov dword [ecx + 0x14], 0x9159015a
mov dword [ecx + 0x18], 0xf70e5939
mov dword [ecx + 0x1c], 0x152fecd8
mov dword [ecx + 0x20], 0xffc00b31
mov dword [ecx + 0x24], 0x67332667
mov dword [ecx + 0x28], 0x68581511
mov dword [ecx + 0x2c], 0x8eb44a87
mov dword [ecx + 0x30], 0x64f98fa7
mov dword [ecx + 0x34], 0xdb0c2e0d
mov dword [ecx + 0x38], 0xbefa4fa4
mov dword [ecx + 0x3c], 0x47b5481d
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0xd0], 0
mov dword [ecx + 0xd4], 0x30
ret

Function at 0x48b5c0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], 0xf3bcc908
mov eax, 1
mov dword [ecx + 4], 0x6a09e667
mov dword [ecx + 8], 0x84caa73b
mov dword [ecx + 0xc], 0xbb67ae85
mov dword [ecx + 0x10], 0xfe94f82b
mov dword [ecx + 0x14], 0x3c6ef372
mov dword [ecx + 0x18], 0x5f1d36f1
mov dword [ecx + 0x1c], 0xa54ff53a
mov dword [ecx + 0x20], 0xade682d1
mov dword [ecx + 0x24], 0x510e527f
mov dword [ecx + 0x28], 0x2b3e6c1f
mov dword [ecx + 0x2c], 0x9b05688c
mov dword [ecx + 0x30], 0xfb41bd6b
mov dword [ecx + 0x34], 0x1f83d9ab
mov dword [ecx + 0x38], 0x137e2179
mov dword [ecx + 0x3c], 0x5be0cd19
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0xd0], 0
mov dword [ecx + 0xd4], 0x40
ret

Function at 0x48c140
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
push 0x4c
push 0
lea eax, [esi + 0x14]
push eax
call fcn.0062c020
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
ret
Function at 0x48c5a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.00628ef0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x14], ebx
xor ecx, ecx
test esi, esi
je 0x48c6a5
mov edx, dword [ebp + 0xc]
cmp esi, 0x40
jb 0x48c68a
lea eax, [esi - 1]
add eax, ebx
cmp edx, eax
ja 0x48c5e6
lea eax, [edx - 1]
add eax, esi
cmp eax, ebx
jae 0x48c68a
lea eax, [esi - 1]
add eax, edi
cmp edx, eax
ja 0x48c5fc
lea eax, [edx - 1]
add eax, esi
cmp eax, edi
jae 0x48c68a
mov eax, esi
mov esi, edi
sub esi, ebx
and eax, 0xffffffc0
mov dword [ebp - 4], esi
mov esi, edx
sub esi, ebx
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x10]
mov dword [ebp - 8], esi
mov ebx, edi
lea esi, [edx + 0x20]
sub ebx, edx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
movups xmm0, xmmword [eax - 0x10]
mov edx, dword [ebp - 8]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx + edi]
lea esi, [esi + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [esi - 0x60], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [edx + eax - 0x40], xmm1
mov edx, dword [ebp - 0xc]
movups xmm1, xmmword [edx + esi - 0x40]
mov edx, dword [ebp + 0xc]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [esi - 0x40], xmm1
movups xmm1, xmmword [ecx + edi + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi - 0x30], xmm1
cmp ecx, dword [ebp - 0x10]
jb 0x48c622
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, esi
jae 0x48c6a5
sub edi, ebx
lea eax, [ecx + ebx]
sub edx, ebx
sub esi, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + edx - 1], cl
sub esi, 1
jne 0x48c693
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c6b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00628ef0
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov ebx, dword [esi + 0x14]
cmp edi, ebx
jbe 0x48c789
mov ecx, dword [esi + 0x18]
cmp edi, ecx
jb 0x48c73c
mov eax, edi
sub eax, ecx
add eax, 4
and eax, 0xfffffffc
add eax, ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x18], eax
shl eax, 4
test ecx, ecx
jne 0x48c70e
test eax, eax
je 0x48c72e
push eax
mov dword [0x70e32c], 0
call fcn.006330cd
add esp, 4
jmp 0x48c72e
test eax, eax
jne 0x48c724
push ecx
call fcn.0062f9c7
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push ecx
call fcn.0062f9e2
add esp, 8
test eax, eax
jne 0x48c739
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x40], eax
mov ecx, ebx
mov eax, edi
shl ecx, 4
mov edi, esi
sub eax, ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
nop dword [eax]
add ecx, dword [edi + 0x40]
mov edx, 1
mov bl, byte [ecx]
lea esi, [ecx + 0x10]
shr bl, 7
neg bl
push esi
and bl, 0x87
call fcn.0048c4f0
mov ecx, dword [ebp - 4]
add esp, 4
xor byte [esi + 0xf], bl
add ecx, 0x10
sub dword [ebp - 8], 1
mov dword [ebp - 4], ecx
jne 0x48c750
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov dword [esi + 0x14], edi
shl edi, 4
add edi, dword [esi + 0x40]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d7c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0048d2c0
add esp, 4
test eax, eax
js 0x48d9d2
mov eax, dword [esi + 0xf0]
push ebx
push edi
xor ebx, ebx
lea edi, [eax*4]
test edi, edi
jle 0x48d849
mov eax, dword [ebp + 8]
lea esi, [esi + edi*4]
add esi, 8
add eax, 8
nop dword [eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x48d800
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xf0]
mov ebx, 1
cmp eax, ebx
jle 0x48d9ce
lea edi, [esi + 4]
nop dword [eax]
movzx eax, byte [edi + 0xd]
lea edi, [edi + 0x10]
mov edx, dword [edi - 4]
inc ebx
movzx ecx, byte [eax*4 + str.cc]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x6a3a80]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a4380]
movzx eax, byte [edi - 2]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a3e80]
movzx eax, dl
mov edx, dword [edi]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a53d0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi - 4], ecx
movzx ecx, byte [eax*4 + str.cc]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x6a3e80]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a3a80]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a4380]
movzx eax, dl
mov edx, dword [edi + 4]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a53d0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
movzx ecx, byte [eax*4 + str.cc]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x6a3e80]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a3a80]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a4380]
movzx eax, dl
mov edx, dword [edi + 8]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a53d0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [eax*4 + str.cc]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x6a3e80]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a3a80]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a4380]
movzx eax, dl
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6a53d0]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0xf0]
jl 0x48d860
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret