joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53fb40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551df0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5a1574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ecx, ecx
xor bl, bl
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ecx
cmp eax, ecx
je 0x53fbf3
mov edi, dword [ebp + 0xc]
cmp edi, ecx
je 0x53fbf3
push 0x55b06c
push eax
call fcn.005180e3
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
test esi, esi
je 0x53fbb4
mov eax, dword [ebp + 0x10]
push esi
push 1
push eax
push edi
call fcn.0051a1b4
add esp, 0x10
cmp eax, 1
jne 0x53fbb4
mov bl, al
mov dword [ebp - 4], 0xffffffff
jmp 0x53fbd0
test esi, esi
je 0x53fbdd
push esi
call fcn.00517df9
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x53fc10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5a1574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ecx, ecx
xor bl, bl
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x53fcc3
mov edi, dword [ebp + 0xc]
cmp edi, ecx
je 0x53fcc3
push 0x5596d4
push eax
mov dword [ebp - 4], ecx
call fcn.005180e3
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
test esi, esi
je 0x53fc84
mov eax, dword [ebp + 0x10]
push esi
push 1
push eax
push edi
call fcn.00517b3e
add esp, 0x10
cmp eax, 1
jne 0x53fc84
mov bl, al
mov dword [ebp - 4], 0xffffffff
jmp 0x53fca0
test esi, esi
je 0x53fcad
push esi
call fcn.00517df9
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x540570
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551fb0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5a1574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x5405f8
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi], eax
test eax, eax
je 0x5405f8
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
jne 0x540653
mov dword [ebp - 4], 0xffffffff
jmp 0x540611
mov eax, dword [esi + 4]
test eax, eax
je 0x54061f
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi]
test eax, eax
je 0x540631
cmp eax, 0xffffffff
je 0x540631
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
mov dword [esi], 0
test eax, eax
je 0x54064a
cmp eax, 0xffffffff
je 0x54064a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5406c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x551fe9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a1574]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x28], edi
mov byte [edi + 4], bl
mov ecx, 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebx
cmp byte [esp + 0x4c], bl
je 0x54072a
mov ecx, 0x101
cmp dword [eax + 0x18], 0x10
jb 0x540735
mov eax, dword [eax + 4]
jmp 0x540738
add eax, 4
lea esi, [esp + 0x18]
push esi
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5407f5
cmp dword [ebp + 0x18], 0x10
lea eax, [ebp + 4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
jb 0x540766
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5407ea
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x5407ea
cmp dword [esp + 0x20], 3
je 0x5407ea
push eax
call fcn.00517127
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x5407ea
mov ecx, dword [esp + 0x14]
push ecx
push ebx
push esi
call fcn.00516fd0
add esp, 0xc
cmp dword [ebp + 0x18], 0x10
jb 0x5407bd
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
jmp 0x5407c1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5407e1
push esi
mov ecx, edi
call fcn.00405463
push esi
call fcn.0051704a
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xc9b1ca2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x9b13221
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40be58
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
cmp dword [0x40d07c], 2
jne 0x40bec5
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x40be7d
call fcn.0040be38
jmp 0x40bed7
lea eax, [esp + 8]
push eax
push 0x40bedc
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x40bec5
call fcn.0040be38
jmp 0x40bed7
push 0
push 2
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x40bed7
call fcn.0040be38
add esp, 0x14
ret

Function at 0x40bef0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov ebx, edx
dec ebx
test ebx, ebx
jl 0x40bf36
inc ebx
xor esi, esi
test esi, esi
je 0x40bf0d
push 0xfa
call sub.kernel32.dll_Sleep
mov eax, edi
call fcn.0040341c
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x40bf36
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x40bf36
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x40bf36
inc esi
dec ebx
jne 0x40beff
pop edi
pop esi
pop ebx
ret

Function at 0x40c174
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
mov edi, 0x40fd9c
cmp dword [0x40fca0], 0
je 0x40c1bd
mov esi, dword [0x40fda0]
dec esi
test esi, esi
jl 0x40c1bd
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 4
sub eax, ebx
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov eax, dword [0x40fca0]
call fcn.00404de8
test eax, eax
jne 0x40c1b9
mov eax, ebx
call fcn.0040c128
jmp 0x40c251
inc ebx
dec esi
jne 0x40c193
mov al, byte [0x40fd96]
sub al, 1
jb 0x40c1ca
je 0x40c1d1
jmp 0x40c1d8
call fcn.0040b7a8
jmp 0x40c1da
call sub.kernel32.dll_GetUserDefaultLangID
jmp 0x40c1da
xor eax, eax
test ax, ax
je 0x40c24a
mov esi, dword [0x40fda0]
dec esi
test esi, esi
jl 0x40c20e
inc esi
xor ebx, ebx
mov edx, ebx
shl edx, 4
sub edx, ebx
mov ecx, dword [edi]
mov edx, dword [ecx + edx*4 + 0x28]
movzx ecx, ax
cmp edx, ecx
jne 0x40c20a
mov eax, ebx
call fcn.0040c128
jmp 0x40c251
inc ebx
dec esi
jne 0x40c1ed
mov esi, dword [0x40fda0]
dec esi
test esi, esi
jl 0x40c24a
inc esi
xor ebx, ebx
mov edx, ebx
shl edx, 4
sub edx, ebx
mov ecx, dword [edi]
mov edx, dword [ecx + edx*4 + 0x28]
and edx, 0x3ff
mov ecx, eax
and cx, 0x3ff
movzx ecx, cx
cmp edx, ecx
jne 0x40c246
mov eax, ebx
call fcn.0040c128
jmp 0x40c251
inc ebx
dec esi
jne 0x40c21c
xor eax, eax
call fcn.0040c128
pop edi
pop esi
pop ebx
ret
Function at 0x40c2ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x78]
xor eax, eax
push ebp
push 0x40c3dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40c3f4
push esi
push 0x40c400
push edi
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403318
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040341c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40c370
mov al, 0x60
call fcn.0040bf3c
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x40c387
push ebx
call sub.user32.dll_TranslateMessage
push ebx
call sub.user32.dll_DispatchMessageA
push 1
push 0
push 0
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x40c37b
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x40c387
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3e3
lea eax, [ebp - 8]
call fcn.0040317c
ret

Function at 0x40c48c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x40c56b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040b5c4
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
mov edx, 0x40c584
call fcn.0040bd34
push 0
mov eax, dword [ebp - 4]
call fcn.0040341c
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x40c539
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x2e
call fcn.0040bb2c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404e8c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00405440
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x5e
call fcn.0040bafc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x404808
call fcn.00405af0
call fcn.00402e98
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004031cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c572
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040319c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040319c
ret
Function at 0x40c594
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40c648
jmp 0x40c63d
cmp dword [esi + 0x10], 0x1000
jne 0x40c629
test byte [esi + 0x15], 1
jne 0x40c629
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40c5e8
cmp eax, 2
je 0x40c5e8
cmp eax, 0x10
je 0x40c5e8
cmp eax, 0x20
jne 0x40c5fd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40c5fd
mov bl, 1
xor ebp, ebp
jmp 0x40c60e
mov eax, dword [esi]
add eax, ebp
call fcn.0040c58c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jl 0x40c601
test bl, bl
je 0x40c629
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40c648
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40c5c0
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4025a0
Capabilities:
Check for vm using instruction vpcext

Disassembly:
sbb byte [edi], cl
cmp byte [eax + 0x41f60078], 0x78
ror byte [edx], 1
mov esp, 0xf6400048
lds ecx, [edi]
jne 0x1434894
or byte [eax], 0x49
lea edi, [eax - 0x10]
prefetchw byte [edi]
cmp byte [edi + 0xf], 5
je 0x4741477d
invalid
Function at 0x40fd03
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40fd67
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40fd50
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40fd3f
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40fd30
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4ac080
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x52afcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0051f498
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ac102
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0051cecd
mov eax, dword [eax]
push 0xa0acf8
push eax
call fcn.0050f114
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0051f723
test bl, bl
je 0x4ac102
push 0xa0acf8
lea ecx, [esp + 0xc]
call fcn.0051fab3
push 0xa0ad04
lea ecx, [esp + 0xc]
call fcn.0051fab3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4ac13e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0051f723
jmp 0x4ac209
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4ac1c2
lea edx, [esp + 0x7c]
push 0xa0ad00
push edx
call fcn.0050f114
add esp, 8
test eax, eax
je 0x4ac1c2
lea eax, [esp + 0x7c]
push 0xa0acfc
push eax
call fcn.0050f114
add esp, 8
test eax, eax
je 0x4ac1c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4ac152
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0051f723
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4aca00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4aca62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4aca70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x52b04b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xa16524]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4acba8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4acad6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051f723
xor eax, eax
jmp 0x4acc1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0051f860
push esi
lea ecx, [esp + 0xc]
call fcn.0051faef
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4acbfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004aca00
test eax, eax
jne 0x4acbfd
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004aca00
test eax, eax
jne 0x4acbfd
lea eax, [esp + 0x14]
push 0xa0ad14
push eax
call fcn.00510260
mov esi, eax
add esp, 8
test esi, esi
jne 0x4acbdc
lea ecx, [esp + 0x14]
push 0xa0ad10
push ecx
call fcn.005101e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4acbdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4acbdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0051f810
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4acaee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051f723
xor eax, eax
jmp 0x4acc1f
mov byte [esi], 0
push 0xa0ad0c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.DLL_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0051f723
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4