joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ed10
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.00474c20
and dword [ebp - 4], 0
cmp dword [0x4b414c], 0
mov ebx, eax
jne 0x47edc1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47ee72
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x47ee72
push eax
call fcn.00474bae
mov dword [esp], 0x49d218
push edi
mov dword [0x4b414c], eax
call esi
push eax
call fcn.00474bae
mov dword [esp], 0x49d204
push edi
mov dword [0x4b4150], eax
call esi
push eax
call fcn.00474bae
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b4154], eax
call esi
push eax
call fcn.00474bae
pop ecx
mov dword [0x4b415c], eax
test eax, eax
je 0x47edc1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00474bae
pop ecx
mov dword [0x4b4158], eax
mov eax, dword [0x4b4158]
cmp eax, ebx
je 0x47ee19
cmp dword [0x4b415c], ebx
je 0x47ee19
push eax
call fcn.00474c29
push dword [0x4b415c]
mov esi, eax
call fcn.00474c29
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47ee19
test edi, edi
je 0x47ee19
call esi
test eax, eax
je 0x47ee10
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47ee10
test byte [ebp - 0xc], 1
jne 0x47ee19
or dword [ebp + 0x10], 0x200000
jmp 0x47ee52
mov eax, dword [0x4b4150]
cmp eax, ebx
je 0x47ee52
push eax
call fcn.00474c29
pop ecx
test eax, eax
je 0x47ee52
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47ee52
mov eax, dword [0x4b4154]
cmp eax, ebx
je 0x47ee52
push eax
call fcn.00474c29
pop ecx
test eax, eax
je 0x47ee52
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b414c]
call fcn.00474c29
pop ecx
test eax, eax
je 0x47ee72
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47ee74
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

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

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x40db60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40db8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004178d0
add esp, 4
or eax, 0xffffffff
jmp 0x40dbba
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x40dbb8
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x40dbb8
mov dword [0x43a938], 0xd
mov dword [0x43a93c], 5
or eax, 0xffffffff
jmp 0x40dbba
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0xc95f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x764000]
push edi
or ebp, 0xffffffff
jmp 0xc95f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc95f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc95f38
mov eax, 1
add ebx, ebx
jne 0xc95f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc95f6c
jne 0xc95f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc95f8b
dec eax
add ebx, ebx
jne 0xc95f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc95f50
add ebx, ebx
jne 0xc95f87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc95fdd
xor ecx, ecx
sub eax, 3
jb 0xc95fa3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc96012
sar eax, 1
mov ebp, eax
jmp 0xc95fae
add ebx, ebx
jne 0xc95fae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc95f7c
inc ecx
add ebx, ebx
jne 0xc95fbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc95f7c
add ebx, ebx
jne 0xc95fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc95fbe
jne 0xc95fda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc95fbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc95ffc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc95fee
jmp 0xc95f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc95ffc
add edi, ecx
jmp 0xc95f3e
pop esi
mov edi, esi
mov ecx, 0x3fe90f
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xc96037
cmp byte [edi], 0x16
jne 0xc9601c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xc9601a
lea edi, [esi + 0x867000]
mov eax, dword [edi]
or eax, eax
je 0xc9607f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc13584]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc136b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc9603d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc136b4]
or eax, eax
je 0xc96079
mov dword [ebx], eax
add ebx, 4
jmp 0xc9605a
call dword [esi + 0xc136bc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xc960b0
cmp al, 0xef
ja 0xc960a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xc96085
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xc96092
mov ebp, dword [esi + 0xc136b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xc960e4
sub esp, 0xffffff80
jmp 0x8730ac
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x40
push 0x3000
mov esi, eax
push 0x1000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, dword [esp + 0x14]
mov ebx, eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x401053
pop edi
pop esi
xor al, al
pop ebx
ret
push str.LoadLibraryA
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push ebx
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
test edi, edi
jne 0x401087
pop edi
pop esi
xor al, al
pop ebx
ret
push 0x8000
push 0x1000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x4010b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
push esi
push 0
push 2
mov dword [esp + 0x114], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], esi
jne 0x4010ed
push str.CreateToolhelp32Snapshot
call fcn.00401d40
add esp, 4
xor eax, eax
pop esi
add esp, 0x230
ret
lea eax, [esp + 0x10c]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4011e5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
lea ecx, [esp + 0x13c]
push ecx
push 0x40a078
call fcn.00401d40
mov edx, dword [esp + 0x128]
add esp, 8
push edx
push 0x40a068
call fcn.00401d40
mov eax, dword [esp + 0x24c]
lea ecx, [esp + 0x144]
push eax
push ecx
call fcn.00401cc0
add esp, 0x10
test eax, eax
je 0x4011cc
lea edx, [esp + 0x14]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14]
push 0x104
push edx
rep stosd dword es:[edi], eax
push 0x40cf18
call ebx
push eax
call ebp
mov cl, byte [esp + eax + 0x14]
dec eax
cmp cl, 0x5c
jne 0x401176
mov byte [esp + eax + 0x15], 0
mov edi, str.System.dll
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x124]
push ecx
call fcn.00401000
mov esi, dword [esp + 0x18]
add esp, 8
lea edx, [esp + 0x118]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401112
pop edi
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 0x230
ret
Function at 0x401220
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa10
push ebx
push esi
mov esi, ecx
push edi
push 0xffffffffffffffff
lea ecx, [esi + 0x118]
call fcn.00401b40
call fcn.00401dc3
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmul qword [0x409110]
fadd qword [0x409108]
call fcn.00401e34
push eax
push str._08X
push esi
call fcn.00401d71
add esp, 0xc
mov eax, 1
xor edx, edx
cpuid
mov dword [ebp - 0x10], eax
xor bl, bl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xa0f]
mov byte [ebp - 0xa10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xa10]
push eax
push str._08X_
push ecx
call fcn.00401d71
add esp, 0xc
lea edx, [ebp - 0x210]
lea eax, [ebp - 0xc]
lea ecx, [ebp - 4]
push 0x100
push edx
push eax
lea edx, [ebp - 8]
push ecx
push edx
lea eax, [ebp - 0x110]
push 0x100
push eax
push 0x40a0bc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x60f]
mov byte [ebp - 0x610], bl
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x610]
xor ecx, 0x3471599a
stosw word es:[edi], ax
push ecx
push str.1_04X
push edx
stosb byte es:[edi], al
call fcn.00401d71
add esp, 0xc
lea eax, [ebp - 0x610]
lea ecx, [ebp - 0xa10]
lea edx, [esi + 0x14]
push eax
push ecx
push str._s_s
push edx
call fcn.00401d71
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401770
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x40cfc0
call fcn.00401ab0
push 0x40
push 0x409118
push 0x40cfc0
push 0x40cfc0
call fcn.004019d0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x4017fb
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x40a124]
mov ecx, 8
mov esi, eax
mov edi, 0x40cf20
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00401910
mov ecx, dword [0x40a120]
mov edx, dword [0x40a124]
push 0x20
push ecx
push edx
call fcn.00401a20
mov edi, dword [0x40a120]
add esp, 0x14
mov ecx, 8
mov esi, 0x40cf20
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4017af
jmp 0x401854
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x40a120]
mov ecx, 8
mov esi, eax
mov edi, 0x40cf20
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00401910
mov ecx, dword [0x40a124]
mov edx, dword [0x40a120]
push 0x20
push ecx
push edx
call fcn.00401a20
mov edi, dword [0x40a124]
add esp, 0x14
mov ecx, 8
mov esi, 0x40cf20
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x40180a
push 0x40
push 0x409158
push 0x40cfc0
push 0x40cfc0
call fcn.004019d0
mov eax, dword [esp + 0x24]
push 0x40
push 0x40cfc0
push eax
call fcn.00401af0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x401890
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x40cf80
call fcn.00401ab0
push 0x38
push str.91__
push 0x40cf80
push 0x40cf80
call fcn.004019d0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x409250]
mov edx, dword [0x40a128]
push ecx
push 0x1c
push edx
call fcn.00401a50
movsx eax, byte [esi + 0x409250]
mov ecx, dword [0x40a12c]
push eax
push 0x1c
push ecx
call fcn.00401a50
push 0x30
push 0x409220
push 0x40cf80
push edi
call fcn.004019d0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x4018c2
pop edi
pop esi
ret

