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

Disassembly:
pop ebp
dec ebx
sub bh, byte [ebp + 0x6bb028c1]
stosd dword es:[edi], eax
xchg edi, eax
invalid
les esp, [0xec9e9e5]
sbb dword [ecx - 0x28], ecx
dec edx
jnp 0x58e58c
mov ebp, 0xe2e0e760
loopne 0x58e535
xor al, 0x9b
sbb cl, byte [edx]
nop
inc esi
xor al, byte [esi*4 + 0x5ae5d160]
xlatb
sbb cl, byte [esi + 0x36]
or al, 0xcc
push 0x8b280100
outsb dx, byte [esi]
fdiv dword [eax]
push cs
outsd dx, dword [esi]
mov ah, 0x8d
movsb byte es:[edi], byte [esi]
jl 0x58e551
and dword [esi - 0x37a60379], edx
sbb al, dl
jmp 0x58e5d3
cmp al, 0x84
fcom st(7)
or al, 0x47
test byte [ebp - 0x54ce7068], ah
pop edx
out 0x85, eax
pop ss
mov edi, 0xc8148585
sbb eax, 0xa6f89926
enter 0xffffffffffffd545, 0x1a
retf 0x7bed
invalid
jnp 0x58e542
fistp word [edx + 0x16]
cdq
dec esp
sub eax, 0x24785bb1
test al, 0x82
outsd dx, dword [esi]
adc eax, 0x66328b88
add dword [eax], esi
salc
sub dword [eax - 0x15], esp
push esi
sbb byte [ebp + 0x68676c25], 0xd5
insb byte es:[edi], dx
pop edi
test al, 0x7e
sub al, 0x97
xchg edi, eax
imul ebx, dword [edi + 0x75], 0x47f14b93
xor byte [esi - 1], bl
or edi, dword [edi]
pop ebp
aas
lds ecx, [esi]
mov eax, dword [0x3977a72c]
ja 0x58e622
xor al, 0xd4
loopne 0x58e5e7
int 0xc1
aas
xor al, 0x34
in eax, 0xd8
fisttp dword [ebp - 0x26a4a37f]
pop es
cmc
lds esi, [esi + 0x553148c4]
xchg edx, eax
push ss
xor eax, 0x2dd40564
xchg ebp, eax
xor byte [ecx - 0x3c], bl
mov byte [ebp + 0x3586ed83], bh
sub al, 0xe4
dec esi
xchg edi, eax
dec eax
xor al, 0x14
or al, 0x68
sub eax, ebx
ret 0xf338
mov dh, 0x31
xchg dword [edi + 0x6af001ea], ecx
pop eax
cmp al, byte [ecx - 0x2a]
outsd dx, dword [esi]
xor esi, ebx
test byte [esi], bh
aad 0x79
push ebp
xor ah, byte [ecx - 0x2f]
clc
into
xchg ebx, eax
aaa
xchg ebp, eax
jns 0x58e6b2
mov es, dx
or ah, byte [ecx - 0x61]
push ecx
or dword [0x4512b5cd], ebx
adc al, byte [ebp - 0x22]
imul esi, dword [ecx - 0x1c], 0xffffffb9
mov esi, 0xb82a5eb5
cdq
clc
hlt
Function at 0x6248dc
Capabilities:
Encode data using xor

Disassembly:
xor byte [ecx - 0x4e30c830], bh
mov eax, dword [0xb67bb281]

Function at 0x658efc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x663480
cmp edx, dword [eax]
je 0x658f1e
add eax, 8
inc ecx
cmp eax, 0x663510
jl 0x658f0f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x663480]
jne 0x65904c
mov eax, dword [0xa66cf0]
cmp eax, 1
je 0x659026
test eax, eax
jne 0x658f4f
cmp dword [0x6612c4], 1
je 0x659026
cmp edx, 0xfc
je 0x65904c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x658f86
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0065a060
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a150
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x658fc9
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a150
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65dc84
push edi
call fcn.0065ab10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0065a060
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a070
lea eax, [ebp - 0xa0]
push 0x65dc64
push eax
call fcn.0065a070
push dword [esi + 0x663484]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a070
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065aa82
add esp, 0x2c
pop edi
jmp 0x65904c
lea eax, [ebp + 8]
lea esi, [esi + 0x663484]
push 0
push eax
push dword [esi]
call fcn.0065a150
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0x112c0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x112c01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x112c007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112c006a
add dl, dl
jne 0x112c0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112c00dc
xor eax, eax
add dl, dl
jne 0x112c0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112c017d
add dl, dl
jne 0x112c00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112c00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112c00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112c00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x112c00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x112c0075
mov eax, 1
add dl, dl
jne 0x112c00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112c00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112c00e1
sub eax, ebx
mov ebx, 1
jne 0x112c0128
mov ecx, 1
add dl, dl
jne 0x112c010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112c0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112c0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112c0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x112c013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112c014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112c0136
cmp eax, 0x7d00
jae 0x112c016d
cmp eax, 0x500
jb 0x112c0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112c0075
cmp eax, 0x7f
ja 0x112c0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112c0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x112c019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x112c0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x4010e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x40b3c0], ecx
inc edx
cmp edx, 0x100
jb 0x4010e2
cmp edx, 0x800
jae 0x4011b9
lea esp, [esp]
mov eax, dword [edx*4 + 0x40afc0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x40b3c0]
inc edx
mov dword [edx*4 + 0x40b3bc], eax
cmp edx, 0x800
jb 0x401190
mov dword [0x40b060], 0x4011e0
call fcn.00404ed0
test eax, eax
jne 0x4011d6
mov dword [0x40b060], 0x401290
ret

Function at 0x401fa0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x402002
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
mov eax, 0x400000
cmp esi, 0x400000
ja 0x401fcf
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x402007
test ecx, ecx
je 0x402000
test esi, esi
ja 0x401fc0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]

Function at 0x402020
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x402082
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
mov eax, 0x400000
cmp esi, 0x400000
ja 0x40204f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x402087
test ecx, ecx
je 0x402080
test esi, esi
ja 0x402040
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]
Function at 0x404c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x404c39
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x404c60
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x404c7d
jmp 0x404c70
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x404c7d
inc edi
cmp edi, edx
jb 0x404c70
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x404d92
cmp ecx, 3
jbe 0x404cb1
xor ebp, ebp
mov cl, byte [edi + 4]
mov dword [esp + 0x1c], eax
test cl, cl
je 0x404ceb
cmp cl, 0xff
je 0x404ceb
and ebp, 3
add ebp, ebp
or ebp, 1
inc eax
jmp 0x404c60
dec ecx
shl ebp, cl
and ebp, 7
je 0x404c96
movzx ecx, byte [ebp + 0x40a110]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x40a108], 0
mov cl, byte [ebx + 4]
je 0x404cd9
test cl, cl
je 0x404cd9
cmp cl, 0xff
jne 0x404c96
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
inc eax
jmp 0x404c60
movzx edx, cl
movzx ecx, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x404d1e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x404d24
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x404d64
movzx esi, byte [ebp + 0x40a110]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x404d49
cmp dl, 0xff
jne 0x404d60
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor edx, ebx
jmp 0x404d10
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x404c60
pop edi
pop esi
pop ebx
cmp ecx, 3
jbe 0x404da5
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
dec ecx
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret
Function at 0x408bbf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b034]
jne 0x408bc9
repz ret
jmp fcn.00409054

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x409a50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48261b
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.004612a7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409ad2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045f1c0
mov eax, dword [eax]
push 0xea1b70
push eax
call fcn.0046cfe4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461532
test bl, bl
je 0x409ad2
push 0xea1b70
lea ecx, [esp + 0xc]
call fcn.004618c2
push 0xea1b7c
lea ecx, [esp + 0xc]
call fcn.004618c2
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 0x409b0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461532
jmp 0x409bd9
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 0x409b92
lea edx, [esp + 0x7c]
push 0xea1b78
push edx
call fcn.0046cfe4
add esp, 8
test eax, eax
je 0x409b92
lea eax, [esp + 0x7c]
push 0xea1b74
push eax
call fcn.0046cfe4
add esp, 8
test eax, eax
je 0x409b92
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 0x409b22
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.00461532
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 0x40a3e0
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 0x40a442
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 0x40a450
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48269b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xeab42c]
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 0x40a588
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a4b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461532
xor eax, eax
jmp 0x40a5ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046166f
push esi
lea ecx, [esp + 0xc]
call fcn.004618fe
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 0x40a5dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040a3e0
test eax, eax
jne 0x40a5dd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040a3e0
test eax, eax
jne 0x40a5dd
lea eax, [esp + 0x14]
push 0xea1b8c
push eax
call fcn.0046e4e3
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a5bc
lea ecx, [esp + 0x14]
push 0xea1b88
push ecx
call fcn.0046e280
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a5bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a5bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046161f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a4ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461532
xor eax, eax
jmp 0x40a5ff
mov byte [esi], 0
push 0xea1b84
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.00461532
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 0x419630
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 0x41969e
cmp si, 0x69
ja 0x41969e
add esi, 0xffd0
cmp si, 0x11
je 0x41966e
push 0x11
call edi
test ax, ax
jge 0x41966e
or esi, 0x2000
cmp si, 0x10
je 0x419683
push 0x10
call edi
test ax, ax
jge 0x419683
or esi, 0x4000
cmp si, 0x12
je 0x419698
push 0x12
call edi
test ax, ax
jge 0x419698
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4196ab
mov esi, 0xbd
jmp 0x41965f
cmp si, 0x6e
jne 0x4196b8
mov esi, 0xbe
jmp 0x41965f
cmp si, 0x6f
jne 0x419659
mov esi, 0xbf
jmp 0x41965f

Function at 0x41adf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xeb9890]
xor edx, edx
cmp eax, edx
jne 0x41ae16
xor eax, eax
mov byte [eax + 0xeb9790], al
inc eax
cmp eax, 0x100
jl 0x41adfe
mov dword [0xeb9890], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xeb9790
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41aea7
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 0x41ae7a
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 0x41ae48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41af20
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 0x41af73
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 0x41af5a
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
Function at 0x421f00
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x422098
cmp ebp, ebx
jle 0x422098
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x421f5e
dec eax
or eax, 0xfffffff8
inc eax
je 0x421f65
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x421f74
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x421f7b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00461273
add esp, 4
cmp eax, ebx
je 0x421f9c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00461273
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42208e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x422075
mov al, byte [edx]
cmp al, 0xc0
jbe 0x422061
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x422056
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x422064
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x422064
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x422000
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x421ff1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret