joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e90c
Capabilities:
Get common file path

Disassembly:
jbe 0x47e935
add al, ah
jne 0x47e939
add byte [esi + esi*2], bl
inc esi
add byte [esp + eax*4], dh
inc esi
add byte [eax - 0x7c], bl
inc esi
add byte [esp + eax*4 - 0x7b5fffba], cl
inc esi
add byte [eax], dl
test byte [esi], al
pop es
push esp
jbe 0x47e975
inc esi
imul ebp, dword [ebp + 0x55], 0xc483ec8b
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, edx
xor eax, eax
push ebp
push 0x47e9a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404ad0
mov eax, 0x104
call fcn.00409f04
mov ebx, eax
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [0x496764]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x47e973
invalid
clc
invalid
mov eax, esi
mov edx, ebx
call fcn.00404cc8
lea eax, [ebp - 4]
cld
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, ebx
call fcn.00409f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e9ad
lea eax, [ebp - 4]
call fcn.00406590
ret

Function at 0x47e914
Capabilities:
Get common file path

Disassembly:
jbe 0x47e935
add al, ah
jne 0x47e939
add byte [esi + esi*2], bl
inc esi
add byte [esp + eax*4], dh
inc esi
add byte [eax - 0x7c], bl
inc esi
add byte [esp + eax*4 - 0x7b5fffba], cl
inc esi
add byte [eax], dl
test byte [esi], al
pop es
push esp
jbe 0x47e975
inc esi
imul ebp, dword [ebp + 0x55], 0xc483ec8b
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, edx
xor eax, eax
push ebp
push 0x47e9a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404ad0
mov eax, 0x104
call fcn.00409f04
mov ebx, eax
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [0x496764]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x47e973
invalid
clc
invalid
mov eax, esi
mov edx, ebx
call fcn.00404cc8
lea eax, [ebp - 4]
cld
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, ebx
call fcn.00409f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e9ad
lea eax, [ebp - 4]
call fcn.00406590
ret
Function at 0x482718
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x482746
mov eax, ebx
call fcn.004831cc
cmp dword [ebx + 0x40], 0
je 0x48273f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4827b7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4827a9
cmp dword [ebx + 8], 0
je 0x482768
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48277a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4827a9
cmp dword [ebx + 8], 0
je 0x48275b
cmp eax, 3
je 0x48278d
dec eax
jne 0x48275b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48275b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48275b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4827d5
cmp dword [ebx + 0x14], 0xcc
je 0x4827d5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004827e0
pop ebx
ret
Function at 0x40d15a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407e6b
mov dword [ebp - 0x14], eax
cmp dword [0x446a3c], esi
jne 0x40d24d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d1da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d32d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d32d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d32d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x446a3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x446a40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x446a44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x446a4c], eax
test eax, eax
je 0x40d24a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x446a48], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d272
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d265
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d287
push 4
pop eax
jmp 0x40d32f
cmp dword [ebp - 0x14], esi
je 0x40d287
push dword [0x446a3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d26c
mov eax, dword [0x446a48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d2e5
cmp dword [0x446a4c], edi
je 0x40d2e5
push eax
call ebx
push dword [0x446a4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d2e5
test eax, eax
je 0x40d2e5
call ecx
test eax, eax
je 0x40d2da
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d2da
test byte [ebp - 8], 1
jne 0x40d2e5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d315
mov eax, dword [0x446a40]
cmp eax, edi
je 0x40d312
push eax
call ebx
test eax, eax
je 0x40d312
call eax
mov esi, eax
test esi, esi
je 0x40d312
mov eax, dword [0x446a44]
cmp eax, edi
je 0x40d312
push eax
call ebx
test eax, eax
je 0x40d312
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x446a3c]
call ebx
test eax, eax
je 0x40d32d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d32f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004043b8
mov esp, ebp
pop ebp
ret
Function at 0x401c00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x477600]
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 0x401c32
movsx eax, cl
sub eax, 0x41
jmp 0x401c74
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x401c41
movsx eax, cl
sub eax, 0x47
jmp 0x401c74
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x401c50
movsx eax, cl
add eax, 4
jmp 0x401c74
cmp cl, 0x2b
jne 0x401c5c
mov eax, 0x3e
jmp 0x401c74
cmp cl, 0x2f
jne 0x401c68
mov eax, 0x3f
jmp 0x401c74
cmp cl, 0x3d
jne 0x401cf1
or eax, 0xffffffff
mov dword [ebp + edx*4 - 0x14], eax
inc edx
cmp edx, 4
jl 0x401c20
mov edx, dword [ebp - 0x14]
cmp edx, 0xffffffff
je 0x401cf1
mov esi, dword [ebp - 0x10]
cmp esi, 0xffffffff
je 0x401cf1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, 0xffffffff
jne 0x401ca2
cmp eax, ecx
jne 0x401cf1
lea ebx, [ecx + 2]
jmp 0x401cad
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 0x401cd6
mov ecx, edx
shr ecx, 8
mov byte [edi + 1], cl
cmp ebx, 2
jbe 0x401cde
mov byte [edi + 2], dl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa52
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.0041fa52
mov esp, ebp
pop ebp
ret

Function at 0x402a30
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 0x402a65
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 0x402a50
pop ebx
mov eax, 0x100
sub eax, edi
pop edi
shr eax, 8
pop esi
pop ebp
ret
Function at 0x405e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x477600]
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 0x405ff5
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.00405e70
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 0x405f74
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x405ed0
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.0041fa52
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.0041fa52
mov esp, ebp
pop ebp
ret
Function at 0x406d50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x477600]
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 0x406ead
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.00406d30
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 0x406d90
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.0041fa52
mov esp, ebp
pop ebp
ret
Function at 0x40c870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 4], eax
mov dword [ebp + 0x10], ecx
test ebx, ebx
je 0x40c93a
dec ebx
shr ebx, 3
push esi
mov esi, dword [ebp + 8]
inc ebx
push edi
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040bcd0
lea eax, [edi + 0x88]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.0040b2f0
lea eax, [edi + 0x110]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.0040bcd0
mov ecx, dword [ebp - 0xc]
lea esi, [esi + 8]
xor byte [esi - 5], cl
mov eax, ecx
shr eax, 0x18
add esp, 0x30
xor byte [esi - 8], al
mov eax, ecx
mov edx, dword [ebp - 4]
shr eax, 0x10
xor byte [esi - 7], al
mov eax, ecx
mov ecx, dword [ebp - 8]
xor byte [esi - 1], cl
shr eax, 8
xor byte [esi - 6], al
mov eax, ecx
shr eax, 0x18
xor byte [esi - 4], al
mov eax, ecx
shr eax, 0x10
xor byte [esi - 3], al
mov eax, ecx
mov ecx, dword [ebp + 0x10]
shr eax, 8
xor byte [esi - 2], al
add ecx, 1
lea eax, [edx + 1]
mov dword [ebp + 0x10], ecx
cmovne eax, edx
mov dword [ebp - 4], eax
sub ebx, 1
jne 0x40c8a1
pop esi
mov dword [edi + 0x84], ecx
mov dword [edi + 0x80], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fea0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x477600]
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 0x40fee4
lea eax, [esi + 0x20]
push ebx
push eax
call fcn.00410e60
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa52
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x40ff93
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.0041a630
mov edi, dword [esi + 0xc]
add esp, 4
shr edi, 3
xor esi, esi
test edi, edi
je 0x40ff3a
nop dword [eax]
push esi
push ebx
call fcn.004085d0
mov byte [ebp - 0x119], al
lea eax, [ebp - 0x119]
push 1
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041a0c0
inc esi
add esp, 0x14
cmp esi, edi
jl 0x40ff10
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041a2e0
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.00408870
mov ecx, dword [ebp - 0x120]
mov edi, eax
add ecx, 0x1c
push edi
push ecx
call fcn.00410e60
push edi
mov esi, eax
call fcn.00408e60
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa52
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa52
mov esp, ebp
pop ebp
ret

Function at 0x411900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xb8
pop ebp
jmp fcn.00411c00
Function at 0x412830
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 0x412920
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x477600]
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.004218a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x412977
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x412974
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x412960
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.00411b70
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00411c00
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.004218a0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x4129b8
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x4129b8
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x4129a4
lea esi, [ebx + 0x5c]
push esi
call fcn.00411b70
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00411c00
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041ca50
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041fa52
mov esp, ebp
pop ebp
ret
Function at 0x416cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x477600]
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 - 0x50], edx
mov dword [ebp - 0x4c], ecx
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x54], ebx
test eax, eax
jle 0x416e8b
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 - 0x60], edi
call eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
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 - 0x50]
push esi
mov eax, dword [eax + 8]
call eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x4c]
add esp, 0x20
inc ecx
xor eax, eax
mov dword [ebp - 0x4c], ecx
test edi, edi
jle 0x416e71
cmp edi, 8
jb 0x416e50
lea edx, [ebx - 1]
lea ecx, [ebp + edi - 0x45]
add edx, edi
cmp ebx, ecx
ja 0x416d81
lea ecx, [ebp - 0x44]
cmp edx, ecx
jae 0x416e50
cmp edi, 0x40
jb 0x416e0c
mov ecx, edi
and ecx, 0x8000003f
jns 0x416d99
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea edi, [ebp - 0x34]
sub esi, ebx
lea ecx, [ebx + 0x20]
sub edi, ebx
mov dword [ebp - 0x5c], edi
mov ebx, edi
nop
movups xmm0, xmmword [ecx - 0x20]
lea edi, [ebp - 0x44]
movups xmm1, xmmword [edi + eax]
mov edi, dword [ebp - 0x60]
lea ecx, [ecx + 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [ebp + eax - 0x34]
add eax, 0x40
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [esi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [ebx + ecx - 0x40]
movups xmm0, xmmword [ecx - 0x30]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp eax, edx
jl 0x416db0
mov ebx, dword [ebp - 0x54]
mov ecx, edi
and cl, 0x3f
cmp cl, 8
jb 0x416e4c
mov ecx, edi
and ecx, 0x80000007
jns 0x416e1b
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea ecx, [eax + ebx]
sub esi, ebx
nop word [eax + eax]
movq xmm1, qword [ecx + esi]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add eax, 8
xorps xmm1, xmm0
movq qword [ecx - 8], xmm1
cmp eax, edx
jl 0x416e30
cmp eax, edi
jge 0x416e6e
lea esi, [ebp - 0x44]
lea edx, [eax + ebx]
sub esi, ebx
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, edi
jl 0x416e60
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x18]
add ebx, edi
mov edx, dword [ebp - 0x50]
sub eax, edi
mov dword [ebp - 0x54], ebx
mov dword [ebp + 0x18], eax
test eax, eax
jg 0x416cf5
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041fa52
mov esp, ebp
pop ebp
ret
Function at 0x4181f0
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 0x4184c0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x477600]
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.004218a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x418517
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x418514
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x418500
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004183d0
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004180f0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.004218a0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x418558
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x418558
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x418544
lea esi, [ebx + 0x6c]
push esi
call fcn.004183d0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004180f0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041ca50
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041fa52
mov esp, ebp
pop ebp
ret