joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407629
Capabilities:
Access peb ldr_data
Create process on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x411ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push 0x413698
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esi + 0xe8]
mov dword [esp + 0x30], 0
test eax, eax
je 0x40767e
mov dword [esp + 0x1c], 0x104
mov ebx, dword [eax]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
push 0x104
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 0xe8]
push eax
call dword [ebx + 0x68]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push ebp
push 0x413698
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_3
mov ebx, 1
push 0x413698
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], bl
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0x104
push edx
mov ebp, dword [ecx]
push 0x104
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 0xe8]
push eax
call dword [ebp + 0x78]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop ebp
jne 0x40774f
push 0x100
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], 0x100
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push str.Support
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x407768
push 0x415e94
lea ecx, [esp + 0xc]
call fcn.00408f9c
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42u.DLL_operator
test esi, esi
je 0x407783
mov esi, dword [esi + 0x20]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push 5
push ecx
push 0x413698
push edx
push 0x415620
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x40ba50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp + 4]
add ecx, 0x514
push eax
push 0x20019
push 0
call fcn.0040f270
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40ba88
xor eax, eax
add esp, 0x10c
ret 4
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 4]
push edx
push eax
push 0
push str.LastUpdateTime
push ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp], 1
je 0x40bad6
xor eax, eax
add esp, 0x10c
ret 4
mov eax, dword [esp + 0x110]
lea ecx, [esp + 0xc]
push eax
push 0x416614
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0xc
dec eax
neg eax
sbb eax, eax
inc eax
add esp, 0x10c
ret 4

Function at 0x40c050
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4123f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
mov ebp, ecx
push 0x413698
lea ecx, [esp + 0x18]
call fcn.0040f070
xor ebx, ebx
mov dword [esp + 0x90], ebx
call fcn.0040d260
test eax, eax
jne 0x40c0ad
lea ecx, [esp + 0x14]
mov dword [esp + 0x90], 0xffffffff
call fcn.0040f030
mov eax, 0x14
jmp 0x40c1ba
lea eax, [esp + 8]
push esi
push eax
push 0x20019
push ebx
lea ecx, [ebp + 0x514]
mov dword [esp + 0x18], ebx
call fcn.0040f270
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c171
push edi
push str.ProductCode
lea ecx, [esp + 0x28]
call fcn.0040f070
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0xa8], 1
mov dword [esp + 0x24], 0x64
mov dword [esp + 0x28], ebx
call fcn.0040f270
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
pop edi
jne 0x40c14f
lea edx, [esp + 0x28]
lea ecx, [esp + 0x18]
push edx
call fcn.0040f100
xor esi, esi
jmp 0x40c154
mov esi, 0xe
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], bl
call fcn.0040f030
jmp 0x40c176
mov esi, 0xe
mov eax, dword [ebp + 0x4b4]
cmp eax, ebx
je 0x40c1a3
cmp esi, ebx
jne 0x40c1a3
mov ecx, dword [esp + 0x9c]
mov esi, dword [eax]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040f270
mov ecx, dword [ebp + 0x4b4]
push eax
call dword [esi + 0x20]
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x94], 0xffffffff
call fcn.0040f030
mov eax, esi
pop esi
mov ecx, dword [esp + 0x88]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 4
Function at 0x40c49c
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x412410
push eax
mov dword fs:[0], esp
sub esp, 0x18
lea eax, [esp + 4]
push esi
mov esi, ecx
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
lea ecx, [esi + 0x514]
call fcn.0040f270
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40c4df
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
add esi, 0x204
lea ecx, [esp + 0xc]
push esi
call fcn.0040f070
push 0x41390c
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.0040f070
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.0040f280
push eax
push 0
lea ecx, [esp + 0x14]
call fcn.0040f290
push eax
call fcn.00403110
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0040f270
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x14]
shl eax, 1
push eax
call fcn.0040f270
push eax
push 1
push 0
lea ecx, [esp + 0x1c]
call fcn.0040f270
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.0040f030
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040f030
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x40d430
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x412588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x1c]
lea ecx, [esp]
push eax
call fcn.0040f070
mov ecx, dword [esp + 0x20]
push 5
push ecx
push 0x413698
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.0040f270
mov edx, dword [esp + 0x24]
push eax
push 0x415620
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call fcn.0040f030
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40d4b0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x44c
lea ecx, [esp + 0x244]
push ebx
mov ebx, dword [esp + 0x458]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscpy]
push edi
push eax
push ecx
mov dword [ebx], 0
call esi
lea edx, [esp + 0x258]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
cmp word [esp + eax*2 + 0x24e], 0x5c
je 0x40d50d
lea eax, [esp + 0x250]
push 0x4138e8
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4a]
mov word [esp + 0x48], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x250]
lea edx, [esp + 0x48]
push ecx
push edx
stosw word es:[edi], ax
call esi
add esp, 8
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d664
test al, 0x10
je 0x40d664
lea ecx, [esp + 0x250]
lea edx, [esp + 0x48]
push ecx
push edx
call esi
add esp, 8
lea eax, [esp + 0x48]
lea ecx, [esp + 0x250]
push eax
push 0
push 0x4166a4
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x40d664
push 0
push 0
push 2
push 0
push 0
lea edx, [esp + 0x5c]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40d664
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x40d646
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edx, dword [esp + 0x12]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xe]
and eax, 0xffff
and ecx, 0xffff
sub eax, 0x76c
dec ecx
and edx, 0xffff
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x16]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x24]
and eax, 0xffff
and ecx, 0xffff
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.MSVCRT.dll_mktime]
mov ecx, dword [sym.imp.MSVCRT.dll__timezone]
add esp, 4
mov edi, 1
sub eax, dword [ecx]
mov dword [ebx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x44c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x44c
ret
Function at 0x40f8c0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
jmp 0x4107d0
sub esp, 0x98
push esi
mov esi, ecx
lea ecx, [esp + 8]
lea eax, [esi + 0x318]
push eax
call fcn.00410a60
lea ecx, [esp + 0x34]
lea edx, [esi + 0x214]
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.00411040
push 0
push 0x22
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x410841
lea eax, [esp + 4]
push 0
push eax
lea ecx, [esp + 0x3c]
push 0x68
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 0x98
ret
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop esi
add esp, 0x98
ret

Function at 0x40fae0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x410670
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x68
push ebx
mov ebx, ecx
xor ecx, ecx
push ebp
lea eax, [ebx + 0x208]
push esi
mov edx, eax
push edi
push 4
mov dword [edx], ecx
mov byte [edx + 4], cl
mov ecx, dword [esp + 0x84]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov edx, dword [esp + 0x88]
lea ebp, [ebx + 0x318]
mov esi, dword [sym.imp.MSVCRT.dll_wcscpy]
mov ecx, 0x41
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x214]
mov ecx, 0x41
push edx
push ebx
rep stosd dword es:[edi], eax
mov dword [ebx + 0x210], 2
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [ebx + eax*2 - 8]
push str..dta
push eax
call esi
add esp, 0x20
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41071b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x68
je 0x41072d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x210], edi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x68
ret 8
lea eax, [esp + 0x80]
push edi
push eax
lea ecx, [esp + 0x18]
push 0x68
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x10]
push edx
call fcn.00411120
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x214]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCRT.dll__strupr]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [ebx + 0x214]
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.004108e0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x68
ret 8
Function at 0x411040
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
push edi
mov eax, ebx
lea ecx, [esi + 4]
mov dword [esi], 0
mov dword [esp + 0x14], ecx
mov edi, 0x20
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
dec edi
jne 0x41105d
push ebp
lea ebp, [esi + 0x24]
mov ecx, 0x10
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov dword [esi + 0x64], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
shr eax, 4
mov dword [esi], eax
jne 0x41108b
mov dword [esi], 0x1234567
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, ecx
cmp byte [ecx], al
je 0x4110a9
inc edx
inc eax
cmp byte [edx], 0
jne 0x411097
cmp ax, 0x3f
jle 0x4110a9
mov eax, 0x3f
test ax, ax
jle 0x4110bc
mov edi, ebp
movsx ebp, ax
mov dl, byte [ecx]
inc ecx
mov byte [edi], dl
inc edi
dec ebp
jne 0x4110b3
cmp ax, 0x40
pop ebp
jge 0x4110e1
movsx eax, ax
mov ecx, 0x40
sub ecx, eax
lea edi, [eax + esi + 0x24]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0x68
push esi
mov ecx, ebx
call fcn.00411000
mov dword [esi + 0x64], eax
mov eax, dword [esi]
mov esi, dword [esp + 0x14]
mov edi, 0x60
push eax
call fcn.00410af0
mov bl, byte [esi]
mov ecx, eax
sar ecx, 0x10
xor bl, cl
add esp, 4
mov byte [esi], bl
inc esi
dec edi
jne 0x4110f9
pop edi
pop esi
pop ebx
ret 8

Function at 0x411120
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edi, 0x60
mov eax, dword [ecx]
lea esi, [ecx + 4]
push eax
call fcn.00410af0
mov dl, byte [esi]
mov ecx, eax
sar ecx, 0x10
xor dl, cl
add esp, 4
mov byte [esi], dl
inc esi
dec edi
jne 0x411130
pop edi
pop esi
ret
Function at 0x402905
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
cmp esi, 1
push edi
jle 0x4029de
push 0x34
pop eax
cdq
idiv esi
and dword [ebp - 4], 0
add eax, 6
mov dword [ebp - 0x18], eax
lea eax, [ecx + esi*4 - 4]
mov edi, dword [eax]
dec esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
sub dword [ebp - 4], 0x61c88647
mov eax, dword [ebp - 4]
shr eax, 2
and eax, 3
xor edx, edx
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], edx
jbe 0x402996
mov esi, dword [ecx + edx*4 + 4]
mov ebx, edi
shr ebx, 5
shl edi, 4
mov eax, esi
shl eax, 2
xor eax, ebx
mov ebx, esi
xor esi, dword [ebp - 4]
shr ebx, 3
xor ebx, edi
mov edi, edx
and edi, 3
xor edi, dword [ebp - 8]
add eax, ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + edi*4]
xor edi, dword [ebp - 0xc]
add edi, esi
xor eax, edi
add dword [ecx + edx*4], eax
mov edi, dword [ecx + edx*4]
inc edx
mov dword [ebp - 0xc], edi
cmp edx, dword [ebp - 0x10]
jb 0x402953
mov eax, dword [ecx]
mov ebx, edi
mov esi, eax
shr ebx, 5
shl esi, 2
xor esi, ebx
mov ebx, eax
xor eax, dword [ebp - 4]
and edx, 3
xor edx, dword [ebp - 8]
shl edi, 4
shr ebx, 3
xor ebx, edi
mov edi, dword [ebp + 8]
mov edx, dword [edi + edx*4]
xor edx, dword [ebp - 0xc]
add esi, ebx
add edx, eax
mov eax, dword [ebp - 0x14]
xor esi, edx
add dword [eax], esi
dec dword [ebp - 0x18]
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
jne 0x402939
jmp 0x402aa1
cmp esi, 0xffffffff
jge 0x402aa1
push 0x34
neg esi
pop eax
cdq
idiv esi
mov edx, dword [ecx]
lea edi, [esi - 1]
lea esi, [ecx + esi*4 - 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
add eax, 6
imul eax, eax, 0x9e3779b9
mov dword [ebp - 4], eax
mov esi, dword [ebp - 0x10]
shr eax, 2
and eax, 3
mov dword [ebp - 8], eax
test esi, esi
jbe 0x402a58
mov eax, dword [ecx + esi*4 - 4]
mov ebx, eax
shr ebx, 5
mov edi, edx
shl edi, 2
xor edi, ebx
shl eax, 4
mov ebx, edx
xor edx, dword [ebp - 4]
shr ebx, 3
xor ebx, eax
mov eax, esi
and eax, 3
xor eax, dword [ebp - 8]
add edi, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + eax*4]
xor eax, dword [ecx + esi*4 - 4]
add eax, edx
xor edi, eax
sub dword [ecx + esi*4], edi
mov edx, dword [ecx + esi*4]
dec esi
jne 0x402a1a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, eax
mov edi, edx
shr ebx, 5
shl edi, 2
xor edi, ebx
mov ebx, edx
shl eax, 4
and esi, 3
xor esi, dword [ebp - 8]
shr ebx, 3
xor ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp - 0x14]
xor esi, dword [eax]
mov eax, dword [ebp - 4]
xor edx, eax
add esi, edx
add edi, ebx
xor edi, esi
sub dword [ecx], edi
mov edx, dword [ecx]
add eax, 0x61c88647
mov dword [ebp - 4], eax
jne 0x402a0a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43d3b2
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x441105
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
cmp esi, 1
push edi
jle 0x4411de
push 0x34
pop eax
cdq
idiv esi
and dword [ebp - 4], 0
add eax, 6
mov dword [ebp - 0x18], eax
lea eax, [ecx + esi*4 - 4]
mov edi, dword [eax]
dec esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
sub dword [ebp - 4], 0x61c88647
mov eax, dword [ebp - 4]
shr eax, 2
and eax, 3
xor edx, edx
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], edx
jbe 0x441196
mov esi, dword [ecx + edx*4 + 4]
mov ebx, edi
shr ebx, 5
shl edi, 4
mov eax, esi
shl eax, 2
xor eax, ebx
mov ebx, esi
xor esi, dword [ebp - 4]
shr ebx, 3
xor ebx, edi
mov edi, edx
and edi, 3
xor edi, dword [ebp - 8]
add eax, ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + edi*4]
xor edi, dword [ebp - 0xc]
add edi, esi
xor eax, edi
add dword [ecx + edx*4], eax
mov edi, dword [ecx + edx*4]
inc edx
mov dword [ebp - 0xc], edi
cmp edx, dword [ebp - 0x10]
jb 0x441153
mov eax, dword [ecx]
mov ebx, edi
mov esi, eax
shr ebx, 5
shl esi, 2
xor esi, ebx
mov ebx, eax
xor eax, dword [ebp - 4]
and edx, 3
xor edx, dword [ebp - 8]
shl edi, 4
shr ebx, 3
xor ebx, edi
mov edi, dword [ebp + 8]
mov edx, dword [edi + edx*4]
xor edx, dword [ebp - 0xc]
add esi, ebx
add edx, eax
mov eax, dword [ebp - 0x14]
xor esi, edx
add dword [eax], esi
dec dword [ebp - 0x18]
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
jne 0x441139
jmp 0x4412a1
cmp esi, 0xffffffff
jge 0x4412a1
push 0x34
neg esi
pop eax
cdq
idiv esi
mov edx, dword [ecx]
lea edi, [esi - 1]
lea esi, [ecx + esi*4 - 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
add eax, 6
imul eax, eax, 0x9e3779b9
mov dword [ebp - 4], eax
mov esi, dword [ebp - 0x10]
shr eax, 2
and eax, 3
mov dword [ebp - 8], eax
test esi, esi
jbe 0x441258
mov eax, dword [ecx + esi*4 - 4]
mov ebx, eax
shr ebx, 5
mov edi, edx
shl edi, 2
xor edi, ebx
shl eax, 4
mov ebx, edx
xor edx, dword [ebp - 4]
shr ebx, 3
xor ebx, eax
mov eax, esi
and eax, 3
xor eax, dword [ebp - 8]
add edi, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + eax*4]
xor eax, dword [ecx + esi*4 - 4]
add eax, edx
xor edi, eax
sub dword [ecx + esi*4], edi
mov edx, dword [ecx + esi*4]
dec esi
jne 0x44121a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, eax
mov edi, edx
shr ebx, 5
shl edi, 2
xor edi, ebx
mov ebx, edx
shl eax, 4
and esi, 3
xor esi, dword [ebp - 8]
shr ebx, 3
xor ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp - 0x14]
xor esi, dword [eax]
mov eax, dword [ebp - 4]
xor edx, eax
add esi, edx
add edi, ebx
xor edi, esi
sub dword [ecx], edi
mov edx, dword [ecx]
add eax, 0x61c88647
mov dword [ebp - 4], eax
jne 0x44120a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x457efb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ff364
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5450d0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [edi + 0x90]
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
call fcn.0045b54a
and dword [esp + 0x68], 0
lea esi, [edi + 0xc]
call fcn.0046d9a3
push dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
cmp dword [edi + 0x10], 2
jne 0x458076
push 0x516808
push dword [ebp + 0xc]
call fcn.00479ebe
mov esi, eax
call fcn.00454591
mov esi, eax
mov dword [esp + 0x10], esi
call fcn.00459fe4
mov ebx, dword [edi + 0x6c]
add edi, 0x5c
lea esi, [esp + 0x1c]
call fcn.004bb844
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.004bb844
mov esi, dword [esp + 0x14]
test esi, esi
je 0x457fbb
cmp esi, dword [esp + 0x1c]
je 0x457fc0
call 0x511b64
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x457ff2
mov dword [esp + 0x2c], esi
lea esi, [esp + 0x2c]
mov dword [esp + 0x30], eax
call fcn.004dc5a2
mov esi, eax
call fcn.0046e9ed
cmp dword [eax], 0xffffffff
jne 0x457ff2
lea esi, [esp + 0x14]
call fcn.004dc5a2
jmp 0x457fa1
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.004bb844
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45800c
cmp eax, dword [esp + 0x14]
je 0x458011
call 0x511b64
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x20], eax
je 0x458073
lea esi, [esp + 0x1c]
call fcn.0046e9ed
cmp dword [eax], 0
jl 0x458032
call fcn.0046e9ed
mov eax, dword [eax]
jmp 0x458035
push 0xfffffffffffffffe
pop eax
cdq
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
lea edx, [esp + 0x2c]
lea eax, [esp + 0x34]
call fcn.0047a259
push eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x6c], 1
call fcn.00459fcb
lea esi, [esp + 0x34]
mov byte [esp + 0x68], 0
call fcn.0047a3d8
lea esi, [esp + 0x1c]
call fcn.0046d7ee
jmp 0x457ffe
mov edi, dword [ebp + 8]
mov edi, dword [edi + 0x10]
cmp edi, 1
jne 0x458085
mov eax, 0x516824
jmp 0x458093
mov eax, 0x51682c
test edi, edi
je 0x458093
mov eax, 0x516810
push eax
lea ecx, [esp + 0x38]
call fcn.0044031f
lea eax, [esp + 0x34]
push eax
push ecx
push 0x516818
push dword [ebp + 0xc]
mov byte [esp + 0x78], 2
call fcn.00479ebe
pop ecx
push eax
call fcn.0047a276
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.0044046c
or dword [esp + 0x68], 0xffffffff
lea eax, [esp + 0x24]
call fcn.0045aa13
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8