joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475e4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov edx, dword [ebp + 8]
mov esi, edi
mov dword [ebp - 4], esi
mov ecx, edi
lea eax, [edx - 1]
sar eax, 1
mov dword [ebp - 8], eax
cmp edi, eax
jge 0x475ea7
lea esi, [ecx + ecx]
lea ecx, [ebx + 0x10]
lea ecx, [ecx + esi*8]
lea eax, [ecx - 8]
push eax
push ecx
call fcn.00475374
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov eax, dword [ebx + ecx*8]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + ecx*8 + 4]
mov dword [ebx + edi*8 + 4], eax
mov edi, ecx
mov eax, dword [ebp - 8]
cmp ecx, eax
jl 0x475e6e
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 4]
cmp ecx, eax
jne 0x475ec2
test dl, 1
jne 0x475ec2
mov eax, dword [ebx + edx*8 - 8]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + edx*8 - 4]
mov dword [ebx + edi*8 + 4], eax
lea edi, [edx - 1]
cmp esi, edi
jge 0x475ef0
push dword [ebp + 0xc]
lea esi, [edi - 1]
sar esi, 1
lea eax, [ebx + esi*8]
push eax
call fcn.00475374
test al, al
je 0x475ef0
mov eax, dword [ebx + esi*8]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + esi*8 + 4]
mov dword [ebx + edi*8 + 4], eax
mov edi, esi
cmp dword [ebp - 4], esi
jl 0x475ec6
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebx + edi*8], eax
mov eax, dword [ecx + 4]
mov dword [ebx + edi*8 + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x476b95
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x1c], edi
lea ebx, [edx - 1]
mov dword [ebp - 0x18], ebx
sar ebx, 1
cmp edi, ebx
jge 0x476c77
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
lea esi, [eax + eax]
add ecx, 0x138
mov eax, dword [ebp - 0xc]
imul edx, esi, 0x90
movsd xmm2, qword [eax + 8]
movsd xmm1, qword [eax]
add ecx, edx
call fcn.0045df6e
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movd xmm3, dword [edx + ecx + 0x190]
add ecx, 0xa8
movsd xmm2, qword [eax + 8]
add ecx, edx
movsd xmm1, qword [eax]
cvtdq2pd xmm3, xmm3
mulsd xmm0, xmm3
movsd qword [ebp - 0x14], xmm0
call fcn.0045df6e
mov ecx, dword [ebp - 8]
xor eax, eax
movd xmm1, dword [edx + ecx + 0x100]
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd xmm1, qword [ebp - 0x14]
comisd xmm1, xmm0
seta al
imul edi, edi, 0x90
xor eax, 1
inc eax
add eax, esi
imul esi, eax, 0x90
add edi, ecx
mov dword [ebp - 0x10], eax
add esi, ecx
mov ecx, edi
push esi
call fcn.004037b9
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00477d49
mov eax, dword [ebp - 0x10]
mov edi, eax
mov ecx, dword [ebp - 8]
cmp eax, ebx
jl 0x476bc1
mov edx, dword [ebp + 8]
cmp eax, ebx
jne 0x476cad
test dl, 1
jne 0x476cad
imul esi, edx, 0x90
imul edi, edi, 0x90
add esi, 0xffffff70
add esi, ecx
add edi, ecx
push esi
mov ecx, edi
call fcn.004037b9
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00477d49
mov edi, dword [ebp - 0x18]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov edx, edi
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call fcn.00478bd8
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4782a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 8], edi
lea ebx, [edx - 1]
mov dword [ebp - 0xc], ebx
sar ebx, 1
cmp edi, ebx
jge 0x478300
lea esi, [eax + eax]
lea eax, [esi + 2]
shl eax, 4
add ecx, eax
lea eax, [ecx - 0x10]
push eax
push ecx
call fcn.0046e289
mov ecx, dword [ebp - 4]
inc esi
movzx eax, al
xor eax, 1
shl edi, 4
add eax, esi
add edi, ecx
mov esi, eax
shl esi, 4
add esi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, eax
cmp eax, ebx
jl 0x4782c6
mov edx, dword [ebp + 8]
cmp eax, ebx
jne 0x47831d
test dl, 1
jne 0x47831d
shl edi, 4
lea esi, [ecx - 0x10]
shl edx, 4
add esi, edx
add edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 8], edi
jge 0x47834e
push dword [ebp + 0xc]
lea ebx, [edi - 1]
sar ebx, 1
mov esi, ebx
shl esi, 4
add esi, ecx
push esi
call fcn.0046e289
mov ecx, dword [ebp - 4]
test al, al
je 0x47834e
shl edi, 4
add edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ebx
cmp dword [ebp - 8], ebx
jl 0x478322
mov esi, dword [ebp + 0xc]
shl edi, 4
add edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x47856d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov edx, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], edi
lea ecx, [edx - 1]
sar ecx, 1
mov dword [ebp - 8], ecx
cmp edi, ecx
jge 0x4785c6
lea esi, [eax + eax]
lea eax, [esi + 2]
imul ecx, eax, 0x18
add ecx, ebx
lea eax, [ecx - 0x18]
push eax
push ecx
call fcn.00478548
movzx eax, al
xor eax, 1
imul edi, edi, 0x18
inc eax
add eax, esi
imul esi, eax, 0x18
push 6
add edi, ebx
pop ecx
add esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
mov edi, eax
cmp eax, ecx
jl 0x47858d
mov edx, dword [ebp + 8]
cmp eax, ecx
jne 0x4785e4
test dl, 1
jne 0x4785e4
imul eax, edx, 0x18
lea esi, [ebx - 0x18]
imul edi, edi, 0x18
push 6
pop ecx
add esi, eax
add edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [edx - 1]
cmp dword [ebp - 4], edi
jge 0x478617
push dword [ebp + 0xc]
lea eax, [edi - 1]
sar eax, 1
imul esi, eax, 0x18
mov dword [ebp + 8], eax
add esi, ebx
push esi
call fcn.00478548
test al, al
je 0x478617
mov eax, dword [ebp + 8]
imul edi, edi, 0x18
push 6
pop ecx
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
cmp dword [ebp - 4], eax
jl 0x4785e9
mov esi, dword [ebp + 0xc]
imul edi, edi, 0x18
push 6
pop ecx
add edi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x478838
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, edx
lea eax, [ecx - 1]
mov esi, edi
mov dword [ebp - 0xc], eax
sar eax, 1
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
cmp edi, eax
jge 0x4788a5
lea esi, [edx + edx]
lea ecx, [esi + 2]
shl ecx, 4
add ecx, ebx
lea eax, [ecx - 0x10]
push eax
push ecx
call fcn.004787d3
movzx edx, al
add edi, edi
xor edx, 1
inc edx
add edx, esi
mov ecx, edx
add ecx, ecx
mov eax, dword [ebx + ecx*8]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + ecx*8 + 4]
mov dword [ebx + edi*8 + 4], eax
mov eax, dword [ebx + ecx*8 + 8]
mov dword [ebx + edi*8 + 8], eax
mov edi, edx
mov eax, dword [ebp - 8]
cmp edx, eax
jl 0x47885c
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 4]
cmp edx, eax
jne 0x4788cc
test cl, 1
jne 0x4788cc
add ecx, ecx
add edi, edi
mov eax, dword [ebx + ecx*8 - 0x10]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + ecx*8 - 0xc]
mov dword [ebx + edi*8 + 4], eax
mov eax, dword [ebx + ecx*8 - 8]
mov dword [ebx + edi*8 + 8], eax
mov edi, dword [ebp - 0xc]
cmp esi, edi
jge 0x47890b
push dword [ebp + 0xc]
lea esi, [edi - 1]
sar esi, 1
mov eax, esi
shl eax, 4
add eax, ebx
push eax
mov dword [ebp + 8], eax
call fcn.004787d3
test al, al
je 0x47890b
mov ecx, dword [ebp + 8]
add edi, edi
mov eax, dword [ecx]
mov dword [ebx + edi*8], eax
mov eax, dword [ecx + 4]
mov dword [ebx + edi*8 + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebx + edi*8 + 8], eax
mov edi, esi
cmp dword [ebp - 4], esi
jl 0x4788d0
mov ecx, dword [ebp + 0xc]
add edi, edi
mov eax, dword [ecx]
mov dword [ebx + edi*8], eax
mov eax, dword [ecx + 4]
mov dword [ebx + edi*8 + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebx + edi*8 + 8], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4789d5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 8], edi
lea ebx, [edx - 1]
mov dword [ebp - 0xc], ebx
sar ebx, 1
cmp edi, ebx
jge 0x478a31
lea esi, [eax + eax]
lea eax, [esi + 2]
shl eax, 4
add ecx, eax
lea eax, [ecx - 0x10]
push eax
push ecx
call fcn.004789b2
mov ecx, dword [ebp - 4]
inc esi
movzx eax, al
xor eax, 1
shl edi, 4
add eax, esi
add edi, ecx
mov esi, eax
shl esi, 4
add esi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, eax
cmp eax, ebx
jl 0x4789f7
mov edx, dword [ebp + 8]
cmp eax, ebx
jne 0x478a4e
test dl, 1
jne 0x478a4e
shl edi, 4
lea esi, [ecx - 0x10]
shl edx, 4
add esi, edx
add edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 8], edi
jge 0x478a7f
push dword [ebp + 0xc]
lea ebx, [edi - 1]
sar ebx, 1
mov esi, ebx
shl esi, 4
add esi, ecx
push esi
call fcn.004789b2
mov ecx, dword [ebp - 4]
test al, al
je 0x478a7f
shl edi, 4
add edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ebx
cmp dword [ebp - 8], ebx
jl 0x478a53
mov esi, dword [ebp + 0xc]
shl edi, 4
add edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47c3f2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push ebx
mov dword [ebp - 0x14], eax
mov ebx, edx
push esi
mov eax, dword [eax]
inc eax
push edi
mov edi, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
mov al, byte [edi]
mov byte [ebp - 1], al
movzx esi, al
test al, al
jne 0x47c424
mov dword [ebx], 1
jmp 0x47c56a
lea eax, [esi - 0x30]
cmp eax, 0x4a
ja 0x47c56a
lea ecx, [esi - 0x30]
movsx edx, word [ecx*2 + 0x777b18]
mov dword [ebp - 8], ecx
test edx, edx
je 0x47c449
mov esi, edx
jmp 0x47c56a
cmp esi, 0x55
ja 0x47c4ed
je 0x47c474
push 0x30
pop eax
cmp esi, eax
je 0x47c4cb
jbe 0x47c509
cmp esi, 0x39
jbe 0x47c47f
cmp esi, 0x4c
je 0x47c474
cmp esi, 0x4e
jne 0x47c509
mov dword [ebx], 0x25
jmp 0x47c56a
cmp dword [ebp + 0x10], 0
jne 0x47c4ba
jmp 0x47c494
mov edi, esi
imul ecx, ecx, 0xa
movzx eax, byte [edi]
add eax, 0xffffffd0
add ecx, eax
lea esi, [edi + 1]
movzx eax, byte [esi]
test byte [eax + 0x777bb0], 4
jne 0x47c487
cmp ecx, 0xa
jl 0x47c4ad
cmp ecx, dword [ebp + 8]
jg 0x47c4b7
push 0xffffffffffffffec
pop esi
sub esi, ecx
jmp 0x47c56a
mov ecx, dword [ebp - 8]
cmp byte [ebp - 1], 0x38
jb 0x47c4cb
mov edi, dword [ebp - 0xc]
dec edi
xor esi, esi
jmp 0x47c56a
mov edi, dword [ebp - 0x10]
mov bl, byte [edi + 1]
inc edx
lea eax, [ebx - 0x30]
cmp al, 7
ja 0x47c4e8
add ecx, 0xfffffffa
movzx eax, bl
inc edi
lea ecx, [eax + ecx*8]
cmp edx, 2
jl 0x47c4ce
movzx esi, cl
jmp 0x47c56a
cmp esi, 0x63
je 0x47c54b
cmp esi, 0x6c
je 0x47c474
cmp esi, 0x75
je 0x47c474
cmp esi, 0x78
je 0x47c517
test byte [ebp + 0xc], 0x40
je 0x47c56a
mov dword [ebx], 3
jmp 0x47c56a
push 0x30
xor esi, esi
pop ebx
movzx eax, byte [edi + 1]
inc edx
test byte [eax + 0x777bb0], 8
je 0x47c56a
inc edi
lea ecx, [eax - 0x20]
cmp eax, 0x61
push 0x37
cmovb ecx, eax
cmp ecx, 0x41
pop eax
cmovl eax, ebx
shl esi, 4
sub esi, eax
add esi, ecx
cmp edx, 2
jl 0x47c51c
jmp 0x47c56a
inc edi
movzx eax, byte [edi]
test eax, eax
jne 0x47c55b
mov dword [ebx], 2
jmp 0x47c571
lea ecx, [eax - 0x61]
cmp ecx, 0x19
lea esi, [eax - 0x20]
cmova esi, eax
xor esi, 0x40
mov eax, dword [ebp - 0x14]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x481d8a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, edx
mov dword [ebp - 0x18], edx
shl eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push edi
mov edi, ecx
test eax, eax
jle 0x481e42
mov ecx, edx
mov dword [ebp - 8], 0xff
push ebx
shl ecx, 2
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
test edx, edx
jle 0x481e2f
mov dword [ebp - 0xc], edx
mov al, byte [edi]
xor edx, edx
mov ch, byte [edi + 3]
lea edi, [edi + 4]
movzx eax, al
movzx esi, ch
imul eax, esi
mov bl, byte [edi - 2]
mov cl, byte [edi - 3]
div dword [ebp - 8]
mov edx, dword [ebp - 4]
mov byte [edx], al
inc edx
mov dword [ebp - 4], edx
xor edx, edx
movzx eax, cl
imul eax, esi
div dword [ebp - 8]
mov edx, dword [ebp - 4]
mov byte [edx], al
inc edx
movzx eax, bl
mov ebx, 0xff
mov dword [ebp - 4], edx
xor edx, edx
imul eax, esi
div ebx
mov edx, dword [ebp - 4]
mov byte [edx], al
mov byte [edx + 1], ch
add edx, 2
sub dword [ebp - 0xc], 1
mov dword [ebp - 4], edx
jne 0x481dc7
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
add edi, ecx
sub eax, 1
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], eax
jne 0x481dba
pop esi
pop ebx
pop edi
leave
ret

