joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4432da
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [ecx + 8]
test eax, eax
je 0x4432ed
mov eax, dword [ecx + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
ret

Function at 0x4434a5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push esi
push 0x4491b9
push dword [esi + 0xec]
push 0
call fcn.0053bc46
add esp, 0x18
lea ecx, [esi + 8]
xchg dword [ecx], eax
mov ecx, dword [ebp - 4]
lea eax, [esi + 0xc]
xchg dword [eax], ecx
pop esi
leave
ret

Function at 0x4441c7
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x732198]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 4], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x258], ecx
push eax
jne 0x444237
call fcn.0044945e
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x258]
cmp eax, 0xffffffff
mov dword [ecx + 4], eax
jmp 0x444242
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44424b
xor al, al
jmp 0x444329
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00436ca4
mov edx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x258]
mov ecx, dword [edx]
mov dword [edx], eax
lea eax, [ecx - 8]
push eax
call fcn.0044683d
mov edx, dword [ebp - 0x260]
add esp, 0xc
mov ecx, dword [ebp - 0x254]
test edx, edx
je 0x444293
mov eax, ecx
shr eax, 4
and al, 1
mov byte [edx], al
mov edx, dword [ebp - 0x264]
test edx, edx
je 0x4442a5
mov eax, ecx
shr eax, 1
and al, 1
mov byte [edx], al
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x4442b4
and cl, 1
mov byte [eax], cl
test esi, esi
je 0x4442ce
mov ecx, dword [ebp - 0x238]
xor eax, eax
add eax, dword [ebp - 0x234]
mov dword [esi], eax
adc ecx, 0
mov dword [esi + 4], ecx
mov esi, 0x2ac18000
test ebx, ebx
je 0x4442fd
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x23c]
add ecx, esi
push 0
push 0x2710
adc eax, 0xfe624e21
push eax
push ecx
call fcn.0050e790
mov dword [ebx], eax
mov dword [ebx + 4], edx
test edi, edi
je 0x444327
mov ecx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x24c]
add ecx, esi
push 0
push 0x2710
adc eax, 0xfe624e21
push eax
push ecx
call fcn.0050e790
mov dword [edi], eax
mov dword [edi + 4], edx
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050db53
leave
ret 0x1c

Function at 0x444618
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push 0xa
push 0
call fcn.0044945e
mov ecx, dword [ebp + 8]
push eax
call fcn.0044945e
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta al
pop ebp
ret 8
Function at 0x446374
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cddb
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x732198]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
call fcn.004487a1
xor esi, esi
pop ecx
pop ecx
cmp dword [ebp + 0x10], esi
jle 0x4464ae
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x34]
sub eax, esi
mov dword [ebp - 0x24], eax
call fcn.00449748
test al, al
je 0x4464a2
cmp dword [ebp - 0x28], 0
je 0x446461
cmp dword [ebp - 0x2c], 0
je 0x446461
push 0x10
pop ebx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], ebx
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x30]
push 0
push dword [ebp - 0x24]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recvfrom]
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0043f3df
mov ebx, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [edx]
mov eax, dword [eax]
mov dword [ebx], ecx
mov dword [edx], eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff8
push eax
call fcn.0044683d
add esp, 0x10
push dword [ebp - 0x1e]
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp + 0x18]
movzx eax, ax
mov dword [ecx], eax
jmp 0x446478
mov eax, dword [ebp - 0x30]
push 0
push dword [ebp - 0x24]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jle 0x4464a2
mov eax, dword [ebp + 0x14]
mov al, byte [eax]
test al, al
je 0x4464a2
add esi, ecx
test bl, bl
je 0x4464ae
cmp esi, dword [ebp + 0x10]
jl 0x4463cf
jmp 0x4464ae
test esi, esi
jne 0x4464ae
or eax, 0xffffffff
test bl, bl
cmovne esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db53
leave
ret

Function at 0x44a27a
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ecx + 0xd]
test al, al
jne 0x44a29f
mov al, byte [ecx + 0xc]
test al, al
je 0x44a29f
mov eax, dword [ecx + 8]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x44a2a2
or eax, 0xffffffff
pop ebp
ret 8
Function at 0x44a864
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x44a8aa
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44a8aa
lea eax, [ebp + 0xc]
push eax
call fcn.004412ac
pop ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
mov dword [esi + 0x10], edx
mov dword [eax], ecx
lea ecx, [ebp + 0xc]
call fcn.00439887
mov eax, dword [ebp - 4]
pop esi
leave
ret 8

Function at 0x44ace6
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x55cc08
call fcn.0050db8a
push 0x56e26c
push ecx
mov ecx, esp
push dword [ebp + 8]
call fcn.0043867a
lea eax, [ebp + 8]
push eax
call fcn.0043a47c
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0044945e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
call fcn.0044683d
pop ecx
call fcn.0050db64
ret 4
push ebp
mov ebp, esp
mov ecx, dword [0x750b20]
test ecx, ecx
je 0x44acf9
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 4]
pop ebp
jmp 0x4447e8

Function at 0x44af59
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x44af66
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.0043cc64
Function at 0x452058
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x6e4e18
push 0x6e4e1c
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045037a
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.004503ed
mov ecx, dword [ebp + 8]
add esp, 0x18
push dword [ebp - 4]
call fcn.0043875a
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x45445d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebx - 1]
mov dword [ebp + 0xc], edx
sar edi, 1
cmp edx, edi
jge 0x45449e
add ecx, ecx
xor eax, eax
movss xmm0, dword [esi + ecx*4 + 4]
comiss xmm0, dword [esi + ecx*4 + 8]
seta al
xor eax, 1
inc eax
add ecx, eax
mov eax, dword [esi + ecx*4]
mov dword [esi + edx*4], eax
mov edx, ecx
cmp ecx, edi
jl 0x45447a
cmp ecx, edi
jne 0x4544b1
test bl, 1
jne 0x4544b1
mov eax, dword [esi + ebx*4 - 4]
mov dword [esi + edx*4], eax
lea edx, [ebx - 1]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edx
push esi
call fcn.004546eb
add esp, 0x14
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x46ed53
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [eax + 0xc]
mov esi, 0xff00ff
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, 0x100
mov edi, eax
and eax, 0xff00ff
shr edi, 8
and edi, esi
mov ecx, edi
shr ecx, 0x10
sub edx, ecx
mov ecx, dword [ebx]
mov esi, ecx
shr ecx, 8
and esi, 0xff00ff
imul esi, edx
shr esi, 8
and esi, 0xff00ff
add esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
mov edx, 0x100
shr ecx, 8
and ecx, eax
add edi, ecx
mov ecx, esi
mov eax, edi
shr ecx, 8
shr eax, 8
and ecx, 0xff00ff
and eax, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0x10]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec eax
mov dword [ebp + 0x10], eax
test eax, eax
jg 0x46ed6a
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4729c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x14]
push edi
push eax
mov dword [ebp - 0x20], esi
mov ecx, dword [esi + 0x14]
add ecx, 8
call fcn.0047da04
xor edi, edi
xor ebx, ebx
inc edi
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x1c], edi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
jle 0x472af8
mov eax, dword [ebp + 0xc]
dec eax
push 0x10
pop edx
mov dword [ebp - 0x1c], edx
movd xmm1, eax
mov eax, dword [ebp - 0x20]
cvtdq2pd xmm1, xmm1
movsd qword [ebp - 0x30], xmm1
mov ecx, dword [eax + 0x14]
add ecx, edx
movsd xmm0, qword [ecx]
add ecx, 8
mulsd xmm0, xmm1
addsd xmm0, qword [0x56e000]
movsd qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x28]
sub eax, ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.0047da04
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x10], edx
test ecx, ecx
jle 0x472ad7
mov eax, dword [ebp - 4]
mov edi, 0xff00ff
shr eax, 8
and eax, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and eax, edi
mov dword [ebp - 0x24], eax
mov eax, edx
shl eax, 8
cdq
idiv ecx
mov edx, dword [ebp - 8]
mov ecx, esi
and ecx, edi
mov ebx, eax
mov edi, esi
shr edi, 8
and edi, 0xff00ff
sub edx, edi
mov eax, edi
shl eax, 8
imul edx, ebx
add edx, eax
mov eax, dword [ebp - 0x24]
sub eax, ecx
imul eax, ebx
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, eax
mov eax, dword [ebp - 8]
sub eax, edi
and edx, 0xff00ff
imul eax, ebx
mov ebx, dword [ebp - 0xc]
shl edi, 8
add eax, edi
mov edi, 0xff00ff
xor edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + ebx*4], edx
inc ebx
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
cmp edx, ecx
jl 0x472a68
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc edi
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
add edx, 0x10
movsd xmm1, qword [ebp - 0x30]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edx
cmp edi, dword [eax + 0x1c]
jl 0x472a12
mov eax, dword [ebp + 0xc]
cmp ebx, eax
jge 0x472b0d
mov edx, dword [ebp + 8]
sub eax, ebx
mov ecx, eax
mov eax, esi
lea edi, [edx + ebx*4]
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x47386c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x100
mov edx, dword [edi + 0x4c]
cmp edx, 1
mov ebx, dword [edi + 0x1a8]
sete al
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], edx
mov byte [ebx + 0x1c], al
mov eax, 0x2fe
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
cmovne eax, esi
push eax
push 1
push edi
call dword [ecx + 8]
xor esi, esi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
add esp, 0x10
mov dword [ebp - 0x10], esi
cmp dword [edi + 0x64], esi
jle 0x47398e
mov ecx, dword [ebx + esi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 8], 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
jne 0x4738de
mov eax, dword [ebx + 0x18]
add dword [eax + esi*4], 0xff
mov eax, dword [ebx + 0x18]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
lea ebx, [esi*2 - 2]
lea eax, [esi + 0xfe]
mov dword [ebp - 0x18], ebx
cdq
idiv ebx
xor ebx, ebx
mov edx, eax
cmp ebx, edx
jle 0x47392e
imul eax, ecx, 0x1fe
lea edi, [esi + 0xfe]
add edi, eax
add edi, 0x1fe
inc ecx
mov eax, edi
cdq
idiv dword [ebp - 0x18]
mov edx, eax
cmp ebx, edx
jg 0x473918
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x14]
movzx eax, al
movzx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 0xc]
mov byte [ebx + eax], cl
inc ebx
mov ecx, dword [ebp - 4]
cmp ebx, 0xff
jle 0x473906
cmp dword [ebp - 8], 1
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
jne 0x47397b
mov ebx, eax
xor ecx, ecx
inc ecx
lea edx, [ebx - 1]
mov al, byte [ebx]
mov byte [edx], al
mov al, byte [ebx + 0xff]
mov byte [ebx + ecx + 0xff], al
inc ecx
dec edx
cmp ecx, 0xff
jle 0x473960
mov ebx, dword [ebp - 0x1c]
inc esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
cmp esi, dword [edi + 0x64]
jl 0x4738c1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47fff5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0x30]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov eax, dword [eax + 0xc]
mov esi, 0xff00ff
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul ebx, eax
push edi
mov dword [ebp - 8], ecx
add ebx, dword [ecx + 0x34]
cmp dword [ebp + 0x10], 0xff
jge 0x480104
mov dword [ebp + 0xc], edx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047d8f6
mov ecx, 0x100
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
imul edx, dword [ebp + 0x10]
and edi, esi
imul edi, dword [ebp + 0x10]
shr edx, 8
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 0xc], ecx
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
jg 0x48002d
jmp 0x4801c3
mov dword [ebp + 0x10], edx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0047d8f6
mov ecx, 0x100
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0x10]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 0x10], ecx
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
jg 0x480107
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4801ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0x30]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov eax, dword [eax + 0xc]
mov esi, 0xff00ff
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul ebx, eax
push edi
mov dword [ebp - 8], ecx
add ebx, dword [ecx + 0x34]
cmp dword [ebp + 0x10], 0xff
jge 0x4802d9
mov dword [ebp + 0xc], edx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047d935
mov ecx, 0x100
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
imul edx, dword [ebp + 0x10]
and edi, esi
imul edi, dword [ebp + 0x10]
shr edx, 8
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 0xc], ecx
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
jg 0x480202
jmp 0x480398
mov dword [ebp + 0x10], edx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0047d935
mov ecx, 0x100
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0x10]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 0x10], ecx
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
jg 0x4802dc
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x48039f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0x68]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov eax, dword [eax + 0xc]
mov esi, 0xff00ff
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul ebx, eax
push edi
mov dword [ebp - 8], ecx
add ebx, dword [ecx + 0x6c]
cmp dword [ebp + 0x10], 0xff
jge 0x4804ae
mov dword [ebp + 0xc], edx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047d98c
mov ecx, 0x100
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
imul edx, dword [ebp + 0x10]
and edi, esi
imul edi, dword [ebp + 0x10]
shr edx, 8
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 0xc], ecx
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
jg 0x4803d7
jmp 0x48056d
mov dword [ebp + 0x10], edx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0047d98c
mov ecx, 0x100
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0x10]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 0x10], ecx
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
jg 0x4804b1
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x480bfe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
imul eax, dword [ebp + 0x10]
imul ebx, edx
sub edx, dword [edi + 0xc]
mov dword [ebp + 8], edx
sar eax, 8
add ebx, dword [edi + 0x14]
cmp eax, 0xfe
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
jge 0x480d23
mov ecx, dword [edi + 4]
mov eax, edx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
mov esi, dword [edx + eax]
mov edi, esi
shr edi, 8
mov eax, 0xff00ff
and edi, eax
mov edx, dword [ebx]
imul edi, dword [ebp + 0x10]
shr edi, 8
and edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, 0xff00ff
and esi, eax
imul esi, dword [ebp + 0x10]
shr esi, 8
and esi, eax
mov eax, edx
and eax, 0xff00ff
shr edx, 8
imul eax, ecx
shr eax, 8
and eax, 0xff00ff
add esi, eax
mov eax, 0xff00ff
and edx, eax
imul edx, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr edx, 8
and edx, eax
add edi, edx
mov edx, 0x100
mov eax, edi
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp - 8]
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [ebp + 8]
add ebx, dword [ebp - 4]
inc edx
dec eax
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x480c42
jmp 0x480deb
mov esi, 0xff00ff
mov ecx, dword [edi + 4]
mov eax, edx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
mov edx, dword [edx + eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp - 8]
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [ebp + 8]
add ebx, dword [ebp - 4]
inc edx
dec eax
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x480d28
pop edi
pop esi
pop ebx
leave
ret 0xc