joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59c300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0x62a8a4
push dword [ebp + 8]
call fcn.005deeed
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x59c322
mov eax, 0xffffc200
pop ebx
pop ebp
ret
push edi
push 2
push 0
push ebx
call fcn.005df460
push ebx
call fcn.005dfa73
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
jne 0x59c34f
push ebx
call fcn.005dedb2
add esp, 4
mov eax, 0xffffc200
pop edi
pop ebx
pop ebp
ret
push esi
push 0
push 0
push ebx
call fcn.005df460
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], edi
add edi, 1
je 0x59c3d4
push edi
push 1
call fcn.005d9af7
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
test eax, eax
je 0x59c3d4
push ebx
push dword [esi]
push 1
push eax
call fcn.005df0ea
mov esi, dword [esi]
mov edi, eax
push ebx
call fcn.005dedb2
mov ecx, dword [ebp + 0xc]
add esp, 0x14
mov edx, dword [ecx]
cmp edi, esi
je 0x59c3af
push edx
call fcn.005d1ed0
add esp, 4
mov eax, 0xffffc200
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 0x10]
push str._____BEGIN
mov eax, dword [ebx]
mov byte [edx + eax], 0
push dword [ecx]
call fcn.005ca560
add esp, 8
test eax, eax
je 0x59c3cd
inc dword [ebx]
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
push ebx
call fcn.005dedb2
add esp, 4
mov eax, 0xffffc080
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x59e290
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x62b028
mov edx, edi
test eax, eax
je 0x59e311
cmp dword [0x62b028], 0
je 0x59e311
mov ebx, dword [eax + 4]
cmp dword [edx + 4], ebx
jne 0x59e307
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [eax + 8]
sub esi, 4
jb 0x59e2d2
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x59e2d7
add edx, 4
add eax, 4
sub esi, 4
jae 0x59e2c1
cmp esi, 0xfffffffc
je 0x59e31b
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x59e304
cmp esi, 0xfffffffd
je 0x59e31b
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x59e304
cmp esi, 0xfffffffe
je 0x59e31b
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x59e304
cmp esi, 0xffffffff
je 0x59e31b
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x59e31b
mov eax, dword [ebp + 8]
add edi, 0x14
mov edx, edi
cmp dword [edi], 0
jne 0x59e2b0
pop edi
pop esi
mov eax, 0xffffffd2
pop ebx
pop ebp
ret
test edi, edi
je 0x59e311
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x10]
pop edi
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x59e7d0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x62aea8
mov edx, edi
test eax, eax
je 0x59e851
cmp dword [0x62aea8], 0
je 0x59e851
mov ebx, dword [eax + 4]
cmp dword [edx + 4], ebx
jne 0x59e847
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [eax + 8]
sub esi, 4
jb 0x59e812
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x59e817
add edx, 4
add eax, 4
sub esi, 4
jae 0x59e801
cmp esi, 0xfffffffc
je 0x59e858
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x59e844
cmp esi, 0xfffffffd
je 0x59e858
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x59e844
cmp esi, 0xfffffffe
je 0x59e858
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x59e844
cmp esi, 0xffffffff
je 0x59e858
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x59e858
mov eax, dword [ebp + 8]
add edi, 0x18
mov edx, edi
cmp dword [edi], 0
jne 0x59e7f0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5aa380
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret

Function at 0x5ab180
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret
Function at 0x5ac4d0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push edi
mov edi, dword [ebp + 0x10]
push 0x40
push 0
push eax
call fcn.005c9220
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push esi
push eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x67452301
mov dword [ebp - 0x54], 0xefcdab89
mov dword [ebp - 0x50], 0x98badcfe
mov dword [ebp - 0x4c], 0x10325476
mov dword [ebp - 0x48], 0xc3d2e1f0
call fcn.005ab1c0
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.005ab270
add esp, 0x20
lea eax, [ebp - 0x60]
mov ecx, 0x5c
pop edi
pop esi
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x5ac550
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret

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

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov edx, 1
nop dword [eax]
mov eax, edx
mov dword [ebp + esi*4 - 0x804], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x404], 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 0x5b65c0
mov esi, 1
mov edx, 0x655940
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, 0x655968
jl 0x5b6600
mov eax, 1
mov byte [0x653740], 0x63
mov byte [0x6548a3], 0
mov dword [ebp - 0x808], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x404]
lea eax, [ebp - 0x408]
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 - 0x808]
mov byte [eax + 0x653740], bl
mov byte [ebx + 0x654840], al
inc eax
mov dword [ebp - 0x808], eax
cmp eax, 0x100
jl 0x5b6640
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 0x80c], ebx
nop
movzx edx, byte [esi + 0x653740]
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 + 0x653840], ecx
rol ecx, 8
mov dword [esi*4 + 0x653c40], ecx
rol ecx, 8
mov dword [esi*4 + 0x654040], ecx
rol ecx, 8
mov dword [esi*4 + 0x654440], ecx
movzx ecx, byte [esi + 0x654840]
test ecx, ecx
je 0x5b6780
mov ecx, dword [ebp + ecx*4 - 0x404]
mov eax, dword [ebp - 0x3cc]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e0]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x804]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d0]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x804]
cdq
idiv dword [ebp - 0x80c]
mov eax, dword [ebp + edx*4 - 0x804]
mov dword [ebp - 0x808], eax
mov eax, dword [ebp - 0x3d8]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x804]
jmp 0x5b678c
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x808], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 0x808]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x654940], eax
rol eax, 8
mov dword [esi*4 + 0x654d40], eax
rol eax, 8
mov dword [esi*4 + 0x655140], eax
rol eax, 8
mov dword [esi*4 + 0x655540], eax
inc esi
cmp esi, 0x100
jl 0x5b66c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
Function at 0x5b9600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
push 0x40
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x44]
push 0
push eax
mov dword [ebp - 0x48], ebx
call fcn.005c9220
push dword [ebx]
mov dword [ebp - 0x4c], 0
call fcn.0059b0a0
mov ebx, dword [ebp + 0xc]
add esp, 0x10
movzx eax, al
mov dword [ebp - 0x54], eax
test ebx, ebx
je 0x5b971b
push edi
push dword [ebp - 0x48]
cmp ebx, eax
mov edi, ebx
cmovae edi, eax
call fcn.0059b0f0
push dword [ebp + 0x14]
push dword [ebp - 0x50]
push dword [ebp - 0x48]
call fcn.0059b120
push 4
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
call fcn.0059b120
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call fcn.0059b150
add esp, 0x24
xor ecx, ecx
test edi, edi
je 0x5b970c
cmp edi, 0x40
jb 0x5b96fc
lea edx, [esi - 1]
lea eax, [ebp + edi - 0x45]
add edx, edi
cmp esi, eax
ja 0x5b96aa
lea eax, [ebp - 0x44]
cmp edx, eax
jae 0x5b96fc
mov eax, edi
and eax, 0xffffffc0
nop
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [ebp + ecx - 0x34]
pxor xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [esi + 0x20]
movups xmm1, xmmword [ebp + ecx - 0x24]
pxor xmm1, xmm0
movups xmmword [esi + 0x20], xmm1
movups xmm0, xmmword [esi + 0x30]
movups xmm1, xmmword [ebp + ecx - 0x14]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi + 0x30], xmm1
add esi, 0x40
cmp ecx, eax
jb 0x5b96b0
cmp ecx, edi
jae 0x5b970c
mov al, byte [ebp + ecx - 0x44]
inc ecx
xor byte [esi], al
inc esi
cmp ecx, edi
jb 0x5b9700
inc byte [ebp - 0x49]
mov eax, dword [ebp - 0x54]
sub ebx, edi
jne 0x5b9651
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
Function at 0x5bb790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebx]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x90], eax
call fcn.0059b0a0
add esp, 4
mov dword [ebp - 0x8c], 0
cmp dword [ebp + 0x20], 0
mov byte [ebp - 0x85], al
mov byte [ebp - 0x89], 1
je 0x5bb9a4
nop
push dword [ebp + 0x10]
push esi
push ebx
call fcn.0059b2f0
add esp, 0xc
test eax, eax
jne 0x5bb9a6
push dword [ebp + 0x18]
push edi
push ebx
call fcn.0059b4c0
add esp, 0xc
test eax, eax
jne 0x5bb9a6
push 4
lea eax, [ebp - 0x8c]
push eax
push ebx
call fcn.0059b4c0
add esp, 0xc
test eax, eax
jne 0x5bb9a6
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0059b500
add esp, 8
test eax, eax
jne 0x5bb9a6
movzx edi, byte [ebp - 0x85]
lea eax, [ebp - 0x44]
push edi
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.005c9900
mov esi, 1
add esp, 0xc
cmp dword [ebp + 0x1c], esi
jbe 0x5bb94a
push dword [ebp + 0x10]
push dword [ebp - 0x94]
push ebx
call fcn.0059b2f0
add esp, 0xc
test eax, eax
jne 0x5bb9a6
push edi
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.0059b4c0
add esp, 0xc
test eax, eax
jne 0x5bb9a6
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.0059b500
add esp, 8
test eax, eax
jne 0x5bb9a6
test edi, edi
je 0x5bb926
cmp edi, 0x40
jb 0x5bb926
mov ecx, edi
and ecx, 0xffffffc0
nop dword [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x44]
movups xmm1, xmmword [ebp + eax - 0x84]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x44], xmm1
movups xmm0, xmmword [ebp + eax - 0x34]
movups xmm1, xmmword [ebp + eax - 0x74]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x34], xmm1
movups xmm0, xmmword [ebp + eax - 0x24]
movups xmm1, xmmword [ebp + eax - 0x64]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x24], xmm1
movups xmm0, xmmword [ebp + eax - 0x14]
movups xmm1, xmmword [ebp + eax - 0x54]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x14], xmm1
add eax, 0x40
cmp eax, ecx
jl 0x5bb8d0
cmp eax, edi
jge 0x5bb940
nop word [eax + eax]
mov cl, byte [ebp + eax - 0x84]
xor byte [ebp + eax - 0x44], cl
inc eax
cmp eax, edi
jl 0x5bb930
inc esi
cmp esi, dword [ebp + 0x1c]
jb 0x5bb872
mov esi, dword [ebp + 0x20]
lea eax, [ebp - 0x44]
cmp esi, edi
cmovae esi, edi
push esi
push eax
push dword [ebp - 0x90]
call fcn.005c9900
mov edi, dword [ebp + 0x20]
lea ecx, [ebp - 0x89]
add dword [ebp - 0x90], esi
sub edi, esi
mov edx, 4
mov dword [ebp + 0x20], edi
mov eax, ecx
add esp, 0xc
sub edx, eax
add byte [ecx], 1
jne 0x5bb98f
dec ecx
lea eax, [edx + ecx]
test eax, eax
jne 0x5bb982
test edi, edi
je 0x5bb9a4
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
jmp 0x5bb7f0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
Function at 0x5bc440
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 4], ecx
xor eax, eax
push edi
test esi, esi
je 0x5bc5bb
mov edi, dword [ebp + 0x14]
nop
xor edx, edx
cmp eax, esi
jae 0x5bc474
cmp byte [eax + edi], 0x20
jne 0x5bc472
inc eax
inc edx
cmp eax, esi
jb 0x5bc466
cmp eax, esi
je 0x5bc4e0
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jb 0x5bc48c
cmp byte [eax + edi], 0xd
jne 0x5bc48c
cmp byte [eax + edi + 1], 0xa
je 0x5bc4d8
mov cl, byte [eax + edi]
cmp cl, 0xa
je 0x5bc4d8
test edx, edx
jne 0x5bc59e
cmp cl, 0x3d
jne 0x5bc4a7
inc ebx
cmp ebx, 2
jmp 0x5bc4aa
cmp cl, 0x7f
ja 0x5bc59e
movzx ecx, cl
mov cl, byte [ecx + 0x6355a0]
cmp cl, 0x7f
je 0x5bc59e
cmp cl, 0x40
jae 0x5bc4cf
test ebx, ebx
jne 0x5bc59e
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
jmp 0x5bc4db
mov ecx, dword [ebp - 4]
inc eax
cmp eax, esi
jb 0x5bc460
test ecx, ecx
je 0x5bc5bb
mov edx, dword [ebp + 8]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx*2 + 7]
shr ecx, 3
sub ecx, ebx
test edx, edx
je 0x5bc5aa
cmp dword [ebp + 0xc], ecx
jb 0x5bc5aa
xor ecx, ecx
mov dword [ebp - 4], 3
xor ebx, ebx
mov dword [ebp + 0x18], ecx
mov esi, edx
test eax, eax
je 0x5bc58e
nop
mov cl, byte [edi]
cmp cl, 0xd
je 0x5bc585
cmp cl, 0xa
je 0x5bc585
cmp cl, 0x20
je 0x5bc585
movzx ecx, cl
mov dl, byte [ecx + 0x6355a0]
xor ecx, ecx
cmp dl, 0x40
sete cl
shl ebx, 6
sub dword [ebp - 4], ecx
movzx ecx, dl
mov edx, dword [ebp + 0x18]
and ecx, 0x3f
inc edx
or ebx, ecx
mov dword [ebp + 0x18], edx
cmp edx, 4
jne 0x5bc585
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp + 0x18], ecx
test edx, edx
je 0x5bc570
mov ecx, ebx
shr ecx, 0x10
mov byte [esi], cl
inc esi
cmp edx, 1
jbe 0x5bc57d
mov ecx, ebx
shr ecx, 8
mov byte [esi], cl
inc esi
cmp edx, 2
jbe 0x5bc585
mov byte [esi], bl
inc esi
inc edi
sub eax, 1
jne 0x5bc520
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub esi, edx
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5bfe10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x28]
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x2c]
push eax
push dword [ebp + 0x14]
push ecx
push 0
push ebx
call fcn.005bff80
add esp, 0x18
test eax, eax
jne 0x5bff64
push edi
push esi
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.005c0140
add esp, 0x10
test eax, eax
jne 0x5bff64
push dword [ebp + 0x24]
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.005c02e0
add esp, 0xc
test eax, eax
jne 0x5bff64
mov ecx, dword [ebp + 0x24]
xor ebx, ebx
test ecx, ecx
je 0x5bff62
mov edx, dword [ebp + 0x20]
cmp ecx, 8
jb 0x5bff11
mov ebx, ecx
xorps xmm4, xmm4
and ebx, 0xfffffff8
xorps xmm3, xmm3
movd xmm2, dword [edx + eax]
xorps xmm0, xmm0
movd xmm1, dword [ebp + eax - 0x14]
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [ebp + eax - 0x10]
por xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [edx + eax + 4]
add eax, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp eax, ebx
jb 0x5bfea0
por xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd ebx, xmm3
cmp eax, ecx
jae 0x5bff39
lea ecx, [ebp - 0x14]
sub edx, ecx
mov dword [ebp + 0x20], edx
nop dword [eax]
lea ecx, [ebp - 0x14]
add ecx, eax
inc eax
movzx edx, byte [edx + ecx]
movzx ecx, byte [ecx]
xor edx, ecx
or ebx, edx
mov edx, dword [ebp + 0x20]
cmp eax, dword [ebp + 0x24]
jb 0x5bff20
test ebx, ebx
je 0x5bff62
test esi, esi
je 0x5bff4c
mov byte [edi], 0
lea edi, [edi + 1]
sub esi, 1
jne 0x5bff41
pop edi
pop esi
mov eax, 0xffffffee
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
Function at 0x5bff80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], esi
movups xmmword [esi + 0x160], xmm0
push edi
lea eax, [esi + 0x170]
mov dword [ebp - 0x1c], eax
lea edi, [esi + 0x160]
mov eax, dword [ebp + 0xc]
movups xmmword [esi + 0x170], xmm0
mov dword [esi + 0x180], eax
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
cmp edx, 0xc
jne 0x5c0016
movq xmm0, qword [ebx]
movq qword [edi], xmm0
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov byte [esi + 0x16f], 1
jmp 0x5c00c3
lea ecx, [edx*8]
mov eax, ecx
shr eax, 0x18
movups xmmword [ebp - 0x14], xmm0
mov byte [ebp - 8], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 7], al
mov al, dl
shr ecx, 8
shl al, 3
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
test edx, edx
je 0x5c007c
mov esi, 0x10
cmp edx, esi
cmovb esi, edx
xor ecx, ecx
test esi, esi
je 0x5c005e
mov al, byte [ecx + ebx]
xor byte [edi + ecx], al
inc ecx
cmp ecx, esi
jb 0x5c0053
push edi
push edi
push dword [ebp - 0x18]
call fcn.005c0f70
mov edx, dword [ebp + 0x14]
add esp, 0xc
sub edx, esi
add ebx, esi
mov dword [ebp + 0x14], edx
test edx, edx
jne 0x5c0043
mov esi, dword [ebp - 0x18]
xor ecx, ecx
nop
movzx eax, byte [ebp + ecx - 0x14]
xor byte [esi + ecx + 0x160], al
movzx eax, byte [ebp + ecx - 0x13]
xor byte [esi + ecx + 0x161], al
movzx eax, byte [ebp + ecx - 0x12]
xor byte [esi + ecx + 0x162], al
movzx eax, byte [ebp + ecx - 0x11]
xor byte [esi + ecx + 0x163], al
add ecx, 4
cmp ecx, 0x10
jb 0x5c0080
push edi
push edi
push esi
call fcn.005c0f70
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0x150]
push eax
push 0x10
push edi
push esi
call fcn.005a8670
add esp, 0x14
test eax, eax
jne 0x5c0127
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], eax
test ebx, ebx
je 0x5c0125
mov edx, dword [ebp - 0x1c]
mov esi, 0x10
cmp ebx, esi
cmovb esi, ebx
xor eax, eax
test esi, esi
je 0x5c0112
mov cl, byte [eax + edi]
xor byte [edx + eax], cl
inc eax
cmp eax, esi
jb 0x5c0107
push edx
push edx
push dword [ebp - 0x18]
call fcn.005c0f70
add esp, 0xc
add edi, esi
sub ebx, esi
jne 0x5c00f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret