joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49eabc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x49ebe4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
dec eax
sub eax, 2
jb 0x49eb06
mov ecx, 0x7d
mov edx, 0x49ebfc
mov eax, 0x49ec34
call fcn.004040e0
mov eax, dword [0x533318]
cmp byte [eax], 0
jne 0x49eb64
cmp esi, 1
jne 0x49eb3e
lea eax, [ebp - 8]
mov edx, edi
call fcn.0040441c
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040441c
mov edx, dword [ebp - 0xc]
mov eax, ebx
pop ecx
call fcn.0043a934
jmp 0x49ebc1
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040441c
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.0040441c
mov edx, dword [ebp - 0x14]
mov eax, ebx
pop ecx
call fcn.0043a960
jmp 0x49ebc1
mov eax, edi
call fcn.00404b04
inc eax
add eax, eax
push eax
mov eax, edi
call fcn.00404af4
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00404af4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x49ebc1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xf
lea eax, [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x533688]
call fcn.004065b8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43a534]
call fcn.0040d894
call fcn.00403b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ebeb
lea eax, [ebp - 0x20]
call fcn.00404184
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004041a8
ret

Function at 0x49f5bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
mov edi, ecx
shr edi, 2
je 0x49f5d6
lea edx, [edx + edi*4]
lea eax, [eax + edi*4]
neg edi
mov ebx, dword [edx + edi*4]
xor dword [eax + edi*4], ebx
inc edi
jne 0x49f5cd
and ecx, 3
je 0x49f5e4
mov bl, byte [edx]
xor byte [eax], bl
inc eax
inc edx
dec ecx
jne 0x49f5db
pop edi
pop ebx
ret

Function at 0x49f5e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x49f615
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x49f606
and ecx, 3
je 0x49f62d
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x49f61a
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x49f638
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x49f671
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x49f659
pop esi
and esi, 3
je 0x49f696
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x49f677
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x49f6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x49f6cc
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x49f6bd
and ecx, 3
je 0x49f6e4
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x49f6d1
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x49f6ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x49f6f8
pop edi
pop ebx
ret

Function at 0x49ff58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx]
call dword [eax + 0x20]
mov edi, eax
mov eax, edi
shr eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
add eax, edi
mov dword [esp + 8], eax
mov eax, edi
add eax, eax
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
cdq
idiv edi
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x49ffd0
inc ebp
push edi
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, dword [ebx + 8]
call fcn.0049f5e8
mov edx, dword [ebx + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [esp + 8]
push eax
push edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0049f638
lea eax, [esi + edi]
mov esi, eax
dec ebp
jne 0x49ff9b
mov eax, dword [esp]
cdq
idiv edi
mov ebp, edx
test ebp, ebp
jle 0x4a000b
mov edx, dword [esp + 8]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 4]
call fcn.0049f6ec
mov edx, dword [ebx + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec ebp
test ebp, ebp
jl 0x4a000b
inc ebp
xor eax, eax
mov edx, dword [ebx + 8]
mov dl, byte [edx + eax]
xor byte [esi + eax], dl
inc eax
dec ebp
jne 0x49fffe
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a0014
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0049fc6c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4a0153
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x4a00c2
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.004029b0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0049f6ec
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.004029b0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0049f6ec
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x4a006f
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x4a0110
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.004029b0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0049f6ec
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.004029b0
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x4a013a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x4a013a
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x4a012a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a015a
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049fe08
ret
Function at 0x4a05c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, edx
mov esi, eax
mov eax, dword [esi]
call dword [eax + 0x20]
mov ebx, eax
mov eax, ebx
shr eax, 2
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
add eax, ebx
mov dword [esp + 8], eax
mov eax, ebx
add eax, eax
mov edx, dword [esi + 8]
lea eax, [edx + eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
cdq
idiv ebx
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4a0647
inc ebp
push ebx
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, dword [esi + 8]
call fcn.0049f5e8
mov edx, dword [esi + 8]
mov eax, dword [esp + 8]
mov ecx, ebx
call fcn.0049f5bc
mov edx, dword [esp + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
push ebx
mov ecx, edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
call fcn.0049f6a0
lea eax, [edi + ebx]
mov edi, eax
dec ebp
jne 0x4a0607
mov eax, dword [esp]
cdq
idiv ebx
mov ebp, edx
test ebp, ebp
jle 0x4a0682
mov edx, dword [esp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 4]
call fcn.0049f6ec
mov edx, dword [esi + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec ebp
test ebp, ebp
jl 0x4a0682
inc ebp
xor eax, eax
mov edx, dword [esi + 8]
mov dl, byte [edx + eax]
xor byte [edi + eax], dl
inc eax
dec ebp
jne 0x4a0675
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a068c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
mov eax, dword [edi]
call dword [eax + 0x20]
mov ebp, eax
mov eax, ebp
shr eax, 2
mov dword [esp + 4], eax
mov eax, dword [esp]
cdq
idiv ebp
mov esi, eax
mov eax, dword [edi + 8]
dec esi
test esi, esi
jl 0x4a06db
inc esi
mov edx, eax
mov eax, ebx
mov ecx, dword [esp + 4]
call fcn.0049f6ec
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, ebx
lea edx, [ebx + ebp]
mov ebx, edx
dec esi
jne 0x4a06bb
mov edx, dword [edi + 8]
mov ecx, ebp
call fcn.004029b0
mov eax, dword [esp]
cdq
idiv ebp
mov esi, edx
test esi, esi
jle 0x4a0710
mov edx, dword [edi + 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec esi
test esi, esi
jl 0x4a0710
inc esi
xor eax, eax
mov edx, dword [edi + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec esi
jne 0x4a0703
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a1794
Capabilities:
Encode data using xor

Disassembly:
lea edi, [edi + 0xc0]
mov ecx, 0x40
neg ecx
mov edx, dword [edi + ecx*4]
xor edx, dword [edi + ecx*4 + 8]
xor edx, dword [edi + ecx*4 + 0x20]
xor edx, dword [edi + ecx*4 + 0x34]
rol edx, 1
mov dword [edi + ecx*4 + 0x40], edx
inc ecx
jne 0x4a17a1
ret
Function at 0x4ae91c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x4ae970
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x5258c4]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x525cc4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x5260c4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x5264c4]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4ae92b
pop edi
pop esi
pop ebx
ret

Function at 0x4b69d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
cmp dword [esi + 0x30], 1
jbe 0x4b6afe
push 1
call sub.kernel32.dll_Sleep
jmp 0x4b6b05
push 0
call sub.kernel32.dll_Sleep
inc dword [edi]
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4bc5dc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0xc], 0
jle 0x4bc69c
xor ebx, ebx
lea esi, [ebp - 0x114]
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
call fcn.004054b4
mov al, byte [edi + eax]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4bc606
xor edx, edx
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4bc69c
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
inc edx
and dl, 0xff
mov esi, edx
and esi, 0xff
mov al, byte [ebp + esi - 0x114]
mov cl, byte [ebp - 0xd]
add cl, al
and cl, 0xff
mov byte [ebp - 0xd], cl
xor ecx, ecx
mov cl, byte [ebp - 0xd]
mov cl, byte [ebp + ecx - 0x114]
mov byte [ebp + esi - 0x114], cl
xor ecx, ecx
mov cl, byte [ebp - 0xd]
mov byte [ebp + ecx - 0x114], al
add al, byte [ebp + esi - 0x114]
and al, 0xff
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx]
and eax, 0xff
xor cl, byte [ebp + eax - 0x114]
mov eax, dword [ebp - 8]
mov byte [eax + ebx], cl
inc ebx
dec dword [ebp - 0x14]
jne 0x4bc638
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4bc6a8
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 0xc], 0
jle 0x4bc760
xor esi, esi
lea ecx, [ebp - 0x110]
mov eax, esi
cdq
idiv edi
mov al, byte [ebx + edx]
mov byte [ecx], al
inc esi
inc ecx
cmp esi, 0x100
jne 0x4bc6d5
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4bc760
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
inc edx
and dl, 0xff
xor eax, eax
mov al, dl
mov al, byte [ebp + eax - 0x110]
lea ecx, [eax + ecx]
and cl, 0xff
xor ebx, ebx
mov bl, cl
mov bl, byte [ebp + ebx - 0x110]
mov edi, edx
and edi, 0xff
mov byte [ebp + edi - 0x110], bl
xor ebx, ebx
mov bl, cl
mov byte [ebp + ebx - 0x110], al
xor ebx, ebx
mov bl, dl
add al, byte [ebp + ebx - 0x110]
and al, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + esi]
and eax, 0xff
xor bl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + esi], bl
inc esi
dec dword [ebp - 0x10]
jne 0x4bc6fb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4bc76c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov edi, ecx
mov ecx, edx
mov ebp, eax
test cl, cl
jbe 0x4bc7d3
xor ebx, ebx
mov esi, esp
mov byte [edi + ebx], bl
xor eax, eax
mov al, cl
push eax
mov eax, ebx
pop edx
push ecx
mov ecx, edx
cdq
idiv ecx
pop ecx
mov al, byte [ebp + edx]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4bc784
xor eax, eax
xor ebx, ebx
mov esi, esp
mov dl, byte [edi + ebx]
xor ecx, ecx
mov cl, dl
add eax, ecx
xor ecx, ecx
mov cl, byte [esi]
add eax, ecx
and eax, 0xff
mov cl, byte [edi + eax]
mov byte [edi + ebx], cl
mov byte [edi + eax], dl
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4bc7ac
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ca388
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ca5e8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4ca3eb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004ca030
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e25c
cmp al, 1
jne 0x4ca3eb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004ca2f8
test al, al
je 0x4ca577
cmp dword [ebp - 8], 0
jge 0x4ca409
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004ca030
mov eax, dword [ebp - 0x210]
call fcn.00404454
cmp ebx, eax
jge 0x4ca453
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004ca030
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x533a50]
and eax, 0xff
bt dword [edx], eax
jae 0x4ca453
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4ca467
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004ca364
cmp ebx, dword [ebp - 8]
je 0x4ca569
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4ca493
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403530
and eax, 0x7f
movzx eax, word [eax*2 + 0x52b8c4]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4ca556
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403530
and eax, 0x7f
movzx eax, word [eax*2 + 0x52b8c4]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00461c04
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403530
and eax, 0x7f
movzx eax, word [eax*2 + 0x52b8c4]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00461c04
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca55d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4ca5ca
cmp dword [ebp - 8], 0
jge 0x4ca582
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004ca030
mov eax, dword [ebp - 0x218]
call fcn.00404454
cmp eax, dword [ebp - 8]
jg 0x4ca5bc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004ca030
mov eax, dword [ebp - 0x21c]
call fcn.00404454
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ca364
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca5ef
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004041a8
ret
Function at 0x4cee5c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4cee8a
mov eax, ebx
call fcn.004cf910
cmp dword [ebx + 0x40], 0
je 0x4cee83
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ceefb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ceeed
cmp dword [ebx + 8], 0
je 0x4ceeac
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4ceebe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ceeed
cmp dword [ebx + 8], 0
je 0x4cee9f
cmp eax, 3
je 0x4ceed1
dec eax
jne 0x4cee9f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4cee9f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4cee9f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4cef19
cmp dword [ebx + 0x14], 0xcc
je 0x4cef19
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004cef24
pop ebx
ret
Function at 0x4e5afc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sar eax, 1
jns 0x4e5b12
adc eax, 0
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
xor edx, edx
xor eax, eax
call fcn.0040691c
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0040691c
push 1
push 1
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
inc eax
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4e5c63
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor ecx, ecx
mov dl, 2
call fcn.004e59e0
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov cl, 2
xor edx, edx
call fcn.004e59e0
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor ecx, ecx
xor edx, edx
call fcn.004e59e0
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor ecx, ecx
mov dl, 1
call fcn.004e59e0
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov cl, 1
xor edx, edx
call fcn.004e59e0
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov cl, 3
mov dl, 3
call fcn.004e59e0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5c6a
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x24]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_DeleteObject
ret