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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x100
mov edx, dword [esi + 0x4c]
cmp edx, 1
mov ebx, dword [esi + 0x1a8]
sete al
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edx
mov byte [ebx + 0x1c], al
mov eax, 0x2fe
push dword [esi + 0x64]
mov ecx, dword [esi + 4]
cmovne eax, edi
push eax
push 1
push esi
mov eax, dword [ecx + 8]
call eax
mov dword [ebx + 0x18], eax
xor edi, edi
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp dword [esi + 0x64], edi
jle 0x4b9883
mov ecx, dword [ebx + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x4b97e1
mov eax, dword [ebx + 0x18]
add dword [eax + edi*4], 0xff
mov eax, dword [ebx + 0x18]
xor ebx, ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 8], eax
lea eax, [ecx - 1]
push eax
push ebx
push edi
push esi
call fcn.004b9b10
add esp, 0x10
mov edx, eax
xor esi, esi
nop
cmp esi, edx
jle 0x4b981d
mov eax, dword [ebp - 0x10]
inc ebx
dec eax
push eax
push ebx
push edi
push dword [ebp + 8]
call fcn.004b9b10
mov edx, eax
add esp, 0x10
cmp esi, edx
jg 0x4b9804
mov ecx, dword [ebp - 0xc]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 8]
mov byte [esi + eax], cl
inc esi
cmp esi, 0xff
jle 0x4b9800
cmp dword [ebp - 4], 1
jne 0x4b9870
mov ebx, eax
mov ecx, 1
lea edx, [ebx - 1]
nop dword [eax + eax]
movzx eax, byte [ebx]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebx + 0xff]
mov byte [ebx + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x4b9850
mov esi, dword [ebp + 8]
inc edi
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
cmp edi, dword [esi + 0x64]
jl 0x4b97c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d2361
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4d2361
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4d2361
push dword [ebp + 0xc]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4dd4e0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dd4f0

Function at 0x4dd770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dda20

Function at 0x4ef770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push 0
call fcn.0058560b
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x4ef799
mov eax, 1
pop ebp
ret
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop ebp
ret

Function at 0x4f6be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jle 0x4f6c5f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
sub ecx, eax
push esi
sub eax, ebx
mov dword [ebp + 0xc], ecx
push edi
mov dword [ebp + 8], eax
nop
lea esi, [eax + ebx]
lea eax, [esi + ecx]
push eax
push dword [ebx - 4]
call fcn.004f6830
mov esi, dword [esi]
lea ebx, [ebx + 4]
mov ecx, eax
mov edi, esi
and edi, 0xffff00ff
and ecx, 0xffff00ff
add edi, ecx
mov edx, esi
movzx ecx, ax
and edx, 0xff00
add edx, ecx
and eax, 0xff00ffff
mov ecx, dword [ebp + 0xc]
xor edi, edx
and esi, 0xff00ff00
and edi, 0xff00ff
add eax, esi
add esp, 8
xor edi, eax
sub dword [ebp + 0x10], 1
mov eax, dword [ebp + 8]
mov dword [ebx - 4], edi
jne 0x4f6c00
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4f6eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx - 4]
jle 0x4f6f1a
mov ecx, dword [ebp + 8]
sub ecx, ebx
push esi
mov dword [ebp + 8], ecx
push edi
nop word [eax + eax]
mov esi, dword [ecx + ebx]
lea ebx, [ebx + 4]
mov ecx, eax
mov edi, esi
and edi, 0xffff00ff
and ecx, 0xffff00ff
add edi, ecx
mov edx, esi
movzx ecx, ax
and edx, 0xff00
add edx, ecx
and eax, 0xff00ffff
mov ecx, dword [ebp + 8]
xor edi, edx
and esi, 0xff00ff00
and edi, 0xff00ff
add eax, esi
xor eax, edi
sub dword [ebp + 0x10], 1
mov dword [ebx - 4], eax
jne 0x4f6ed0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4f6f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jle 0x4f6f9f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
sub ecx, eax
push esi
sub eax, ebx
mov dword [ebp + 0xc], ecx
push edi
mov dword [ebp + 8], eax
nop
lea esi, [eax + ebx]
lea eax, [esi + ecx]
push eax
push dword [ebx - 4]
call fcn.004f6b00
mov esi, dword [esi]
lea ebx, [ebx + 4]
mov ecx, eax
mov edi, esi
and edi, 0xffff00ff
and ecx, 0xffff00ff
add edi, ecx
mov edx, esi
movzx ecx, ax
and edx, 0xff00
add edx, ecx
and eax, 0xff00ffff
mov ecx, dword [ebp + 0xc]
xor edi, edx
and esi, 0xff00ff00
and edi, 0xff00ff
add eax, esi
add esp, 8
xor edi, eax
sub dword [ebp + 0x10], 1
mov eax, dword [ebp + 8]
mov dword [ebx - 4], edi
jne 0x4f6f40
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4f7740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + eax*4]
cmp esi, edi
jae 0x4f7793
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [esi]
lea eax, [eax + 2]
mov edx, ebx
mov ecx, ebx
shr edx, 0x10
add esi, 4
shr ecx, 0xd
xor dl, cl
mov ecx, ebx
and dl, 7
shr ecx, 0x10
xor dl, cl
mov ecx, ebx
mov byte [eax - 2], dl
mov edx, ebx
shr edx, 5
shr ecx, 3
xor dl, cl
shr ebx, 5
and dl, 0x1f
xor dl, bl
mov byte [eax - 1], dl
cmp esi, edi
jb 0x4f7756
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x4f77a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + eax*4]
cmp esi, edi
jae 0x4f77e9
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [esi]
lea eax, [eax + 2]
mov edx, ebx
mov ecx, ebx
shr ecx, 0xc
add esi, 4
shr edx, 0x10
xor dl, cl
mov ecx, ebx
shr ecx, 0x10
and dl, 0xf
xor dl, cl
mov ecx, ebx
shr ecx, 0x1c
and bl, 0xf0
or cl, bl
mov byte [eax - 2], dl
mov byte [eax - 1], cl
cmp esi, edi
jb 0x4f77b6
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x503a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x6398ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x2c], eax
mov edi, dword [eax + 0x28]
mov esi, dword [eax + 0x2c]
mov eax, esi
imul eax, edi
push 1
mov dword [ebp - 0x34], edi
cdq
push edx
push eax
call fcn.004e20c0
add esp, 0xc
mov dword [ebp - 0x40], eax
test eax, eax
je 0x503bbd
dec esi
cmp esi, 1
jle 0x503bb4
inc eax
lea ecx, [edi*8]
add eax, edi
mov dword [ebp - 0x18], ecx
push ebx
lea edx, [ecx + 8]
mov dword [ebp - 0x20], eax
dec esi
mov dword [ebp - 0x38], edx
lea ebx, [edi - 1]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], esi
nop
cmp ebx, 1
jle 0x503b40
mov esi, eax
mov edi, edx
lea eax, [ebx - 1]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov edx, dword [eax + 0x588c]
add edx, edi
mov ecx, edx
sub ecx, dword [ebp - 0x18]
mov ebx, dword [edx]
shr ebx, 5
mov eax, dword [ecx - 8]
and ebx, 3
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + 8]
shr eax, 5
and eax, 3
mov ecx, dword [ebp - 0x18]
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [edx - 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [edx + 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + edx - 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + edx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + edx + 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
xor eax, eax
cmp dword [ebp + eax*4 - 0x14], 5
jge 0x503b1f
inc eax
cmp eax, 4
jl 0x503b10
jmp 0x503b21
mov ebx, eax
mov byte [esi], bl
add edi, 8
inc esi
sub dword [ebp - 0x1c], 1
jne 0x503a83
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
add eax, edi
add edx, ecx
sub esi, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
jne 0x503a70
lea eax, [ecx + 8]
nop dword [eax]
mov edx, 1
cmp ebx, edx
jle 0x503ba2
mov esi, eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x2c]
lea esi, [esi + 8]
mov ebx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x588c]
lea eax, [edi + edx]
movzx eax, byte [eax + ebx]
inc edx
mov ebx, dword [ebp - 0x30]
shl eax, 5
xor eax, dword [ecx + esi - 8]
and eax, 0x60
xor dword [ecx + esi - 8], eax
cmp edx, ebx
jl 0x503b70
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
add edi, dword [ebp - 0x34]
add eax, ecx
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], eax
jne 0x503b60
mov eax, dword [ebp - 0x40]
pop ebx
push eax
call fcn.004e1ef0
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057fc8e
mov esp, ebp
pop ebp
ret
Function at 0x505da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6398ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebx + 0x40]
lea eax, [ebx + 0x44]
push 1
push 1
push esi
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x408], eax
call fcn.0051aac0
push 2
push 3
push esi
call fcn.0051aac0
push 8
lea eax, [edi - 1]
push eax
push esi
call fcn.0051aac0
lea eax, [edi - 1]
add esp, 0x24
mov dword [ebp - 0x40c], eax
cmp eax, 1
jl 0x505eb7
mov edx, dword [ebp - 0x408]
lea ecx, [ebp - 0x404]
mov ebx, dword [edx + eax*4]
lea eax, [edx + eax*4]
sub ecx, edx
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x410], ecx
nop
mov edi, dword [eax - 4]
lea esi, [eax - 4]
mov edx, ebx
mov eax, edi
and eax, 0xff00ff00
and edx, 0xff00
sub edx, eax
mov ecx, ebx
and ecx, 0xffff00ff
mov eax, edi
and eax, 0xff00ff
sub edx, 0xff01
sub ecx, eax
and ebx, 0xff00ff00
add ecx, 0xff00
mov eax, edi
and eax, 0xff00ff00
xor edx, ecx
mov ecx, dword [ebp - 0x410]
sub ebx, eax
mov eax, dword [ebp - 0x408]
add ebx, 0xff00ff
and edx, 0xff00ff
xor edx, ebx
sub dword [ebp - 0x40c], 1
mov ebx, edi
mov dword [ecx + eax], edx
mov eax, esi
mov dword [ebp - 0x408], eax
jne 0x505e30
mov ebx, dword [ebp - 0x414]
mov esi, dword [ebp - 0x418]
mov edi, dword [ebp - 0x41c]
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x44]
push 0x14
push 1
mov dword [ebp - 0x404], eax
lea eax, [ebx + 0x45c]
push edi
push eax
lea eax, [ebx + 0x444]
push eax
lea eax, [ebx + 0x48c]
push eax
lea eax, [ebp - 0x404]
push eax
push esi
call fcn.00505bb0
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0057fc8e
mov esp, ebp
pop ebp
ret
Function at 0x5067d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
xor edx, edx
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0xc], eax
jle 0x5068f8
push ebx
push esi
push edi
nop dword [eax]
mov esi, eax
mov dword [ebp - 4], edx
or ecx, 0xffffffff
and esi, 0xff00ff
mov ebx, edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
and eax, 0xff00ff00
mov dword [ebp - 0x14], esi
nop
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + ebx*4]
mov ebx, edx
and ebx, 0xff00
mov ecx, edx
and ecx, 0xffff00ff
sub ebx, eax
sub ecx, esi
sub ebx, 0xff01
add ecx, 0xff00
and edx, 0xff00ff00
xor ebx, ecx
sub edx, eax
add edx, 0xff00ff
and ebx, 0xff00ff
xor ebx, edx
mov ecx, ebx
movzx edx, bl
shr ecx, 8
movzx edi, cl
mov ecx, ebx
shr ecx, 0x10
movzx esi, cl
mov ecx, 0x100
sub ecx, edi
shr ebx, 0x18
cmp edi, 0x80
cmova edi, ecx
mov ecx, 0x100
sub ecx, edx
cmp edx, 0x80
cmova edx, ecx
mov ecx, 0x100
add edi, edx
sub ecx, esi
cmp esi, 0x80
cmova esi, ecx
mov ecx, 0x100
add edi, esi
sub ecx, ebx
mov esi, dword [ebp - 0xc]
cmp ebx, 0x80
cmova ebx, ecx
lea edx, [edi + edi*8]
add edx, ebx
mov ebx, dword [ebp - 8]
cmp esi, edx
mov edi, ebx
cmovbe edi, dword [ebp - 4]
inc ebx
cmp esi, edx
mov dword [ebp - 4], edi
mov dword [ebp - 8], ebx
cmovbe edx, esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp ebx, dword [ebp + 0xc]
jl 0x506810
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + edi*4]
mov ecx, dword [ebx + edx*4]
mov dword [ebx + edi*4], ecx
mov dword [ebx + edx*4], eax
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebp + 0xc]
jl 0x5067f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x507ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6398ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
movzx eax, cx
shr ecx, 0x10
mov byte [ebp - 0x18], al
mov byte [ebp - 0x16], cl
shr eax, 8
sar ecx, 8
mov byte [ebp - 0x17], al
mov byte [ebp - 0x15], cl
mov ecx, dword [ebp + 0x10]
movzx eax, cx
mov byte [ebp - 0xc], al
shr eax, 8
push edx
mov byte [ebp - 0xb], al
lea eax, [ebp - 0x1c]
shr ecx, 0x10
mov byte [ebp - 0xa], cl
push 0x15
sar ecx, 8
push eax
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x1c], 0x46464952
mov dword [ebp - 0x14], 0x50424557
mov dword [ebp - 0x10], 0x4c385056
mov byte [ebp - 8], 0x2f
mov byte [ebp - 9], cl
call eax
mov ecx, dword [ebp - 4]
add esp, 0xc
neg eax
sbb eax, eax
xor ecx, ebp
and eax, 0xfffffff8
add eax, 8
call fcn.0057fc8e
mov esp, ebp
pop ebp
ret
Function at 0x51d720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6398ac]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x5c7620]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
movups xmmword [ebp - 0x14], xmm0
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x28], edx
cmp edx, 4
jge 0x51d758
cmp edx, 1
jle 0x51d878
jmp 0x51d75f
mov dword [ebp - 0x28], 4
push ebx
lea ecx, [edi + 0x480]
mov ebx, 1
mov dword [ebp - 0x24], ecx
lea eax, [edi + 0x2e8]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
push esi
nop dword [eax]
xor esi, esi
test ebx, ebx
jle 0x51d7bf
add edi, 0x198
nop dword [eax]
add eax, 0x198
push edi
push eax
call fcn.0051d2e0
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x51d7b6
inc esi
add edi, 0x2e8
cmp esi, ebx
jl 0x51d790
mov ecx, dword [ebp - 0x18]
jmp 0x51d7c1
mov ecx, dword [ebp - 0x18]
mov dword [ebp + ecx*4 - 0x14], esi
jmp 0x51d7ed
xor esi, esi
lea edx, [ebp - 0x14]
mov dword [edx + ecx*4], esi
lea edx, [edx + ecx*4]
mov edx, dword [ebp - 0x24]
cmp ebx, ecx
je 0x51d7e3
lea esi, [eax + 0x198]
mov ecx, 0xba
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x18]
inc ebx
add edx, 0x2e8
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x28]
inc ecx
mov edi, dword [ebp - 0x20]
add eax, 0x2e8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
cmp ecx, edx
jl 0x51d780
cmp ebx, edx
jge 0x51d876
mov esi, dword [edi + 0x2c]
imul esi, dword [edi + 0x28]
test esi, esi
jle 0x51d842
mov eax, dword [edi + 0x588c]
dec esi
mov ecx, dword [eax + esi*8]
lea edx, [eax + esi*8]
mov eax, ecx
shr eax, 5
and eax, 3
mov eax, dword [ebp + eax*4 - 0x14]
shl eax, 5
xor eax, ecx
and eax, 0x60
xor eax, ecx
mov dword [edx], eax
test esi, esi
jg 0x51d816
mov edx, dword [ebp - 0x28]
imul eax, ebx, 0x2e8
lea esi, [edi - 0x150]
mov dword [edi + 0x18], ebx
add esi, eax
add eax, 0x198
add eax, edi
mov dword [ebp - 0x20], esi
sub edx, ebx
nop
mov edi, eax
mov ecx, 0xba
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x20]
add eax, 0x2e8
sub edx, 1
jne 0x51d860
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0057fc8e
mov esp, ebp
pop ebp
ret
Function at 0x51ebe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebx]
lea eax, [eax + esi*2]
add eax, esi
imul ecx, eax, 0x2c
mov eax, dword [ebx + 4]
add ecx, dword [ebx + 0x14]
test eax, eax
jns 0x51ec20
mov eax, dword [ecx]
cmp eax, 0xfffe0000
jb 0x51ec11
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, eax
jg 0x51ed84
push edi
mov edi, 2
nop
mov eax, dword [ecx]
cmp eax, 0xfffe0000
jb 0x51ec41
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10001
mov dword [ecx], eax
mov eax, dword [ebx + 8]
movsx edx, word [eax + esi*2]
test edx, edx
jne 0x51ec89
mov eax, dword [ecx + 4]
inc esi
cmp eax, 0xfffe0000
jb 0x51ec66
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [ecx + 4], eax
movzx eax, byte [esi + 0x602b30]
imul ecx, eax, 0x84
mov eax, dword [ebx + 8]
movsx edx, word [eax + esi*2]
add ecx, dword [ebx + 0x14]
test edx, edx
je 0x51ec53
mov eax, dword [ecx + 4]
inc esi
mov dword [ebp - 4], esi
cmp eax, 0xfffe0000
jb 0x51ec9f
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10001
mov dword [ecx + 4], eax
lea eax, [edx + 1]
cmp edi, eax
mov eax, dword [ecx + 8]
sbb edi, edi
neg edi
cmp eax, 0xfffe0000
jb 0x51ecc2
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
add eax, edi
mov dword [ecx + 8], eax
lea eax, [edx + 1]
cmp eax, 2
ja 0x51ecec
movzx eax, byte [esi + 0x602b30]
imul ecx, eax, 0x84
add ecx, 0x2c
add ecx, dword [ebx + 0x14]
jmp 0x51ed75
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, 0x43
cmp eax, 0x43
cmovg eax, edx
xor edi, edi
movzx ebx, word [eax*4 + 0x605174]
shr ebx, 1
movzx edx, word [eax*4 + 0x605176]
mov dword [ebp + 8], edx
je 0x51ed5d
mov esi, dword [ebp + 8]
lea edx, [ecx + 0xc]
nop dword [eax]
test bl, 1
je 0x51ed52
mov ecx, edi
mov eax, 2
shl eax, cl
mov ecx, dword [edx]
and eax, esi
neg eax
sbb eax, eax
neg eax
cmp ecx, 0xfffe0000
jb 0x51ed49
inc ecx
shr ecx, 1
and ecx, 0x7fff7fff
add eax, 0x10000
add eax, ecx
mov dword [edx], eax
inc edi
add edx, 4
sar ebx, 1
jne 0x51ed20
mov esi, dword [ebp - 4]
movzx eax, byte [esi + 0x602b30]
mov ebx, dword [ebp + 0xc]
imul ecx, eax, 0x84
mov eax, dword [ebx + 0x14]
add eax, 0x58
add ecx, eax
mov edi, 2
cmp esi, dword [ebx + 4]
jle 0x51ec30
pop edi
cmp esi, 0x10
jge 0x51eda1
mov eax, dword [ecx]
cmp eax, 0xfffe0000
jb 0x51ed9a
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [ecx], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55fd70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push ebx
movzx ebx, word [eax]
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp ecx, eax
jb 0x55fd93
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
push esi
mov esi, dword [ebp + 0x14]
cmp esi, eax
cmova esi, eax
xor edx, edx
mov dword [ebp + 0x14], esi
test esi, esi
je 0x55fde4
push edi
mov edi, dword [ebp + 0x10]
sub ecx, edi
mov dword [ebp + 0xc], esi
mov esi, ecx
movzx eax, byte [esi + edi]
lea edi, [edi + 1]
mov edx, ebx
mov ecx, 0x58bf
shr edx, 8
xor edx, eax
add eax, ebx
imul eax, eax, 0x3193
mov byte [edi - 1], dl
sub ecx, eax
sub dword [ebp + 0xc], 1
movzx ebx, cx
jne 0x55fdb2
mov esi, dword [ebp + 0x14]
mov edx, esi
mov ecx, dword [ebp - 8]
pop edi
mov eax, dword [ebp + 8]
add ecx, esi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov word [eax], bx
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x572a50
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
shr ecx, 0x10
xor ecx, dword [ebp + 8]
imul ecx, ecx, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret
Function at 0x59c5e5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0059c45b

Function at 0x5a3b2d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005a3680
Function at 0x4026b2
Capabilities:
Terminate process

Disassembly:
jmp 0x44e032
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x44e043
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403c88
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x402766
Capabilities:
Query environment variable

Disassembly:
jmp 0x459e49
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x459e5d
xor edi, edi
jmp 0x459e94
push ebx
push esi
call fcn.00459d53
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402cf2
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x459e84
push ebx
push esi
push edi
call fcn.00403b16
add esp, 0xc
push 0
call fcn.004041f6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x403b93
Capabilities:
Parse pe header

Disassembly:
jmp 0x4163e2
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x416421
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x416421
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x416421
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x416421
cmp dword [ecx + 0x74], 0xe
jbe 0x416421
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100019a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100019b5
xor eax, eax
jmp 0x10001a2a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100019e2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10001a25
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10001a23
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10001a1f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10001a23
xor eax, eax
jmp 0x10001a2a
jmp 0x100019d9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101288e0]
mov dword [ebp - 4], eax
jmp 0x10001c09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10001c26
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10001c00
mov esp, ebp
pop ebp
ret