joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401cc0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x28]
mov eax, 0xffffffff
test ebp, ebp
je 0x401e0b
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x401e0b
cmp dword [esp + 0x30], 0
je 0x401e0b
push edi
call fcn.004082d0
add esp, 4
mov dword [esp], eax
mov ebx, 0x1505
test eax, eax
je 0x401d2e
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edi + eax]
test ecx, ecx
je 0x401d2e
mov edx, ebx
shl edx, 5
mov esi, edx
and esi, ebx
xor edx, ebx
add edx, ecx
lea ebx, [edx + esi*2]
inc eax
cmp dword [esp], eax
jne 0x401d10
mov esi, dword [ebp + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x401d91
mov ebp, 0xffffffff
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
jae 0x401df5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebx
inc dword [esi + 0x18]
mov eax, dword [esi]
mov dword [edx], eax
xor eax, eax
jmp 0x401e0b
and edi, ebx
mov eax, dword [ebp + 4]
mov dword [esp + 4], eax
jmp 0x401da4
inc edi
dec esi
je 0x401d3f
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x401d44
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
cmp dword [ecx + eax*4], ebx
jne 0x401da0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.004082d0
add esp, 4
cmp eax, dword [esp]
jne 0x401da0
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.004082f0
add esp, 0xc
test eax, eax
jne 0x401da0
mov eax, 0xffffffff
jmp 0x401e0b
mov ecx, esi
call fcn.00401ed0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x2c]
je 0x401e13
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push ecx
call fcn.004082d0
add esp, 4
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x20]
lea edi, [edx - 1]
mov eax, edx
sub eax, 1
mov dword [esp + 8], eax
jae 0x401e3b
mov ebp, 0xffffffff
jmp 0x401d54
and edi, ebx
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
jmp 0x401e54
inc edi
dec edx
je 0x401eb4
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x401eb9
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 8]
cmp dword [ecx + eax*4], ebx
jne 0x401e50
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 4], edx
call fcn.004082d0
mov edx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0xc]
jne 0x401e50
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x34]
call fcn.004082f0
mov edx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x401e50
jmp 0x401d54
mov ebp, 0xffffffff
mov esi, dword [esp + 0x28]
jmp 0x401d54
Function at 0x4025f0
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4027a6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x40279f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ebx, esi
sub ebx, eax
jmp 0x402686
mov eax, dword [esp + 4]
sub eax, dword [esp]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp + 4]
mov ebx, 0x15b0
je 0x40279f
xor edx, edx
cmp ebx, 8
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
jb 0x402708
and ebx, 0x1ff8
mov dword [esp], ebx
xor eax, eax
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
mov eax, ecx
and eax, esi
xor ecx, esi
movzx ebx, byte [ebp + edx + 6]
add ebx, esi
movzx edi, byte [ebp + edx + 7]
add edi, ebx
add ebx, ecx
lea ecx, [ebx + eax*2]
mov ebx, dword [esp + 4]
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, ebx
jb 0x4026a0
add ebp, eax
mov esi, dword [esp + 8]
mov edx, dword [esp]
mov eax, edx
sub eax, ebx
jae 0x40264d
mov dword [esp + 0xc], eax
mov eax, ebx
and eax, 3
mov dword [esp], edx
je 0x40274f
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x402730
mov eax, dword [esp]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402640
jmp 0x40275e
mov eax, edx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402640
mov ebx, dword [esp + 4]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x402770
jmp 0x402640
shl ecx, 0x10
or ecx, edi
jmp 0x4027ab
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408100
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov ebx, dword [edx + 8]
mov esi, 1
cmp ebx, eax
jae 0x40816c
mov edi, edx
cmp dword [esp + 0x18], 0
je 0x40814e
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0x408150
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 2
mov ebp, ebx
or ebx, 2
imul ebx, edx
xor edx, 2
and ebp, 0xfffffffd
imul ebp, edx
add ebx, ebp
cmp ebx, eax
jb 0x408130
jmp 0x408150
mov ebx, eax
push ebx
push dword [edi + 0xc]
push dword [edi]
push dword [ecx + 0x34]
call dword [ecx + 0x30]
add esp, 0x10
test eax, eax
je 0x40816a
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x40816c
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408840
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, dword [esp + 8]
mov dword [0x446f44], edx
mov eax, 0xfffffd92
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
mov edx, ecx
and edx, 0x93f8769a
mov esi, ecx
and esi, 0x6c078965
or ecx, 0x6c078965
imul ecx, esi
xor esi, 0x6c078965
imul esi, edx
add ecx, esi
lea edx, [eax + ecx]
add edx, 0x26f
mov dword [eax*4 + 0x447900], edx
test eax, eax
je 0x4088cf
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
mov edx, ecx
and edx, 0x93f8769a
mov esi, ecx
and esi, 0x6c078965
or ecx, 0x6c078965
imul ecx, esi
xor esi, 0x6c078965
imul esi, edx
add ecx, esi
lea edx, [eax + ecx]
add edx, 0x270
mov dword [eax*4 + 0x447904], edx
add eax, 2
jmp 0x408850
mov dword [0x446f40], 0x270
pop esi
ret
Function at 0x408cc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x408d37
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [ecx + edx*2 + 8]
mov ebx, edx
and ebx, 0x31a
mov ebp, eax
xor ebp, 0x18d
add ebp, ebx
mov ebx, edi
and ebx, 1
neg ebx
and ebx, 0x9908b0df
xor ebx, dword [ecx + ebp*4 + 4]
mov ebp, edi
and esi, 0x80000000
and ebp, 0x7ffffffe
or ebp, esi
shr ebp, 1
xor ebx, ebp
mov dword [ecx + edx*2 + 0x9c4], ebx
mov esi, edi
add edx, 2
inc eax
cmp edx, 0x4e0
jne 0x408ce0
mov eax, 0x270
jmp 0x408d49
cmp eax, 0x4e0
jb 0x408d49
mov esi, ecx
call fcn.00408d90
mov ecx, esi
mov eax, dword [esi]
lea edx, [eax + 1]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
and edx, dword [ecx + 0x1384]
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
mov edx, ecx
and edx, eax
add edx, edx
sub ecx, edx
add ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x408d90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 - 0x630]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4]
xor edi, edx
mov dword [ecx + eax*4 - 0xff4], edi
inc eax
cmp eax, 0x4e1
jne 0x408da0
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 - 0xd50]
xor edi, edx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x408df0
mov edx, SysReAllocString
and edx, dword [ecx + 0x1380]
mov eax, SysReAllocString
and eax, dword [ecx + 4]
or eax, edx
mov edx, eax
shr edx, 1
mov esi, eax
xor esi, 0xfffffffe
or eax, 1
and eax, esi
je 0x408e54
mov eax, 0x9908b0df
xor edx, dword [ecx + 0x634]
xor edx, eax
mov dword [ecx + 0x9c0], edx
mov dword [ecx], 0
pop esi
pop edi
ret
Function at 0x409010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x404
mov dword [esp], ecx
mov esi, dword [esp + 0x418]
movzx eax, word [esi]
lea ebp, [esp + 4]
test ax, ax
je 0x409145
mov edx, 0x1ff
nop
nop
nop
nop
nop
nop
nop
movzx ebx, ax
lea edi, [esi + 2]
cmp bx, 0x7f
ja 0x409060
lea eax, [ebp + 1]
mov byte [ebp], bl
jmp 0x4090f0
cmp ebx, 0x7ff
ja 0x409090
cmp edx, 2
jb 0x409090
mov eax, ebx
shr eax, 6
add al, 0xc0
mov byte [ebp], al
and bl, 0x3f
or bl, 0x80
mov byte [ebp + 1], bl
lea eax, [ebp + 2]
jmp 0x4090f0
mov eax, ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40910a
cmp edx, 4
jb 0x40910a
shl ebx, 0xa
movzx ecx, word [esi + 2]
add esi, 4
lea eax, [ebx + ecx]
add eax, 0xfca02400
mov ebx, eax
shr ebx, 0x12
add bl, 0xf0
mov byte [ebp], bl
mov ebx, eax
shr ebx, 0xc
and bl, 0x3f
or bl, 0x80
mov byte [ebp + 1], bl
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 2], al
mov eax, ecx
or eax, 0x3f
xor ecx, 0xc0
and ecx, eax
add cl, 0x80
lea eax, [ebp + 4]
mov byte [ebp + 3], cl
mov edi, esi
add edx, ebp
sub edx, eax
mov esi, edi
mov ebp, eax
movzx eax, word [esi]
test ax, ax
je 0x409145
test edx, edx
jne 0x409040
jmp 0x409145
movzx eax, ax
cmp eax, 0xdc00
jne 0x409118
mov esi, edi
jmp 0x4090f8
cmp edx, 3
jb 0x409141
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [ebp], al
mov eax, ebx
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 1], al
and bl, 0x3f
or bl, 0x80
lea eax, [ebp + 3]
mov byte [ebp + 2], bl
jmp 0x4090f0
mov eax, ebp
jmp 0x4090f0
mov esi, dword [esp + 0x420]
mov edx, dword [esp + 0x41c]
mov byte [ebp], 0
xor eax, eax
jmp 0x409168
mov byte [esp + eax + 0x204], bl
inc eax
movzx ecx, byte [esp + eax + 4]
mov bl, 0x2f
cmp ecx, 0x5c
je 0x409160
test ecx, ecx
je 0x40917c
mov ebx, ecx
jmp 0x409160
mov byte [esp + eax + 0x204], 0
lea eax, [esp + 0x204]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push esi
push edx
push eax
push ecx
call fcn.004047d0
add esp, 0x28
test eax, eax
setne al
add esp, 0x404
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40b620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0x3c
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x448300]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40b6ce
sar edx, 1
lea edi, [esi + 0x20]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x441ec8]
xor eax, eax
jmp 0x40bc83
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x413840
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + edi + 2], 0
lea edi, [edi + 2]
jne 0x413860
mov esi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x413880
sar edi, 1
sar eax, 1
lea ecx, [edi + eax]
add ecx, 2
test ecx, ecx
jns 0x4138a0
mov eax, 0xffffffff
jmp 0x4138a9
add eax, edi
lea eax, [eax*2 + 4]
push eax
call fcn.004081b0
add esp, 4
movzx ecx, word [esi]
mov ebx, eax
test cx, cx
je 0x4138e1
add esi, 2
mov ebx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x4138d0
mov word [ebx], 0x5c
add ebx, 2
movzx ecx, word [ebp]
test cx, cx
je 0x413911
lea edx, [ebp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x413900
mov word [ebx], 0
lea ecx, [esp + 4]
push 0x60
push 3
push 0x120089
push ecx
mov dword [esp + 0x20], eax
push eax
call fcn.0043c650
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x4426a8]
Function at 0x416940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x188
mov esi, esp
mov ebx, dword [ebp + 0xc]
push eax
sub esp, 8
mov dword [esi + 0x34], esp
sub esp, 0xc
mov dword [esi + 0x28], esp
mov dword [esi + 0x18], 0x7f10792b
mov dword [esi + 0x1c], 0x63f17deb
mov dword [esi + 0x20], 0x676661f2
mov eax, 0x5721d76a
nop
nop
nop
nop
nop
movzx ecx, byte [esi + eax - 0x5721d752]
mov edi, ecx
xor edi, eax
lea edx, [edi + edi]
not edx
add edx, edi
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xee
mov byte [esi + eax - 0x5721d752], cl
inc eax
cmp eax, 0x5721d776
jne 0x416980
mov dword [esi + 0x3c], 0xc356c1a8
mov dword [esi + 0x40], 0xc756c550
mov dword [esi + 0x44], 0xcbe5c992
mov dword [esi + 0x48], 0xcfa2cde3
mov dword [esi + 0x4c], 0xf391f19f
mov dword [esi + 0x50], 0xf79af595
mov dword [esi + 0x54], 0xfb95f990
mov dword [esi + 0x58], 0xff6afd6f
mov dword [esi + 0x5c], 0xe3e2e1ba
mov eax, 0x5b200d0
mov ecx, 0x3a4dff2f
nop
nop
nop
nop
nop
nop
nop
mov edi, ecx
and edi, 0x3248474a
mov edx, eax
and edx, 0x43000b5
or edx, edi
movzx edi, byte [esi + eax - 0x5b20094]
xor edx, edi
lea edi, [edx + edx]
and edi, 0x440087de
xor edi, 0x47008694
xor edx, 0xd04fbca5
add edx, edi
mov edi, edx
xor edi, 0xd404e9f
and edx, 0xf2bfb160
add edx, edx
sub edx, edi
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
add dl, 0x9f
mov byte [esi + eax - 0x5b20094], dl
inc eax
dec ecx
cmp eax, 0x5b200f4
jne 0x416a00
movzx ecx, word [esi + 0x3c]
lea eax, [esi + 0x14e]
test cx, cx
je 0x416a91
lea edx, [esi + 0x3e]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x416a80
mov word [eax], 0
mov edx, dword [ebp + 0x10]
movzx ecx, word [edx]
test cx, cx
je 0x416ac1
add edx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x416ab0
mov word [eax], 0
movzx ecx, word [esi + 0x18]
test cx, cx
je 0x416af1
lea edx, [esi + 0x1a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x416ae0
mov word [eax], 0
mov edi, dword [ebx]
mov dword [esi + 0x3c], 0xbda0a0da
mov byte [esi + 0x40], 0xd8
mov dword [esi + 0x41], 0
xor eax, eax
nop
nop
nop
nop
mov ecx, eax
add cl, 0xcf
xor cl, byte [esi + eax + 0x3c]
add cl, 0xf5
mov byte [esi + eax + 0x3c], cl
inc eax
cmp eax, 9
jne 0x416b10
movzx eax, byte [esi + 0x3c]
test al, al
je 0x416b4b
lea ecx, [esi + 0x3d]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x416b40
mov byte [edi], 0
lea eax, [esi + 0x148]
lea ecx, [esi + 0x38]
lea edx, [esi + 0x14e]
push eax
push ecx
push edx
call fcn.0040b620
add esp, 0xc
movzx eax, al
mov eax, dword [eax*4 + 0x442da4]
mov ecx, 0xbf86962
xor ecx, dword [0x442dac]
add eax, ecx
inc eax
jmp eax
Function at 0x41c250
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [esp + 0x28]
mov eax, 0xfffffffe
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41c260
cmp eax, 0xffffffed
jge 0x41c277
mov eax, 0xffffffff
jmp 0x41c27a
add eax, 0x12
push eax
call fcn.004081b0
add esp, 4
mov esi, eax
mov dword [esp], 0xf741f95c
mov dword [esp + 4], 0xf37bf549
mov dword [esp + 8], 0xcfbcf1bc
mov dword [esp + 0xc], 0xcb74cd70
mov dword [esp + 0x10], 0xc9c8
xor eax, eax
nop
nop
movzx edx, byte [esp + eax]
lea ebx, [eax + 0x6d4e0f56]
mov ebp, 0xa9
sub ebp, eax
and ebp, edx
mov ecx, ebx
xor ecx, edx
and ebx, edx
add ebx, ebp
add ecx, edx
sub ecx, ebx
add ecx, 0xdd79b351
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x14
jb 0x41c2b0
movzx ecx, word [edi]
mov eax, esi
test cx, cx
je 0x41c321
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41c310
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x41c351
lea edx, [esp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41c340
mov word [eax], 0
mov eax, esp
push eax
push esi
call fcn.0043c7e0
add esp, 8
mov edi, eax
mov ebx, dword [esp]
jmp dword [0x443224]
Function at 0x42dda0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
push eax
mov edi, esp
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
xor ebx, ebx
cmp eax, 0
je 0x42df3c
xor eax, eax
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
jmp 0x42dde5
sub esp, 4
mov dword [esp], 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp eax, 0
setne cl
xor ebx, ebx
test cl, 1
jne 0x42de07
jmp 0x42df34
sub esp, 4
mov dword [ebp - 0x30], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
sub esp, 4
mov dword [esp], esi
call fcn.00428a30
add esp, 4
xor ebx, ebx
cmp eax, 0
je 0x42df23
mov dword [ebp - 0x2c], eax
mov ebx, eax
add ebx, 1
sub esp, 4
mov dword [esp], ebx
call fcn.004081b0
sub esp, 8
mov dword [ebp - 0x28], eax
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00428aa0
add esp, 0xc
mov al, byte [edi]
mov byte [ebp - 0x10], al
mov byte [ebp - 0x24], 0xd9
mov byte [ebp - 0x23], 0xb3
mov byte [ebp - 0x22], 0xbd
mov byte [ebp - 0x21], 0xb1
mov byte [ebp - 0x20], 0xc2
mov byte [ebp - 0x1f], 0xb2
mov byte [ebp - 0x1e], 0xc1
mov byte [ebp - 0x1d], 0x4f
mov byte [ebp - 0x1c], 0x40
mov byte [ebp - 0x1b], 9
mov byte [ebp - 0x1a], 0x52
mov byte [ebp - 0x19], 0x51
mov byte [ebp - 0x18], 0x54
mov byte [ebp - 0x17], 0xdb
mov eax, 0xe
mov byte [ebp + eax - 0x24], 0
add eax, 1
cmp eax, 0x13
jne 0x42de9f
xor eax, eax
mov ecx, dword [ebp + 8]
cmp eax, 0x13
jae 0x42def2
movzx edx, byte [ebp + eax - 0x24]
mov ebx, eax
add ebx, 0x79
mov esi, edx
xor esi, 0xffffffff
and ebx, esi
mov esi, 0x86
sub esi, eax
and esi, edx
or ebx, esi
mov ecx, dword [ebp + 8]
add bl, 0xa3
mov byte [ebp + eax - 0x24], bl
mov edx, eax
xor edx, 0x8453f4b7
shl eax, 1
and eax, 0x10
sub eax, edx
add eax, 0x8453f4b8
jmp 0x42deb1
lea eax, [ebp - 0x24]
sub esp, 0xc
mov dword [esp], eax
mov esi, dword [ebp - 0x28]
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], eax
call fcn.004091c0
mov bl, al
and bl, 1
sub esp, 4
mov dword [esp], esi
call fcn.004081c0
add esp, 4
jmp 0x42df23
sub esp, 4
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42df34
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42df3c
and bl, 1
movzx eax, bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4328c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x2c]
xor edx, edx
nop
nop
nop
cmp word [eax + edx], 0
lea edx, [edx + 2]
jne 0x4328d0
mov dword [esp + 4], eax
mov dword [esp + 0x10], edx
lea eax, [edx - 2]
mov dword [esp], eax
mov dword [esp + 8], 0x62626013
mov dword [esp + 0xc], 0
mov eax, 0xa9b4fd97
mov ecx, 0x564b0268
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 0x564b0271]
lea edx, [eax + 1]
mov ebp, edx
and ebp, esi
mov ebx, ebp
and ebx, 2
mov edi, ebp
or ebp, 2
imul ebp, ebx
xor ebx, 2
and edi, 0xffffff9d
imul edi, ebx
add ebp, edi
mov ebx, eax
sub ebx, ebp
lea edi, [ecx + ebp]
xor edi, esi
and ebx, esi
add ebx, ebx
sub ebx, edi
add bl, 8
mov byte [esp + eax + 0x564b0271], bl
dec ecx
mov eax, edx
cmp edx, 0xa9b4fd9f
jne 0x432910
mov esi, dword [esp + 0x10]
cmp esi, 2
je 0x432985
mov ebx, dword [esp + 8]
mov ecx, dword [esp]
mov eax, ecx
sar eax, 1
mov edx, ebx
not edx
test cl, 2
jne 0x43298e
mov ebp, ebx
mov edi, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
jmp 0x4329c2
mov eax, dword [esp + 0x30]
jmp 0x432a2f
dec eax
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx]
add ecx, 2
mov dword [esp + 4], ecx
xor eax, dword [esp + 0x30]
mov ecx, eax
mov edi, edx
and ecx, edx
mov edx, eax
not edx
and edx, ebx
imul edx, ecx
mov ecx, eax
and ecx, ebx
mov ebp, ebx
or eax, ebx
imul eax, ecx
add eax, edx
mov ecx, eax
mov dword [esp + 0x14], edi
cmp esi, 4
mov esi, dword [esp + 4]
mov ebx, dword [esp]
je 0x432a2f
mov edi, ebp
xor edx, edx
mov eax, ecx
mov dword [esp], ebx
nop
nop
nop
nop
nop
mov ebp, esi
movzx esi, word [esi + edx*2]
xor esi, eax
mov eax, esi
mov ebx, dword [esp + 0x14]
and eax, ebx
mov ecx, esi
not ecx
and ecx, edi
imul ecx, eax
mov eax, esi
and eax, edi
or esi, edi
imul esi, eax
add esi, ecx
movzx eax, word [ebp + edx*2 + 2]
xor eax, esi
mov ecx, eax
and ecx, ebx
mov esi, eax
not esi
and esi, edi
imul esi, ecx
mov ecx, eax
and ecx, edi
or eax, edi
imul eax, ecx
add eax, esi
mov esi, ebp
mov ebx, dword [esp]
add edx, 2
cmp ebx, edx
jne 0x4329e0
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret