joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4050e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
test eax, eax
jne 0x4050fa
push edi
call fcn.00404d50
mov eax, dword [edi + 4]
add esp, 4
cmp eax, 1
jne 0x405114
push dword [ebp + 0x10]
lea eax, [edi + 8]
push dword [ebp + 0xc]
push eax
call fcn.00405560
add esp, 0xc
pop edi
pop ebp
ret
cmp eax, 2
jne 0x40514d
push dword [edi]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.004684c4
add esp, 0x10
cmp eax, dword [ebp + 0x10]
jae 0x40514d
push edi
call fcn.00404d00
push str.Disabled_writing_session_log_due_to_error_while_writing
push dword [edi + 0x18]
mov dword [edi + 4], 3
call fcn.0043dc60
add esp, 0xc
pop edi
pop ebp
ret

Function at 0x4053c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x4053f2
movsx eax, cl
sub eax, 0x41
jmp 0x405434
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x405401
movsx eax, cl
sub eax, 0x47
jmp 0x405434
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x405410
movsx eax, cl
add eax, 4
jmp 0x405434
cmp cl, 0x2b
jne 0x40541c
mov eax, 0x3e
jmp 0x405434
cmp cl, 0x2f
jne 0x405428
mov eax, 0x3f
jmp 0x405434
cmp cl, 0x3d
jne 0x4054b1
or eax, 0xffffffff
mov dword [ebp + edx*4 - 0x14], eax
inc edx
cmp edx, 4
jl 0x4053e0
mov edx, dword [ebp - 0x14]
cmp edx, 0xffffffff
je 0x4054b1
mov esi, dword [ebp - 0x10]
cmp esi, 0xffffffff
je 0x4054b1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, 0xffffffff
jne 0x405462
cmp eax, ecx
jne 0x4054b1
lea ebx, [ecx + 2]
jmp 0x40546d
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add ebx, 2
shl edx, 6
and ecx, 0x3f
or edx, esi
and eax, 0x3f
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [edi], al
cmp ebx, 1
jbe 0x405496
mov ecx, edx
shr ecx, 8
mov byte [edi + 1], cl
cmp ebx, 2
jbe 0x40549e
mov byte [edi + 2], dl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret

Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
test esi, esi
je 0x406235
push ebx
mov ebx, dword [ebp + 0xc]
sub ebx, eax
nop word [eax + eax]
movzx edx, byte [ebx + eax]
lea eax, [eax + 1]
movzx ecx, byte [eax - 1]
xor edx, ecx
or edi, edx
sub esi, 1
jne 0x406220
pop ebx
mov eax, 0x100
sub eax, edi
pop edi
shr eax, 8
pop esi
pop ebp
ret

Function at 0x40a510
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0x34
push dword [ebp + 8]
call fcn.00403120
add esp, 8
cmp byte [eax], 0
je 0x40a52e
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00405a10
push 0x35
push dword [ebp + 8]
call fcn.004030c0
add esp, 8
test eax, eax
je 0x40a545
pop ebp
jmp fcn.0043f990
xor eax, eax
pop ebp
ret
Function at 0x40a810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0043df30
add esp, 8
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.00446300
Function at 0x41e5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x40], edi
movups xmm0, xmmword [edi + 0x3c8]
movups xmmword [ebp - 0x34], xmm0
test ebx, ebx
jle 0x41e715
dec ebx
add edx, 3
shr ebx, 4
inc ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ebx
push esi
movzx ecx, byte [edx - 3]
lea esi, [edx - 1]
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
call fcn.0041e590
add esp, 8
xor edi, edi
mov edx, dword [ebp + edi - 0x34]
lea esi, [esi + 4]
mov ebx, dword [ebp + edi - 0x14]
mov ecx, edx
shr ecx, 0x18
mov eax, ebx
shr eax, 0x18
xor cl, al
mov eax, ebx
mov byte [esi - 6], cl
mov ecx, edx
shr ecx, 0x10
shr eax, 0x10
xor cl, al
mov eax, ebx
mov byte [esi - 5], cl
mov ecx, edx
shr eax, 8
xor dl, bl
shr ecx, 8
xor cl, al
mov byte [esi - 3], dl
mov eax, dword [ebp + edi - 0x24]
mov dword [ebp + edi - 0x34], eax
add edi, 4
mov byte [esi - 4], cl
cmp edi, 0x10
jl 0x41e694
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x41e5f0
movups xmm0, xmmword [ebp - 0x34]
mov eax, edi
pop esi
pop edi
pop ebx
movups xmmword [eax + 0x3c8], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
movups xmmword [edi + 0x3c8], xmm0
pop edi
xor ecx, ebp
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x41f3c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
movups xmm0, xmmword [ebx + 0x3c8]
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
test edi, edi
jle 0x41f51d
mov edx, dword [ebp - 8]
dec edi
shr edi, 4
add esi, 2
inc edi
nop word [eax + eax]
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 3]
xor dword [ebp - 0x14], ecx
movzx ecx, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
xor dword [ebp - 0x10], ecx
movzx ecx, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
xor dword [ebp - 0xc], ecx
movzx ecx, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
xor edx, ecx
push ebx
mov dword [ebp - 8], edx
call fcn.0041f3a0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, ecx
mov byte [esi + 1], cl
shr eax, 0x18
mov byte [esi - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 1], al
mov eax, ecx
mov ecx, dword [ebp - 0x10]
shr eax, 8
mov byte [esi], al
mov eax, ecx
shr eax, 0x18
mov byte [esi + 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], al
mov eax, ecx
shr eax, 8
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 6], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 7], al
mov eax, ecx
shr eax, 8
mov edx, dword [ebp - 8]
lea esi, [esi + 0x10]
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
mov byte [esi - 7], cl
mov byte [esi - 4], al
mov byte [esi - 3], dl
sub edi, 1
jne 0x41f400
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
pop edi
pop esi
movups xmmword [ebx + 0x3c8], xmm0
xor ecx, ebp
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x420610
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
lea edx, [eax + 2]
mov cl, byte [eax + 1]
mov bh, byte [eax]
mov dword [ebp - 8], edx
mov byte [ebp - 1], cl
cmp dword [ebp + 0x10], edi
jle 0x420672
mov al, cl
push esi
inc bh
movzx esi, bh
add esi, edx
mov bl, byte [esi]
add al, bl
movzx ecx, al
add edx, ecx
movzx ecx, byte [edx]
mov byte [esi], cl
mov byte [edx], bl
movzx edx, byte [esi]
mov esi, dword [ebp + 0xc]
movzx ecx, bl
add edx, ecx
movzx ecx, dl
mov edx, dword [ebp - 8]
movzx ecx, byte [ecx + edx]
xor byte [edi + esi], cl
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x420633
mov byte [ebp - 1], al
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
pop esi
pop edi
mov byte [eax], bh
mov byte [eax + 1], cl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4206f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
push edi
lea ebx, [eax + 2]
mov word [eax], 0
mov edi, ebx
mov dword [ebp - 0x108], ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
sub edi, eax
mov eax, ecx
lea esi, [ebp - 0x104]
xor edx, edx
add esi, ecx
div dword [ebp + 0x10]
mov byte [edi + esi], cl
inc ecx
mov al, byte [edx + ebx]
mov byte [esi], al
cmp ecx, 0x100
jb 0x420726
mov esi, dword [ebp - 0x108]
lea ebx, [ebp - 0x104]
xor edi, edi
mov dword [ebp - 0x10c], 0x100
sub ebx, esi
mov dl, byte [esi]
lea esi, [esi + 1]
movzx eax, byte [ebx + esi - 1]
add eax, edi
movzx ecx, dl
add ecx, eax
sub dword [ebp - 0x10c], 1
movzx edi, cl
mov ecx, dword [ebp - 0x108]
mov al, byte [edi + ecx]
mov byte [esi - 1], al
mov byte [edi + ecx], dl
jne 0x420760
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x42b2e0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x120], esi
mov eax, dword [esi]
test eax, eax
jne 0x42b324
lea eax, [esi + 0x20]
push ebx
push eax
call fcn.0042c290
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x42b3d3
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.00435eb0
mov edi, dword [esi + 0xc]
add esp, 4
shr edi, 3
xor esi, esi
test edi, edi
je 0x42b37a
nop dword [eax]
push esi
push ebx
call fcn.00422430
mov byte [ebp - 0x119], al
lea eax, [ebp - 0x119]
push 1
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00435950
inc esi
add esp, 0x14
cmp esi, edi
jl 0x42b350
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00435b70
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.004226f0
mov ecx, dword [ebp - 0x120]
mov edi, eax
add ecx, 0x1c
push edi
push ecx
call fcn.0042c290
push edi
mov esi, eax
call fcn.00422d10
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x42cba0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
call eax
push 0x1c
push 1
mov edi, eax
call fcn.004060a0
mov esi, eax
add esp, 8
mov dword [esi], 0
mov dword [esi + 4], edi
cmp dword [edi], 1
jne 0x42cc4b
xorps xmm0, xmm0
xor edi, edi
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.00431980
mov byte [ebp + edi - 0x24], al
inc edi
cmp edi, 0x20
jb 0x42cbe7
mov al, byte [ebp - 5]
and byte [ebp - 0x24], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004226f0
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0043fb70
mov eax, dword [esi + 0x18]
add esp, 0x10
test eax, eax
jne 0x42cc42
push esi
call fcn.00406080
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
push eax
mov eax, dword [esi + 4]
add eax, 0x1c
jmp 0x42cc6a
push dword [edi + 0x1c]
push dword [0x4ba718]
call fcn.00422970
add esp, 8
mov dword [esi + 0x18], eax
test eax, eax
je 0x42cc27
push eax
mov eax, dword [esi + 4]
add eax, 0x20
push eax
call fcn.0042c290
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x42cc9c
push dword [esi + 0x18]
call fcn.00422d10
push esi
call fcn.00406080
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
mov dword [esi + 8], eax
mov eax, dword [ecx + 8]
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
call fcn.00406080
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.00449391
mov esp, ebp
pop ebp
ret

Function at 0x42d0a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xb8
pop ebp
jmp fcn.0042d3a0

Function at 0x42dfc0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x42e0b0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0044b150
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x42e107
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x42e104
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x42e0f0
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0042d310
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0042d3a0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0044b150
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x42e148
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x42e148
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x42e134
lea esi, [ebx + 0x5c]
push esi
call fcn.0042d310
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0042d3a0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0043fb70
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x431800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4bb3d8], 0
push edi
mov edi, dword [ebp + 8]
je 0x431978
mov ecx, dword [0x4bb8e8]
mov eax, 0x40
push esi
mov esi, dword [ebp + 0xc]
sub eax, ecx
cmp esi, eax
jl 0x431960
nop dword [eax]
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [ecx + 0x4bb8a8]
push edi
push eax
call fcn.0044a510
mov ecx, dword [0x4bb8e8]
mov eax, 0x40
sub eax, ecx
add ecx, 0xffffffc0
push 0x4bb8a8
push 0x4bb894
add edi, eax
add esi, ecx
call fcn.004363b0
mov edx, dword [0x4bb890]
add esp, 0x14
xor eax, eax
nop dword [eax]
nop word [eax + eax]
movzx ecx, byte [eax + 0x4bb894]
xor byte [edx + 0x4bb3e0], cl
xor ecx, ecx
mov edx, dword [0x4bb890]
inc edx
cmp edx, 0x4b0
cmovge edx, ecx
mov dword [0x4bb890], edx
movzx ecx, byte [eax + 0x4bb895]
xor byte [edx + 0x4bb3e0], cl
xor ecx, ecx
mov edx, dword [0x4bb890]
inc edx
cmp edx, 0x4b0
cmovge edx, ecx
mov dword [0x4bb890], edx
movzx ecx, byte [eax + 0x4bb896]
xor byte [edx + 0x4bb3e0], cl
xor ecx, ecx
mov edx, dword [0x4bb890]
inc edx
cmp edx, 0x4b0
cmovge edx, ecx
mov dword [0x4bb890], edx
movzx ecx, byte [eax + 0x4bb897]
xor byte [edx + 0x4bb3e0], cl
xor ecx, ecx
mov edx, dword [0x4bb890]
inc edx
cmp edx, 0x4b0
cmovge edx, ecx
mov dword [0x4bb890], edx
movzx ecx, byte [eax + 0x4bb898]
xor byte [edx + 0x4bb3e0], cl
xor ecx, ecx
mov edx, dword [0x4bb890]
inc edx
cmp edx, 0x4b0
cmovge edx, ecx
add eax, 5
mov dword [0x4bb890], edx
cmp eax, 0x14
jl 0x431880
cmp edx, 0x14
jge 0x43194f
call fcn.00431a60
xor ecx, ecx
mov dword [0x4bb8e8], ecx
cmp esi, 0x40
jge 0x431830
push esi
lea eax, [ecx + 0x4bb8a8]
push edi
push eax
call fcn.0044a510
add esp, 0xc
add dword [0x4bb8e8], esi
pop esi
pop edi
pop ebp
ret
Function at 0x431a60
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bb8ec], 0
push esi
push edi
jne 0x431bc7
push fcn.00431800
mov dword [0x4bb8ec], 1
call fcn.00442520
push 0x4bb8a8
push 0x4bb894
call fcn.004363b0
movups xmm0, xmmword [0x4bb894]
mov eax, dword [0x4bb8a4]
add esp, 0xc
mov dword [0x4bb8e8], 0
movups xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x74], 2
nop
movups xmm0, xmmword [0x4bb3e0]
mov esi, 0x49c
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x4bb3f0]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x4bb400]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [0x4bb410]
movups xmmword [ebp - 0x40], xmm0
xor eax, dword [esi + 0x4bb3f0]
mov ecx, dword [ebp - 0x30]
xor ecx, dword [esi + 0x4bb3e0]
xor edi, dword [esi + 0x4bb3e4]
xor edx, dword [esi + 0x4bb3e8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
xor ecx, dword [esi + 0x4bb3ec]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
call fcn.004363b0
mov eax, dword [ebp - 0x30]
add esp, 8
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x4bb3e0], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x4bb3e4], edi
mov dword [esi + 0x4bb3e8], edx
mov dword [esi + 0x4bb3ec], ecx
mov dword [esi + 0x4bb3f0], eax
sub esi, 0x14
jns 0x431b11
sub dword [ebp - 0x74], 1
jne 0x431ae0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004363b0
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [0x4bb8a4], eax
movups xmmword [0x4bb894], xmm0
mov dword [0x4bb890], 0x14
mov dword [0x4bb8ec], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449391
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x432b20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x54], ebx
test eax, eax
jle 0x432ca1
push esi
push edi
mov edi, dword [edx + 0x14]
cmp eax, edi
mov byte [ebp - 0x45], cl
cmovle edi, eax
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x48], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x47], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x46], al
mov eax, dword [edx]
mov dword [ebp - 0x68], edi
call eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x4c]
mov esi, eax
push dword [ebp - 0x58]
push esi
mov ecx, dword [ecx + 8]
call ecx
push 4
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push esi
mov eax, dword [eax + 8]
call eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x4c]
push esi
mov eax, dword [eax + 0xc]
call eax
inc dword [ebp - 0x50]
add esp, 0x20
xor edx, edx
test edi, edi
jle 0x432c84
cmp edi, 0x40
jb 0x432c6a
lea ecx, [ebx - 1]
lea eax, [ebp + edi - 0x45]
add ecx, edi
cmp ebx, eax
ja 0x432bdd
lea eax, [ebp - 0x44]
cmp ecx, eax
jae 0x432c6a
mov eax, edi
and eax, 0x8000003f
jns 0x432beb
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, edi
lea esi, [ebp - 0x44]
lea edi, [ebp - 0x34]
sub ecx, eax
sub edi, ebx
sub esi, ebx
mov dword [ebp - 0x5c], edi
mov eax, ebx
lea edi, [ebp - 0x24]
sub edi, ebx
mov dword [ebp - 0x60], edi
lea edi, [ebp - 0x14]
sub edi, ebx
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edi
movups xmm0, xmmword [eax]
mov edi, dword [ebp - 0x60]
add edx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edi + eax - 0x40]
mov edi, dword [ebp - 0x64]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edi + eax - 0x40]
mov edi, dword [ebp - 0x68]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x432c11
mov ebx, dword [ebp - 0x54]
cmp edx, edi
jge 0x432c84
lea esi, [ebp - 0x44]
lea eax, [edx + ebx]
sub esi, ebx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, edi
jl 0x432c76
mov eax, dword [ebp + 0x18]
add ebx, edi
mov ecx, dword [ebp - 0x50]
sub eax, edi
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ebx
mov dword [ebp + 0x18], eax
test eax, eax
jg 0x432b55
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret

Function at 0x433820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xd8
pop ebp
jmp fcn.00433f00
Function at 0x434000
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x4342d0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0044b150
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x434327
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x434324
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x434310
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004341e0
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00433f00
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0044b150
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x434368
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x434368
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x434354
lea esi, [ebx + 0x6c]
push esi
call fcn.004341e0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00433f00
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0043fb70
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret