joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e7d0
Capabilities:
Create new key via cryptacquirecontext
Create thread
Log keystrokes via application hook

Disassembly:
call fcn.0042d9e0
cmp eax, 0x140
jle 0x44e7e3
mov byte [0], 0
cmp dword [0x4df6a4], 0
je 0x44e7ef
xor eax, eax
ret
push esi
push 0x4e2d80
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [0x4df6a0], 0
mov dword [0x4df6a4], 1
jne 0x44e85b
push 0x140
call fcn.0046af23
mov esi, eax
add esp, 4
mov dword [0x4df6a0], esi
test esi, esi
je 0x44e917
push 0x140
push 0
push esi
mov dword [0x4df6b0], 0
mov dword [0x4df6b4], 0
call fcn.0046a470
add esp, 0xc
push 0x140
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0
push 0x44e1b0
push 2
call edi
mov dword [0x4df6c0], eax
test eax, eax
jne 0x44e888
push eax
call fcn.00433e20
add esp, 4
call esi
push eax
push 0
push 0x44dfe0
push 7
call edi
pop edi
mov dword [0x4df6bc], eax
push 0
test eax, eax
jne 0x44e8bb
call fcn.00433e20
add esp, 4
push 1
call fcn.0044d780
add esp, 4
mov eax, 1
pop esi
ret
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 1
push 0
push 0
push 0x4e2d98
call esi
test eax, eax
jne 0x44e8ed
push 8
push 1
push eax
push eax
push 0x4e2d98
call esi
mov dword [0x4df6cc], 0
test eax, eax
je 0x44e8f7
mov dword [0x4df6cc], 1
push 0
push 0
push 0
push 0x44e760
push 0
push 0
call fcn.0046de53
add esp, 0x18
mov dword [0x4df6b8], eax
test eax, eax
jne 0x44e928
push 1
call fcn.0044d780
add esp, 4
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x44e930
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push SysStringLen
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44e991
mov eax, dword [esp + 0x18]
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44e997
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0xc
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 8], 4
sete al
add esp, 0xc
ret
Function at 0x44eab0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x428]
push ebx
mov ebx, dword [esp + 0x424]
push ebp
mov ebp, dword [esp + 0x42c]
push esi
mov esi, dword [esp + 0x438]
push edi
mov edi, dword [esp + 0x440]
dec edi
push edi
push eax
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x410
call fcn.0046adb0
push 0x410
lea eax, [esp + 0x28]
push 0
push eax
call fcn.0046a470
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44eb61
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44eb61
push edi
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.0046adb0
add esp, 0xc
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x428]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00469f7b
add esp, 0x41c
ret

Function at 0x44eb90
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp]
push ecx
push 0x20019
push 0
push edx
push SysReAllocStringLen
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44ebc4
xor eax, eax
pop ecx
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 8]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, dword [esp + 0x18]
pop esi
pop ecx
ret

Function at 0x44ec10
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push SysStringLen
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x44ec53
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
push esi
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x44ec8d
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x44ecb0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push SysStringLen
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x44ecf3
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add esp, 8
ret
mov edx, dword [esp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44ed00
mov ecx, dword [esp + 0x14]
sub eax, esi
inc eax
push eax
xor eax, eax
cmp dword [esp + 0x20], eax
push edx
mov edx, dword [esp + 0xc]
setne al
inc eax
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x44ed48
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x44ed60
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push SysReAllocStringLen
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44edcc
mov edx, dword [esp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44eda0
mov ecx, dword [esp + 4]
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x18]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret

Function at 0x44edd0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push SysReAllocStringLen
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x44ee0c
xor eax, eax
add esp, 8
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 8]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret
Function at 0x44ee50
Capabilities:
Delete registry key

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20006
push 0
push ecx
push SysStringLen
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44ee83
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ecx
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
test esi, esi
je 0x44eeb0
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x44eed0
Capabilities:
Delete registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20006
push 0
push ecx
push SysReAllocStringLen
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44ef11
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x452520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c3e5
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, ecx
push 1
xor ebx, ebx
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call fcn.00426ab0
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 4]
push eax
push str._file_
push ecx
lea edx, [esp + 0x40]
push str.token:__slot_
push edx
mov dword [esp + 0xd0], 1
call fcn.00442580
add esp, 8
mov ecx, eax
call fcn.00442c70
push eax
call fcn.00442580
add esp, 8
push eax
call fcn.004427a0
add esp, 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
call fcn.00425a40
mov esi, dword [esp + 0xc4]
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
mov word [esi + 4], cx
push eax
mov ecx, esi
mov byte [esp + 0xc8], 2
call fcn.00401f70
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x4525f7
mov edx, dword [esp + 0x14]
push edx
call fcn.00469789
add esp, 4
xor eax, eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
mov byte [esp + 0xbc], bl
call fcn.00424120
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x84], vtable.std::ios_base.0
call fcn.00468fa3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xb4
ret 4
Function at 0x458200
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x101c
call fcn.0046a9e0
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x1018], eax
cmp dword [esp + 0x1020], 0
push ebx
mov ebx, dword [esp + 0x102c]
push esi
mov esi, dword [esp + 0x1034]
push edi
mov edi, dword [esp + 0x1030]
push 0
push esi
jne 0x458262
push 0x200
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1018]
xor ecx, esp
call fcn.00469f7b
add esp, 0x101c
ret
push 0x18
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0x70000
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4582f3
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0x200]
cmp ecx, 0xe00
ja 0x4582eb
push 0
push esi
push eax
lea edx, [esp + 0x30]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4582f3
mov eax, dword [esi]
cmp eax, 0x200
jb 0x4582b1
mov eax, 0x200
push eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0046b7c0
add esp, 0xc
cmp dword [esi], 0x200
jbe 0x4582ce
mov dword [esi], 0x200
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1018]
xor ecx, esp
call fcn.00469f7b
add esp, 0x101c
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x1024]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00469f7b
add esp, 0x101c
ret
Function at 0x458310
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1024
call fcn.0046a9e0
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x1020], eax
cmp dword [ebp + 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0
jne 0x458381
lea eax, [esp + 0x10]
push eax
push 0x200
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45844b
cmp dword [esp + 0xc], 0x200
jne 0x458443
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1020]
xor ecx, esp
call fcn.00469f7b
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
push ecx
push 0x18
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x70000
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45844b
mov eax, dword [esp + 0x24]
lea ecx, [eax - 0x200]
cmp ecx, 0xe00
ja 0x458443
cmp eax, 0x200
je 0x4583fc
push 0
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45844b
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x24]
jne 0x458443
push 1
neg eax
cdq
push 0
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x45844b
mov eax, dword [esp + 0x24]
push 0
mov ecx, 0x80
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45844b
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x24]
jne 0x458443
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1020]
xor ecx, esp
call fcn.00469f7b
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x102c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00469f7b
mov esp, ebp
pop ebp
ret
Function at 0x458c50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x23c
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x238], eax
mov eax, dword [esp + 0x24c]
mov dword [esp + 0x20], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x250]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x244]
mov dword [esp + 0x1c], eax
mov eax, edx
mov dword [esp + 4], ecx
and eax, 0xf
xor ecx, ecx
or eax, ecx
push edi
mov edi, dword [esp + 0x244]
je 0x458cab
mov byte [0], cl
mov eax, dword [esp + 0x24c]
shrd edx, eax, 4
shr eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
cmp eax, ecx
ja 0x458ccd
cmp edx, ecx
jbe 0x458ec3
push ebx
push ebp
push esi
jmp 0x458cdc
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, ecx
ja 0x458cf0
jb 0x458ce7
cmp edx, 0x20
jae 0x458cf0
mov eax, dword [esp + 0x14]
lea ebx, [edx + eax]
jmp 0x458cf5
mov ebx, 0x20
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x30]
lea esi, [esp + 0x38]
mov dword [esp + 0x38], edx
push ecx
mov edx, esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x268]
push edx
lea ebp, [esp + 0x248]
push eax
mov dword [esp + 0x24], ebp
call fcn.0042ba90
add esp, 0xc
mov dword [esp + 0x24], 0
test ebx, ebx
jbe 0x458df4
jmp 0x458d54
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x14]
jb 0x458d84
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp], edx
mov edx, dword [esi + 0xc]
mov dword [ebp + 4], eax
add esi, 8
sub ebp, 8
mov dword [ebp], ecx
mov dword [ebp + 4], edx
sub ebp, 8
mov dword [esp + 0x18], ebp
jmp 0x458d87
add esi, 8
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov ebp, ecx
and ebp, 0x80000000
xor edx, edx
or edx, ebp
mov byte [esp + 0x13], 0x87
jne 0x458da4
mov byte [esp + 0x13], 0
shld ecx, eax, 1
add eax, eax
mov dword [esi + 4], ecx
mov dword [esi], eax
mov ebp, dword [esi - 4]
mov eax, dword [esi - 8]
sub esi, 8
mov edx, ebp
and edx, 0x80000000
xor ecx, ecx
or ecx, edx
je 0x458dd0
mov ecx, dword [esi + 0xc]
or dword [esi + 8], 1
mov dword [esi + 0xc], ecx
mov dl, byte [esp + 0x13]
shld ebp, eax, 1
add eax, eax
mov dword [esi], eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esi + 4], ebp
xor byte [esp + 0x38], dl
mov dword [esp + 0x24], eax
invalid
Function at 0x45a520
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using des

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x18]
push edi
add ecx, 8
mov edi, 8
lea esp, [esp]
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x496360]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x496560]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x496760]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x496960]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x496460]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x496660]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x496860]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x496a60]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x496360]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x496560]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x496760]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x496960]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x496460]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x496660]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x496860]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x496a60]
xor esi, ebx
sub edi, 1
jne 0x45a540
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax], edx
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
ret
Function at 0x45bce0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push 0x1000
lea eax, [ebx + 0x90]
xor ebp, ebp
push 0x498ba8
mov ecx, 0x12
mov esi, 0x498b60
mov edi, ebx
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
rep movsd dword es:[edi], dword [esi]
call fcn.0046b7c0
mov ebp, dword [esp + 0x2c]
add esp, 0xc
xor edi, edi
mov esi, 2
xor edx, edx
lea eax, [esi - 2]
div ebp
mov eax, dword [esp + 0x24]
inc edi
movzx ecx, byte [edx + eax]
xor edx, edx
lea eax, [esi - 1]
div ebp
mov eax, dword [esp + 0x24]
shl ecx, 8
movzx edx, byte [edx + eax]
or ecx, edx
xor edx, edx
mov eax, esi
div ebp
mov eax, dword [esp + 0x24]
shl ecx, 8
movzx edx, byte [edx + eax]
or ecx, edx
xor edx, edx
lea eax, [esi + 1]
div ebp
mov eax, dword [esp + 0x24]
shl ecx, 8
add esi, 4
movzx edx, byte [edx + eax]
or ecx, edx
xor dword [ebx + edi*4 - 4], ecx
cmp edi, 0x12
jb 0x45bd27
push ebx
lea ecx, [esp + 0x14]
mov eax, ebx
call fcn.0045baa0
add esp, 4
mov ecx, ebx
mov edi, 8
lea esi, [ecx + 8]
push esi
mov eax, ebx
call fcn.0045baa0
add esp, 4
sub edi, 1
mov ecx, esi
jne 0x45bd94
lea esi, [ebx + 0x90]
push esi
lea ecx, [ebx + 0x40]
mov eax, ebx
call fcn.0045baa0
add esp, 4
mov ecx, esi
mov edi, 0x1ff
lea esi, [ecx + 8]
push esi
mov eax, ebx
call fcn.0045baa0
add esp, 4
sub edi, 1
mov ecx, esi
jne 0x45bdc4
xor eax, eax
lea ecx, [ebx + 0x8c]
mov edx, dword [ebx + eax*4]
mov dword [ecx], edx
inc eax
sub ecx, 4
cmp eax, 0x12
jb 0x45bde1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x45c060
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
xor eax, eax
push edi
mov dl, al
shr dl, 4
movzx edi, dl
mov cl, al
and cl, 0xf
movzx esi, cl
mov byte [esp + 0xf], cl
mov ecx, edi
movzx edi, byte [edi + 0x4b3710]
xor ecx, esi
movzx esi, byte [esi + 0x4b3700]
mov cl, byte [ecx + 0x4b3720]
xor edi, esi
movzx esi, byte [edi + 0x4b3740]
movzx ebx, byte [esi + 0x4b3700]
movzx ecx, cl
movzx edi, byte [ecx + 0x4b3710]
xor ecx, esi
xor edi, ebx
mov bl, byte [edi + 0x4b3780]
movzx esi, dl
shl bl, 4
or bl, byte [ecx + 0x4b3760]
movzx ecx, byte [esp + 0xf]
mov edx, esi
movzx esi, byte [esi + 0x4b3710]
xor edx, ecx
movzx ecx, byte [ecx + 0x4b3700]
mov dl, byte [edx + 0x4b3730]
xor esi, ecx
movzx esi, byte [esi + 0x4b3750]
movzx edi, byte [esi + 0x4b3700]
movzx ecx, dl
movzx edx, byte [ecx + 0x4b3710]
xor edx, edi
movzx edx, byte [edx + 0x4b3790]
shl dl, 4
xor ecx, esi
or dl, byte [ecx + 0x4b3770]
mov byte [eax + 0x4e09a8], bl
mov byte [eax + 0x4e0aa8], dl
inc eax
cmp eax, 0x100
jb 0x45c066
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4642b0
Capabilities:
Hash data using sha512

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
push esi
push edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
lea edi, [eax + 0x10]
mov ecx, 0x10
mov esi, 0x49a1e8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x4652c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x4654b0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov byte [0x4b37a0], 0x80
ret
Function at 0x469f7b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b38b4]
jne 0x469f85
repz ret
jmp fcn.0047274c

Function at 0x46c5cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x46c5fd
call fcn.0046f916
mov dword [eax], esi
call fcn.0046f903
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00469aae
add esp, 0x14
push 0x16
pop eax
jmp 0x46c652
test dword [ebp + 0xc], 0xfffffff9
jne 0x46c5d9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46c62a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046f929
pop ecx
call fcn.0046f903
mov eax, dword [eax]
jmp 0x46c652
test al, 0x10
jne 0x46c650
test al, 1
je 0x46c650
test byte [ebp + 0xc], 2
je 0x46c650
call fcn.0046f916
mov dword [eax], 5
call fcn.0046f903
mov dword [eax], 0xd
jmp 0x46c621
xor eax, eax
pop esi
pop ebp
ret

Function at 0x46c66d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x46c69e
call fcn.0046f916
mov dword [eax], esi
call fcn.0046f903
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00469aae
add esp, 0x14
push 0x16
pop eax
jmp 0x46c6f3
test dword [ebp + 0xc], 0xfffffff9
jne 0x46c67a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x46c6cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046f929
pop ecx
call fcn.0046f903
mov eax, dword [eax]
jmp 0x46c6f3
test al, 0x10
jne 0x46c6f1
test al, 1
je 0x46c6f1
test byte [ebp + 0xc], 2
je 0x46c6f1
call fcn.0046f916
mov dword [eax], 5
call fcn.0046f903
mov dword [eax], 0xd
jmp 0x46c6c2
xor eax, eax
pop esi
pop ebp