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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30
call fcn.005e38a0
mov eax, dword [0x6c6e10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
inc eax
push ebx
movzx ebx, byte [eax + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
push esi
mov esi, dword [ecx]
movzx ecx, byte [eax - 1]
push edi
mov edi, edx
movzx edx, byte [eax]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [ebp - 0x2c], eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax + 5]
movzx eax, byte [eax + 6]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xb], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov byte [ebp - 9], cl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
test edi, edi
je 0x4c2e46
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp + 8]
sub ebx, edi
lea ebx, [ebx]
dec dword [ebp - 0x14]
test esi, esi
jne 0x4c2dc6
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004c1cd0
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [ebp - 0xa], al
mov byte [ebp - 0xb], dl
mov edx, dword [ebp - 0x1c]
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [ebp - 0x18]
mov byte [ebp - 9], cl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
xor al, byte [edi]
inc esi
mov byte [ebx + edi], al
inc edi
and esi, 7
cmp dword [ebp - 0x14], 0
jne 0x4c2d70
cmp dword [ebp - 0x18], 0
je 0x4c2e30
mov edi, dword [ebp - 0x30]
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [ebp - 0x2c]
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov byte [eax + 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov edx, dword [ebp - 0x10]
pop edi
mov dword [edx], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
Function at 0x4c4670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30
call fcn.005e38a0
mov eax, dword [0x6c6e10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
inc eax
push ebx
movzx ebx, byte [eax + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
push esi
mov esi, dword [ecx]
movzx ecx, byte [eax - 1]
push edi
mov edi, edx
movzx edx, byte [eax]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [ebp - 0x2c], eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax + 5]
movzx eax, byte [eax + 6]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xb], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov byte [ebp - 9], cl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
test edi, edi
je 0x4c4816
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp + 8]
sub ebx, edi
lea ebx, [ebx]
dec dword [ebp - 0x14]
test esi, esi
jne 0x4c4796
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004c4ed0
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [ebp - 0xa], al
mov byte [ebp - 0xb], dl
mov edx, dword [ebp - 0x1c]
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [ebp - 0x18]
mov byte [ebp - 9], cl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
xor al, byte [edi]
inc esi
mov byte [ebx + edi], al
inc edi
and esi, 7
cmp dword [ebp - 0x14], 0
jne 0x4c4740
cmp dword [ebp - 0x18], 0
je 0x4c4800
mov edi, dword [ebp - 0x30]
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [ebp - 0x2c]
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov byte [eax + 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov edx, dword [ebp - 0x10]
pop edi
mov dword [edx], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
Function at 0x4c7870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c
call fcn.005e38a0
mov eax, dword [0x6c6e10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push ebx
movzx ebx, byte [edi + 5]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
movzx edx, byte [edi + 1]
mov dword [ebp - 0x28], ecx
movzx ecx, byte [edi]
shl edx, 8
or ecx, edx
movzx edx, byte [edi + 2]
push esi
mov esi, dword [eax]
lea eax, [edi + 1]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 2]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax + 3]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 6]
mov dword [ebp - 0x2c], eax
movzx eax, byte [eax + 5]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
shl ebx, 0x10
or edx, ebx
mov byte [ebp - 0xb], al
mov eax, ecx
mov ebx, ecx
mov byte [ebp - 0xc], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 0xa], al
mov byte [ebp - 9], cl
mov ecx, edx
mov eax, edx
mov dword [ebp - 0x20], edx
mov byte [ebp - 8], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], ebx
mov byte [ebp - 7], cl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
je 0x4c7a19
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
sub ecx, eax
mov dword [ebp - 0x10], ecx
lea esp, [esp]
dec dword [ebp - 0x14]
test esi, esi
jne 0x4c799c
mov ecx, dword [ebp - 0x28]
push 1
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00588b40
mov ebx, dword [ebp - 0x24]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x20]
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [ebp - 0xa], cl
mov ecx, eax
mov byte [ebp - 9], dl
mov edx, eax
mov byte [ebp - 8], al
shr ecx, 8
shr eax, 0x18
shr edx, 0x10
add esp, 0xc
inc dword [ebp - 0x1c]
mov byte [ebp - 7], cl
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 5], al
mov eax, dword [ebp + 8]
mov byte [ebp - 0xc], bl
mov byte [ebp - 6], dl
mov dl, byte [ebp + esi - 0xc]
xor dl, byte [eax]
inc esi
mov byte [ecx + eax], dl
inc eax
and esi, 7
cmp dword [ebp - 0x14], 0
mov dword [ebp + 8], eax
jne 0x4c7940
cmp dword [ebp - 0x1c], 0
je 0x4c7a04
mov eax, dword [ebp - 0x2c]
mov byte [edi], bl
mov ecx, ebx
shr ecx, 8
mov byte [eax], cl
mov ecx, dword [ebp - 0x20]
mov edx, ebx
shr edx, 0x10
mov byte [eax + 1], dl
shr ebx, 0x18
mov byte [eax + 2], bl
mov byte [eax + 3], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 4], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 5], dl
shr ecx, 0x18
mov byte [eax + 6], cl
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov dword [ecx], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [edx], esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
Function at 0x4cb050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.005e38a0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, edx
shr ecx, 3
mov dword [ebp - 4], ecx
cmp eax, edx
jb 0x4cb143
jmp 0x4cb083
mov ecx, dword [ebp - 4]
xor esi, esi
test ecx, ecx
je 0x4cb129
lea ecx, [ecx]
movzx eax, byte [edi + 7]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [edi + 6]
mov ebx, edx
cdq
or ecx, eax
movzx eax, byte [edi + 5]
or ebx, edx
shld ebx, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [edi + 4]
or ebx, edx
shld ebx, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [edi + 3]
or ebx, edx
shld ebx, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [edi + 2]
or ebx, edx
shld ebx, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [edi + 1]
or ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
or ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
push ebx
push ecx
add edi, 8
call fcn.004cae30
mov ebx, dword [ebp + 8]
xor dword [ebx + esi*8], eax
xor dword [ebx + esi*8 + 4], edx
inc esi
add esp, 8
cmp esi, dword [ebp - 4]
jb 0x4cb090
mov esi, ebx
call fcn.004cacf0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub eax, ecx
mov dword [ebp + 0xc], eax
cmp eax, ecx
jae 0x4cb080
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cbc00
Capabilities:
Hash data using sha256

Disassembly:
push 0xe8
push 0
push esi
call fcn.005dd9b0
add esp, 0xc
mov dword [esi], 0xf3bcc908
mov dword [esi + 4], 0x6a09e667
mov dword [esi + 8], 0x84caa73b
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0xfe94f82b
mov dword [esi + 0x14], 0x3c6ef372
mov dword [esi + 0x18], 0x5f1d36f1
mov dword [esi + 0x1c], 0xa54ff53a
mov dword [esi + 0x20], 0xade682d1
mov dword [esi + 0x24], 0x510e527f
mov dword [esi + 0x28], 0x2b3e6c1f
mov dword [esi + 0x2c], 0x9b05688c
mov dword [esi + 0x30], 0xfb41bd6b
mov dword [esi + 0x34], 0x1f83d9ab
mov dword [esi + 0x38], 0x137e2179
mov dword [esi + 0x3c], 0x5be0cd19
ret

Function at 0x4cbc80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.004cbc00
mov edx, edi
lea ecx, [edi + 0x18]
lea eax, [esi + 8]
sub edx, esi
mov ebx, 2
jmp 0x4cbca0
mov esi, dword [ecx - 0x18]
mov edi, dword [ecx - 0x14]
xor dword [eax - 8], esi
xor dword [eax - 4], edi
mov esi, dword [edx + eax]
mov edi, dword [edx + eax + 4]
xor dword [eax], esi
xor dword [eax + 4], edi
mov esi, dword [ecx - 8]
mov edi, dword [ecx - 4]
xor dword [eax + 8], esi
xor dword [eax + 0xc], edi
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
xor dword [eax + 0x10], esi
xor dword [eax + 0x14], edi
add eax, 0x20
add ecx, 0x20
dec ebx
jne 0x4cbca0
pop edi
pop esi
pop ebx
ret
Function at 0x4d3810
Capabilities:
Hash data using sha256

Disassembly:
push edi
push 0x74
push 0
push esi
mov edi, ecx
call fcn.005dd9b0
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov eax, dword [edi]
xor dword [esi], eax
mov eax, dword [edi + 4]
xor dword [esi + 4], eax
mov eax, dword [edi + 8]
xor dword [esi + 8], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
xor dword [esi + 0x18], eax
mov edi, dword [edi + 0x1c]
xor dword [esi + 0x1c], edi
add esp, 0xc
pop edi
ret
Function at 0x545810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.005e38a0
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x64]
push esi
mov esi, dword [ebp + 0x10]
inc esi
test byte [eax + 0x30], 1
push edi
je 0x545859
mov eax, dword [ecx + 8]
lea edi, [esi + edx]
cmp edi, eax
jbe 0x545849
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ecx + 0x14], edx
add dword [ecx + 0x18], edx
sub eax, edx
sub dword [ecx + 0xc], edx
mov dword [ecx + 8], eax
jmp 0x54585e
cmp esi, dword [ecx + 8]
ja 0x545840
mov edx, dword [ecx + 0x14]
mov edi, dword [ecx + 8]
lea eax, [edx + edi - 1]
movzx edx, byte [eax]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x3cc]
mov eax, dword [eax]
test dword [eax + 0x10], 0x200000
mov dword [ebp - 8], edx
je 0x545894
sub edi, edx
dec edi
mov dword [ecx + 8], edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edx + esi]
mov esi, edi
sub esi, eax
xor esi, eax
mov ebx, edi
xor ebx, eax
or esi, ebx
xor esi, edi
shr esi, 0x1f
mov ebx, 0x100
dec esi
mov dword [ebp - 4], ebx
cmp edi, ebx
jae 0x5458ba
mov ebx, edi
mov dword [ebp - 4], edi
xor eax, eax
test ebx, ebx
je 0x545908
mov ecx, edx
shr ecx, 0x1f
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edi, edi
mov bl, byte [ebp + 0x10]
sub edx, eax
shr edx, 0x1f
mov ecx, eax
shr ecx, 0x1f
xor dl, cl
xor bl, cl
or dl, bl
xor dl, byte [ebp + 0x10]
inc eax
dec dl
movzx ecx, dl
mov edx, dword [ebp + 8]
movzx ebx, byte [edx]
mov edx, dword [ebp - 8]
dec dword [ebp + 8]
xor ebx, edx
and ecx, ebx
not ecx
and esi, ecx
cmp eax, dword [ebp - 4]
jb 0x5458d0
mov ecx, dword [ebp + 0xc]
not esi
and esi, 0xff
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
neg eax
inc edx
and edx, eax
sub edi, edx
mov dword [ecx + 8], edi
mov dword [ebp + 8], eax
not eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
pop edi
and eax, 1
pop esi
or eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x545950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa8
call fcn.005e38a0
mov eax, dword [0x6c6e10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xa4], eax
mov eax, dword [ecx + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
sub eax, esi
mov dword [ebp - 0xa0], eax
mov eax, dword [ecx + 0xc]
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], eax
cmp eax, esi
jb 0x5459a3
cmp esi, 0x40
jbe 0x5459b5
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x84]
neg ecx
and ecx, 0x3f
lea edx, [esi + 0x100]
lea ecx, [ebp + ecx - 0x84]
mov dword [ebp - 0x94], ecx
cmp eax, edx
jbe 0x5459e4
sub eax, esi
sub eax, 0x100
mov dword [ebp - 0x88], eax
push edi
push esi
push ebx
push ecx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x9c], ebx
call fcn.005dd9b0
mov edi, dword [ebp - 0x88]
mov eax, edi
add esp, 0xc
xor ecx, ecx
cmp eax, dword [ebp - 0x8c]
jae 0x545ac1
mov ebx, dword [ebp - 0x90]
sub eax, ebx
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x14]
mov dword [ebp - 0xa8], edx
jmp 0x545a36
mov ebx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x88]
mov edx, edi
xor edx, dword [ebp - 0xa0]
xor esi, ebx
lea eax, [edx - 1]
not edx
shr edx, 0x1f
shr eax, 0x1f
and eax, edx
mov edx, edi
xor edx, ebx
mov ebx, dword [ebp - 0x9c]
or esi, edx
neg eax
xor esi, edi
mov edx, eax
or edx, dword [ebp - 0x98]
inc dword [ebp - 0x88]
and eax, ecx
shr esi, 0x1f
neg esi
and edx, esi
mov esi, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
or ebx, eax
mov eax, dword [ebp - 0xa8]
and dl, byte [eax + edi]
inc ecx
or byte [ecx + esi - 1], dl
mov esi, dword [ebp + 0x10]
mov edx, ecx
sub edx, esi
xor edx, esi
mov eax, ecx
xor eax, esi
or edx, eax
xor edx, ecx
shr edx, 0x1f
neg edx
inc edi
and ecx, edx
mov dword [ebp - 0x9c], ebx
cmp edi, dword [ebp - 0x8c]
jb 0x545a30
xor eax, eax
test esi, esi
je 0x545b05
jmp 0x545ad0
mov edi, dword [ebp - 0x94]
mov ecx, ebx
xor ecx, 0x20
mov dl, byte [ecx + edi]
mov cl, byte [ebx + edi]
mov edx, dword [ebp - 0xa4]
mov byte [edx + eax], cl
inc ebx
mov ecx, ebx
sub ecx, esi
xor ecx, esi
mov edx, ebx
xor edx, esi
or ecx, edx
xor ecx, ebx
shr ecx, 0x1f
neg ecx
inc eax
and ebx, ecx
cmp eax, esi
jb 0x545ad0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
Function at 0x570978
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x6c6e10]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.005dd9b0
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x5709d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetOsFamily_:_Unable_to_find_the_OSVersion___Errorcode__d__n
call fcn.005dcd3f
xor eax, eax
pop ecx
inc eax
jmp 0x570a29
push 2
pop eax
cmp dword [ebp - 0x90], eax
jne 0x570a1c
cmp dword [ebp - 0x9c], 4
jbe 0x570a1c
cmp dword [ebp - 0x9c], 6
jne 0x5709fe
cmp dword [ebp - 0x98], 0
je 0x570a2a
push 3
pop eax
jmp 0x570a2a
cmp dword [ebp - 0x9c], 5
jne 0x5709f9
xor eax, eax
cmp dword [ebp - 0x98], eax
je 0x570a2a
inc eax
cmp dword [ebp - 0x98], eax
jae 0x570a2a
jmp 0x5709f9
push str.GetOsFamily_:The_windows_is_unable_to_found_.__n
call fcn.005dcd3f
or eax, 0xffffffff
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
leave
ret
Function at 0x571c8f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
lea ecx, [ebp + 8]
push ecx
inc eax
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x571d11
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push dword [edi]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
mov dword [ebp + 0x14], eax
cmp eax, ebx
jne 0x571d04
mov eax, dword [ebp - 4]
add eax, 5
push eax
push 1
call fcn.005dccff
pop ecx
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
mov dword [ebp + 0x14], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x14]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x571dad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x571dda
cmp eax, 2
jne 0x571e02
leave
ret
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x5785b2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, 0x104
push esi
push 1
mov dword [ebp - 0xc], 1
call fcn.005dccff
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x57862a
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x57861a
cmp dword [ebp - 8], esi
ja 0x57861a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x57862c
push ebx
call fcn.005dcea1
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x578756
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push 8
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x578780
call fcn.00578630
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call edi
push dword [ebp - 4]
call fcn.005e325a
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x5787aa
call fcn.00578630
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push 2
push dword [ebp - 8]
call edi
test eax, eax
jne 0x5787c2
call fcn.00578630
call fcn.005786b4
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
lea ebx, [esi + eax*8 + 4]
lea edi, [esi + 4]
jmp 0x5787e7
push dword [ebp - 0xc]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5787eb
add edi, 8
cmp ebx, edi
jne 0x5787d5
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call fcn.005dcea1
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp ebx, edi
pop edi
pop esi
setne al
pop ebx
leave
ret

Function at 0x578ba2
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x6c6e10]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x64578c
call fcn.005789c1
pop ecx
test eax, eax
jne 0x578bc7
inc eax
jmp 0x578c2b
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [0x6d0eb8]
call fcn.005e384e
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [0x6ccda4]
lea eax, [ebp - 0x308]
push str._sADMIN_System32_s_s
push eax
call fcn.005dd5b8
add esp, 0x28
push 0
lea eax, [ebp - 0x308]
push eax
push dword [0x6d0eb8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
leave
ret