joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10090d20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100fe230], 0
jne 0x10090f86
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10090f86
mov eax, dword [ebp - 0x108]
sub eax, 0
je 0x10090f69
dec eax
je 0x10090f1b
dec eax
jne 0x10090f01
mov eax, dword [ebp - 0x114]
cmp eax, 4
ja 0x10090dbc
mov eax, 5
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x10090e36
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x10090dea
mov eax, 6
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10090e0e
mov eax, 7
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10090f01
mov eax, 8
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x10090ed4
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x10090e68
mov eax, 9
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10090e8c
mov eax, 0xa
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10090eb0
mov eax, 0xb
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x10090f01
mov eax, 0xc
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x10090f01
cmp dword [ebp - 0x110], 0
jne 0x10090f01
mov eax, 0xd
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100fe234]
mov byte [0x100fe230], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x110]
test ecx, ecx
jne 0x10090f44
mov eax, 2
mov byte [0x100fe230], 1
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [0x100fe230], 1
cmp ecx, 0xa
setne al
add eax, 3
mov dword [0x100fe234], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
mov eax, 1
mov dword [0x100fe234], eax
mov byte [0x100fe230], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [0x100fe234]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
Function at 0x10091840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x10091855
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x10091860
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10091860
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10091890
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x100918a9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100918b5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x100918b0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10091f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d083
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x20], 0
push 0x404
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x424]
movq qword [ebp - 0x1c], xmm0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x10092001
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x10092001
call fcn.100912d0
mov esi, eax
jmp 0x100920ee
push dword [ebp - 0x42c]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10092024
call fcn.100912d0
jmp 0x100920e1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x10092042
call fcn.100912d0
jmp 0x100920e1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x42c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10092063
mov esi, 0x8007000e
jmp 0x100920e3
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.10093ed0
jmp 0x1009208d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x100920a4
mov esi, 0x8007000e
jmp 0x100920e3
push esi
push dword [ebp - 0x424]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x100920c4
call fcn.100912d0
jmp 0x100920e1
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.10092ca0
mov esi, eax
test edi, edi
je 0x100920ee
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x10092110
lea ecx, [ebp - 0x424]
call fcn.10093fb0
jmp 0x10092110
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10093a10
Capabilities:
Query or enumerate registry value
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x238
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x234], eax
xor eax, eax
push esi
push edi
cmp dword [0x100fe464], eax
jne 0x10093bc1
push 0x206
push eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x3a]
push eax
mov dword [0x100fe464], 1
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x28], 0x208
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp eax, 0x412
xorps xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
mov ecx, str.Hancom_Office_was_not_updated_correctly._Hancom_Office_cannot_be_run_until_you_restart_your_computer._Do_you_want_to_restart_it_now_
lea eax, [esp + 8]
mov dword [esp + 0x10], 0
push eax
push str.SoftwareHNCSharedHncUpdate
mov edi, 0x100c6540
push reloc.OLEAUT32.dll_SysReAllocString
cmovne edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.10010900
test esi, esi
je 0x10093acf
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x34]
push eax
push 0
push str.rraReboot
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.10010900
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10093ab9
push 0x14
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x10093bbc
lea eax, [esp + 0xc]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10093ab9
lea eax, [esp + 0x14]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push eax
push esi
push dword [esp + 0x20]
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10093ab9
push eax
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
Function at 0x10093be0
Capabilities:
Allocate thread local storage
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push str.DllMain___:_DLL_PROCESS_ATTACH____HncFoundation_Start__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
mov dword [0x100f8578], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10093c09
or dword [0x100f8584], 1
mov dword [0x100f857c], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x100fdddc], eax
cmp eax, 0xffffffff
je 0x10093c4d
push 0x100fdde0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x100a4cdc
push 0
call dword [sym.imp.MSVCR120.dll__wsetlocale]
add esp, 8
call fcn.10046cb0
push 0x100f8570
call sym.HncFoundation.dll_HncInitModule
neg eax
sbb eax, eax
neg eax
pop ebp
ret 8
xor eax, eax
pop ebp
ret 8

Function at 0x10094fd0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10094fe1
sub ecx, edx
xorps xmm0, xmm0
sar ecx, 1
xor esi, esi
movq qword [ebp - 8], xmm0
lea ebx, [ecx + ecx]
test ebx, ebx
jle 0x10095033
mov eax, 0x24924925
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 2
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 8]
add ecx, eax
mov al, byte [esi + edi]
inc esi
xor al, byte [ecx]
rol al, 1
mov byte [ecx], al
cmp esi, ebx
jl 0x10095001
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x58], eax
xor eax, eax
xor edi, edi
mov ecx, eax
and ecx, 0x80000007
jns 0x10095052
dec ecx
or ecx, 0xfffffff8
inc ecx
cmp ecx, 7
jne 0x10095058
inc eax
mov ecx, edi
lea esi, [ebp - 8]
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, edi
shr ecx, 3
test byte [ebp + ecx - 0x5c], dl
mov ecx, eax
mov edx, 0x80
je 0x10095089
shr ecx, 3
add esi, ecx
mov ecx, eax
and ecx, 7
sar edx, cl
or byte [esi], dl
jmp 0x10095099
shr ecx, 3
add esi, ecx
mov ecx, eax
and ecx, 7
sar edx, cl
not dl
and byte [esi], dl
inc edi
inc eax
cmp edi, 0x38
jl 0x10095043
cmp dword [0x100face0], 0
jne 0x100950de
push 0x1009e8b8
push 0x100fbcf8
call fcn.10095a90
push 0x1009e8f8
push 0x100fc4f8
call fcn.10095a90
push 0x100facf8
call fcn.10095960
add esp, 0x14
mov dword [0x100face0], 1
mov esi, dword [ebp + 8]
lea eax, [esi + 0x74]
push eax
call fcn.10095c20
lea eax, [ebp - 8]
push eax
push esi
call fcn.10095850
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10095110
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
xor edx, edx
movq qword [ebp - 8], xmm0
movzx edi, word [esi]
test di, di
je 0x10095161
lea ecx, [ecx]
cmp edx, 0x28
jge 0x10095161
mov eax, edx
and eax, reloc.WS2_32.dll_closesocket
jns 0x10095143
dec eax
or eax, 0xfffffffc
inc eax
lea ecx, [ebp - 8]
add esi, 2
lea ecx, [ecx + eax*2]
inc edx
mov ax, word [ecx]
add ax, ax
xor ax, di
movzx edi, word [esi]
mov word [ecx], ax
test di, di
jne 0x10095130
cmp dword [0x100face0], 0
jne 0x1009519f
push 0x1009e8b8
push 0x100fbcf8
call fcn.10095a90
push 0x1009e8f8
push 0x100fc4f8
call fcn.10095a90
push 0x100facf8
call fcn.10095960
add esp, 0x14
mov dword [0x100face0], 1
mov esi, dword [ebp + 8]
lea eax, [esi + 0x74]
push eax
call fcn.10095c20
lea eax, [ebp - 8]
push eax
push esi
call fcn.10095850
add esp, 0xc
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100954e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
push edi
lea eax, [ebp - 0xa8]
push eax
push 0x100fbcf8
push dword [ebp + 0xc]
call fcn.10095b10
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x9a]
add esp, 0xc
mov dword [ebp - 0x18], 0x10
lea ecx, [eax + 0x74]
mov dword [ebp - 0x20], ecx
lea ebx, [eax + 0x40d2]
nop
lea eax, [ebp - 0x10]
push eax
lea edi, [esi - 0xa]
push edi
call fcn.10095780
movzx eax, byte [ebx - 4]
xor al, byte [ebp - 0x10]
mov byte [ebp - 8], al
movzx eax, byte [ebx - 3]
xor al, byte [ebp - 0xf]
mov byte [ebp - 7], al
movzx eax, byte [ebx - 2]
xor al, byte [ebp - 0xe]
mov byte [ebp - 6], al
movzx eax, byte [ebx - 1]
xor al, byte [ebp - 0xd]
mov byte [ebp - 5], al
movzx eax, byte [ebx]
xor al, byte [ebp - 0xc]
mov byte [ebp - 4], al
movzx eax, byte [ebx + 1]
xor al, byte [ebp - 0xb]
mov byte [ebp - 3], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x20]
call fcn.10095440
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100959e0
movzx eax, byte [edi]
lea esi, [esi + 8]
mov byte [esi - 0xe], al
lea ebx, [ebx - 6]
movzx eax, byte [esi - 0x11]
add esp, 0x1c
mov byte [esi - 0xd], al
movzx eax, byte [esi - 0x10]
mov byte [esi - 0xc], al
movzx eax, byte [esi - 0xf]
mov byte [esi - 0xb], al
movzx ecx, byte [esi - 0x16]
mov eax, dword [ebp - 0x14]
xor cl, al
mov byte [esi - 0xa], cl
movzx ecx, byte [esi - 0x15]
xor cl, ah
mov byte [esi - 9], cl
movzx eax, byte [esi - 0x14]
xor al, byte [ebp - 0x12]
mov byte [esi - 8], al
movzx eax, byte [esi - 0x13]
xor al, byte [ebp - 0x11]
dec dword [ebp - 0x18]
mov byte [esi - 7], al
jne 0x10095520
movzx eax, byte [ebp - 0x24]
push dword [ebp + 0x10]
mov byte [ebp - 8], al
movzx eax, byte [ebp - 0x23]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x22]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x21]
mov byte [ebp - 5], al
movzx eax, byte [ebp - 0x28]
mov byte [ebp - 4], al
movzx eax, byte [ebp - 0x27]
mov byte [ebp - 3], al
movzx eax, byte [ebp - 0x26]
mov byte [ebp - 2], al
movzx eax, byte [ebp - 0x25]
mov byte [ebp - 1], al
lea eax, [ebp - 8]
push 0x100fc4f8
push eax
call fcn.10095b10
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10095630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
push edi
lea eax, [ebp - 0xa8]
push eax
push 0x100fbcf8
push dword [ebp + 0xc]
call fcn.10095b10
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x9a]
add esp, 0xc
mov dword [ebp - 0x18], 0x10
lea ecx, [eax + 0x74]
mov dword [ebp - 0x20], ecx
lea ebx, [eax + 0x4078]
nop
lea eax, [ebp - 0x10]
push eax
lea edi, [esi - 0xa]
push edi
call fcn.10095780
movzx eax, byte [ebx - 4]
xor al, byte [ebp - 0x10]
mov byte [ebp - 8], al
movzx eax, byte [ebx - 3]
xor al, byte [ebp - 0xf]
mov byte [ebp - 7], al
movzx eax, byte [ebx - 2]
xor al, byte [ebp - 0xe]
mov byte [ebp - 6], al
movzx eax, byte [ebx - 1]
xor al, byte [ebp - 0xd]
mov byte [ebp - 5], al
movzx eax, byte [ebx]
xor al, byte [ebp - 0xc]
mov byte [ebp - 4], al
movzx eax, byte [ebx + 1]
xor al, byte [ebp - 0xb]
mov byte [ebp - 3], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x20]
call fcn.10095440
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100959e0
movzx eax, byte [edi]
lea ebx, [ebx + 6]
mov byte [esi - 6], al
lea esi, [esi + 8]
movzx eax, byte [esi - 0x11]
add esp, 0x1c
mov byte [esi - 0xd], al
movzx eax, byte [esi - 0x10]
mov byte [esi - 0xc], al
movzx eax, byte [esi - 0xf]
mov byte [esi - 0xb], al
movzx ecx, byte [esi - 0x16]
mov eax, dword [ebp - 0x14]
xor cl, al
mov byte [esi - 0xa], cl
movzx ecx, byte [esi - 0x15]
xor cl, ah
mov byte [esi - 9], cl
movzx eax, byte [esi - 0x14]
xor al, byte [ebp - 0x12]
mov byte [esi - 8], al
movzx eax, byte [esi - 0x13]
xor al, byte [ebp - 0x11]
dec dword [ebp - 0x18]
mov byte [esi - 7], al
jne 0x10095670
movzx eax, byte [ebp - 0x24]
push dword [ebp + 0x10]
mov byte [ebp - 8], al
movzx eax, byte [ebp - 0x23]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x22]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x21]
mov byte [ebp - 5], al
movzx eax, byte [ebp - 0x28]
mov byte [ebp - 4], al
movzx eax, byte [ebp - 0x27]
mov byte [ebp - 3], al
movzx eax, byte [ebp - 0x26]
mov byte [ebp - 2], al
movzx eax, byte [ebp - 0x25]
mov byte [ebp - 1], al
lea eax, [ebp - 8]
push 0x100fc4f8
push eax
call fcn.10095b10
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10095850
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
movsx eax, byte [edx + str.91__]
dec eax
mov ecx, eax
sar eax, 3
and ecx, 7
movsx eax, byte [eax + esi]
test dword [ecx*4 + 0x1009ebd0], eax
setne al
mov byte [edi + edx + 4], al
inc edx
cmp edx, 0x38
jl 0x10095861
xorps xmm0, xmm0
mov dword [ebp - 4], 0x4074
movdqu xmmword [edi + 0x4074], xmm0
xor eax, eax
movdqu xmmword [edi + 0x4084], xmm0
mov dword [ebp - 8], eax
movdqu xmmword [edi + 0x4094], xmm0
movdqu xmmword [edi + 0x40a4], xmm0
movdqu xmmword [edi + 0x40b4], xmm0
movdqu xmmword [edi + 0x40c4], xmm0
jmp 0x100958d0
movsx esi, byte [eax + 0x1009e970]
xor edx, edx
lea ebx, [esi - 0x1c]
lea esp, [esp]
cmp edx, 0x1c
mov eax, 0x1c
mov ecx, 0x38
cmovl ecx, eax
mov eax, ebx
cmp esi, ecx
cmovl eax, esi
inc esi
inc ebx
mov al, byte [edi + eax + 4]
mov byte [edi + edx + 0x3c], al
inc edx
cmp edx, 0x38
jl 0x100958e0
xor eax, eax
lea esp, [esp]
movsx ecx, byte [eax + 0x1009e980]
mov ebx, dword [ebp - 4]
cmp byte [ecx + edi + 0x3b], 0
je 0x10095937
mov edx, eax
mov ecx, eax
sar edx, 3
and ecx, 7
add edx, ebx
mov cl, byte [ecx*4 + 0x1009ebd0]
or byte [edx + edi], cl
inc eax
cmp eax, 0x30
jl 0x10095910
mov eax, dword [ebp - 8]
add ebx, 6
inc eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
cmp ebx, 0x40d4
jl 0x100958d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10095960
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, 0x400
rep stosd dword es:[edi], eax
xor edi, edi
xor ebx, ebx
jmp 0x10095980
xor esi, esi
xor edx, edx
movsx eax, byte [edx + 0x1009ebb0]
dec eax
mov ecx, eax
sar ecx, 3
cmp ecx, edi
jne 0x100959bd
and eax, 7
test dword [eax*4 + 0x1009ebd0], esi
je 0x100959bd
mov eax, edx
lea ecx, [ebx + esi]
sar eax, 3
add eax, dword [ebp + 8]
lea ecx, [eax + ecx*4]
mov eax, edx
and eax, 7
mov al, byte [eax*4 + 0x1009ebd0]
or byte [ecx], al
inc edx
cmp edx, 0x20
jl 0x10095984
inc esi
cmp esi, 0x100
jl 0x10095982
add ebx, 0x100
inc edi
cmp ebx, 0x400
jl 0x10095980
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10098a20
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.10098c10
add esp, 0xc
mov dword [ebp - 4], eax
xor ebx, ebx
lea edi, [eax*4]
test edi, edi
jle 0x10098a9b
mov ecx, dword [ebp + 8]
lea esi, [esi + edi*4]
add esi, 8
add ecx, 8
mov edx, dword [ecx - 8]
lea ecx, [ecx + 0x10]
mov eax, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [ecx - 0x18], eax
add ebx, 4
mov eax, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [ecx - 0x14]
mov dword [ecx - 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [ecx - 0x10]
mov dword [ecx - 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [ecx - 0xc]
mov dword [ecx - 0xc], eax
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x10098a55
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
cmp eax, 1
jle 0x10098c04
add esi, 2
lea edi, [eax - 1]
lea ebx, [ebx]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x100a0008]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0808]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0408]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0c08]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x100a0008]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0808]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0408]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0c08]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x100a0008]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0808]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0408]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0c08]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x100a0008]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0808]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0408]
movzx eax, dl
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x100a0c08]
mov dword [esi + 0xa], ecx
dec edi
jne 0x10098ab0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret