joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403860
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1068
call fcn.004846a0
push ebx
push esi
push edi
xor edi, edi
push 0x10
push edi
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0xc
push dword [ebp + 8]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x4038ad
push 0x3e8
call ebx
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x4038ef
push edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push dword [ebp - 0xc]
push 3
push edi
mov edi, SysReAllocStringLen
push 1
push edi
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x4038f3
push 0x3e8
call ebx
push 0
push dword [ebp - 0xc]
push 3
push 0
push 1
push edi
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x4038f3
xor eax, eax
jmp 0x403967
lea eax, [ebp - 0x68]
push eax
call fcn.0044caac
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
push 0
push eax
mov esi, 0x1000
lea eax, [ebp - 0x1068]
push esi
push eax
push dword [ebp - 4]
call edi
test eax, eax
je 0x40394d
push dword [ebp - 8]
lea eax, [ebp - 0x1068]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0044caea
add esp, 0xc
cmp dword [ebp - 8], esi
jne 0x40394d
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 0x1068]
push esi
push eax
push dword [ebp - 4]
jmp 0x403919
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
call fcn.0044d63e
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x403aec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
je 0x403b09
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
pop ebp
ret 0xc

Function at 0x403b0d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
je 0x403b2a
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
pop ebp
ret 0xc
Function at 0x40fc1a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, 0x4fc6ba
call fcn.00484660
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x40fc3a
mov eax, 0x80070057
jmp 0x40fd2e
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0x18]
je 0x40fc43
inc eax
cmp eax, 0x10
jbe 0x40fc52
mov eax, 0x80004005
jmp 0x40fd2e
push 0x10
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x40fc77
mov dword [eax + 4], edi
mov dword [eax], 0x51c4d0
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov esi, eax
jmp 0x40fc79
xor esi, esi
mov eax, dword [esi]
or dword [ebp - 4], 0xffffffff
push esi
call dword [eax + 4]
push 0x70
pop ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x40fcac
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, 0x8007000e
jmp 0x40fd2e
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edi, dword [esi + 0xc]
push ebx
push 0
push edi
call sub.MSVCRT.dll_memset
mov ebx, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x40fce8
mov dword [edi], ebx
add edi, 4
mov eax, dword [ebp + 0x18]
shl eax, 2
push eax
lea eax, [ebp + 0x1c]
push eax
push edi
call sub.MSVCRT.dll_memcpy
mov edi, dword [esi + 0xc]
push 0x28
add edi, 0x40
push 0x56fc3c
push edi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 0xc]
mov dword [edi + 0x18], ebx
mov dword [edi + 0x11], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1d], eax
mov eax, dword [esi + 0xc]
add eax, 0x40
add esp, 0x18
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x410319
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
xor edi, edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41033e
call fcn.004103a0
test eax, eax
jne 0x41033b
xor esi, esi
jmp 0x41033e
mov esi, dword [eax + 0x20]
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41039a
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x410394
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x410394
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x410394
push 1
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x413c5d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4fcda8
call fcn.00484660
sub esp, 0x68
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_5
mov esi, dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call esi
mov dword [esp], str.TIMProxy.dll
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, 0x20
jb 0x413ce8
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x413ce1
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x20]
push eax
call esi
mov dword [esp], str.TIMPlatform.exe
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
push str._RegServer
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
push 0x44
lea eax, [ebp - 0x74]
pop esi
mov byte [ebp - 4], 6
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x30]
push ebx
push eax
mov dword [ebp - 0x74], esi
call sub.MSVCRT.dll_memset
add esp, 0x18
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x18]
mov eax, dword [eax - 8]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x413d7a
push 0x1388
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x414698
Capabilities:
Check os version