Function at 0x481ee9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
push ecx
lea ecx, [ebp - 0x260]
mov edi, edx
mov dword [esi], eax
call fcn.0046aea9
push esi
push dword [ebp + 8]
mov esi, dword [ebp + 0x14]
push edi
push 0
push dword [eax + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x25c], eax
je 0x481f3b
push dword [ebp - 0x25c]
call fcn.0053b990
pop ecx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x481fc6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x370
lea eax, [esp + 8]
push ebx
push esi
push ecx
push eax
mov ecx, str.Blizzard_Error
xor ebx, ebx
call fcn.00481ebd
pop ecx
pop ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x482079
push str.UserUUID
lea ecx, [esp + 0x11c]
call fcn.0046aea9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push ebx
push dword [eax + 4]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [esp + 0x120]
cmp dword [esp + 0x11c], eax
je 0x482057
push dword [esp + 0x11c]
call fcn.0053b990
pop ecx
test esi, esi
jne 0x48206f
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x48206f
mov bl, 1
jmp 0x482080
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482e0d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov ebx, dword [edi + 0x2c]
mov ecx, dword [edi + 0x74]
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x2c]
mov esi, dword [edi + 0x3c]
add eax, 0xfffffefa
sub esi, dword [edi + 0x6c]
add eax, ebx
sub esi, ecx
mov dword [ebp - 0xc], esi
cmp dword [edi + 0x6c], eax
jb 0x482eb5
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.00552b30
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], ecx
lea edi, [eax + ecx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx eax, word [edi]
mov edx, eax
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
sub dword [ebp - 4], 1
mov word [edi], cx
jne 0x482e64
mov edi, dword [ebp - 8]
mov ecx, ebx
mov dword [ebp - 4], ecx
mov esi, ebx
mov eax, dword [edi + 0x40]
lea edi, [eax + ecx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx eax, word [edi]
mov edx, eax
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
sub esi, 1
jne 0x482e91
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
add esi, ebx
mov ebx, dword [edi]
mov eax, dword [ebx + 4]
test eax, eax
je 0x482f6f
mov edx, dword [edi + 0x6c]
mov ecx, dword [edi + 0x74]
add edx, ecx
add edx, dword [edi + 0x38]
cmp eax, esi
mov dword [ebp - 0xc], edx
cmovbe esi, eax
test esi, esi
je 0x482f28
sub eax, esi
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x482ef6
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x30]
push esi
call fcn.00484d32
jmp 0x482f0e
cmp eax, 2
jne 0x482f12
mov edx, dword [ebx]
test edx, edx
jne 0x482f05
xor eax, eax
jmp 0x482f0f
mov ecx, dword [ebx + 0x30]
push esi
call fcn.00484f77
pop ecx
mov dword [ebx + 0x30], eax
push esi
push dword [ebx]
push dword [ebp - 0xc]
call fcn.00552b30
add dword [ebx], esi
add esp, 0xc
add dword [ebx + 8], esi
mov ecx, dword [edi + 0x74]
add ecx, esi
mov dword [ebp - 0xc], ecx
mov dword [edi + 0x74], ecx
cmp ecx, 3
jb 0x482f57
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
mov ecx, dword [ebp - 0xc]
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp ecx, 0x106
jae 0x482f6f
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x482f6f
mov ebx, dword [ebp - 0x10]
jmp 0x482e24
pop edi
pop esi
pop ebx
leave
ret
Function at 0x488cb7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, edx
mov edx, ecx
mov al, byte [edx + 8]
mov byte [ebp - 1], al
cmp al, 3
je 0x488e45
movzx ecx, byte [edx + 9]
push esi
xor esi, esi
mov dword [ebp - 8], ecx
push edi
mov edi, dword [edx]
test al, 2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
je 0x488d15
movzx eax, byte [eax]
sub ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 8]
push 3
movzx eax, byte [eax + 1]
sub ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + 2]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
pop ecx
jmp 0x488d27
movzx eax, byte [eax + 3]
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 8], eax
test byte [ebp - 1], 4
mov dword [ebp - 0xc], ecx
je 0x488d45
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x24], eax
inc ecx
mov dword [ebp - 0xc], ecx
mov eax, esi
test ecx, ecx
je 0x488e43
cmp dword [ebp + eax*4 - 0x24], esi
jg 0x488d5b
mov dword [ebp + eax*4 - 0x24], esi
jmp 0x488d62
mov dword [ebp - 0x10], 1
inc eax
cmp eax, ecx
jl 0x488d4f
cmp word [ebp - 0x10], si
je 0x488e43
movzx eax, byte [edx + 9]
dec eax
sub eax, 1
je 0x488e2e
dec eax
sub eax, 1
je 0x488e00
sub eax, 4
je 0x488de2
sub eax, 8
jne 0x488e43
imul edi, ecx
mov dword [ebp - 0x10], edi
test edi, edi
je 0x488e43
mov eax, esi
xor edx, edx
div ecx
movzx esi, byte [ebx]
mov eax, 0x100
imul esi, eax
movzx eax, byte [ebx + 1]
mov cx, word [ebp + edx*4 - 0x24]
add si, ax
shr si, cl
movzx ecx, si
mov esi, dword [ebp - 0x14]
mov eax, ecx
shr eax, 8
inc esi
mov byte [ebx], al
lea ebx, [ebx + 2]
mov byte [ebx - 1], cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x10]
jb 0x488da1
jmp 0x488e43
imul edi, ecx
test edi, edi
je 0x488e43
xor edx, edx
mov eax, esi
div ecx
mov cl, byte [ebp + edx*4 - 0x24]
shr byte [ebx], cl
inc ebx
mov ecx, dword [ebp - 0xc]
inc esi
cmp esi, edi
jb 0x488de9
jmp 0x488e43
mov esi, dword [edx + 4]
mov edx, 0xf0
mov ecx, dword [ebp - 0x24]
sar edx, cl
push 0xf
pop eax
and dl, 0xf0
sar eax, cl
or dl, al
test esi, esi
je 0x488e43
mov al, byte [ebx]
mov cl, byte [ebp - 0x24]
shr al, cl
and al, dl
mov byte [ebx], al
inc ebx
sub esi, 1
jne 0x488e1b
jmp 0x488e43
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x488e43
mov al, byte [ebx]
shr al, 1
and al, 0x55
mov byte [ebx], al
inc ebx
sub ecx, 1
jne 0x488e35
pop edi
pop esi
pop ebx
leave
ret
Function at 0x493363
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx], 0
and dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret

Function at 0x4968e4
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x6be344
call fcn.006b6d3c
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [edi], vtable.bnl::StandardProxyInfoServiceImpl.0
mov eax, dword [ecx]
mov dword [edi + 8], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x496924
lock inc dword [eax + 4]
mov eax, dword [ecx + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov byte [ebp - 4], 2
lea esi, [edi + 0x28]
push ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
push ebx
mov dword [ebp + 8], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00496bfb
mov dword [esi], eax
lea eax, [edi + 0x34]
push 2
push eax
mov byte [edi + 0x30], bl
call fcn.005286ad
lea eax, [edi + 0x64]
push eax
call fcn.005292ac
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4a2add
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x6bec62
call fcn.006b6d3c
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.bnl::StandardNetworkImpl.0
mov eax, dword [edx]
mov dword [esi + 8], eax
mov eax, dword [edx + 4]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
lea eax, [esi + 0x38]
push 2
push eax
call fcn.005286ad
lea eax, [esi + 0x68]
push eax
call fcn.005292ac
add esp, 0xc
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 7
call fcn.004110f1
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov byte [ebp - 4], 0xd
mov ecx, esi
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov word [esi + 0xec], bx
mov byte [esi + 0xee], bl
call fcn.004a4dae
mov ecx, esi
call fcn.004a4e79
mov ecx, esi
call fcn.004a4f20
mov ecx, esi
call fcn.004a5048
mov ecx, esi
call fcn.004a50ef
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4