joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bed0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
test edx, edx
jle 0x44befa
mov ebx, dword [ecx]
movzx esi, byte [eax]
xor ebx, esi
and ebx, 0xff
movzx ebx, word [ebx*2 + 0x46209c]
mov esi, dword [ecx]
shr esi, 8
xor ebx, esi
mov dword [ecx], ebx
inc eax
dec edx
test edx, edx
jg 0x44bed6
pop esi
pop ebx
ret

Function at 0x44c244
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ea4
xor eax, eax
push ebp
push 0x44c316
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44c2f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403cf0
test eax, eax
jle 0x44c2d6
push pe_nt_image_headers32
lea eax, [ebx + 0x10d]
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 4]
push eax
push ebx
push pe_nt_image_headers32
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp - 0x10]
mov ecx, 0x44c330
mov edx, dword [ebp - 4]
call fcn.00403d3c
mov eax, dword [ebp - 0x10]
call fcn.00403eb4
push eax
call sub.kernel32.dll_GetVolumeInformationA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
jmp 0x44c2da
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c2f8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x44c5b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403ea4
xor eax, eax
push ebp
push 0x44c690
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0x78], 4
jne 0x44c5e9
mov byte [ebp - 5], 1
jmp 0x44c672
mov eax, ebx
xor ecx, ecx
mov edx, 0x18
call fcn.00402a7c
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44c66b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 4]
push eax
push ebx
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0044b428
mov eax, dword [ebp - 0x10]
call fcn.00403eb4
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
mov eax, dword [ebx + 4]
imul dword [ebx]
imul dword [ebx + 8]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 4]
imul dword [ebx]
imul dword [ebx + 0xc]
mov dword [ebx + 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c672
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c697
lea eax, [ebp - 0x10]
call fcn.00403a70
lea eax, [ebp - 4]
call fcn.00403a70
ret
Function at 0x44c79c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403ea4
xor eax, eax
push ebp
push 0x44c807
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403cf0
test eax, eax
jle 0x44c7ea
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0044b428
mov eax, dword [ebp - 8]
call fcn.00403eb4
push eax
call sub.kernel32.dll_GetDriveTypeA
mov ebx, eax
jmp 0x44c7ec
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c80e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a94
ret

Function at 0x44df90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff10
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xf0]
mov edx, dword [ebp + 0xc]
call fcn.00408ad0
push eax
lea eax, [ebp - 0xa0]
mov edx, edi
call fcn.00408ad0
push eax
lea eax, [ebp - 0x50]
mov edx, esi
call fcn.00408ad0
push eax
push 0
push ebx
call sub.shell32.dll_ShellExecuteA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x450424
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
test dl, dl
je 0x45049a
mov al, byte [ebx + 0x48]
add al, 0xf9
sub al, 2
jb 0x450464
sub al, 2
jb 0x450447
sub al, 3
je 0x450447
add al, 0xf4
sub al, 2
jae 0x45049a
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
jle 0x45049a
call fcn.0044ad34
xor byte [esi], al
mov al, byte [esi]
call fcn.0044ad54
inc esi
dec edi
jne 0x450450
jmp 0x45049a
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
jle 0x45049a
movzx eax, word [ebx + 0x4a]
mov edx, dword [ebx + 0x38]
mov al, byte [edx + eax - 1]
xor byte [esi], al
mov eax, dword [ebx + 0x38]
call fcn.00403cf0
movzx edx, word [ebx + 0x4a]
cmp eax, edx
jne 0x450492
mov word [ebx + 0x4a], 1
jmp 0x450496
inc word [ebx + 0x4a]
inc esi
dec edi
jne 0x45046d
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x457df8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ea4
xor eax, eax
push ebp
push 0x457f76
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x457f4b
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
call fcn.00457dbc
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 4]
call fcn.00403b08
lea eax, [ebp - 0x148]
xor ecx, ecx
mov edx, 0x140
call fcn.00402a7c
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
mov ecx, 0x457f8c
mov edx, dword [ebp - 4]
call fcn.00403d3c
mov eax, dword [ebp - 0x150]
call fcn.00403eb4
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x457f4b
lea edx, [ebp - 8]
lea eax, [ebp - 0x11c]
call fcn.00408c40
test byte [ebp - 0x148], 0x10
je 0x457f0a
test bl, bl
je 0x457f30
mov eax, dword [ebp - 8]
mov edx, 0x457f9c
call fcn.00403e00
je 0x457f30
mov eax, dword [ebp - 8]
mov edx, 0x457fa8
call fcn.00403e00
je 0x457f30
push dword [ebp - 4]
push 0x457fb4
push dword [ebp - 8]
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00403db0
mov eax, dword [ebp - 0x154]
call fcn.00457fb8
jmp 0x457f30
push dword [ebp - 4]
push 0x457fb4
push dword [ebp - 8]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00403db0
mov eax, dword [ebp - 0x158]
call fcn.00408570
lea eax, [ebp - 0x148]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x457ea9
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457f7d
lea eax, [ebp - 0x158]
mov edx, 4
call fcn.00403a94
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a94
ret
Function at 0x457fd0
Capabilities:
Get disk information
Get disk size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x4580c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x30]
mov dword [0x4624b0], eax
mov eax, dword [ebp - 0x18]
mov dword [0x4624b8], eax
xor eax, eax
mov dword [0x4624b4], eax
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
xor esi, esi
mov eax, esi
cmp eax, 0x1f
ja 0x458022
bt edi, eax
jae 0x45809b
mov ebx, esi
add bl, 0x61
lea eax, [ebp - 0x38]
mov edx, ebx
call fcn.00403c18
lea eax, [ebp - 0x38]
mov edx, 0x4580d8
call fcn.00403cf8
mov eax, dword [ebp - 0x38]
call fcn.00403eb4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x45809b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x3c]
mov edx, ebx
call fcn.00403c18
lea eax, [ebp - 0x3c]
mov edx, 0x4580d8
call fcn.00403cf8
mov eax, dword [ebp - 0x3c]
call fcn.00403eb4
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov eax, dword [ebp - 4]
cmp eax, dword [0x4624b4]
jbe 0x45809b
mov eax, dword [ebp - 4]
mov dword [0x4624b4], eax
inc esi
cmp esi, 0x1a
jne 0x458018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4580c7
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00403a94
ret

Function at 0x459280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov edi, edx
mov esi, eax
mov eax, dword [esp]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esi + 0x14]
mov edx, edi
call fcn.00458430
mov ebx, eax
add ebx, dword [esi + 0x40]
lea edx, [edi + 1]
mov eax, dword [esi + 0x14]
call fcn.00458430
push eax
mov eax, dword [esi + 0x14]
mov edx, edi
call fcn.00458430
pop edx
xchg edx, eax
sub eax, edx
mov dl, byte [ebx]
mov cl, byte [esi + 0x45]
xor cl, 0x20
mov byte [ebx], cl
jmp 0x4592c8
dec eax
mov cl, byte [ebx + eax - 1]
cmp cl, byte [esi + 0x45]
je 0x4592c7
mov byte [ebx], dl
cmp eax, 1
jne 0x4592de
cmp dl, byte [esi + 0x45]
jne 0x4592de
dec eax
mov esi, 1
test eax, eax
jle 0x459335
mov dl, byte [ebx + eax - 1]
dec eax
cmp dl, 0x30
jb 0x459312
cmp dl, 0x39
ja 0x459312
and edx, 0xff
sub edx, 0x30
imul edx, esi
mov ecx, dword [esp]
add dword [ecx], edx
mov edx, esi
add edx, edx
lea edx, [edx + edx*4]
mov esi, edx
jmp 0x459331
cmp dl, 0x2e
jne 0x459325
mov edx, dword [esp]
xor ecx, ecx
mov dword [edx], ecx
mov esi, 1
jmp 0x459331
cmp dl, 0x2d
jne 0x459335
mov eax, dword [esp]
neg dword [eax]
jmp 0x459335
test eax, eax
jg 0x4592e7
pop edx
pop edi
pop esi
pop ebx
ret

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

