joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4844d4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x484576
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x412d30]
call fcn.00403eb8
mov ebx, eax
lea ecx, [ebp - 4]
mov edx, 0x48458c
xor eax, eax
call fcn.00484240
mov edx, dword [ebp - 4]
mov eax, 0x48459c
call fcn.00484068
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
call fcn.0040528c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, ebx
call fcn.00403ee8
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00404e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48457d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404dec
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
or cl, dl
dec edi
sub eax, 0x2d4fca0a
or cl, dl
dec edi
lea ecx, [edx - 0x57d2f156]
cli
aas
insb byte es:[edi], dx
or cl, byte [ecx]
dec edi
sub eax, 0x784fca0a
sub dword [edi], 0xffffffc4
push 0x210a4102
sbb dword [edi + 0x1a37ad5f], 0xca0a6c2e
cmp ch, byte [edx - 0x77]
xor cl, byte [esi + 0x5f]
dec eax
dec ecx
cmpsd dword [esi], dword es:[edi]
sub al, 0x7e
invalid
js 0x415365
das
mov dword [eax], ebp
ljmp 0x9fa2

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

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6dc5fb3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x75417554
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x78e5149e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
lea ebx, [eax + edi + 0x78]
mov eax, dword [ebx]
test eax, eax
je 0x78e5154d
cmp dword [ebx + 4], 0x28
jb 0x78e5154d
lea esi, [eax + edi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x78e5154d
mov edx, dword [esi + 0x20]
cmp edx, eax
jb 0x78e5154d
lea edx, [edx + ecx*4]
mov ecx, dword [ebx + 4]
add ecx, eax
cmp ecx, edx
jb 0x78e5154d
mov eax, dword [esi + 0x20]
and dword [ebp + 8], 0
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
add eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24]
add eax, edi
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
jbe 0x78e5154d
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx]
cmp ecx, dword [eax]
ja 0x78e51542
mov eax, dword [eax]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
call dword [0x79bf282c]
mov edx, dword [ebx]
mov ecx, dword [ebp - 8]
add edx, dword [ebx + 4]
lea eax, [eax + ecx + 1]
cmp eax, edx
ja 0x78e51542
push dword [ebp + 0xc]
lea eax, [ecx + edi]
push eax
call dword [0x79bf2828]
test eax, eax
je 0x78e51554
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x78e51504
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
cmp dword [esi + 0x14], ecx
jbe 0x78e5154d
mov esi, dword [esi + 0x1c]
mov eax, dword [ebx]
cmp esi, eax
jb 0x78e5154d
lea edx, [esi + ecx*4 + 4]
mov esi, dword [ebx + 4]
add esi, eax
cmp esi, edx
jb 0x78e5154d
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x78e5154f

Function at 0x78e52460
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
push esi
cmp bl, 0xd8
je 0x78e52491
cmp bl, 0xd7
je 0x78e52491
mov esi, dword [esp + 0x14]
lea ecx, [eax + 1]
test esi, esi
jle 0x78e524b9
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x78e52483
pop esi
pop ebx
ret
mov esi, dword [esp + 0x10]
push esi
inc eax
push eax
call fcn.78e524de
cmp bl, 0xd8
jne 0x78e524b9
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x78e524b9
lea esp, [esp]
xor byte [eax + esi], 0xf0
inc eax
cmp eax, ecx
jl 0x78e524b0
pop esi
pop ebx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x27df54c8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x46f93114
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401280
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x475010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov edx, 1
nop dword [eax]
mov al, dl
mov dword [ebp + esi*4 - 0x804], edx
add al, al
mov dword [ebp + edx*4 - 0x404], esi
movzx ecx, al
movzx eax, dl
and dl, 0x80
xor ecx, eax
movzx eax, dl
neg eax
sbb eax, eax
inc esi
and eax, 0x1b
xor ecx, eax
mov edx, ecx
cmp esi, 0x100
jl 0x4012a0
mov edx, 1
mov esi, 0x477be0
nop
mov eax, edx
mov dword [esi], edx
and al, 0x80
movzx ecx, al
neg ecx
sbb ecx, ecx
add dl, dl
and ecx, 0x1b
movzx edx, dl
add esi, 4
xor edx, ecx
cmp esi, 0x477c08
jl 0x4012e0
mov ecx, 1
mov byte [0x4759e0], 0x63
mov byte [0x476b43], 0
mov dword [ebp - 0x808], ecx
nop dword [eax + eax]
mov ecx, dword [ebp + ecx*4 - 0x404]
lea eax, [ebp - 0x408]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx ecx, cl
mov al, cl
xor ebx, ecx
add al, al
shr ecx, 7
movzx edx, al
or edx, ecx
xor ebx, edx
mov al, dl
add al, al
mov dword [ebp - 0x80c], ebx
movzx ebx, al
shr edx, 7
or ebx, edx
mov al, bl
add al, al
movzx ecx, al
mov eax, ebx
shr eax, 7
or ecx, eax
mov eax, dword [ebp - 0x80c]
xor ecx, 0x63
xor ecx, ebx
xor eax, ecx
mov ecx, dword [ebp - 0x808]
mov byte [ecx + 0x4759e0], al
mov byte [eax + 0x476ae0], cl
inc ecx
mov dword [ebp - 0x808], ecx
cmp ecx, 0x100
jl 0x401320
mov ebx, 0xff
xor edi, edi
mov dword [ebp - 0x80c], ebx
nop dword [eax]
mov cl, byte [edi + 0x4759e0]
movzx esi, cl
mov eax, esi
and al, 0x80
movzx edx, al
neg edx
sbb edx, edx
add cl, cl
movzx eax, cl
and edx, 0x1b
xor edx, eax
movzx ecx, byte [edi + 0x476ae0]
mov eax, edx
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, edx
mov dword [edi*4 + 0x475ae0], eax
rol eax, 8
mov dword [edi*4 + 0x475ee0], eax
rol eax, 8
mov dword [edi*4 + 0x4762e0], eax
rol eax, 8
mov dword [edi*4 + 0x4766e0], eax
test ecx, ecx
je 0x401471
mov ecx, dword [ebp + ecx*4 - 0x404]
mov eax, dword [ebp - 0x3cc]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e0]
add eax, ecx
mov esi, dword [ebp + edx*4 - 0x804]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d0]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x804]
cdq
idiv dword [ebp - 0x80c]
mov eax, dword [ebp + edx*4 - 0x804]
mov dword [ebp - 0x808], eax
mov eax, dword [ebp - 0x3d8]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x804]
jmp 0x40147d
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x808], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 0x808]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, esi
mov dword [edi*4 + 0x476be0], eax
rol eax, 8
mov dword [edi*4 + 0x476fe0], eax
rol eax, 8
mov dword [edi*4 + 0x4773e0], eax
rol eax, 8
mov dword [edi*4 + 0x4777e0], eax
inc edi
cmp edi, 0x100
jl 0x4013b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423606
mov esp, ebp
pop ebp
ret
Function at 0x403a00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 8]
movups xmmword [eax], xmm0
movups xmm2, xmmword [eax]
aeskeygenassist xmm0, xmm2, 1
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movaps xmm3, xmm2
pxor xmm3, xmm1
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 2
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movups xmmword [eax + 0x10], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm2, xmm3
pxor xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm2
movups xmmword [eax + 0x20], xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movaps xmm3, xmm2
pxor xmm3, xmm1
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movups xmmword [eax + 0x30], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm2, xmm3
pxor xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm2
movups xmmword [eax + 0x40], xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movaps xmm3, xmm2
pxor xmm3, xmm1
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movups xmmword [eax + 0x50], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm2, xmm3
pxor xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm0, xmm0, 0xff
movups xmmword [eax + 0x60], xmm2
pxor xmm0, xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movaps xmm3, xmm2
pxor xmm3, xmm1
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movups xmmword [eax + 0x70], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm2, xmm3
pxor xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm2
movups xmmword [eax + 0x80], xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movaps xmm3, xmm2
pxor xmm3, xmm1
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movups xmmword [eax + 0x90], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmm1
pslldq xmm3, 4
pxor xmm0, xmm3
movups xmmword [eax + 0xa0], xmm0
pop ebp
ret
Function at 0x404240
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
movups xmm0, xmmword [ecx]
mov ecx, dword [edx]
dec ecx
pxor xmm0, xmmword [eax]
add eax, 0x10
cmp dword [ebp + 0xc], 0
jne 0x40427f
test ecx, ecx
je 0x404270
aesdec xmm0, xmmword [eax]
add eax, 0x10
sub ecx, 1
jne 0x404263
aesdeclast xmm0, xmmword [eax]
mov eax, dword [ebp + 0x14]
movups xmmword [eax], xmm0
xor eax, eax
pop ebp
ret
test ecx, ecx
je 0x404290
aesenc xmm0, xmmword [eax]
add eax, 0x10
sub ecx, 1
jne 0x404283
aesenclast xmm0, xmmword [eax]
mov eax, dword [ebp + 0x14]
movups xmmword [eax], xmm0
xor eax, eax
pop ebp
ret

Function at 0x404480
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
shl eax, 4
add eax, edx
movups xmm0, xmmword [eax]
sub eax, 0x10
movups xmmword [ecx], xmm0
add ecx, 0x10
cmp eax, edx
jbe 0x4044b3
aesimc xmm0, xmmword [eax]
sub eax, 0x10
movups xmmword [ecx], xmm0
lea ecx, [ecx + 0x10]
cmp eax, edx
ja 0x4044a1
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
pop ebp
ret
Function at 0x405a10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x18]
sub esp, 0xc
test ecx, ecx
jne 0x405a28
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 0xaaaaaaab
mul ecx
xor eax, eax
shr edx, 1
push edi
lea edi, [edx + edx*2]
cmp ecx, edi
setne al
add eax, edx
cmp eax, 0x3fffffff
jbe 0x405a58
mov eax, dword [ebp + 0x10]
pop edi
mov dword [eax], 0xffffffff
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret
lea edx, [eax*4 + 1]
cmp dword [ebp + 0xc], edx
jb 0x405b9b
mov eax, dword [ebp + 8]
test eax, eax
je 0x405b9b
push ebx
xor edx, edx
push esi
mov esi, eax
test edi, edi
je 0x405b15
lea ecx, [edi - 1]
mov eax, 0xaaaaaaab
mov edi, dword [ebp + 0x14]
mul ecx
mov eax, edx
shr eax, 1
inc eax
mov dword [ebp - 8], eax
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
nop dword [eax]
mov al, byte [edi + 2]
mov bl, byte [edi]
mov bh, byte [edi + 1]
add edi, 3
mov byte [ebp - 1], al
mov al, bl
shr al, 2
movzx eax, al
push eax
call fcn.0040cfc0
mov byte [esi], al
mov al, bh
shr al, 4
shl bl, 4
add bl, al
and bl, 0x3f
movzx eax, bl
push eax
call fcn.0040cfc0
mov bl, byte [ebp - 1]
mov byte [esi + 1], al
mov al, bl
shr al, 6
shl bh, 2
add al, bh
and al, 0x3f
movzx eax, al
push eax
call fcn.0040cfc0
mov byte [esi + 2], al
and bl, 0x3f
movzx eax, bl
push eax
call fcn.0040cfc0
mov byte [esi + 3], al
add esp, 0x10
add esi, 4
sub dword [ebp - 8], 1
jne 0x405aa0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
jmp 0x405b18
mov edi, dword [ebp + 0x14]
cmp edx, ecx
jae 0x405b85
mov al, byte [edi]
inc edx
mov byte [ebp - 1], al
mov dword [ebp - 0xc], edx
cmp edx, ecx
jae 0x405b2f
movzx ebx, byte [edi + 1]
jmp 0x405b31
xor ebx, ebx
shr al, 2
movzx eax, al
push eax
call fcn.0040cfc0
mov cl, byte [ebp - 1]
mov byte [esi], al
mov eax, ebx
shr eax, 4
shl cl, 4
add al, cl
and al, 0x3f
movzx eax, al
push eax
call fcn.0040cfc0
mov byte [esi + 1], al
add esp, 8
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x18]
jae 0x405b79
and bl, 0xf
shl bl, 2
movzx eax, bl
push eax
call fcn.0040cfc0
add esp, 4
jmp 0x405b7b
mov al, 0x3d
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
add esi, 4
mov eax, dword [ebp + 0x10]
mov ecx, esi
sub ecx, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
mov byte [esi], 0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
mov dword [eax], edx
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret
Function at 0x40d060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov byte [ebp - 1], 0
test esi, esi
je 0x40d097
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
sub edi, edx
nop dword [eax]
mov al, byte [edi + edx]
lea edx, [edx + 1]
mov cl, byte [edx - 1]
xor cl, al
or cl, byte [ebp - 1]
mov byte [ebp - 1], cl
sub esi, 1
jne 0x40d080
pop edi
movzx eax, byte [ebp - 1]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
mov eax, dword [edx + 4]
push edi
mov edi, dword [ebp + 0xc]
cmp eax, dword [edi + 4]
je 0x40d2cf
mov eax, 0xfffffffc
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push ebx
mov ebx, dword [edx]
sar eax, 1
sar ebx, 1
and eax, 1
and ebx, 1
push esi
mov esi, dword [ebp + 0x10]
xor eax, ebx
mov ecx, eax
and ecx, ebx
mov dword [esi], ecx
mov esi, dword [edx + 4]
mov dword [ebp - 4], esi
test esi, esi
je 0x40d38a
mov ecx, 1
sub ecx, ebx
mov dword [ebp - 8], ecx
mov ecx, dword [edx + 8]
mov esi, dword [ecx + esi*4 - 4]
mov ecx, dword [edi + 8]
mov edi, dword [ebp - 4]
mov edi, dword [ecx + edi*4 - 4]
mov edx, edi
xor edx, esi
sub edi, esi
mov ecx, edx
and edx, esi
not ecx
and edi, ecx
mov ecx, 1
or edi, edx
sub ecx, eax
mov edx, dword [ebp + 0x10]
shr edi, 0x1f
and ecx, edi
or eax, edi
and ecx, ebx
or dword [edx], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
mov esi, dword [ecx + edx*4 - 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edi, dword [ecx + edx*4 - 4]
mov edx, edi
xor edx, esi
sub edi, esi
mov ecx, edx
and edx, esi
mov esi, dword [ebp - 4]
not ecx
and edi, ecx
mov ecx, 1
or edi, edx
sub ecx, eax
mov edx, dword [ebp + 0x10]
and ecx, dword [ebp - 8]
shr edi, 0x1f
and ecx, edi
or eax, edi
or dword [edx], ecx
sub esi, 1
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], esi
jne 0x40d302
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40d4f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x475010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x320], edi
cmp ebx, 0x180
jbe 0x40d533
pop edi
pop esi
mov eax, 0xffffffc8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423606
mov esp, ebp
pop ebp
ret
push 0x1a0
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00424dd0
lea eax, [ebp - 0x31c]
push eax
call fcn.00401a60
mov eax, ebx
mov byte [ebp - 0x1f1], bl
shr eax, 0x18
mov byte [ebp - 0x1f4], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x1f3], al
mov eax, ebx
shr eax, 8
push ebx
mov byte [ebp - 0x1f2], al
lea eax, [ebp - 0x1ec]
push esi
push eax
mov byte [ebp - 0x1ed], 0x30
call fcn.00424f30
lea esi, [ebx + 0x19]
mov byte [ebp + ebx - 0x1ec], 0x80
add esp, 0x1c
mov dword [ebp - 0x328], esi
xor eax, eax
mov byte [ebp + eax - 0x64], al
inc eax
cmp eax, 0x20
jl 0x40d5a4
push pe_nt_image_headers32
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00401cf0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x40d6cb
mov dword [ebp - 0x324], eax
lea ebx, [eax + 0x10]
nop dword [eax]
xorps xmm0, xmm0
mov edi, esi
movups xmmword [ebp - 0x14], xmm0
test esi, esi
je 0x40d654
lea esi, [ebp - 0x204]
lea eax, [ebp - 0x14]
sub esi, eax
xor eax, eax
nop word [eax + eax]
lea edx, [ebp - 0x14]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor byte [edx], cl
cmp eax, 0x10
jl 0x40d600
add esi, 0x10
mov eax, edi
cmp edi, 0x10
cmovae eax, ebx
sub edi, eax
lea eax, [ebp - 0x14]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.00401970
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x40d6c5
lea ebx, [eax + 0x10]
test edi, edi
jne 0x40d5f8
movups xmm0, xmmword [ebp - 0x14]
mov eax, dword [ebp - 0x324]
mov esi, dword [ebp - 0x328]
inc byte [ebp - 0x201]
movups xmmword [ebp + eax - 0x44], xmm0
add eax, 0x10
mov dword [ebp - 0x324], eax
cmp eax, 0x30
jl 0x40d5e0
push pe_nt_image_headers32
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00401cf0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x40d6c5
mov esi, dword [ebp - 0x320]
xor edi, edi
lea eax, [ebp - 0x24]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.00401970
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x40d6c5
movups xmm0, xmmword [ebp - 0x24]
add edi, 0x10
movups xmmword [esi], xmm0
add esi, 0x10
cmp edi, 0x30
jl 0x40d697
mov edi, dword [ebp - 0x320]
lea eax, [ebp - 0x31c]
push eax
call fcn.00401a40
lea eax, [ebp - 0x204]
push 0x1a0
push eax
call fcn.0041ac10
lea eax, [ebp - 0x44]
push 0x30
push eax
call fcn.0041ac10
lea eax, [ebp - 0x64]
push 0x20
push eax
call fcn.0041ac10
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0041ac10
add esp, 0x24
test ebx, ebx
je 0x40d71b
push 0x30
push edi
call fcn.0041ac10
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423606
mov esp, ebp
pop ebp
ret
Function at 0x40d730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x475010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [ebp - 0x34]
mov dword [ebp - 0x38], eax
push 0x30
mov eax, esi
mov dword [ebp - 0x3c], esi
push 0
push eax
call fcn.00424dd0
mov edx, dword [ebp - 0x38]
mov edi, 1
add esp, 0xc
xor ebx, ebx
sub edi, edx
lea ecx, [edx + 0x20]
lea eax, [edx + 0xf]
mov dword [ebp - 0x40], ecx
add byte [eax], 1
jne 0x40d780
dec eax
lea ecx, [edi + eax]
test ecx, ecx
jg 0x40d773
push esi
push edx
lea ecx, [edx + 0x20]
push 1
push ecx
call fcn.00401970
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x40d7f7
mov esi, dword [ebp - 0x3c]
add ebx, 0x10
mov edx, dword [ebp - 0x38]
add esi, 0x10
mov dword [ebp - 0x3c], esi
lea eax, [edx + 0xf]
cmp ebx, 0x30
jl 0x40d773
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
xor ecx, ecx
sub edx, eax
lea eax, [ebp - 0x34]
add eax, ecx
add ecx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [edx + eax]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp ecx, 0x30
jl 0x40d7b7
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x34]
push pe_nt_image_headers32
push eax
push ecx
call fcn.00401cf0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40d7f7
mov eax, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x34]
push 0x30
push eax
call fcn.0041ac10
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00423606
mov esp, ebp
pop ebp
ret