joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441670
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
test ebx, ebx
je 0x44180f
mov esi, dword [ebp + 0xc]
mov dword [ebx], 0
test esi, esi
je 0x44180f
cmp dword [ebp + 8], 0
je 0x44180f
lea ecx, [esi + esi*4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
add edx, 4
push edx
mov dword [ebx], edx
call fcn.0040deb0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44180f
mov eax, 0xaaaaaaab
xor ecx, ecx
mul esi
push edi
xor edi, edi
mov eax, edx
shr eax, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
je 0x441759
mov dword [ebp - 8], eax
nop dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
movzx edx, byte [eax + edi]
movzx esi, byte [eax + edi + 1]
movzx edi, byte [eax + edi + 2]
add eax, 3
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
movzx eax, byte [eax + 0x5d2130]
mov byte [ecx + ebx], al
mov eax, esi
shr eax, 4
and esi, 0xf
or edx, eax
shl esi, 2
movzx eax, byte [edx + 0x5d2130]
mov byte [ecx + ebx + 1], al
mov eax, edi
shr eax, 6
and edi, 0x3f
or eax, esi
movzx eax, byte [eax + 0x5d2130]
mov byte [ecx + ebx + 2], al
movzx eax, byte [edi + 0x5d2130]
mov byte [ecx + ebx + 3], al
add ecx, 4
sub dword [ebp - 8], 1
jne 0x4416e0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
sub esi, eax
sub esi, 1
je 0x4417ca
sub esi, 1
jne 0x4417fb
mov eax, dword [ebp + 8]
movzx edx, byte [edi + eax]
movzx esi, byte [edi + eax + 1]
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
pop edi
movzx eax, byte [eax + 0x5d2130]
mov byte [ecx + ebx], al
mov eax, esi
shr eax, 4
and esi, 0xf
or edx, eax
movzx eax, byte [edx + 0x5d2130]
mov byte [ecx + ebx + 1], al
movzx eax, byte [esi*4 + 0x5d2130]
mov byte [ecx + ebx + 2], al
mov eax, dword [ebp + 0x10]
mov byte [ecx + ebx + 3], 0x3d
add ecx, 4
pop esi
mov byte [ecx + ebx], 0
mov dword [eax], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
movzx edx, byte [edi + eax]
mov eax, edx
and edx, 3
shr eax, 2
shl edx, 4
movzx eax, byte [eax + 0x5d2130]
mov byte [ecx + ebx], al
movzx eax, byte [edx + 0x5d2130]
mov byte [ecx + ebx + 1], al
mov word [ecx + ebx + 2], 0x3d3d
add ecx, 4
mov eax, dword [ebp + 0x10]
pop edi
mov byte [ecx + ebx], 0
pop esi
mov dword [eax], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443ca0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x443e61
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x443e60
xor eax, eax
mov dword [ebp - 0x68], 0x250024
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov eax, 0x23
mov dword [ebp - 0x60], 0x270026
mov dword [ebp - 0x5c], 0x290028
mov dword [ebp - 0x58], 0x10000
mov dword [ebp - 0x54], 0x30002
mov dword [ebp - 0x50], 0x50004
mov dword [ebp - 0x4c], 0x70006
mov dword [ebp - 0x48], 0x90008
mov dword [ebp - 0x40], 0x2a0000
mov dword [ebp - 0x38], 0xa0000
mov dword [ebp - 0x34], 0xc000b
mov dword [ebp - 0x30], 0xe000d
mov dword [ebp - 0x2c], 0x10000f
mov dword [ebp - 0x28], 0x120011
mov dword [ebp - 0x24], 0x140013
mov dword [ebp - 0x20], 0x160015
mov dword [ebp - 0x1c], 0x180017
mov dword [ebp - 0x18], 0x1a0019
mov dword [ebp - 0x14], 0x1c001b
mov dword [ebp - 0x10], 0x1e001d
mov dword [ebp - 0xc], 0x20001f
mov dword [ebp - 8], 0x220021
mov word [ebp - 4], ax
cmp edi, 2
jb 0x443e60
push ebx
mov ebx, dword [ebp + 0x10]
nop dword [eax]
mov cl, byte [esi]
movzx eax, cl
cmp edi, 3
jb 0x443e17
cmp eax, 0x28
jb 0x443d98
cmp eax, 0x5a
jbe 0x443d9d
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx ebx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi + 1]
cmp eax, 0x28
jb 0x443db6
cmp eax, 0x5a
jbe 0x443dbb
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx edx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi + 2]
cmp eax, 0x28
jb 0x443dd4
cmp eax, 0x5a
jbe 0x443dd9
mov eax, 0x28
add eax, 0xffffffd8
movzx ecx, ax
imul eax, ebx, 0x2b
mov ebx, dword [ebp + 0x10]
add eax, edx
imul eax, eax, 0x2b
add ax, word [ebp + ecx*2 - 0x68]
mov ecx, ebx
movzx eax, ax
push eax
call fcn.00436350
cmp edi, 3
jbe 0x443e5f
sub edi, 3
add esi, 3
cmp edi, 2
jae 0x443d80
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
cmp cl, 0x28
jb 0x443e21
cmp cl, 0x5a
jbe 0x443e26
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx ecx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi + 1]
cmp eax, 0x28
jb 0x443e3f
cmp eax, 0x5a
jbe 0x443e44
mov eax, 0x28
add eax, 0xffffffd8
movzx edx, ax
movzx eax, cl
mov ecx, ebx
imul eax, eax, 0x2b
add al, byte [ebp + edx*2 - 0x68]
movzx eax, al
push eax
call fcn.004354b0
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447920
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6230
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0042c990
cmp byte [0x68ec41], 0
jne 0x4479b0
push 0x200
push 0
push 0x68ee00
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
push 0x68ee00
call dword [sym.imp.KERNEL32.DLL_GetComputerNameW]
test eax, eax
jne 0x4479a9
movq xmm0, qword [str.Win32]
mov ax, word [0x5d2560]
movq qword [0x68ee00], xmm0
mov word [0x68ee08], ax
mov byte [0x68ec41], 1
push 0x118
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.004038e0
push 0x68ee00
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.00404550
lea ecx, [ebp - 0x12c]
call fcn.00406960
push eax
mov ecx, esi
call fcn.0042ae50
lea ecx, [ebp - 0x12c]
call fcn.00403970
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret
Function at 0x46d220
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b87f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x68cc00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.004c9450
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0
mov dword [esi], vtable.SocketParams.0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov word [esi + 0x1c], 0
mov byte [esi + 0x1e], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi + 0x2c], 0
call fcn.0042a910
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 1
mov word [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov word [esi + 0xac], 1
call fcn.0042a910
mov dword [esi + 0x124], 0
mov eax, dword [0x67f0f0]
mov dword [esi + 0xa8], eax
mov eax, esi
mov byte [esi + 8], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46e990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x250], esi
test eax, eax
jne 0x46e9dd
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, 0x40
cmp ebx, 3
je 0x46e9f1
cmp ebx, 2
jne 0x46e9f6
mov edi, 0x80
push ebx
call fcn.0046fc80
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ebp - 0x254], eax
cmp ecx, edi
jle 0x46ea30
lea eax, [ebp - 0x14c]
push eax
push ebx
push ecx
push esi
call fcn.0046ecd0
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x14c]
add esp, 0x10
mov dword [ebp - 0x250], eax
push edi
cmp ecx, edi
lea eax, [ebp - 0x88]
push 0
mov esi, edi
push eax
cmovle esi, ecx
call sub.VCRUNTIME140.dll_memset
push edi
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
push dword [ebp - 0x250]
lea eax, [ebp - 0x88]
push eax
call sub.VCRUNTIME140.dll_memcpy
push esi
push dword [ebp - 0x250]
lea eax, [ebp - 0x10c]
push eax
call sub.VCRUNTIME140.dll_memcpy
movaps xmm2, xmmword [str.6666666666666666_sha3]
add esp, 0x30
movaps xmm3, xmmword [0x608430]
xor eax, eax
nop
movups xmm0, xmmword [ebp + eax - 0x88]
movaps xmm1, xmm3
pxor xmm0, xmm2
movups xmmword [ebp + eax - 0x88], xmm0
movups xmm0, xmmword [ebp + eax - 0x10c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x78]
movups xmmword [ebp + eax - 0x10c], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xfc]
movups xmmword [ebp + eax - 0x78], xmm1
movaps xmm1, xmm3
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x68]
movups xmmword [ebp + eax - 0xfc], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xec]
movups xmmword [ebp + eax - 0x68], xmm1
movaps xmm1, xmm3
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x58]
movups xmmword [ebp + eax - 0xec], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xdc]
movups xmmword [ebp + eax - 0x58], xmm1
movaps xmm1, xmm3
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0xdc], xmm1
add eax, 0x40
cmp eax, edi
jl 0x46ea90
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x88]
push dword [ebp - 0x25c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x18c]
push ecx
push ebx
push eax
mov dword [eax + 0x404], edi
call fcn.0046eff0
push edi
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x24c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x18c]
push esi
push eax
lea eax, [ebp - 0x24c]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x260]
lea eax, [esi + edi]
push ebx
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0046ecd0
mov ecx, dword [ebp - 4]
add esp, 0x38
xor ecx, ebp
mov al, 1
pop edi
pop ebx
pop esi
call fcn.005af618
mov esp, ebp
pop ebp
ret
Function at 0x4849e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba6f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x68cc00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004bdfa0
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
call fcn.0042a4d0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
mov dword [edi], vtable.AsyncProgressEvent.0
mov dword [edi + 0x10], vtable.AsyncProgressEvent.1.0
call fcn.0045a670
mov dword [edi + 0x4c], 0
mov eax, edi
mov byte [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [edi + 0x48], 1
mov byte [edi + 0xc], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4885d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40c], eax
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x48860a
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004887e0
or ebx, 0xffffffff
cmp dword [ebp - 0x40c], 0
jne 0x48863d
mov edx, dword [0x68f7a8]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edx + ecx*4]
sub esi, 1
jne 0x488622
jmp 0x4887c6
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [0x68f7a8]
add esp, 0xc
nop dword [eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
inc dword [ebp + eax*4 - 0x404]
xor ebx, dword [edx + ecx*4]
sub esi, 1
jne 0x488660
mov edx, dword [ebp - 0x3ec]
mov ecx, 7
add edx, dword [ebp - 0x3f0]
xorps xmm2, xmm2
add edx, dword [ebp - 0x3f4]
xorps xmm3, xmm3
add edx, dword [ebp - 0x3f8]
xorps xmm1, xmm1
add edx, dword [ebp - 0x3fc]
add edx, dword [ebp - 0x400]
add edx, dword [ebp - 0x404]
nop word [eax + eax]
movups xmm0, xmmword [ebp + ecx*4 - 0x404]
paddd xmm3, xmm0
movups xmm0, xmmword [ebp + ecx*4 - 0x3f4]
add ecx, 8
paddd xmm1, xmm0
cmp ecx, 0x7f
jl 0x4886c0
paddd xmm1, xmm3
xor esi, esi
movaps xmm0, xmm1
xor edi, edi
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd dword [ebp - 0x408], xmm1
cmp ecx, 0x80
jge 0x48875c
mov eax, 0x80
sub eax, ecx
cmp eax, 2
jl 0x488736
nop dword [eax]
add esi, dword [ebp + ecx*4 - 0x404]
add edi, dword [ebp + ecx*4 - 0x400]
add ecx, 2
cmp ecx, 0x7f
jl 0x488720
cmp ecx, 0x80
jae 0x48874f
movd eax, xmm1
add eax, dword [ebp + ecx*4 - 0x404]
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x408]
lea eax, [edi + esi]
add ecx, eax
jmp 0x488762
mov ecx, dword [ebp - 0x408]
mov eax, 0x80
movaps xmm1, xmm2
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax*4 - 0x404]
paddd xmm2, xmm0
movups xmm0, xmmword [ebp + eax*4 - 0x3f4]
add eax, 8
paddd xmm1, xmm0
cmp eax, 0x100
jl 0x488770
paddd xmm1, xmm2
shr ecx, 2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add edx, eax
cmp ecx, edx
mov ecx, dword [ebp - 0x40c]
sbb eax, eax
neg eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
not ebx
mov eax, ebx
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.005af618
mov esp, ebp
pop ebp
ret
Function at 0x4887e0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
mov cl, byte [0x68f7a4]
mov al, byte [0x68f7a5]
push esi
push edi
test cl, cl
jne 0x48897c
test al, al
jne 0x488984
cmp dword [0x68f7a8], 0
jne 0x4889ac
push 0x100
mov byte [0x68f7a5], 1
call fcn.0040dfe0
mov edi, eax
add esp, 4
test edi, edi
je 0x4889ac
xor eax, eax
mov dword [ebp - 4], eax
push ebx
xor ecx, ecx
test al, 1
je 0x48883c
bts ecx, 7
shr eax, 1
test al, 1
je 0x488846
bts ecx, 6
shr eax, 1
test al, 1
je 0x488850
bts ecx, 5
shr eax, 1
test al, 1
je 0x48885a
bts ecx, 4
shr eax, 1
test al, 1
je 0x488864
bts ecx, 3
shr eax, 1
test al, 1
je 0x48886e
bts ecx, 2
shr eax, 1
test al, 1
je 0x488878
bts ecx, 1
test al, 2
je 0x488880
bts ecx, 0
shl ecx, 0x18
mov eax, ecx
add ecx, ecx
sar eax, 0x1f
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ebx, edx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [edx + edx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
nop dword [eax + eax]
test bl, 1
je 0x48891f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x488910
mov eax, dword [ebp - 4]
inc eax
mov dword [esi], edx
mov dword [ebp - 4], eax
cmp eax, 0xff
jbe 0x488832
cmp dword [0x68f7a8], 0
pop ebx
jne 0x48895f
mov dword [0x68f7a8], edi
pop edi
mov byte [0x68f7a4], 1
mov byte [0x68f7a5], 0
pop esi
mov esp, ebp
pop ebp
ret
push edi
call fcn.005af626
add esp, 4
mov byte [0x68f7a4], 1
mov byte [0x68f7a5], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test al, al
je 0x4889ac
test cl, cl
jne 0x4889ac
xor esi, esi
test al, al
je 0x4889ac
nop word [eax + eax]
push 2
call fcn.00447b80
inc esi
add esp, 4
cmp esi, 0xc8
ja 0x4889ac
cmp byte [0x68f7a5], 0
jne 0x488990
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4889c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 8], ebx
test esi, esi
je 0x488abf
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x488abe
cmp edi, 0x10
jb 0x488a97
mov eax, dword [ebx + 4]
mov ecx, edi
shr ecx, 4
mov dword [ebp - 4], ecx
nop dword [eax + eax]
mov edi, dword [ebp - 8]
lea ebx, [esi + 2]
mov esi, 4
nop dword [eax + eax]
movzx edx, byte [ebx - 2]
lea ebx, [ebx + 4]
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, dword [0x68f7a8]
xor eax, dword [ecx + edx*4]
mov dword [edi + 4], eax
movzx edx, byte [ebx - 5]
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, dword [0x68f7a8]
xor eax, dword [ecx + edx*4]
mov dword [edi + 4], eax
movzx ecx, byte [ebx - 4]
movzx edx, al
xor edx, ecx
shr eax, 8
mov ecx, dword [0x68f7a8]
xor eax, dword [ecx + edx*4]
mov dword [edi + 4], eax
movzx edx, byte [ebx - 3]
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, dword [0x68f7a8]
xor eax, dword [ecx + edx*4]
mov dword [edi + 4], eax
sub esi, 1
jne 0x488a10
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub edi, 0x10
add esi, 0x10
mov dword [ebp + 0xc], edi
sub dword [ebp - 4], 1
mov dword [ebp + 8], esi
jne 0x488a00
mov ebx, dword [ebp - 8]
test edi, edi
je 0x488abe
mov edx, dword [ebx + 4]
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
mov eax, dword [0x68f7a8]
xor edx, dword [eax + ecx*4]
mov dword [ebx + 4], edx
sub edi, 1
jne 0x488aa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48a340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5baffb
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x100]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x108], eax
push ecx
push 0
push edi
push eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, eax
xor al, al
mov dword [ebp - 0x110], ecx
mov byte [ebp - 0x101], al
test ecx, ecx
jne 0x48a500
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x48a56c
push ecx
call fcn.0040deb0
mov edi, eax
add esp, 4
test edi, edi
jne 0x48a3ea
xor al, al
jmp 0x48a56c
lea eax, [ebp - 0x100]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x10c]
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x108], eax
test eax, eax
jne 0x48a48a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x100]
cmp eax, 4
jne 0x48a445
cmp ecx, 4
jne 0x48a44f
push dword [edi]
mov ecx, esi
call fcn.0042ad70
push edi
mov byte [ebp - 0x101], 1
call fcn.005af626
add esp, 4
jmp 0x48a566
cmp eax, 1
je 0x48a46d
cmp eax, 2
je 0x48a46d
push ecx
push edi
mov ecx, esi
call fcn.0042b330
push edi
mov byte [ebp - 0x101], 1
call fcn.005af626
add esp, 4
jmp 0x48a566
push edi
mov ecx, esi
call fcn.0042ae50
push edi
mov byte [ebp - 0x101], 1
call fcn.005af626
add esp, 4
jmp 0x48a566
push 0x74
lea eax, [ebp - 0x88]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.0042a910
push dword [ebp - 0x108]
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.0042b910
mov esi, dword [ebx]
lea ecx, [ebp - 0x88]
call fcn.0042f430
push eax
push str.RegistryQueryError2
mov ecx, ebx
call dword [esi + 0x2c]
push dword [ebp - 0x10c]
mov eax, dword [ebx]
mov ecx, ebx
push str.ValueName
call dword [eax + 0x2c]
lea ecx, [ebp - 0x88]
call fcn.0042a960
push edi
call fcn.005af626
add esp, 4
jmp 0x48a566
push 0x74
lea eax, [ebp - 0xfc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xfc]
call fcn.0042a910
push dword [ebp - 0x110]
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 1
call fcn.0042b910
mov esi, dword [ebx]
lea ecx, [ebp - 0xfc]
call fcn.0042f430
push eax
push str.RegistryQueryError
mov ecx, ebx
call dword [esi + 0x2c]
mov edx, dword [ebx]
mov ecx, ebx
push edi
push str.ValueName
call dword [edx + 0x2c]
lea ecx, [ebp - 0xfc]
call fcn.0042a960
mov al, byte [ebp - 0x101]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret
Function at 0x4a16b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 8], 0x6119a407
je 0x4a16d0
push 0
call fcn.004014f0
add esp, 4
xor eax, eax
pop edi
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push esi
call fcn.0042f430
mov edx, eax
mov eax, 0x1505
movsx esi, byte [edx]
test esi, esi
je 0x4a16fa
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, esi
movsx esi, byte [edx]
add eax, ecx
test esi, esi
jne 0x4a16e7
xor edx, edx
div dword [edi + 0xc]
pop esi
mov eax, edx
pop edi
pop ebp
ret 4

Function at 0x4a1ad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1a0d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x68cc00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042a000
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable.MimeHeader.0
mov dword [esi + 8], 0
call fcn.0045a670
mov byte [esi + 0x28], 1
mov eax, esi
mov dword [esi + 0x2c], vtable.MimeControl.0
mov word [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4af340
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], vtable._ckMd5.0
mov eax, ecx
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret

Function at 0x4afb00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
cmp dword [eax + 0x804], ebx
jbe 0x4afb61
push esi
lea esi, [eax + 4]
push dword [esi + 0x400]
mov ecx, edi
push dword [esi]
call fcn.004affc0
mov eax, dword [ebp + 8]
lea esi, [esi + 4]
inc ebx
cmp ebx, dword [eax + 0x804]
jb 0x4afb42
pop esi
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004afec0
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4afb80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.004affc0
push dword [ebp + 0x10]
mov ecx, esi
call fcn.004afec0
pop esi
pop ebp
ret 0xc

Function at 0x4afbd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
call fcn.00402f80
mov ecx, dword [ebp + 8]
push eax
call fcn.00438c00
push eax
mov ecx, edi
call fcn.004affc0
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004afec0
pop edi
pop ebp
ret 8