Disassembly:
and edx, edx
je 0x459d41
jcxz 0x459d41
push ebx
movzx ebx, al
xor bl, byte [edx]
shr eax, 8
xor eax, dword cs:[ebx*4 + 0x459d42]
inc edx
dec ecx
jne 0x459d2c
pop ebx
ret
Function at 0x45bf9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x462b64]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x462b64]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x462b64]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x462b64]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x4626e8]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x45bfc7
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x45ef20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ea4
mov eax, dword [ebp - 8]
call fcn.00403ea4
mov eax, dword [ebp - 0xc]
call fcn.00403ea4
xor eax, eax
push ebp
push 0x45f022
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov ecx, 0x45f038
mov edx, dword [ebp - 4]
call fcn.00403d3c
lea eax, [ebp - 0x14]
mov ecx, 0x45f038
mov edx, dword [ebp - 8]
call fcn.00403d3c
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov edx, 0x40
mov eax, dword [ebp - 0xc]
call fcn.0045eda8
mov eax, dword [ebp - 0x10]
call fcn.00457d78
test al, al
je 0x45efbd
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0045f058
mov eax, dword [ebp - 0x10]
call fcn.00403eb4
push eax
call sub.kernel32.dll_DeleteFileA
mov bl, 1
lea eax, [ebp - 0x10]
mov ecx, 0x45f04c
mov edx, dword [ebp - 4]
call fcn.00403d3c
lea eax, [ebp - 0x14]
mov ecx, 0x45f04c
mov edx, dword [ebp - 8]
call fcn.00403d3c
mov eax, dword [ebp - 0x10]
call fcn.00457d78
test al, al
je 0x45f007
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0045f058
mov eax, dword [ebp - 0x10]
call fcn.00403eb4
push eax
call sub.kernel32.dll_DeleteFileA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f029
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403a94
ret
Function at 0x40daa4
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040dc54
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 0x40dba2
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 0x40db45
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40db88
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40db5c
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40db77
test al, 0x40
je 0x40db6e
mov ecx, dword [edi + 0x20]
jmp 0x40db75
test al, 0x80
je 0x40db88
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40db88
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 0x40db14
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x42d5b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a030b
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.0049281d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42d632
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048fd5a
mov eax, dword [eax]
push 0x4f21f4
push eax
call fcn.00482914
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00492aa8
test bl, bl
je 0x42d632
push 0x4f21f4
lea ecx, [esp + 0xc]
call fcn.00492e84
push 0x4f5d80
lea ecx, [esp + 0xc]
call fcn.00492e84
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 0x42d66e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00492aa8
jmp 0x42d739
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 0x42d6f2
lea edx, [esp + 0x7c]
push 0x4f5d7c
push edx
call fcn.00482914
add esp, 8
test eax, eax
je 0x42d6f2
lea eax, [esp + 0x7c]
push 0x4f5d78
push eax
call fcn.00482914
add esp, 8
test eax, eax
je 0x42d6f2
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 0x42d682
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.00492aa8
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 0x42e9b0
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 0x42ea12
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 0x42ea20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a046b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4fcd28]
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 0x42eb58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42ea86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492aa8
xor eax, eax
jmp 0x42ebcf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00492c31
push esi
lea ecx, [esp + 0xc]
call fcn.00492ec0
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 0x42ebad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0042e9b0
test eax, eax
jne 0x42ebad
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 SysReAllocStringLen
mov ecx, edi
call fcn.0042e9b0
test eax, eax
jne 0x42ebad
lea eax, [esp + 0x14]
push 0x4f5d94
push eax
call fcn.00483ac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42eb8c
lea ecx, [esp + 0x14]
push 0x4f5d90
push ecx
call fcn.00483a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x42eb8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42eb8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00492be1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42ea9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492aa8
xor eax, eax
jmp 0x42ebcf
mov byte [esi], 0
push 0x4f5d8c
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.00492aa8
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 0x443660
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 0x4436ce
cmp si, 0x69
ja 0x4436ce
add esi, 0xffd0
cmp si, 0x11
je 0x44369e
push 0x11
call edi
test ax, ax
jge 0x44369e
or esi, 0x2000
cmp si, 0x10
je 0x4436b3
push 0x10
call edi
test ax, ax
jge 0x4436b3
or esi, 0x4000
cmp si, 0x12
je 0x4436c8
push 0x12
call edi
test ax, ax
jge 0x4436c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4436db
mov esi, 0xbd
jmp 0x44368f
cmp si, 0x6e
jne 0x4436e8
mov esi, 0xbe
jmp 0x44368f
cmp si, 0x6f
jne 0x443689
mov esi, 0xbf
jmp 0x44368f

Function at 0x444e90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50dbb8]
xor edx, edx
cmp eax, edx
jne 0x444eb6
xor eax, eax
mov byte [eax + 0x50dab8], al
inc eax
cmp eax, 0x100
jl 0x444e9e
mov dword [0x50dbb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50dab8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x444f47
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 0x444f1a
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 0x444ee8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x444fc0
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 0x445013
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 0x444ffa
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