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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x40606b
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipCursor]
push edi
mov edi, dword [sym.imp.USER32.dll_CloseDesktop]
nop
push 0
call edi
push 0
call esi
mov ecx, dword [esp + 0x14]
push 0
xor byte [ebx + ecx], 0x1a
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x65
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x10
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x98
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0xd
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x27
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x48
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x33
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 5
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 3
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xa2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xae
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x32
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xcb
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x76
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x9e
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x43
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
sub byte [ebx + eax], 0x80
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0xe
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x63
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xb4
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xbc
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x66
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xd2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x5d
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xb5
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
xor byte [ebx + eax], 0xb0
push 0
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xa2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
add byte [ebx + eax], 0xd7
inc ebx
cmp ebx, ebp
jb 0x405e90
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4190d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4190fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4190fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
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 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
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 + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x40279a
Capabilities:
Encode data using xor

Disassembly:
inc eax
pop esi
xor dword [esi + 0xe], 0xab078814
sub esi, 0xfffffffc
loop 0x40279d
cmp eax, 0x97428441
pushal
clc
push esp
jmp 0x40282a
adc ebx, dword [esi]
xchg esi, eax
push eax
push edx
sbb esi, dword [esi + 0x1c71ceae]
mov esp, 0x878c7cb9
mov ebp, 0x34686480
push ebp
fcmovu st(0), st(1)
or esi, dword [esi]
cmp byte [esi], dh
shr byte [eax - 0x7d], cl
out dx, eax
xchg esp, eax
push ebp
div dword [esi]
dec esp
pop es
or cl, dl
inc edx
cmp dword [ebp + 0x2c], edi
pop eax
imul eax, ecx, 0x7c284882
dec edi
imul ecx, dword [ecx], 0xe711c97a
out dx, eax
xlatb
out dx, eax
pop edx
lodsd eax, dword [esi]
or esp, dword [esi]
xor al, 0xbc
push eax
out dx, eax
dec eax
lds eax, [0x81f17ca4]
mov ah, 0x83
cmc
cwde
xor al, 0x83
in eax, 0xa0
fstp xword gs:[eax]
dec ecx
adc byte [esp + ecx*4], dh
jg 0x4028b6
or dword [ecx - 0x73219af5], 0x40
enter 0x72c9, 0xffffffffffffff8d
iretd
xor al, 0xc4
inc eax
sub al, 0xe6
fild dword [0x9bd1e751]
call 0x837f08ab
scasd eax, dword es:[edi]
imul esp, esp, 0x397f42f7
pushal
invalid

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xffffffb7
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebx]
adc byte [edx], ch
lea edx, [ebp - 8]
push 0
mov eax, dword [esi]
push edx
mov ah, 0x21
or byte [ecx + 0x458df045], cl
cld
mov dword [0x420270f4], ecx
add al, 0x8d
dec ebp
invalid
Function at 0x40a340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi]
or byte [esi - 0x75], dl
inc ecx
add al, 0x85
sal byte [ebp + 0x11], 0x83
ror dword [ecx + edx*2], 0xff
adc eax, sym.imp.KERNEL32.dll_LeaveCriticalSection
xor edx, dword [edi + 0x4fd5d5e]
add byte [ebx + 0xc75b5f8], al
mov eax, dword [ecx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x40a37f
test eax, eax
jne 0x40a358
mov esi, dword [0xba2e98]
call esi
test eax, eax
je 0x40a358
call esi
add eax, 0x65b780
js 0x40a39b
ret 4
nop
arpl word [eax - 0x74aa6fb3], dx
push ebp
mov ebp, dword [eax]
mov eax, dword [ebp + 8]
push 0x40a280
push eax
mov eax, dword [eax]
push eax
call 0x1256c0
pop ebp
and byte [edx + ecx], al
nop
nop
nop
nop
nop
nop
xchg esi, eax
add dh, byte [ebx]
rol dl, 0xd5
add byte [eax - 0x6f6f6fad], dl
nop
nop
nop
nop
nop
jae 0x40a426
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40a426
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
pop es
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
xchg ecx, eax
sal byte [ebp + 5], 0x5e
pop ebp
ret 8
xor eax, eax
pop ebp
ret 8
xchg ecx, eax
nop
nop
nop
and edx, dword [eax - 0x6f6f6f70]
push ebp
mov ebp, esp
cmp dword [0x410868], 0xffffffbc
add ah, byte [ebx]
push 0x410728
call dword [0x40c097]
mov eax, dword [ebp + 8]
push 0x405720
js 0x40a4c1
movsb byte es:[edi], byte [esi]
push edi
add byte [eax + 0x28], ch
add ah, byte [ebx]
lahf
push eax
call fcn.00405600
xor eax, eax
pop ebp
pop ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ecx
nop
nop
nop
push 0x881b28
call dword [0x40c02d]
xor eax, eax
ret
push eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov dword [ebp + 0x14], eax
loop 0x40a4d6
mov al, byte [0x4d8de85c]
adc al, 0x51
lea ecx, [ebp + 0x14]
push ecx
push edx
push dword [ebp + 0x24]
rol byte [eax], 0x85
sal byte [ecx + ebx*2 + 0x3b], 0x45
mov ecx, dword gs:[ebp - 0x28]
test eax, eax
je 0x40a4f1
mov dword [eax], ecx
fist word [ebp + 0x10]
test dword [eax - 0x17aead8c], eax
cmp bh, 0xff
cmp byte [ebx + 0x2890449], al
mov eax, dword [esi + 0x14]
push eax
int1
call 0x80e981
mov dword [esi + 0x14], 0x30000300
mov eax, 0xdf116d
jl 0x40a578
ret 0x14
add byte [eax], al
pop esi
pop ebp
ret 0x23
Function at 0x4dd960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x87000]
push edi
jmp 0x4dd97a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4dd981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd970
mov eax, 1
add ebx, ebx
jne 0x4dd993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4dd9a4
jne 0x4dd9c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd9c3
dec eax
add ebx, ebx
jne 0x4dd9b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4dd988
add ebx, ebx
jne 0x4dd9bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4dda15
xor ecx, ecx
sub eax, 3
jb 0x4dd9db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dda4a
sar eax, 1
mov ebp, eax
jmp 0x4dd9e6
add ebx, ebx
jne 0x4dd9e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd9b4
inc ecx
add ebx, ebx
jne 0x4dd9f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd9b4
add ebx, ebx
jne 0x4dda01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dd9f6
jne 0x4dda12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dd9f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dda34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dda26
jmp 0x4dd976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dda34
add edi, ecx
jmp 0x4dd976
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dda52
cmp byte [edi], 0x11
jne 0x4dda52
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 0x4dda57
lea edi, [esi + 0xd6000]
mov eax, dword [edi]
or eax, eax
je 0x4ddacf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe2b74]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe2cf0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dda84
mov ecx, edi
jns 0x4ddab3
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 + 0xe2cf4]
or eax, eax
je 0x4ddac9
mov dword [ebx], eax
add ebx, 4
jmp 0x4ddaa1
call dword [esi + 0xe2d04]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4ddb00
cmp al, 0xef
ja 0x4ddaf3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4ddad5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4ddae2
mov ebp, dword [esi + 0xe2cf8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4ddb34
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x410db0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
jmp 0x410dca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410dd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410dc0
mov eax, 1
add ebx, ebx
jne 0x410de3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410df4
jne 0x410e13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410e13
dec eax
add ebx, ebx
jne 0x410e00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x410dd8
add ebx, ebx
jne 0x410e0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x410e65
xor ecx, ecx
sub eax, 3
jb 0x410e2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x410e9a
sar eax, 1
mov ebp, eax
jmp 0x410e36
add ebx, ebx
jne 0x410e36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410e04
inc ecx
add ebx, ebx
jne 0x410e44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410e04
add ebx, ebx
jne 0x410e51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x410e46
jne 0x410e62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410e46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410e84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410e76
jmp 0x410dc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410e84
add edi, ecx
jmp 0x410dc6
pop esi
mov edi, esi
mov ecx, 0x9d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410ea2
cmp byte [edi], 3
jne 0x410ea2
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 0x410ea7
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x410f16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15ce4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15d20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410ed4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15d24]
or eax, eax
je 0x410f10
mov dword [ebx], eax
add ebx, 4
jmp 0x410ef1
call dword [esi + 0x15d34]
mov ebp, dword [esi + 0x15d28]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x410f4a
sub esp, 0xffffff80
jmp 0x401648
Function at 0x430000
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42ffd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x409a20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468adb
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.0045d5d3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409aa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b090
mov eax, dword [eax]
push 0x4811f0
push eax
call fcn.0044dcb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d85e
test bl, bl
je 0x409aa2
push 0x4811f0
lea ecx, [esp + 0xc]
call fcn.0045dbee
push 0x484d6c
lea ecx, [esp + 0xc]
call fcn.0045dbee
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 0x409ade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d85e
jmp 0x409ba9
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 0x409b62
lea edx, [esp + 0x7c]
push 0x484d68
push edx
call fcn.0044dcb4
add esp, 8
test eax, eax
je 0x409b62
lea eax, [esp + 0x7c]
push 0x484d64
push eax
call fcn.0044dcb4
add esp, 8
test eax, eax
je 0x409b62
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 0x409af2
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.0045d85e
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 0x40a3a0
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 0x40a402
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 0x40a410
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468b5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48b2b4]
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 0x40a548
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a476
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d85e
xor eax, eax
jmp 0x40a5bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045d99b
push esi
lea ecx, [esp + 0xc]
call fcn.0045dc2a
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 0x40a59d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040a3a0
test eax, eax
jne 0x40a59d
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.0040a3a0
test eax, eax
jne 0x40a59d
lea eax, [esp + 0x14]
push 0x484d80
push eax
call fcn.0044ecf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a57c
lea ecx, [esp + 0x14]
push 0x484d7c
push ecx
call fcn.0044ec70
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a57c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a57f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045d94b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a48e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d85e
xor eax, eax
jmp 0x40a5bf
mov byte [esi], 0
push 0x484d78
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.0045d85e
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 0x41ab50
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 0x41abbe
cmp si, 0x69
ja 0x41abbe
add esi, 0xffd0
cmp si, 0x11
je 0x41ab8e
push 0x11
call edi
test ax, ax
jge 0x41ab8e
or esi, 0x2000
cmp si, 0x10
je 0x41aba3
push 0x10
call edi
test ax, ax
jge 0x41aba3
or esi, 0x4000
cmp si, 0x12
je 0x41abb8
push 0x12
call edi
test ax, ax
jge 0x41abb8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41abcb
mov esi, 0xbd
jmp 0x41ab7f
cmp si, 0x6e
jne 0x41abd8
mov esi, 0xbe
jmp 0x41ab7f
cmp si, 0x6f
jne 0x41ab79
mov esi, 0xbf
jmp 0x41ab7f

Function at 0x41c270
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x49b9b0]
xor edx, edx
cmp eax, edx
jne 0x41c296
xor eax, eax
mov byte [eax + 0x49b8b0], al
inc eax
cmp eax, 0x100
jl 0x41c27e
mov dword [0x49b9b0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x49b8b0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41c327
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 0x41c2fa
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 0x41c2c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41c3a0
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 0x41c3f3
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 0x41c3da
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