joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10051ef0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1015b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10051fea
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10051fe3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10051fc9
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10051fc9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10051fc9
mov edx, dword [esi]
test edx, edx
jne 0x10051f92
push 0x200
push edx
push dword [0x1018bb14]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10051fe3
jmp 0x10051fbd
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10051fbd
shl eax, 3
push eax
push edx
push 0
push dword [0x1018bb14]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10051fe3
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10051f51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1005202f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1005202f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10052029
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10051d80
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10051ff6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101122e5
mov esp, ebp
pop ebp
ret
Function at 0x10052040
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1015b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x1018c130]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1005209c
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101122e5
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100520b7
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101122e5
mov esp, ebp
pop ebp
ret

Function at 0x100520f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x1018c138]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x100521cd
mov eax, dword [0x1018c130]
add eax, 0x14
test byte [eax], 2
je 0x1005212a
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10052115
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x100521cd
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10051ef0
mov ecx, dword [0x1018c138]
add esp, 4
cmp esi, ecx
jae 0x1005217b
imul edi, esi, 0x2c
mov eax, dword [0x1018c130]
test byte [edi + eax + 0x14], 2
jne 0x10052170
mov ecx, esi
call fcn.10052040
mov ebx, eax
test ebx, ebx
jne 0x10052178
mov ecx, dword [0x1018c138]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10052151
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100521cc
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x100521bd
mov ebx, eax
nop dword [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100521b1
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10052190
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x1018bb14]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100780f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x1018bbbc]
push esi
mov esi, ecx
cmp dword [eax], 0
je 0x1007814e
mov eax, dword [0x1018bfe8]
cmp byte [eax + 0x34], 0
jne 0x1007814e
cmp byte [esi + 0xa], 0
je 0x1007812e
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1007812e
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x1007812e
xor eax, eax
cmp byte [esi + 9], al
pop esi
sete al
add eax, 2
ret
cmp byte [esi + 0xb], 0
je 0x1007814e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1007814e
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x1007814e
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x100780f5
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x1018bbbc]
push esi
mov esi, ecx
cmp dword [eax], 0
je 0x1007814e
mov eax, dword [0x1018bfe8]
cmp byte [eax + 0x34], 0
jne 0x1007814e
cmp byte [esi + 0xa], 0
je 0x1007812e
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1007812e
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x1007812e
xor eax, eax
cmp byte [esi + 9], al
pop esi
sete al
add eax, 2
ret
cmp byte [esi + 0xb], 0
je 0x1007814e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1007814e
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x1007814e
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100a61d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push esi
push eax
call fcn.100a6980
mov edx, dword [eax + 4]
test edx, edx
je 0x100a6277
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x100a624c
cmp eax, edx
jne 0x100a6244
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100a6254
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x100a6254
cmp eax, edx
jne 0x100a6254
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [edi + 8]
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.1000b890
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100a64b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x1c
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp edx, edi
je 0x100a6652
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], esi
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [esi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [esi + eax*8]
mov esi, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
call fcn.1000b890
dec dword [ebx + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
je 0x100a6555
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x100a6564
mov edx, esi
mov esi, dword [esi]
call fcn.1000b890
dec dword [ebx + 8]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jne 0x100a6537
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0xc], eax
jne 0x100a6588
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x100a658b
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100a6649
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], eax
cmp esi, edi
je 0x100a6649
nop word [eax + eax]
movzx eax, byte [esi + 8]
mov edx, esi
xor eax, 0x811c9dc5
mov edi, esi
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
mov esi, dword [esi]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.1000b890
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
je 0x100a6618
nop word [eax + eax]
mov edi, esi
cmp esi, dword [ebp + 0xc]
je 0x100a6641
mov edx, esi
mov esi, dword [esi]
call fcn.1000b890
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
jne 0x100a6600
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], ecx
cmp esi, edi
jne 0x100a65a0
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10111cb1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10111cd8
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10111cdb
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.10111c8d
pop esi
leave
ret 8
Function at 0xff7950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xba2000]
push edi
jmp 0xff796a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xff7971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xff7960
mov eax, 1
add ebx, ebx
jne 0xff7983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xff7994
jne 0xff79b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xff79b3
dec eax
add ebx, ebx
jne 0xff79a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xff7978
add ebx, ebx
jne 0xff79af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xff7a05
xor ecx, ecx
sub eax, 3
jb 0xff79cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xff7a3a
sar eax, 1
mov ebp, eax
jmp 0xff79d6
add ebx, ebx
jne 0xff79d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xff79a4
inc ecx
add ebx, ebx
jne 0xff79e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xff79a4
add ebx, ebx
jne 0xff79f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xff79e6
jne 0xff7a02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xff79e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xff7a24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xff7a16
jmp 0xff7966
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xff7a24
add edi, ecx
jmp 0xff7966
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xff7a42
cmp byte [edi], 0x11
jne 0xff7a42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xff7a47
lea edi, [esi + 0xbf0000]
mov eax, dword [edi]
or eax, eax
je 0xff7abf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1718a70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1718bec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xff7a74
mov ecx, edi
jns 0xff7aa3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1718bf0]
or eax, eax
je 0xff7ab9
mov dword [ebx], eax
add ebx, 4
jmp 0xff7a91
call dword [esi + 0x1718c00]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xff7af0
cmp al, 0xef
ja 0xff7ae3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xff7ac5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xff7ad2
mov ebp, dword [esi + 0x1718bf4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0xff7b24
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x44c190
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dd7db
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.004cf904
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44c212
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cd090
mov eax, dword [eax]
push 0x548d4c
push eax
call fcn.004bede4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004cfb8f
test bl, bl
je 0x44c212
push 0x548d4c
lea ecx, [esp + 0xc]
call fcn.004cff6b
push 0x548d58
lea ecx, [esp + 0xc]
call fcn.004cff6b
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 0x44c24e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004cfb8f
jmp 0x44c319
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 0x44c2d2
lea edx, [esp + 0x7c]
push 0x548d54
push edx
call fcn.004bede4
add esp, 8
test eax, eax
je 0x44c2d2
lea eax, [esp + 0x7c]
push 0x548d50
push eax
call fcn.004bede4
add esp, 8
test eax, eax
je 0x44c2d2
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 0x44c262
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.004cfb8f
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 0x44cb10
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 0x44cb72
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 0x44cb80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dd85b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x558eb0]
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 0x44ccb8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44cbe6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cfb8f
xor eax, eax
jmp 0x44cd2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004cfd18
push esi
lea ecx, [esp + 0xc]
call fcn.004cffa7
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 0x44cd0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0044cb10
test eax, eax
jne 0x44cd0d
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 closesocket
mov ecx, edi
call fcn.0044cb10
test eax, eax
jne 0x44cd0d
lea eax, [esp + 0x14]
push 0x548d68
push eax
call fcn.004bffd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ccec
lea ecx, [esp + 0x14]
push 0x548d64
push ecx
call fcn.004bff50
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ccec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44ccef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004cfcc8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44cbfe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cfb8f
xor eax, eax
jmp 0x44cd2f
mov byte [esi], 0
push 0x548d60
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.004cfb8f
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 0x45e690
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 0x45e6fe
cmp si, 0x69
ja 0x45e6fe
add esi, 0xffd0
cmp si, 0x11
je 0x45e6ce
push 0x11
call edi
test ax, ax
jge 0x45e6ce
or esi, 0x2000
cmp si, 0x10
je 0x45e6e3
push 0x10
call edi
test ax, ax
jge 0x45e6e3
or esi, 0x4000
cmp si, 0x12
je 0x45e6f8
push 0x12
call edi
test ax, ax
jge 0x45e6f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45e70b
mov esi, 0xbd
jmp 0x45e6bf
cmp si, 0x6e
jne 0x45e718
mov esi, 0xbe
jmp 0x45e6bf
cmp si, 0x6f
jne 0x45e6b9
mov esi, 0xbf
jmp 0x45e6bf

Function at 0x460050
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x569e60]
xor edx, edx
cmp eax, edx
jne 0x460076
xor eax, eax
mov byte [eax + 0x569d60], al
inc eax
cmp eax, 0x100
jl 0x46005e
mov dword [0x569e60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x569d60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x460107
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 0x4600da
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 0x4600a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x460180
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 0x4601d3
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 0x4601ba
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