joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489430
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0x9e3779b9
mov dword [ebp - 0x10], 0
jmp 0x489467
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x10
jge 0x4894ea
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
shl eax, 4
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + edx]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 8]
shr ecx, 5
mov edx, 4
shl edx, 0
mov esi, dword [ebp + 0x10]
add ecx, dword [esi + edx]
xor eax, ecx
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shl eax, 4
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 0x10]
add eax, dword [edx + ecx]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 5
mov ecx, 4
imul ecx, ecx, 3
mov esi, dword [ebp + 0x10]
add edx, dword [esi + ecx]
xor eax, edx
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x48945e
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x489500
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x9e3779b9
mov ecx, dword [ebp - 0x14]
shl ecx, 4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
jmp 0x489540
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x10
jge 0x4895cb
mov eax, dword [ebp - 4]
shl eax, 4
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 0x10]
add eax, dword [edx + ecx]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 5
mov ecx, 4
imul ecx, ecx, 3
mov esi, dword [ebp + 0x10]
add edx, dword [esi + ecx]
xor eax, edx
mov edx, dword [ebp - 8]
sub edx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shl eax, 4
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + edx]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 8]
shr ecx, 5
mov edx, 4
shl edx, 0
mov esi, dword [ebp + 0x10]
add ecx, dword [esi + edx]
xor eax, ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
jmp 0x489537
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [edx], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x489670
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x493540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x200]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x208]
mov byte [ebp - 1], cl
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
jmp 0x493588
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jae 0x49360f
movzx ecx, byte [ebp - 8]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
movzx ecx, byte [ebp - 1]
add ecx, eax
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + edx]
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov dl, byte [esi + edx]
mov byte [ecx + eax], dl
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 2]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
movzx eax, byte [ebp - 1]
mov esi, dword [ebp - 0xc]
movzx eax, byte [esi + eax]
add edx, eax
movzx edx, dl
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
xor ecx, edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov byte [eax], cl
jmp 0x49357f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x200], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x208], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x204]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 0x100
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x209]
mov byte [ebp - 1], cl
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
jmp 0x49367e
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jae 0x493705
movzx ecx, byte [ebp - 8]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
movzx ecx, byte [ebp - 1]
add ecx, eax
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + edx]
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov dl, byte [esi + edx]
mov byte [ecx + eax], dl
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 2]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
movzx eax, byte [ebp - 1]
mov esi, dword [ebp - 0xc]
movzx eax, byte [esi + eax]
add edx, eax
movzx edx, dl
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
xor ecx, edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov byte [eax], cl
jmp 0x493675
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x204], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x209], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov byte [ebp - 2], 0
jmp 0x493a33
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
cmp ecx, 4
jge 0x493a99
mov byte [ebp - 1], 0
jmp 0x493a4b
mov dl, byte [ebp - 1]
add dl, 1
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x493a97
movzx ecx, byte [ebp - 2]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*4]
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp + 8]
shl edx, 2
movzx esi, byte [ebp - 2]
shl esi, 2
lea edx, [esi + edx*4]
movzx esi, byte [ebp - 1]
add esi, dword [ebp + 0x10]
movzx edx, byte [esi + edx]
movzx eax, byte [eax + ecx]
xor eax, edx
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 2]
mov esi, dword [ebp + 0xc]
lea edx, [esi + edx*4]
mov byte [edx + ecx], al
jmp 0x493a42
jmp 0x493a2b
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x493aa0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 2], 0
jmp 0x493ab2
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
cmp ecx, 4
jge 0x493b00
mov byte [ebp - 1], 0
jmp 0x493aca
mov dl, byte [ebp - 1]
add dl, 1
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x493afe
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*4]
movzx ecx, byte [ebp - 2]
movzx edx, byte [eax + ecx]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
movzx ecx, byte [ebp - 2]
mov dl, byte [edx + 0x5bca80]
mov byte [eax + ecx], dl
jmp 0x493ac1
jmp 0x493aaa
mov esp, ebp
pop ebp
ret

Function at 0x494a70
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 2], 0
jmp 0x494a82
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
cmp ecx, 4
jge 0x494ad0
mov byte [ebp - 1], 0
jmp 0x494a9a
mov dl, byte [ebp - 1]
add dl, 1
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x494ace
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*4]
movzx ecx, byte [ebp - 2]
movzx edx, byte [eax + ecx]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
movzx ecx, byte [ebp - 2]
mov dl, byte [edx + 0x5bc980]
mov byte [eax + ecx], dl
jmp 0x494a91
jmp 0x494a7a
mov esp, ebp
pop ebp
ret

Function at 0x494e50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 1], 0
jmp 0x494e62
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
cmp ecx, 0x10
jge 0x494e8f
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor edx, eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], dl
jmp 0x494e5a
mov esp, ebp
pop ebp
ret
Function at 0x495e50
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b7f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
push edi
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
push eax
push 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x13], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x18], 0
call ebx
mov esi, dword [ebp - 0x18]
push esi
call fcn.004a0f0b
mov edi, eax
add esp, 4
test edi, edi
je 0x495ebf
push esi
push 0
push edi
call fcn.0052edb0
add esp, 0xc
mov byte [edi], 0
jmp 0x495ec1
xor edi, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x495f25
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push edi
call ebx
test eax, eax
jne 0x495f25
mov byte [ebp - 4], 0xc
mov esi, edi
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x14]
lea ecx, [esi + 8]
call fcn.00495b60
mov ecx, eax
cmp ecx, 1
je 0x495f05
test ecx, ecx
jne 0x495f1d
mov ax, word [esi + 0x198]
mov ebx, dword [esi + 0x194]
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x10], ax
test ecx, ecx
je 0x495f28
mov esi, dword [esi]
test esi, esi
jne 0x495ef2
jmp 0x495f28
mov ebx, dword [ebp - 0x14]
push 0x200
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0052edb0
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [ebp - 0x10]
push eax
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
shr ebx, 8
shr eax, 0x10
movzx eax, al
push eax
movzx eax, bl
push eax
movzx eax, byte [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push str._02X__02X__02X__02X__02X__02X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 8]
xor eax, eax
add esp, 0x2c
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x220], ax
jne 0x495f9d
xor ecx, ecx
jmp 0x495fb5
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495fa6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.00406650
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xf
test edi, edi
je 0x495fe3
push edi
mov byte [ebp - 4], 0xf
call fcn.004a0cd6
add esp, 4
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x496ec0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
mov ebx, ecx
lea esi, [edx + 1]
push edi
mov dword [ebp - 0x24], ebx
xor edi, edi
nop word [eax + eax]
movzx edx, byte [esi - 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x128], edx
inc edi
cmp edi, 0x10
jb 0x496ee0
cmp edi, 0x40
jae 0x496f5f
mov ebx, 0x40
lea eax, [ebp + edi*4 - 0x130]
sub ebx, edi
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebx, 1
jne 0x496f22
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [ebp - 0x28], eax
mov edi, eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x6c]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
nop dword [eax]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [ebp - 0xc]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 8]
and eax, ebx
xor ecx, eax
mov eax, edi
add esi, ecx
rol eax, 0xa
add esi, dword [edx + 0x5bce98]
add esi, dword [ebp + edx - 0x128]
mov edx, edi
add esi, dword [ebp - 0x1c]
ror edx, 0xd
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 0xc]
add edx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
lea edi, [edx + esi]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x20]
add ebx, esi
mov eax, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
cmp edx, 0x100
jb 0x496fa0
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x24]
pop edi
pop esi
add dword [ebx + 0x54], ecx
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 4]
add dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x60], eax
mov eax, dword [ebp - 8]
add dword [ebx + 0x64], eax
mov eax, dword [ebp - 0xc]
add dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0x6c], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x497070
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp - 0x210]
push esi
mov esi, ecx
push 0x104
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x49709f
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push 0x5c394c
push eax
call fcn.0054a194
add esp, 8
test eax, eax
je 0x4970bd
xor ecx, ecx
mov word [eax + 2], cx
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x497098
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x497100
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ba48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0x100
mov dword [ebp - 0x1c], edi
call fcn.004a0f0b
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x80
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x44
push eax
push ebx
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
jne 0x4971cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4971cd
cmp dword [ebp - 0x14], 0x44
jbe 0x49717e
xor bl, bl
jmp 0x4971d2
mov eax, dword [ebp - 0x10]
cmp eax, 0x80
jbe 0x4971b2
xor ecx, ecx
mov edx, 2
mul edx
mov edi, esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a0f0b
add esp, 4
mov esi, eax
test edi, edi
je 0x4971b2
push edi
call fcn.004a0cd6
add esp, 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x1c]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
setne bl
test esi, esi
je 0x4971df
push esi
call fcn.004a0cd6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x497d00
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x2c], 0
mov esi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 8], esi
cmp dword [edi + 0x14], 0x10
jb 0x497d27
mov eax, dword [edi]
jmp 0x497d29
mov eax, edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
push eax
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x20], 0
call fcn.00406a70
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x497e58
cmp dword [eax + 0x14], 0x10
jb 0x497d63
mov eax, dword [eax]
mov dword [ebp + 8], eax
xor bh, bh
xor eax, eax
nop word [eax + eax]
mov byte [ebp + eax - 0x134], al
inc eax
cmp eax, 0x100
jb 0x497d70
mov edi, dword [ebp + 8]
xor esi, esi
mov word [ebp - 0x34], 0
nop word [eax + eax]
mov eax, esi
mov bl, byte [ebp + esi - 0x134]
xor edx, edx
div ecx
lea ecx, [ebp - 0x134]
movzx eax, byte [edx + edi]
add al, bl
add bh, al
movzx eax, bh
add ecx, eax
movzx eax, byte [ecx]
mov byte [ebp + esi - 0x134], al
inc esi
mov byte [ecx], bl
mov ecx, dword [ebp - 0x24]
cmp esi, 0x100
jb 0x497d90
mov edi, dword [ebp - 0x28]
lea ebx, [ebp - 0x20]
cmp dword [ebp - 0xc], 0x10
cmovae ebx, dword [ebp - 0x20]
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x497de1
mov edi, dword [edi]
mov esi, dword [ebp - 8]
test eax, eax
je 0x497e58
mov dl, byte [ebp - 0x34]
sub edi, ebx
mov esi, eax
nop
inc dl
lea ebx, [ebx + 1]
mov byte [ebp - 0x34], dl
movzx eax, dl
lea edx, [ebp - 0x134]
add edx, eax
mov al, byte [ebp - 0x33]
add al, byte [edx]
mov byte [ebp - 0x33], al
mov cl, byte [edx]
movzx eax, al
movzx eax, byte [ebp + eax - 0x134]
mov byte [edx], al
movzx eax, byte [ebp - 0x33]
mov byte [ebp + eax - 0x134], cl
movzx ecx, byte [ebp - 0x33]
mov dl, byte [ebp - 0x34]
movzx eax, dl
movzx ecx, byte [ebp + ecx - 0x134]
add cl, byte [ebp + eax - 0x134]
movzx eax, cl
movzx eax, byte [ebp + eax - 0x134]
xor al, byte [edi + ebx - 1]
mov byte [ebx - 1], al
sub esi, 1
jne 0x497df0
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x20]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.00406ed0
mov eax, dword [ebp - 0xc]
cmp eax, 0x10
jb 0x497e89
inc eax
lea ecx, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
call fcn.004070c0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x497f80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58bb89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
push esi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
push edi
mov byte [ebx], 0
mov dword [ebp - 4], 0
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test edi, edi
je 0x498150
nop dword [eax]
mov al, byte [edx]
dec edi
mov byte [ebp + esi - 0x14], al
inc edx
mov ch, byte [ebp - 0x12]
inc esi
mov ah, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xe], ch
mov byte [ebp + 0xb], ah
mov byte [ebp - 0xd], cl
cmp esi, 3
jne 0x49807a
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor esi, esi
nop word [eax + eax]
cmp dword [0x79f904], 0x10
mov ecx, 0x79f8f0
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x79f8f0]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
push 1
call fcn.00414760
inc esi
cmp esi, 4
jl 0x498040
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ah, byte [ebp + 0xb]
mov cl, byte [ebp - 0xd]
mov ch, byte [ebp - 0xe]
test edi, edi
jne 0x497fe0
mov dword [ebp + 8], esi
test esi, esi
je 0x498150
mov edi, 3
cmp esi, edi
jge 0x4980bd
mov ecx, edi
xor eax, eax
sub ecx, esi
lea edi, [ebp - 0x14]
mov edx, ecx
add edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ch, byte [ebp - 0x12]
mov edi, 3
mov ah, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ah
shr al, 4
and ah, 0xf
shl cl, 4
add cl, al
shl ah, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add ah, al
mov byte [ebp - 0x15], ch
mov byte [ebp - 0x16], ah
lea eax, [esi + 1]
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x498133
xor edi, edi
mov esi, eax
nop dword [eax]
cmp dword [0x79f904], 0x10
mov ecx, 0x79f8f0
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x79f8f0]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
push 1
call fcn.00414760
inc edi
cmp edi, esi
jl 0x498100
mov esi, dword [ebp + 8]
mov edi, 3
cmp esi, 3
jge 0x498150
sub edi, esi
nop word [eax + eax]
push 0x3d
push 1
mov ecx, ebx
call fcn.00414760
sub edi, 1
jne 0x498140
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret