joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4539d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x100
mov edx, dword [esi + 0x4c]
cmp edx, 1
mov ebx, dword [esi + 0x1b8]
sete al
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edx
mov byte [ebx + 0x1c], al
mov eax, 0x2fe
push dword [esi + 0x64]
mov ecx, dword [esi + 4]
cmovne eax, edi
push eax
push 1
push esi
mov eax, dword [ecx + 8]
call eax
mov dword [ebx + 0x18], eax
xor edi, edi
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp dword [esi + 0x64], edi
jle 0x453ae3
mov ecx, dword [ebx + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x453a41
mov eax, dword [ebx + 0x18]
add dword [eax + edi*4], 0xff
mov eax, dword [ebx + 0x18]
xor ebx, ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 8], eax
lea eax, [ecx - 1]
push eax
push ebx
push edi
push esi
call fcn.00453d70
add esp, 0x10
mov edx, eax
xor esi, esi
nop
cmp esi, edx
jle 0x453a7d
mov eax, dword [ebp - 0x10]
inc ebx
dec eax
push eax
push ebx
push edi
push dword [ebp + 8]
call fcn.00453d70
mov edx, eax
add esp, 0x10
cmp esi, edx
jg 0x453a64
mov ecx, dword [ebp - 0xc]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 8]
mov byte [esi + eax], cl
inc esi
cmp esi, 0xff
jle 0x453a60
cmp dword [ebp - 4], 1
jne 0x453ad0
mov ebx, eax
mov ecx, 1
lea edx, [ebx - 1]
nop dword [eax + eax]
movzx eax, byte [ebx]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebx + 0xff]
mov byte [ebx + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x453ab0
mov esi, dword [ebp + 8]
inc edi
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
cmp edi, dword [esi + 0x64]
jl 0x453a24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ac40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x47ac78
cmp dword [ebp + 0xc], 0xf0
jae 0x47ac68
push eax
call fcn.00480780
push 2
call fcn.004806d0
add esp, 8
mov dword [esi], eax
push 0xf0
push 0
push eax
call fcn.00690e10
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x47b730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x47b74a
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x47b74a
push dword [ebp + 0xc]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x47f9a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov cl, byte [eax + 8]
mov byte [ebp - 0x15], cl
cmp cl, 3
je 0x47fb89
push ebx
mov ebx, dword [eax]
xor edx, edx
push edi
movzx edi, byte [eax + 9]
test cl, 2
mov eax, dword [ebp + 0x10]
mov ecx, edi
je 0x47fa03
movzx eax, byte [eax]
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, edi
movzx eax, byte [eax + 1]
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, edi
movzx eax, byte [eax + 2]
sub ecx, eax
mov dword [ebp - 0xc], ecx
lea ecx, [edx + 3]
jmp 0x47fa11
movzx eax, byte [eax + 3]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, 1
test byte [ebp - 0x15], 4
mov dword [ebp - 0x1c], ecx
je 0x47fa2b
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + 4]
sub edi, eax
mov dword [ebp + ecx*4 - 0x14], edi
inc ecx
mov dword [ebp - 0x1c], ecx
xor eax, eax
test ecx, ecx
je case.0x47fa73.3
cmp dword [ebp + eax*4 - 0x14], 0
jg 0x47fa46
mov dword [ebp + eax*4 - 0x14], 0
jmp 0x47fa4b
mov edx, 1
inc eax
cmp eax, ecx
jl 0x47fa35
test dx, dx
je case.0x47fa73.3
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x47fa73.3
movzx eax, byte [eax + 0x47fbac]
jmp dword [eax*4 + 0x47fb98]
mov ecx, dword [edx + 4]
test ecx, ecx
je case.0x47fa73.3
mov al, byte [esi]
lea esi, [esi + 1]
shr al, 1
and al, 0x55
mov byte [esi - 1], al
sub ecx, 1
jne 0x47fa85
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov ebx, 0xf0
mov edx, dword [edx + 4]
mov eax, 0xf
sar ebx, cl
and bl, 0xf0
sar eax, cl
or bl, al
test edx, edx
je case.0x47fa73.3
mov al, byte [esi]
lea esi, [esi + 1]
shr al, cl
mov ecx, dword [ebp - 0x14]
and al, bl
mov byte [esi - 1], al
sub edx, 1
jne 0x47fac8
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
imul ebx, ecx
xor edi, edi
test ebx, ebx
je case.0x47fa73.3
nop word [eax + eax]
mov eax, edi
lea esi, [esi + 1]
xor edx, edx
inc edi
div ecx
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
mov ecx, dword [ebp - 0x1c]
cmp edi, ebx
jb 0x47fb00
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
imul ebx, ecx
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je case.0x47fa73.3
mov edi, 0x100
nop dword [eax]
xor edx, edx
lea esi, [esi + 1]
div ecx
movzx ecx, byte [esi - 1]
lea esi, [esi + 1]
movzx eax, di
mov edi, ecx
imul edi, eax
movzx eax, byte [esi - 1]
movzx ecx, word [ebp + edx*4 - 0x14]
add di, ax
shr di, cl
movzx ecx, di
mov edi, 0x100
mov eax, ecx
mov byte [esi - 1], cl
mov ecx, dword [ebp - 0x1c]
shr eax, 8
mov byte [esi - 2], al
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x24]
jb 0x47fb40
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
Function at 0x48a35c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
push esi
mov esi, dword [ebp + 8]
cmp eax, 9
ja case.0x48a1f3.6
jmp dword [eax*4 + 0x48a3ec]
push esi
call fcn.00489f30
movzx eax, ax
add esp, 4
mov dword [ebp - 8], eax
fild dword [ebp - 8]
pop esi
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
push esi
call fcn.00489f70
add esp, 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
pop esi
addsd xmm0, qword [eax*8 + 0x7768c0]
movsd qword [ebp - 0xc], xmm0
fld qword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
push esi
call fcn.00489f70
push esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x7768c0]
movsd qword [ebp - 0xc], xmm0
call fcn.00489f70
movsd xmm1, qword [ebp - 0xc]
add esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
pop esi
addsd xmm0, qword [eax*8 + 0x7768c0]
divsd xmm1, xmm0
movsd qword [ebp - 0xc], xmm1
fld qword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
push esi
call fcn.00489f30
cwde
add esp, 4
mov dword [ebp - 8], eax
fild dword [ebp - 8]
pop esi
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
push esi
call fcn.00489f70
mov dword [ebp - 8], eax
add esp, 4
fild dword [ebp - 8]
pop esi
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
push esi
call fcn.00489f70
push esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0xc], xmm0
call fcn.00489f70
movsd xmm1, qword [ebp - 0xc]
add esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
pop esi
divsd xmm1, xmm0
movsd qword [ebp - 0xc], xmm1
fld qword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
push esi
call fcn.00489f70
push eax
call fcn.0048f6e0
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x1234
call dword [sym.imp.WS2_32.dll_ntohs]
xor edx, edx
mov ecx, 0x4949
cmp word [esi + 0x6274], cx
mov edi, 0x1234
sete dl
xor ecx, ecx
cmp ax, di
setne cl
xor edx, ecx
lea ebx, [edx*8]
sub ebx, edx
xor edi, edi
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, edi
add esp, 4
xor ecx, ebx
inc edi
mov byte [ebp + ecx - 0xc], al
cmp edi, 8
jl 0x48a394
fld qword [ebp - 0xc]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
mov dword [ebp - 8], eax
add esp, 4
fild dword [ebp - 8]
pop esi
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
Function at 0x48a420
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov ebx, 2
mov dword [ebp - 0x14], edi
push ebx
push ebx
mov eax, dword [edi]
xorps xmm0, xmm0
push ecx
push dword [edi + 4]
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
movsd qword [ebp - 0x24], xmm0
movsd qword [ebp - 0x1c], xmm0
call eax
mov eax, dword [ebp + 0xc]
add esp, 0x10
sub eax, ebx
je 0x48a510
push esi
nop dword [eax + eax]
dec eax
lea esi, [ebp - 0xc]
push 1
mov dword [ebp + 0xc], eax
lea esi, [esi + ebx*2]
mov eax, dword [edi]
push 2
push esi
push dword [edi + 4]
mov eax, dword [eax]
call eax
movzx esi, byte [esi]
xor ebx, 2
add esp, 0x10
movzx edi, byte [ebp + ebx*2 - 0xc]
movzx edx, byte [ebp + ebx*2 - 0xb]
mov eax, edi
shl eax, 8
or edx, eax
mov eax, dword [ebp - 0x10]
movzx ecx, byte [ebp + eax*2 - 0xb]
mov eax, esi
shl eax, 8
or ecx, eax
sub edx, ecx
movzx ecx, byte [ebp + ebx*2 - 0xb]
mov ebx, dword [ebp - 0x10]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp - 0x14]
movd xmm0, edx
movzx eax, byte [ebp + ebx*2 - 0xb]
inc ebx
cvtdq2pd xmm0, xmm0
shl eax, 8
and ebx, 3
or eax, esi
mov dword [ebp - 0x10], ebx
sub ecx, eax
mov eax, dword [ebp + 0xc]
mulsd xmm0, xmm0
addsd xmm0, qword [ebp - 0x24]
movsd qword [ebp - 0x24], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm0
addsd xmm0, qword [ebp - 0x1c]
movsd qword [ebp - 0x1c], xmm0
test eax, eax
jne 0x48a470
pop esi
jmp 0x48a515
movsd xmm0, qword [ebp - 0x1c]
comisd xmm0, xmmword [ebp - 0x24]
mov ecx, 0x4d4d
mov eax, 0x4949
pop edi
pop ebx
cmova eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
Function at 0x495810
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 8]
call eax
push esi
call fcn.00489f70
mov ebx, eax
add esp, 0x10
cmp ebx, 0xff
ja 0x49595e
test ebx, ebx
je 0x495946
push edi
push esi
dec ebx
call fcn.00489f30
push esi
movzx edi, ax
call fcn.00489f30
push dword [esi + 4]
movzx eax, ax
mov dword [ebp + 8], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
add esp, 0xc
mov dword [ebp - 4], eax
cmp edi, 0x100
jne 0x495898
push esi
call fcn.00489f30
push esi
mov word [esi + 0x66b0], ax
call fcn.00489f30
add esp, 8
mov word [esi + 0x66b2], ax
jmp 0x495927
cmp edi, 0x121
jne 0x4958d5
push esi
call fcn.00489f30
push esi
mov word [esi + 0x66b4], ax
call fcn.00489f30
mov ecx, 0x10bc
mov word [esi + 0x66b6], ax
add esp, 8
cmp ax, cx
jne 0x495927
mov eax, 0x10bf
mov word [esi + 0x66b6], ax
jmp 0x495927
cmp edi, 0x130
jne 0x4958f5
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
add esp, 4
sar eax, 7
mov dword [esi + 0x65e4], eax
jmp 0x495927
cmp edi, 0x2ff0
jne 0x495927
xor edi, edi
nop
push esi
call fcn.00489f30
movzx eax, ax
add esp, 4
movd xmm0, eax
mov eax, edi
cvtdq2ps xmm0, xmm0
xor eax, 1
inc edi
movss dword [esi + eax*4 + 0xe774], xmm0
cmp edi, 4
jb 0x495900
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov ecx, dword [esi]
push 0
push eax
push dword [esi + 4]
mov eax, dword [ecx + 8]
call eax
add esp, 0xc
test ebx, ebx
jne 0x495848
pop edi
movzx eax, word [esi + 0x65e4]
mov cx, ax
shl word [esi + 0x66b4], cl
shr word [esi + 0x66b6], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x497360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
movzx eax, word [esi + 0x6274]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push edi
push dword [esi + 4]
mov dword [ebp - 8], 0
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], 0
call eax
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
add esp, 0x10
test eax, eax
jne 0x497569
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
add esp, 4
sub eax, 0x4d
jne 0x497569
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
add esp, 4
sub eax, 0x52
jne 0x497569
mov eax, dword [esi]
push ebx
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
imul eax, eax, 0x101
push esi
mov word [esi + 0x6274], ax
call fcn.00489f70
push dword [esi + 4]
lea ebx, [edi + 8]
add ebx, eax
mov eax, dword [esi]
mov dword [ebp - 4], ebx
mov eax, dword [eax + 0x18]
call eax
add esp, 0xc
mov dword [ebp + 8], eax
cmp eax, ebx
jge 0x49754a
xor edi, edi
lea ebx, [edi + 4]
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
shl edi, 8
add esp, 4
or edi, eax
sub ebx, 1
jne 0x497417
push esi
call fcn.00489f70
add esp, 4
mov dword [ebp - 0x10], eax
cmp edi, 0x505244
je 0x4974f0
cmp edi, 0x545457
je 0x4974d1
cmp edi, 0x574247
jne 0x497519
push esi
call fcn.00489f70
add esp, 4
lea eax, [esi + 0x64c5]
mov ecx, str.DiMAGE_A200
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x497492
test dl, dl
je 0x49748e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x497492
add eax, 2
add ecx, 2
test dl, dl
jne 0x497472
xor eax, eax
jmp 0x497497
sbb eax, eax
or eax, 1
xor ecx, ecx
mov ebx, 3
test eax, eax
cmovne ebx, ecx
xor edi, edi
push esi
call fcn.00489f30
movzx eax, ax
add esp, 4
movd xmm0, eax
mov eax, edi
shr eax, 1
xor eax, edi
inc edi
cvtdq2ps xmm0, xmm0
xor eax, ebx
movss dword [esi + eax*4 + 0xe774], xmm0
cmp edi, 4
jl 0x4974a5
jmp 0x497519
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x18]
call eax
push eax
push esi
call fcn.00498940
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 0x65c0], eax
jmp 0x497519
mov eax, dword [esi]
push 1
push 8
push dword [esi + 4]
mov eax, dword [eax + 8]
call eax
push esi
call fcn.00489f30
movzx eax, ax
push esi
mov dword [ebp - 8], eax
call fcn.00489f30
movzx eax, ax
add esp, 0x14
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
add edx, 8
mov ecx, dword [esi]
add eax, edx
push 0
push eax
push dword [esi + 4]
mov eax, dword [ecx + 8]
call eax
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x18]
call eax
add esp, 0x10
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 4]
jl 0x497412
mov eax, dword [ebp - 8]
mov word [esi + 0x66b0], ax
mov eax, dword [ebp - 0xc]
mov word [esi + 0x66b2], ax
mov eax, dword [ebp - 0x14]
mov word [esi + 0x6274], ax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49fed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push ebx
push esi
push edi
je 0x49ffa7
mov eax, dword [ebp + 0x14]
xor ecx, ecx
xor esi, esi
lea edx, [ecx + 4]
nop word [eax + eax]
imul eax, eax, 0x2e90edd
inc ecx
inc eax
mov dword [esi + 0x7a7170], eax
mov esi, edx
add edx, 4
cmp ecx, 4
jb 0x49fef0
mov eax, dword [0x7a717c]
mov esi, 4
mov dword [0x7a7370], ecx
add eax, eax
mov ecx, dword [0x7a7178]
mov edx, 0x10
xor ecx, dword [0x7a7170]
shr ecx, 0x1f
lea edi, [esi + 0x10]
or ecx, eax
mov dword [0x7a717c], ecx
nop dword [eax]
mov ecx, dword [edx + 0x7a7160]
inc esi
xor ecx, dword [edx + 0x7a7168]
mov eax, dword [edx + 0x7a7164]
add ecx, ecx
xor eax, dword [edx + 0x7a716c]
shr eax, 0x1f
or ecx, eax
mov dword [edx + 0x7a7170], ecx
mov edx, edi
add edi, 4
cmp esi, 0x7f
jb 0x49ff40
mov esi, dword [sym.imp.WS2_32.dll_htonl]
xor eax, eax
mov dword [0x7a7370], 0
push dword [eax*4 + 0x7a7170]
call esi
mov ecx, dword [0x7a7370]
mov dword [ecx*4 + 0x7a7170], eax
lea eax, [ecx + 1]
mov dword [0x7a7370], eax
cmp eax, 0x7f
jb 0x49ff82
jmp 0x49ffac
mov eax, dword [0x7a7370]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x49ffee
mov edi, dword [ebp + 8]
lea esi, [eax + 1]
lea edx, [eax - 0x3f]
mov ecx, esi
and edx, 0x7f
lea edi, [edi + 4]
and ecx, 0x7f
and eax, 0x7f
mov edx, dword [edx*4 + 0x7a7170]
xor edx, dword [ecx*4 + 0x7a7170]
xor dword [edi - 4], edx
mov dword [eax*4 + 0x7a7170], edx
mov eax, esi
sub ebx, 1
jne 0x49ffb6
mov dword [0x7a7370], eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4c71e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.KCABISABPILCNOLCIFEDRDHDCSIDLDNEMARFTADIDNEIRDHIGNJIGNPIAADJTADJRDHJAAdJPOOLNGAMDNEMRDHMEVOMTSAPETLPTLPPMORPEVASKEESWOHSMRETDGKbMRHcTNveAMAgPCCitXTiDEEnBGRstXEt]
movups xmmword [ebp - 0xb0], xmm0
push ebx
movaps xmm0, xmmword [0x6f7a50]
xor bl, bl
movups xmmword [ebp - 0xa0], xmm0
push esi
movaps xmm0, xmmword [0x6f7a60]
mov esi, dword [ebp + 0xc]
movups xmmword [ebp - 0x90], xmm0
push edi
movaps xmm0, xmmword [0x6f7a70]
mov edi, dword [ebp + 8]
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x10], 0x74494d45
movaps xmm0, xmmword [0x6f7a80]
mov eax, dword [edi + 0xcc]
mov dword [ebp - 0xc], 0x74524e53
mov dword [ebp - 8], 0x7a545874
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x6f7a90]
movups xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [0x6f7aa0]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x6f7ab0]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x6f7ac0]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x6f7ad0]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x4c72a5
push esi
push edi
call eax
mov bl, al
add esp, 8
test bl, bl
jne 0x4c73ee
push esi
call fcn.004c74f0
mov edx, eax
add esp, 4
sub edx, esi
cmp edx, 4
jne 0x4c7313
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
add ecx, eax
xor esi, esi
mov eax, 0x15
lea edx, [esi + 0x2a]
nop
cmp dword [ebp + eax*4 - 0xb0], ecx
jge 0x4c72ee
lea esi, [eax + 1]
jmp 0x4c72f7
jle 0x4c73ec
lea edx, [eax - 1]
lea eax, [edx + esi]
sar eax, 1
cmp esi, edx
jle 0x4c72e0
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
cmp edx, 8
jne 0x4c7372
cmp byte [esi], 0x64
jne 0x4c73ac
cmp byte [esi + 1], 0x72
jne 0x4c73ee
cmp byte [esi + 2], 0x61
jne 0x4c73ee
cmp byte [esi + 3], 0x66
jne 0x4c73ee
cmp byte [esi + 4], 0x74
jne 0x4c73ee
cmp byte [esi + 5], 0x20
jne 0x4c73ee
movzx eax, byte [esi + 6]
lea ecx, [eax + eax*4]
movzx eax, byte [esi + 7]
lea eax, [eax + ecx*2]
add eax, 0xfffffdf0
cmp eax, 0x63
setbe bl
jbe 0x4c73ee
cmp edx, 7
jne 0x4c73a7
cmp byte [esi], 0x4d
jne 0x4c73ee
cmp byte [esi + 1], 0x4e
jne 0x4c73ee
cmp byte [esi + 2], 0x47
jne 0x4c73ee
cmp byte [esi + 3], 0x2d
jne 0x4c73ee
cmp byte [esi + 4], 0x31
jne 0x4c73ee
cmp byte [esi + 5], 0x2e
jne 0x4c73ee
mov al, byte [esi + 6]
cmp al, 0x30
je 0x4c73ec
cmp al, 0x31
jne 0x4c73ee
jmp 0x4c73ec
cmp edx, 8
jne 0x4c73ee
cmp byte [esi], 0x43
jne 0x4c73ee
cmp byte [esi + 1], 0x41
jne 0x4c73ee
cmp byte [esi + 2], 0x43
jne 0x4c73ee
cmp byte [esi + 3], 0x48
jne 0x4c73ee
cmp byte [esi + 4], 0x45
jne 0x4c73ee
cmp byte [esi + 5], 0x4f
jne 0x4c73ee
cmp byte [esi + 6], 0x46
jne 0x4c73ee
cmp byte [esi + 7], 0x46
jne 0x4c73ee
cmp dword [edi + 0x2b8], 0
jne 0x4c73ee
mov byte [edi + 0x72], 0
mov byte [edi + 0x70], 0
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
Function at 0x4c7510
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea ebx, [edi + 0xa48]
mov ecx, esi
lea ebx, [ebx + 4]
shr ecx, 1
mov eax, esi
mov edx, ecx
xor edx, 0xedb88320
test al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
inc esi
mov dword [ebx - 4], eax
cmp esi, 0x100
jl 0x4c7521
mov byte [edi + 0xe48], 1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4d0c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0xe48], 0
jne 0x4d0cad
push edi
call fcn.004c7510
add esp, 4
mov edx, dword [ebp + 0x14]
xor ecx, ecx
test edx, edx
jle 0x4d0cd9
push ebx
mov ebx, dword [ebp + 0x10]
nop word [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [edi + eax*4 + 0xa48]
cmp ecx, edx
jl 0x4d0cc0
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4ddb00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
mov ebx, 0x7a916c
nop word [eax + eax]
mov ecx, 1
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
jne 0x4ddb10
push dword [0x7a9174]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
jne 0x4ddb3d
cmp dword [0x7a8bd8], eax
je 0x4ddc65
push dword [0x7a9174]
call esi
test eax, eax
jne 0x4ddb68
cmp dword [0x7a8bd8], eax
jne 0x4ddb68
push 0x307
push str.C:DeveloperVisual_Package_vcpkg_buildtreesjasper_src5eb260a2e4_ca02e25be6.clean_srclibjasper_basejas_init.c
push str.jas_get_default_ctx__
call fcn.006adcf2
add esp, 0xc
push dword [0x7a9170]
call esi
test eax, eax
jne 0x4ddba7
cmp dword [0x7a8bd8], eax
jne 0x4ddba7
push 0x397
push str.C:DeveloperVisual_Package_vcpkg_buildtreesjasper_src5eb260a2e4_ca02e25be6.clean_srclibjasper_basejas_init.c
push 0x6f8818
call fcn.006adcf2
push 0x308
push str.C:DeveloperVisual_Package_vcpkg_buildtreesjasper_src5eb260a2e4_ca02e25be6.clean_srclibjasper_basejas_init.c
push str.jas_get_ctx__
call fcn.006adcf2
add esp, 0x18
push edi
push dword [0x7a9170]
call esi
mov edi, eax
test edi, edi
jne 0x4ddbd7
mov edi, dword [0x7a8bd8]
test edi, edi
jne 0x4ddbd7
push 0x397
push str.C:DeveloperVisual_Package_vcpkg_buildtreesjasper_src5eb260a2e4_ca02e25be6.clean_srclibjasper_basejas_init.c
push 0x6f8818
call fcn.006adcf2
add esp, 0xc
push dword [0x7a9174]
call esi
test eax, eax
cmove eax, dword [0x7a8bd8]
cmp edi, eax
je 0x4ddc03
push 0x30b
push str.C:DeveloperVisual_Package_vcpkg_buildtreesjasper_src5eb260a2e4_ca02e25be6.clean_srclibjasper_basejas_init.c
push str.jas_get_ctx____jas_get_default_ctx__
call fcn.006adcf2
add esp, 0xc
push dword [0x7a9174]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, eax
push 0
push dword [0x7a9174]
test esi, esi
cmove esi, dword [0x7a8bd8]
call edi
test eax, eax
je 0x4ddc77
push 0
push dword [0x7a9170]
call edi
test eax, eax
jne 0x4ddc3f
push 0x3b7
jmp 0x4ddc7c
lea eax, [esi + 8]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.004e33a0
push esi
call fcn.004e5580
dec dword [0x7a8bd4]
add esp, 0xc
xor eax, eax
xchg dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
ret
push str.FATAL_ERROR:_jas_cleanup_thread_called_before_JasPer_thread_initialized_n
call fcn.004f70b0
add esp, 4
call fcn.006ad580
push 0x3dc
push str.C:DeveloperVisual_Package_vcpkg_buildtreesjasper_src5eb260a2e4_ca02e25be6.clean_srclibjasper_basejas_init.c
push 0x776090
call fcn.006adcf2
add esp, 0xc
call fcn.006ad580
int3