Function at 0x401910
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x409198
push esi
push 0x40cf40
call fcn.004019d0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x40cf40
call fcn.00401a20
push 0x40cf40
push esi
call fcn.00401960
push 0x20
push 0x4091c8
push esi
push esi
call fcn.004019d0
add esp, 0x34
pop esi
ret

Function at 0x401a20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x401a42
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x401a34
pop ebx
pop esi
ret

Function at 0x401b60
Capabilities:
Initialize winsock library
Print debug messages

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x401b8c
push str.Initilize_winsock_error__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
add esp, 0x190
ret
xor eax, eax
add esp, 0x190
ret
Function at 0x401bd0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
mov word [esp + 8], 2
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], eax
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 6], ax
mov eax, dword [esi]
lea edx, [esp + 4]
push 0x10
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
pop esi
setne al
add esp, 0x10
ret 8

Function at 0x401c20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
test edi, edi
mov ebx, ecx
jle 0x401c5a
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, edi
sub eax, esi
push ebp
push eax
mov eax, dword [ebx]
lea edx, [esi + ecx]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x401c63
test eax, eax
je 0x401c63
add esi, eax
cmp esi, edi
jl 0x401c34
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 0xc

Function at 0x401c70
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
ret 0xc
Function at 0x415e90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48107b
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.004756dc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x415f12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047332d
mov eax, dword [eax]
push 0x7ad220
push eax
call fcn.00465f64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00475967
test bl, bl
je 0x415f12
push 0x7ad220
lea ecx, [esp + 0xc]
call fcn.00475cf7
push 0x7b0d9c
lea ecx, [esp + 0xc]
call fcn.00475cf7
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 0x415f4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00475967
jmp 0x416019
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 0x415fd2
lea edx, [esp + 0x7c]
push 0x7b0d98
push edx
call fcn.00465f64
add esp, 8
test eax, eax
je 0x415fd2
lea eax, [esp + 0x7c]
push 0x7b0d94
push eax
call fcn.00465f64
add esp, 8
test eax, eax
je 0x415fd2
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 0x415f62
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.00475967
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 0x416810
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 0x416872
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 0x416880
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4810fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7bcc38]
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 0x4169b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4168e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475967
xor eax, eax
jmp 0x416a2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00475aa4
push esi
lea ecx, [esp + 0xc]
call fcn.00475d33
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7b0dd4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x416a0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00416810
test eax, eax
jne 0x416a0d
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.00416810
test eax, eax
jne 0x416a0d
lea eax, [esp + 0x14]
push 0x7b0db0
push eax
call fcn.00466fa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4169ec
lea ecx, [esp + 0x14]
push 0x7b0dac
push ecx
call fcn.00466f20
mov esi, eax
add esp, 8
test esi, esi
jne 0x4169ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4169ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00475a54
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4168fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475967
xor eax, eax
jmp 0x416a2f
mov byte [esi], 0
push 0x7b0da8
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.00475967
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 0x4284b0
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 0x42851e
cmp si, 0x69
ja 0x42851e
add esi, 0xffd0
cmp si, 0x11
je 0x4284ee
push 0x11
call edi
test ax, ax
jge 0x4284ee
or esi, 0x2000
cmp si, 0x10
je 0x428503
push 0x10
call edi
test ax, ax
jge 0x428503
or esi, 0x4000
cmp si, 0x12
je 0x428518
push 0x12
call edi
test ax, ax
jge 0x428518
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42852b
mov esi, 0xbd
jmp 0x4284df
cmp si, 0x6e
jne 0x428538
mov esi, 0xbe
jmp 0x4284df
cmp si, 0x6f
jne 0x4284d9
mov esi, 0xbf
jmp 0x4284df

Function at 0x429c10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7cd310]
xor edx, edx
cmp eax, edx
jne 0x429c36
xor eax, eax
mov byte [eax + 0x7cd210], al
inc eax
cmp eax, 0x100
jl 0x429c1e
mov dword [0x7cd310], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7cd210
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x429cc7
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 0x429c9a
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 0x429c68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x429d40
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 0x429d93
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 0x429d7a
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