Disassembly:
mov eax, 0x4fcec8
call fcn.00484660
sub esp, 0x9c
push esi
push edi
mov esi, 0x9c
xor edi, edi
push esi
lea eax, [ebp - 0xa8]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
cmp eax, edi
jne 0x4146f6
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x94
push eax
call esi
test eax, eax
je 0x414885
mov esi, dword [ebp + 8]
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp - 0x98]
sub eax, edi
je 0x4147cf
dec eax
je 0x41475d
dec eax
jne 0x4147db
cmp dword [ebp - 0xa4], 4
ja 0x41472b
push str.Microsoft_Windows_NT
jmp 0x4147d4
cmp dword [ebp - 0xa4], 5
jne 0x414756
cmp dword [ebp - 0xa0], edi
jne 0x414746
push str.Microsoft_Windows_2000
jmp 0x4147d4
cmp dword [ebp - 0xa0], 1
jne 0x414756
push str.Microsoft_Windows_XP
jmp 0x4147d4
push str.Microsoft_Windows_XP_later
jmp 0x4147d4
cmp dword [ebp - 0xa4], 4
jne 0x4147c8
cmp dword [ebp - 0xa0], edi
jne 0x414793
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.00484034
cmp byte [ebp - 0x93], 0x43
je 0x41478c
cmp byte [ebp - 0x93], 0x42
jne 0x4147db
push str.OSR2
jmp 0x4147d4
cmp dword [ebp - 0xa0], 0xa
jne 0x4147b8
push str.Microsoft_Windows_98
mov ecx, esi
call fcn.00484034
cmp byte [ebp - 0x93], 0x41
jne 0x4147db
push 0x570708
jmp 0x4147d4
cmp dword [ebp - 0xa0], 0x5a
jne 0x4147c8
push str.Microsoft_Windows_Me
jmp 0x4147d4
push str.Microsoft_Windows_Me_later
jmp 0x4147d4
push str.Microsoft_Win32s
mov ecx, esi
call fcn.00484034
cmp dword [ebp - 0xa4], 4
ja 0x41482c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 4], edi
and eax, 0xffff
push eax
lea eax, [ebp + 8]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push str._Build__d._d._d__n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [ebp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x41487d
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 4], 1
and eax, 0xffff
push eax
lea eax, [ebp - 0x94]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push eax
lea eax, [ebp + 8]
push str._s__Build__d._d._d__n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea eax, [ebp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x427cac
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4ff3bc
call fcn.00484660
sub esp, 0x1cc
push ebx
push edi
mov edi, ecx
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1d8]
push 0x104
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xac]
xor ebx, ebx
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x70], 0x44
call sub.MSVCRT.dll_memset
add esp, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push ecx
mov eax, dword [eax + 0xd4]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_GetCurrentSysTempData_struct_IQQCore___struct_IQQData___]
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
push edx
push str.QQMAINFRAME_PARENT
push eax
call dword [ecx + 0x34]
push dword [ebp - 0x1c]
lea eax, [ebp - 0xd4]
push 1
push str._SessionType:_d__EMB_HWND:_ld
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xd4]
push ebx
push eax
lea eax, [ebp - 0x1d8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
jne 0x427d90
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x427d89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x427dde
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00428bef
cmp dword [ebp - 0x18], ebx
je 0x427dbb
lea ecx, [ebp - 0x18]
call fcn.00428bef
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x427dcb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x427ddc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x430ee4
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x50072d
call fcn.00484660
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0xac], ebx
jne 0x430f28
cmp dword [esi + 0x60], ebx
jne 0x430f2f
push 0x5720ec
call fcn.00412ef3
mov dword [esp], 0xb90
push esi
call fcn.004330d7
pop ecx
mov dword [esi + 0xac], 1
pop ecx
xor eax, eax
jmp 0x43105d
push 1
lea ecx, [ebp - 0x10]
pop edi
mov dword [esi + 0xbc], edi
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x10]
add eax, 0xc
mov dword [ebp - 4], ebx
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0xc0]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x43104f
cmp dword [ebp - 0x14], edi
je 0x430f91
cmp dword [ebp - 0x14], 4
je 0x430f91
push dword [ebp - 0x10]
call sub.WSOCK32.dll_inet_addr
mov edi, eax
inc edi
neg edi
sbb edi, edi
inc edi
jmp 0x430f93
xor edi, edi
mov eax, dword [esi + 0x5c]
push dword [eax + 0x10]
push dword [ebp - 0x10]
push 0x5720a0
call fcn.00412ef3
add esp, 0xc
cmp edi, ebx
je 0x431014
push dword [ebp - 0x10]
push 0x572058
call fcn.00412ef3
mov eax, dword [esi + 0x5c]
pop ecx
pop ecx
push dword [eax + 0x10]
push dword [ebp - 0x10]
push 0xb91
push esi
call fcn.004330d7
push 0x488
call sub.MFC42.DLL_operatornew
add esp, 0x14
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x43100f
push ebx
push 1
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp - 0x1c]
push 0xb53
push dword [esi + 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.BasicCtrlDll.dll_public:_void___thiscall_CAsyncGetHostByName::constructor_struct_HWND_____unsigned_int__class_CString__int__int_]
mov byte [ebp - 4], bl
jmp 0x43104c
mov eax, dword [esi + 0x5c]
push dword [eax + 0x10]
push dword [ebp - 0x10]
push 0xb92
push esi
call fcn.004330d7
mov eax, dword [esi + 0x5c]
add esp, 0x10
push dword [eax + 0x10]
lea eax, [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push 1
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0043158b
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x44bf19
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call sub.WSOCK32.dll_ntohl
push dword [esi + 4]
mov edi, eax
call sub.WSOCK32.dll_ntohl
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
lea esi, [ebp - 0x10]
sub eax, ecx
mov dword [ebp + 8], 4
mov dword [ebp + 0xc], eax
jmp 0x44bf52
mov eax, dword [ebp + 0xc]
push dword [eax + esi]
call sub.WSOCK32.dll_ntohl
mov dword [esi], eax
add esi, 4
dec dword [ebp + 8]
jne 0x44bf4f
push 0xd
xor eax, eax
pop ecx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
sub eax, 0x61c88647
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
mov edx, edi
mov esi, edi
shr edx, 5
add edx, dword [ebp - 4]
shl esi, 4
add esi, dword [ebp - 8]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
dec ecx
jne 0x44bf69
push edi
call sub.WSOCK32.dll_htonl
mov esi, dword [ebp + 0x10]
push ebx
mov dword [esi], eax
call sub.WSOCK32.dll_htonl
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44c40f
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov edx, eax
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov edi, dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0x10]
push 4
lea ecx, [ebp - 0x10]
sub edi, eax
pop ebx
mov eax, dword [edi + ecx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov dword [ecx], eax
add ecx, 4
dec ebx
jne 0x44c442
push 0x10
xor eax, eax
pop ecx
mov edi, esi
mov ebx, esi
shr edi, 5
add edi, dword [ebp - 0xc]
sub eax, 0x61c88647
shl ebx, 4
add ebx, dword [ebp - 0x10]
xor edi, ebx
lea ebx, [eax + esi]
xor edi, ebx
add edx, edi
mov edi, edx
mov ebx, edx
shr edi, 5
add edi, dword [ebp - 4]
shl ebx, 4
add ebx, dword [ebp - 8]
xor edi, ebx
lea ebx, [eax + edx]
xor edi, ebx
add esi, edi
dec ecx
jne 0x44c45a
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
bswap eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
bswap eax
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
leave
ret
Function at 0x44c4b1
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov esi, eax
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov edi, dword [ebp + 0xc]
mov edx, eax
lea eax, [ebp - 0x10]
push 4
lea ecx, [ebp - 0x10]
sub edi, eax
pop ebx
mov eax, dword [edi + ecx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
bswap eax
mov dword [ecx], eax
add ecx, 4
dec ebx
jne 0x44c4e4
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edi, esi
mov ebx, esi
shr edi, 5
add edi, dword [ebp - 4]
shl ebx, 4
add ebx, dword [ebp - 8]
xor edi, ebx
lea ebx, [eax + esi]
xor edi, ebx
sub edx, edi
mov edi, edx
mov ebx, edx
shr edi, 5
add edi, dword [ebp - 0xc]
shl ebx, 4
add ebx, dword [ebp - 0x10]
xor edi, ebx
lea ebx, [eax + edx]
xor edi, ebx
add eax, 0x61c88647
sub esi, edi
dec ecx
jne 0x44c4ff
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 8]
bswap eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
bswap eax
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
leave
ret
Function at 0x44c556
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 8
add eax, 0xa
pop ebx
cdq
mov ecx, ebx
idiv ecx
test edx, edx
mov dword [ebp - 4], edx
je 0x44c57b
mov eax, ebx
sub eax, edx
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.MSVCRT.dll_rand]
call esi
mov ecx, eax
mov eax, dword [ebp - 4]
and cl, 0xf8
push 1
or cl, al
pop edi
mov byte [ebp - 0xc], cl
mov ecx, eax
dec eax
test ecx, ecx
je 0x44c5aa
inc eax
mov dword [ebp - 4], eax
call esi
mov byte [ebp + edi - 0xc], al
inc edi
dec dword [ebp - 4]
jne 0x44c59e
push ebx
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
and dword [esi], 0
mov dword [ebp + 0x18], 1
cmp edi, ebx
jge 0x44c5e0
call dword [sym.imp.MSVCRT.dll_rand]
mov byte [ebp + edi - 0xc], al
inc edi
inc dword [ebp + 0x18]
cmp edi, ebx
jne 0x44c619
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x44c5ec
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.0044c40f
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 2
jle 0x44c5cc
cmp dword [ebp + 0xc], 0
je 0x44c676
cmp edi, ebx
jge 0x44c63b
mov eax, dword [ebp + 8]
inc edi
inc dword [ebp + 8]
dec dword [ebp + 0xc]
mov al, byte [eax]
cmp edi, ebx
mov byte [ebp + edi - 0xd], al
jne 0x44c61f
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x44c647
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.0044c40f
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
jmp 0x44c61f
mov dword [ebp + 0x18], 1
cmp edi, ebx
jge 0x44c68c
and byte [ebp + edi - 0xc], 0
inc edi
inc dword [ebp + 0x18]
cmp edi, ebx
jne 0x44c6c5
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x44c698
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.0044c40f
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 7
jle 0x44c67d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44caac
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call sub.MSVCRT.dll_memset
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
add esp, 0xc
and dword [esi + 0x58], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x44d78a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
test edx, edx
je 0x44d8ad
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x44d8ad
mov eax, dword [ebp + 8]
push ebx
cmp esi, 8
push edi
not eax
mov ecx, 0xff
jl 0x44d88a
mov edi, esi
shr edi, 3
mov ebx, edi
neg ebx
lea esi, [esi + ebx*8]
mov dword [ebp + 0x10], esi
movzx ebx, byte [edx]
mov esi, eax
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x520b6c]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x520b6c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x520b6c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x520b6c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x520b6c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x520b6c]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x520b6c]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x520b6c]
xor eax, esi
inc edx
dec edi
jne 0x44d7c8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x44d8a7
movzx ebx, byte [edx]
mov edi, eax
and edi, ecx
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x520b6c]
xor eax, edi
inc edx
dec esi
jne 0x44d88e
pop edi
pop ebx
not eax
jmp 0x44d8b0
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret