joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426680
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [0x460270]
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x4266d7
push ebx
call dword [0x462c94]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00448330
mov edi, esp
test edi, edi
je 0x4266d7
mov eax, dword [ebp - 4]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push eax
mov byte [edi], 0
call dword [0x462c84]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x4266d9
xor esi, esi
push esi
call sub.WS2_32.dll_inet_addr
mov edi, eax
test edi, edi
je 0x4266ea
cmp edi, 0xffffffff
jne 0x426705
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x426705
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x427010
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
mov eax, dword [0x461d34]
push ebx
mov dword [esp + 0x414], eax
mov al, byte [0x4775c0]
test al, al
push esi
push edi
jne 0x427060
push str.Wininet.dll
call dword [0x462c70]
test eax, eax
setne al
test al, al
mov byte [0x4775c0], al
jne 0x427060
mov ecx, dword [esp + 0x41c]
call fcn.00447d46
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push str.z2_Remote2PC
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push 0
push 3
mov ebx, eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push 0x50
push edx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp + 0x14]
push 0
push 0x84000000
push 0
push 0
push str.HTTP_1.0
push ecx
push 0
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
mov dword [esp + 0x10], eax
je 0x427116
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0xff
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x14]
push edx
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x427116
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 0x18]
mov byte [esp + 0x41b], 0
call fcn.004267b0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
push ebx
call esi
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x41c]
setne al
call fcn.00447d46
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427850
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x461d34]
push ebx
mov dword [esp + 0x81c], eax
mov al, byte [0x4775c0]
test al, al
push esi
push edi
jne 0x4278a0
push str.Wininet.dll
call dword [0x462c70]
test eax, eax
setne al
test al, al
mov byte [0x4775c0], al
jne 0x4278a0
mov ecx, dword [esp + 0x824]
call fcn.00447d46
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x4555e8
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push ecx
push eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, dword [ebp + 0xc]
push ebx
push 0x84000000
push ebx
push ebx
push str.HTTP_1.0
push edx
push ebx
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, eax
cmp esi, ebx
je 0x4279ab
xor eax, eax
mov byte [esp + 0x20], bl
mov ecx, 0x1ff
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [0x45f0f0]
mov dword [esp + 0xc], ebx
xor esi, esi
mov dword [esp + 0x14], edi
cmp ebx, 0x1000
jae 0x427987
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x7ff
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x427987
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
add ebx, edx
mov byte [esp + 0x823], 0
call fcn.004267b0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov edi, dword [esp + 0x14]
push ecx
push edx
push edi
call fcn.00426ee0
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0xc], 0
je 0x427922
mov ecx, dword [0x45f0f4]
lea eax, [edi - 0xc]
cmp eax, ecx
je 0x4279ab
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4279ab
push edi
call fcn.00447fc5
add esp, 4
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x824]
xor eax, eax
test esi, esi
setne al
call fcn.00447d46
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4296e4
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
push edi
je 0x4296fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2c], 0xffffffff
mov edi, dword [esp + 0x20]
xor ecx, ecx
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
lea ebx, [esi + 8]
mov edx, ebx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov ecx, esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], edi
call fcn.00429630
test al, al
je 0x429815
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jne 0x429749
push edi
call dword [0x462c3c]
mov dword [ebx], eax
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
mov dword [esp + 0x20], 0
je 0x429788
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x20]
mov dword [esi], eax
lea eax, [esi + 0x1c]
push eax
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x14]
mov dword [esi + 4], edx
push ecx
lea edx, [esi + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
jmp 0x4297b7
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edi, [esi + 0xc]
push edi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, eax
mov dword [esi + 0x1c], eax
mov eax, ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
mov ebx, dword [ebx]
cmp ebx, 0xffffffff
je 0x4297e2
test bl, 0x10
je 0x4297e2
mov ecx, dword [esi + 0x24]
cmp word [ecx], 0x2e
je 0x4297e2
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x4297e2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2c], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x429807
mov edx, dword [esi + 4]
cmp edx, dword [eax + 4]
ja 0x429807
jb 0x4297fa
mov ecx, dword [esi]
cmp ecx, dword [eax]
jae 0x429807
mov dword [eax], 0
mov dword [eax + 4], 0
pop edi
mov dword [esi + 0x28], eax
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10
ret 0xc

Function at 0x42a7e0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 8], 1
mov eax, dword [esi + 8]
test eax, eax
je 0x42a7ff
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42a7ff
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
test eax, eax
jne 0x42a80c
xor al, al
pop esi
ret 4
push ebp
mov ebp, dword [esp + 0xc]
push edi
xor edi, edi
test ebp, ebp
jbe 0x42a839
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0xc8
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x42a838
add edi, 0xc8
cmp edi, ebp
jb 0x42a820
pop ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x42a85a
mov edi, dword [esi + 4]
push 0xffffffffffffffff
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
mov al, 1
pop esi
ret 4
Function at 0x42adc0
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x42ae0a
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [esi + 0x2c]
push eax
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x24]
push ecx
lea edx, [esi + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x4a4]
push edx
push eax
mov dword [esi + 0x14], 0xffffffff
call dword [0x462c80]
pop esi
ret

Function at 0x42ae10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor ebx, ebx
cmp ebp, 8
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
jne 0x42aee1
push 0x10
call fcn.0044707c
mov esi, eax
add esp, 4
test esi, esi
je 0x42ae7e
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov ebx, 1
call fcn.00406630
mov dword [esi + 4], 0x1d
mov dword [esi + 8], 0
mov dword [esi], 0x4555e4
mov edx, dword [0x45f0f0]
lea ecx, [esi + 0xc]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
push eax
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
call fcn.00407290
jmp 0x42ae80
xor esi, esi
test bl, 1
je 0x42aeb4
mov eax, dword [esp + 0x18]
mov edx, dword [0x45f0f4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42aeb4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42aeb4
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00447fc5
add esp, 4
mov edi, dword [edi + 8]
push 0x468470
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [0x468464]
mov ecx, dword [0x468460]
push edi
push esi
push eax
push ecx
call dword [0x462ce8]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 0xc
cmp ebp, 7
je 0x42af07
mov eax, dword [edi + 8]
test eax, eax
je 0x42aefd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 4]
cmp eax, 0xbb8
jae 0x42af07
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0xc
mov edx, dword [0x468468]
mov esi, dword [edi + 8]
push 0x468470
lea ebx, [edx + ebp]
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x468460]
push esi
push eax
push ebx
push ecx
call dword [0x462ce8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 0xc
Function at 0x42d6b0
Capabilities:
Shutdown system

Disassembly:
mov edx, dword [0x468808]
sub esp, 0x14
cmp edx, 2
jne 0x42d71e
lea eax, [esp]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42d718
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x468808]
mov ecx, dword [esp + 0x18]
mov eax, ecx
and eax, 4
and ecx, 0xfffffffb
jne 0x42d73f
cmp edx, 1
jne 0x42d75c
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
cmp ecx, 8
jne 0x42d75c
cmp edx, 1
je 0x42d757
cmp edx, 2
jne 0x42d75c
cmp dword [0x4687fc], 4
jne 0x42d75c
mov ecx, 1
push 0
or eax, ecx
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x42d770
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x48
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + 3], al
mov eax, dword [0x46890c]
test eax, eax
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 0
je 0x42d82d
lea ecx, [esp + 0x18]
push ecx
push 0
call eax
test eax, eax
je 0x42d82d
mov eax, dword [esp + 0x34]
test eax, eax
je 0x42d8aa
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx]
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
mov dword [edx + 4], eax
mov eax, dword [esp + 0x34]
push edx
sar ecx, 1
push eax
mov dword [edx], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x42d827
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov al, 1
add esp, 0x48
ret
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x42d8aa
push ebp
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
cmp edi, ebp
je 0x42d8a8
push ebx
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push esi
push 1
push edi
push ebp
call ebx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
test esi, esi
je 0x42d898
mov eax, dword [esp + 0x60]
test eax, eax
je 0x42d878
mov dword [eax], esi
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.USER32.dll_GetCaretPos]
test eax, eax
je 0x42d898
mov eax, dword [esp + 0x5c]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42d8a6
push 0
push edi
push ebp
call ebx
pop esi
pop ebx
pop edi
pop ebp
mov al, byte [esp + 3]
add esp, 0x48
ret

Function at 0x42fd30
Capabilities:
Read file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
pop ecx
ret 8

Function at 0x42fd60
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp]
pop ecx
ret 8
Function at 0x434a00
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x20c
mov eax, dword [0x461d34]
push esi
mov dword [esp + 0x20c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.z2_R2PC_Server
push 0
mov dword [0x478828], eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
mov eax, dword [0x478828]
push eax
push str.z2_R2PC_Server
lea ecx, [esp + 0x14]
push str._.200s_error:__d
push ecx
call fcn.00448079
mov eax, dword [esp + 0x224]
add esp, 0x10
test esi, esi
lea edx, [esp + 0xc]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
je 0x434a82
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 2
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [esp + 0x20c]
pop esi
call fcn.00447d46
add esp, 0x20c
ret
Function at 0x434fe0
Capabilities:
Create process on windows
Create thread

Disassembly:
push ecx
cmp dword [0x468808], 1
jne 0x434ffe
push 5
push str.taskman.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, 1
pop ecx
ret
lea eax, [esp]
push eax
push 0
push 0
push 0x434f60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x435020
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ecx
ret
Function at 0x440d50
Capabilities:
Encrypt data using twofish

Disassembly:
push esi
xor eax, eax
push edi
jmp 0x440d60
movzx edx, byte [eax + 0x461b20]
movzx esi, byte [eax + 0x461a20]
mov ecx, edx
shl ecx, 8
or ecx, esi
shl ecx, 8
mov edi, edx
or edi, ecx
shl edi, 8
or edi, esi
mov dword [eax*4 + 0x47d490], edi
or ecx, esi
shl ecx, 8
or ecx, edx
mov edi, esi
shl edi, 8
or edi, esi
shl edi, 8
or edi, edx
movzx esi, byte [eax + 0x461a21]
shl edi, 8
or edi, edx
movzx edx, byte [eax + 0x461b21]
mov dword [eax*4 + 0x47d090], edi
mov dword [eax*4 + 0x47cc90], ecx
mov ecx, edx
shl ecx, 8
or ecx, esi
shl ecx, 8
mov edi, ecx
or edi, edx
shl edi, 8
or edi, esi
mov dword [eax*4 + 0x47d494], edi
or ecx, esi
mov edi, esi
shl edi, 8
or edi, esi
movzx esi, byte [eax + 0x461a22]
shl edi, 8
or edi, edx
shl edi, 8
or edi, edx
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 0x461b22]
mov dword [eax*4 + 0x47cc94], ecx
mov dword [eax*4 + 0x47d094], edi
mov ecx, edx
shl ecx, 8
or ecx, esi
shl ecx, 8
mov edi, ecx
or edi, edx
shl edi, 8
or edi, esi
mov dword [eax*4 + 0x47d498], edi
mov edi, esi
shl edi, 8
or edi, esi
shl edi, 8
or edi, edx
or ecx, esi
movzx esi, byte [eax + 0x461a23]
shl edi, 8
shl ecx, 8
or edi, edx
or ecx, edx
movzx edx, byte [eax + 0x461b23]
mov dword [eax*4 + 0x47cc98], ecx
mov ecx, edx
shl ecx, 8
mov dword [eax*4 + 0x47d098], edi
or ecx, esi
shl ecx, 8
mov edi, ecx
or edi, edx
shl edi, 8
or edi, esi
mov dword [eax*4 + 0x47d49c], edi
mov edi, esi
shl edi, 8
or edi, esi
shl edi, 8
or edi, edx
or ecx, esi
shl edi, 8
shl ecx, 8
or edi, edx
or ecx, edx
mov dword [eax*4 + 0x47d09c], edi
mov dword [eax*4 + 0x47cc9c], ecx
add eax, 4
cmp eax, 0x100
jb 0x440d60
pop edi
pop esi
ret
Function at 0x4411b0
Capabilities:
Encrypt data using twofish

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
sub eax, 2
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
je 0x441339
dec eax
je 0x4412a2
dec eax
jne 0x441399
mov eax, dword [esp + 0x18]
mov ecx, dword [eax*4 + 0x47cc90]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
movzx esi, byte [eax + 8]
xor ecx, edx
movzx edi, byte [eax + 9]
movzx edx, cl
movzx edx, byte [edx + 0x461b20]
xor edx, esi
movzx edx, byte [edx + 0x461a20]
movzx esi, byte [eax + 4]
xor edx, esi
movzx esi, byte [eax]
movzx edx, byte [edx + 0x461a20]
mov ebx, ecx
shr ebx, 8
xor edx, esi
movzx esi, bl
movzx esi, byte [esi + 0x461b20]
xor esi, edi
movzx esi, byte [esi + 0x461b20]
movzx edi, byte [eax + 5]
xor esi, edi
movzx edi, byte [eax + 1]
movzx esi, byte [esi + 0x461a20]
mov ebx, ecx
shr ebx, 0x10
xor esi, edi
movzx edi, bl
movzx edi, byte [edi + 0x461a20]
movzx ebx, byte [eax + 0xa]
xor edi, ebx
movzx edi, byte [edi + 0x461a20]
movzx ebx, byte [eax + 6]
xor edi, ebx
movzx ebx, byte [eax + 2]
movzx edi, byte [edi + 0x461b20]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x461a20]
xor edi, ebx
movzx ebx, byte [eax + 0xb]
xor ecx, ebx
movzx ebx, byte [eax + 7]
movzx ecx, byte [ecx + 0x461b20]
movzx eax, byte [eax + 3]
xor ecx, ebx
movzx ebx, byte [ecx + 0x461b20]
mov ecx, dword [esp + 0x10]
xor ebx, eax
jmp 0x4413a9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx*4 + 0x47d090]
mov ebp, dword [eax + 8]
movzx esi, byte [eax + 4]
movzx edi, byte [eax + 5]
xor ecx, ebp
movzx edx, cl
movzx edx, byte [edx + 0x461a20]
xor edx, esi
movzx esi, byte [eax]
movzx edx, byte [edx + 0x461a20]
mov ebx, ecx
shr ebx, 8
xor edx, esi
movzx esi, bl
movzx esi, byte [esi + 0x461b20]
xor esi, edi
movzx edi, byte [eax + 1]
movzx esi, byte [esi + 0x461a20]
mov ebx, ecx
shr ebx, 0x10
xor esi, edi
movzx edi, bl
movzx edi, byte [edi + 0x461a20]
movzx ebx, byte [eax + 6]
xor edi, ebx
movzx ebx, byte [eax + 2]
movzx edi, byte [edi + 0x461b20]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x461b20]
xor edi, ebx
movzx ebx, byte [eax + 7]
movzx eax, byte [eax + 3]
xor ecx, ebx
movzx ebx, byte [ecx + 0x461b20]
mov ecx, dword [esp + 0x10]
xor ebx, eax
jmp 0x4413a9
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx*4 + 0x47d490]
mov ebx, dword [ebp + 4]
movzx esi, byte [ebp]
movzx edi, byte [ebp + 1]
xor eax, ebx
movzx edx, al
movzx edx, byte [edx + 0x461a20]
mov ebx, eax
shr ebx, 8
xor edx, esi
movzx esi, bl
movzx esi, byte [esi + 0x461a20]
mov ebx, eax
shr ebx, 0x10
xor esi, edi
movzx edi, bl
movzx ebx, byte [ebp + 2]
movzx edi, byte [edi + 0x461b20]
shr eax, 0x18
xor edi, ebx
movzx ebx, byte [eax + 0x461b20]
movzx eax, byte [ebp + 3]
xor ebx, eax
jmp 0x4413a9
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov eax, dword [ecx + ebx*4 + 0xcb8]
mov ebx, dword [ecx + edi*4 + 0x8b8]
mov edi, dword [ecx + esi*4 + 0x4b8]
mov esi, dword [ecx + edx*4 + 0xb8]
xor eax, ebx
xor eax, edi
pop edi
xor eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x449058
Capabilities:
Terminate process

Disassembly:
push 8
push 0x45b100
call fcn.00449ad0
push 8
call fcn.00449f03
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x47d968], esi
jne 0x44908c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x47d964], esi
mov al, byte [ebp + 0x10]
mov byte [0x47d960], al
cmp dword [ebp + 0xc], edi
jne 0x4490d6
cmp dword [0x47f30c], edi
je 0x4490c6
mov eax, dword [0x47f308]
sub eax, 4
mov dword [0x47f308], eax
cmp eax, dword [0x47f30c]
jb 0x4490c6
mov eax, dword [eax]
cmp eax, edi
je 0x4490a7
call eax
jmp 0x4490a7
push 0x45f0e0
mov eax, 0x45f0d8
call fcn.00448fd6
pop ecx
push 0x45f0ec
mov eax, 0x45f0e4
call fcn.00448fd6
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.00449107
cmp dword [ebp + 0x10], edi
jne 0x449115
mov dword [0x47d968], esi
push dword [ebp + 8]
call fcn.00448f94
xor edi, edi
xor esi, esi
inc esi
call fcn.00449b0b
ret