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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp + 8], 0
lea eax, [edi + eax*4]
mov ebx, eax
sub ebx, edi
add ebx, 3
shr ebx, 2
cmp edi, eax
cmova ebx, ecx
test ebx, ebx
je 0x58f34b
push esi
mov esi, dword [ebp + 0x10]
nop
mov edx, dword [edi]
lea esi, [esi + 2]
mov ecx, edx
lea edi, [edi + 4]
shr ecx, 0x10
mov eax, edx
shr eax, 0xc
xor cl, al
mov eax, edx
shr eax, 0x10
and cl, 0xf
xor cl, al
mov eax, edx
shr eax, 0x1c
xor al, dl
mov byte [esi - 2], cl
and al, 0xf
xor al, dl
mov byte [esi - 1], al
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, ebx
jb 0x58f310
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x5a8f40
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x14]
call fcn.005bed50
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.005091c0
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x5a8ff7
push 0x4a
push str.....openssl_1.1.0fcrypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.005b5d50
push 0x6b1a20
push esi
push 0x6b1a24
push dword [esp + 0x30]
push str.fopen_
push 5
call fcn.005b54c0
add esp, 0x2c
call fcn.0050cd07
cmp dword [eax], 2
je 0x5a8fd9
call fcn.0050cd07
cmp dword [eax], 6
je 0x5a8fd9
push 0x53
push str.....openssl_1.1.0fcrypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.005b5d50
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x51
push str.....openssl_1.1.0fcrypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.005b5d50
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x6b19bc
call fcn.005a9550
mov esi, eax
add esp, 4
test esi, esi
jne 0x5a9019
push edi
call fcn.00510c36
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push esi
call fcn.005a9120
push edi
push ebx
push 0x6a
push esi
call fcn.005a9150
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x5b3ef0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.0042e3a0
mov eax, dword [0x71906c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], 1
push edi
push edi
push str.RANDFILE
mov dword [ebp - 8], str.RANDFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, dword [ebp + 8]
mov esi, eax
test esi, esi
jne 0x5b3f81
push edi
push edi
push str.HOME
mov dword [ebp - 8], str.HOME
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
jne 0x5b3f81
push eax
push eax
push str.USERPROFILE
mov dword [ebp - 8], str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
jne 0x5b3f81
push eax
push eax
push str.SYSTEMROOT
mov dword [ebp - 8], str.SYSTEMROOT
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x5b3ff9
lea eax, [esi + esi]
call fcn.0042dce0
mov eax, esp
push esi
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, esi
jae 0x5b3fe7
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 8], eax
test eax, eax
je 0x5b3fe7
call fcn.0042dce0
mov esi, esp
push 0
push 0
push dword [ebp - 8]
push esi
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
neg edi
sbb edi, edi
and edi, esi
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x5b4002
test edi, edi
jne 0x5b4006
mov edi, 0x6b3160
jmp 0x5b400b
mov edx, edi
mov edi, 0x6b3160
jmp 0x5b400b
test edi, edi
je 0x5b4078
cmp byte [edi], 0
je 0x5b4078
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5b4010
sub ecx, esi
mov esi, dword [ebp + 0xc]
test edx, edx
je 0x5b404c
lea eax, [ecx + 1]
cmp eax, esi
jae 0x5b404c
push esi
push edi
push ebx
call fcn.005becd0
add esp, 0xc
cmp eax, esi
jb 0x5b407b
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d065
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 6]
cmp eax, esi
jae 0x5b407b
push esi
push edi
push ebx
call fcn.005becd0
push esi
push 0x6b3164
push ebx
call fcn.005bec70
push esi
push str..rnd
push ebx
call fcn.005bec70
add esp, 0x24
jmp 0x5b407b
mov byte [ebx], 0
xor eax, eax
cmp byte [ebx], al
cmovne eax, ebx
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d065
mov esp, ebp
pop ebp
ret
Function at 0x5b40a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.0042e3a0
mov eax, dword [0x71906c]
xor eax, esp
mov dword [esp + 0x470], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x44], edi
test eax, eax
jne 0x5b40e5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0042d065
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x5b40ce
push 0x6b310c
push eax
call fcn.005bed50
mov ebx, eax
add esp, 8
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x5b4205
push 0x30
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00507100
add esp, 0xc
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.0052634f
add esp, 4
push eax
call fcn.005a6f03
add esp, 8
test eax, eax
js 0x5b41fc
mov eax, 8
call fcn.0042e3a0
xorps xmm0, xmm0
lea eax, [esp + 0x50]
movsd qword [esp], xmm0
push 0x30
push eax
call fcn.005b3ce0
add esp, 0x10
test dword [esp + 0x4e], 0x2000
je 0x5b4180
mov eax, 0x800
cmp esi, 0xffffffff
push 0
push ebx
cmove esi, eax
call fcn.00673bf8
add esp, 8
nop dword [eax]
mov edi, 0x400
test esi, esi
jle 0x5b418e
cmp esi, edi
cmovl edi, esi
push ebx
push edi
lea eax, [esp + 0x80]
push 1
push eax
call fcn.0051160c
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x5b41e2
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.0042e3a0
lea eax, [esp + 0x80]
movsd qword [esp], xmm0
push ebx
push eax
call fcn.005b3ce0
add dword [esp + 0x54], ebx
add esp, 0x10
mov ebx, dword [esp + 0x40]
test esi, esi
jle 0x5b4180
sub esi, edi
test esi, esi
jg 0x5b4180
lea eax, [esp + 0x78]
push 0x400
push eax
call fcn.005be880
mov ebx, dword [esp + 0x48]
add esp, 8
mov edi, dword [esp + 0x44]
push ebx
call fcn.00510c36
add esp, 4
mov ecx, dword [esp + 0x47c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042d065
mov esp, ebp
pop ebp
ret
Function at 0x5bf990
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor dl, dl
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x5bf9b6
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x5bf9a6
pop edi
movzx eax, dl
pop esi
ret
Function at 0x5dbe50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ebp
push edi
sub ecx, 4
jb 0x5dbe81
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x5dbe88
add edx, 4
add esi, 4
sub ecx, 4
jae 0x5dbe70
xor edi, edi
cmp ecx, 0xfffffffc
je 0x5dbec3
movzx edi, byte [edx]
movzx eax, byte [esi]
sub edi, eax
jne 0x5dbec3
cmp ecx, 0xfffffffd
je 0x5dbec3
movzx edi, byte [edx + 1]
movzx eax, byte [esi + 1]
sub edi, eax
jne 0x5dbec3
cmp ecx, 0xfffffffe
je 0x5dbec3
movzx edi, byte [edx + 2]
movzx eax, byte [esi + 2]
sub edi, eax
jne 0x5dbec3
cmp ecx, 0xffffffff
je 0x5dbec3
movzx edi, byte [edx + 3]
movzx eax, byte [esi + 3]
sub edi, eax
test edi, edi
jle 0x5dbede
push 0x157
push str.....openssl_1.1.0fcryptox509v3_v3_addr.c
push str.assertion_failed:_memcmp_min__max__length____0
call fcn.005bf9c0
add esp, 0xc
mov edi, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
jle 0x5dbefd
mov esi, edi
mov edx, ebp
sub esi, ebp
nop
mov al, byte [esi + edx]
cmp al, byte [edx]
jne 0x5dbefd
inc ecx
inc edx
cmp ecx, ebx
jl 0x5dbef0
lea edx, [ebx - 1]
test edx, edx
js 0x5dbf21
mov esi, edi
lea eax, [edx + ebp]
sub esi, ebp
nop dword [eax + eax]
cmp byte [eax + esi], 0
jne 0x5dbf21
cmp byte [eax], 0xff
jne 0x5dbf21
dec eax
sub edx, 1
jns 0x5dbf10
cmp ecx, edx
jl case.0x5dbf4d.2
jle 0x5dbf33
pop edi
pop esi
pop ebp
lea eax, [ecx*8]
pop ebx
ret
mov bl, byte [ecx + ebp]
mov dh, byte [ecx + edi]
mov dl, bl
xor dl, dh
movzx eax, dl
dec eax
cmp eax, 0x7e
ja case.0x5dbf4d.2
movzx eax, byte [eax + 0x5dbfc0]
jmp dword [eax*4 + 0x5dbfa0]
mov eax, 7
jmp 0x5dbf83
mov eax, 6
jmp 0x5dbf83
mov eax, 5
jmp 0x5dbf83
mov eax, 4
jmp 0x5dbf83
mov eax, 3
jmp 0x5dbf83
mov eax, 2
jmp 0x5dbf83
mov eax, 1
test dl, dh
jne case.0x5dbf4d.2
and bl, dl
cmp bl, dl
jne case.0x5dbf4d.2
pop edi
pop esi
pop ebp
lea eax, [eax + ecx*8]
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x608d80
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x608e6c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
inc edi
nop word [eax + eax]
cmp esi, 3
jl 0x608dfd
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
add edx, 3
and ecx, 0x3f
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
jmp 0x608e51
movzx eax, byte [edi - 1]
shl eax, 0x10
cmp esi, 2
jne 0x608e11
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x608e3b
lea eax, [esi + 0x3c]
jmp 0x608e48
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
add edx, 3
mov byte [edx], 0x3d
sub esi, 3
add ebx, 4
add edi, 3
inc edx
test esi, esi
jg 0x608da0
pop edi
pop esi
mov eax, ebx
mov byte [edx], 0
pop ebx
ret
mov eax, dword [esp + 0xc]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
ret
Function at 0x609290
Capabilities:
Generate random numbers via winapi
Get memory capacity

Disassembly:
mov eax, 0x6c
call fcn.0042e3a0
mov eax, dword [0x71906c]
xor eax, esp
mov dword [esp + 0x68], eax
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x609306
lea eax, [esp + 0x28]
push eax
push 0x40
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x6092fa
mov eax, 8
call fcn.0042e3a0
movsd xmm0, qword [0x6d5d00]
lea eax, [esp + 0x30]
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.005b3ce0
add esp, 0x10
push 0
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x60936a
lea eax, [esp + 0x28]
push eax
push 0x40
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x60935e
mov eax, 8
call fcn.0042e3a0
movsd xmm0, qword [0x6d5d00]
lea eax, [esp + 0x30]
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.005b3ce0
add esp, 0x10
push 0
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call fcn.006093f0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.0042e3a0
movsd xmm0, qword [0x687908]
lea eax, [esp + 0x10]
movsd qword [esp], xmm0
push 0x20
push eax
call fcn.005b3ce0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 4], eax
mov eax, 8
call fcn.0042e3a0
movsd xmm0, qword [0x687908]
lea eax, [esp + 0xc]
movsd qword [esp], xmm0
push 4
push eax
call fcn.005b3ce0
mov ecx, dword [esp + 0x78]
add esp, 0x10
xor ecx, esp
mov eax, 1
call fcn.0042d065
add esp, 0x6c
ret
Function at 0x609fb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.0042e3a0
mov eax, dword [0x71906c]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x60a016
cmp edi, dword [esi]
je 0x60a00d
test ebp, ebp
je 0x60a090
test ebx, ebx
js 0x60a090
mov eax, 1
mov dword [esi], edi
jmp 0x60a01c
mov edi, dword [esi]
test edi, edi
je 0x60a090
test ebp, ebp
je 0x60a1aa
push edi
call fcn.005b2930
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x60a050
push 0x28
push str.....openssl_1.1.0fcryptohmachmac.c
push str.assertion_failed:_j____int_sizeof_ctx__key_
call fcn.005bf9c0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x60a0ab
push dword [esp + 0x10]
push edi
push dword [esi + 4]
call fcn.005aed90
add esp, 0xc
test eax, eax
je 0x60a090
push ebx
push ebp
push dword [esi + 4]
call fcn.005aef40
add esp, 0xc
test eax, eax
je 0x60a090
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.005aecf0
add esp, 0xc
test eax, eax
jne 0x60a0c7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042d065
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x60a090
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call fcn.00507350
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x60a0ea
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call fcn.00507100
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x60a0f0
push edx
push edi
push dword [esi + 8]
call fcn.005aed90
add esp, 0xc
test eax, eax
je 0x60a090
push edi
call fcn.005b2930
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.005aef40
add esp, 0x10
test eax, eax
je 0x60a090
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x60a140
push dword [esp + 0x10]
push edi
push dword [esi + 0xc]
call fcn.005aed90
add esp, 0xc
test eax, eax
je 0x60a090
push edi
call fcn.005b2930
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call fcn.005aef40
add esp, 0x10
test eax, eax
je 0x60a090
push dword [esi + 8]
push dword [esi + 4]
call fcn.005aef70
add esp, 8
test eax, eax
je 0x60a090
mov eax, 1
jmp 0x60a092
test eax, eax
je 0x60a18a
jmp 0x60a0ee
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x39a627f1
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x322f3d75
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1001cea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004008]
jne 0x1001cfb
test ecx, 0xffff0000
jne 0x1001cfb
ret
jmp fcn.01001d05

Function at 0x1002099
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [0x10043fc], ebx
jne 0x1002171
cmp dword [0x10043f8], ebx
jne 0x1002171
cmp dword [0x1004404], ebx
push esi
je 0x100215f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x1004420]
cmp esi, ebx
je 0x10020e7
mov edx, dword [0x1004424]
mov ecx, eax
sub ecx, edx
cmp ecx, esi
jb 0x100215f
mov ecx, dword [0x1004098]
cmp ecx, 0xffffffff
je 0x10020fb
sub eax, ecx
cmp eax, 0xc8
jb 0x1002169
push edi
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push 3
mov esi, 0x113
push esi
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
mov dword [0x10043fc], 1
call edi
push 3
push esi
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call edi
push ebx
push ebx
push 0x8000
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
mov dword [0x10043f8], eax
mov dword [0x10043fc], ebx
pop edi
jne 0x1002152
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1004098], eax
jmp 0x1002169
mov dword [0x10043f8], 1
mov eax, dword [0x10043f8]
pop esi
jmp 0x1002173
xor eax, eax
pop ebx
leave
ret 4
Function at 0x10021bb
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [0x10043f4], esi
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x1002233
cmp dword [0x10043f8], esi
jne 0x1002233
cmp ebx, 0x10
je 0x100236b
cmp ebx, 0x8000
je 0x100234b
cmp dword [0x10043fc], esi
jne 0x1002233
mov eax, 0x104
cmp ebx, eax
ja 0x1002282
je 0x10022bf
cmp ebx, 0x18
je 0x1002274
cmp ebx, 0x1c
je 0x100226f
cmp ebx, 0x20
je 0x1002260
cmp ebx, 0x48
je 0x1002229
cmp ebx, 0x100
jmp 0x100222d
cmp dword [ebp + 0x10], 3
je 0x10022bf
cmp ebx, dword [0x100440c]
jne 0x1002396
cmp ebx, esi
je 0x1002396
push esi
push esi
push 0x10
push dword [ebp + 8]
call edi
xor eax, eax
cmp dword [0x1004404], esi
setne al
jmp 0x10023a6
push esi
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
inc eax
jmp 0x10023a6
cmp dword [ebp + 0x10], esi
jmp 0x100222d
cmp dword [ebp + 0x10], esi
je 0x1002233
push esi
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1002233
mov eax, ebx
sub eax, 0x200
je 0x10022f3
dec eax
je 0x10022bf
sub eax, 3
je 0x10022bf
sub eax, 3
je 0x10022bf
sub eax, 0x11
jne 0x1002233
cmp dword [ebp + 0x10], 6
jb 0x10022bf
cmp dword [ebp + 0x10], 8
jbe 0x10022b5
cmp dword [ebp + 0x10], 0xa
je 0x10022cd
cmp dword [ebp + 0x10], 0x12
jne 0x10022bf
test byte [ebp + 0x14], 1
jne 0x1002233
push esi
push esi
push 0x10
push dword [ebp + 8]
call edi
jmp 0x1002233
lea eax, [ebp - 0x14]
push eax
call sub.KERNEL32.dll_GetSystemPowerStatus
test eax, eax
je 0x10022df
mov al, byte [ebp - 0x14]
jmp 0x10022e1
or al, 0xff
cmp al, byte [0x1004094]
mov byte [0x1004094], al
jne 0x10022bf
jmp 0x1002233
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 8]
sub ecx, dword [0x1004460]
je 0x100230e
cmp ecx, esi
jge 0x100230e
neg ecx
mov eax, dword [ebp - 4]
sub eax, dword [0x1004464]
je 0x100231f
cmp eax, esi
jge 0x100231f
neg eax
add eax, ecx
cmp eax, dword [0x1004090]
jbe 0x1002233
push esi
push esi
push 0x10
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 8]
mov dword [0x1004460], eax
mov eax, dword [ebp - 4]
mov dword [0x1004464], eax
jmp 0x1002233
cmp dword [0x100441c], esi
je 0x1002233
mov eax, dword [0x1004404]
cmp eax, esi
je 0x1002267
push dword [ebp + 8]
call eax
jmp 0x10023a6
cmp dword [0x100441c], esi
je 0x1002233
push dword [ebp + 8]
call fcn.01002099
test eax, eax
jne 0x1002233
push 0x1004460
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
jmp 0x10023a6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10023b2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x100441c], esi
je 0x1002459
cmp dword [0x1004400], esi
je 0x10023d6
call fcn.0100217d
lea eax, [ebp - 4]
push eax
push 1
push esi
push 0x100129c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002459
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push str.ScreenSaveUsePassword
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002450
cmp dword [ebp - 0xc], esi
je 0x1002450
push str.PASSWORD.CPL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
mov dword [0x1004400], eax
je 0x1002450
push str.VerifyScreenSavePwd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
mov dword [0x1004404], eax
je 0x100244b
push 1
call fcn.01001e11
jmp 0x1002450
call fcn.0100217d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x448235
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x478c4e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00478acd