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

Disassembly:
pushal
mov esi, 0xcaaccb6c
mov ebx, 0xd291521b
sub ebx, esi
popal
sub esi, ebx
mov esi, ebx
mov esi, 0
mov ebx, edi
or eax, ecx
not ecx
mov edx, ebx
dec ecx
add ecx, 0xac515d0b
sub ecx, 1
mov edi, edx
dec eax
mov eax, ecx
and eax, eax
inc esi
inc ecx
mov eax, ecx
sub eax, 0x51770196
cmp esi, 0x10051d6
jne 0x47b44b
inc eax
mov eax, ecx
and eax, ecx
and esi, ebx
add esi, 0xa4e8035
mov edi, 0x47b21e
add edx, ebx
sub edx, esi
mov eax, 0x47b412
and edx, esi
mov ebx, 0xaef80b49
mov ecx, dword [edi]
dec edx
not esi
and ecx, 0xff
inc ebx
mov ebx, 0x105b14e1
and esi, ebx
xor dword [eax], ecx
sub edx, 1
inc edx
mov edx, esi
add eax, 1
dec ebx
sub ebx, 0xea7f461c
inc edi
dec edx
dec edx
cmp eax, entry0
jl 0x47b49f
and edx, esi
dec esi
add edx, ebx
mov edx, ebx
and ecx, esi
sub ebx, 0x5bea6af8
mov edx, 0x47b416
add esi, edi
dec esi
add esi, esi
mov edx, dword [edx]
dec ecx
add ebx, 0x239692f8
mov edx, dword [edx]
and ecx, esi
sub esi, 0x6a66036d
push edx
add edi, ebx
sub edi, ebx
mov ebx, 0xabecb1f2
mov edx, 0x47b412
not ecx
not ecx
mov edx, dword [edx]
and esi, esi
mov ebx, edi
mov edx, dword [edx]
inc esi
or esi, esi
not edi
push 0x47b41a
add ebx, 0xdd1cd2b2
dec ebx
call edx
or esi, esi
inc ecx
mov edx, dword [esp]
add esp, 4
and esi, ecx
add edi, esi
not esi
sub esp, 4
mov dword [esp], 0x47b427
mov ecx, 0x3007ef67
and ecx, ecx
inc edi
push eax
inc ebx
mov ebx, ecx
call edx
not esi
not esi
push 0x40
not edi
dec ebx
sub esp, 4
mov dword [esp], 0x3000
sub edi, 0xd67e62bd
sub ebx, 0xbce18f77
inc edi
push 0x200003fe
sub ebx, ecx
or ebx, ecx
push 0
or edi, edi
not ebx
call eax
mov ebx, 0x6d4d1e0b
dec esi
add eax, 0x20000357
add ecx, 1
mov edi, 0xd276c1a3
mov edx, 0x39c2a1c7
add edi, 0x56615f08
add edi, ebx
inc esi
mov dword [eax], edx
not ebx
sub esi, 0x60de9a93
mov edx, dword [eax]
sub ecx, esi
and edi, ebx
cmp edx, 0x39c2a1c7
je 0x47b5d5
mov eax, 0
mov bl, byte [eax]
or ebx, edi
and edi, edi
add edi, esi
or ecx, edi
mov esi, ebx
mov ebx, esi
sub esi, ebx
mov edx, section.UPX1
or esi, ebx
sub ebx, 1
mov ebx, esi
mov ecx, 0x47b21d
not ebx
mov esi, ebx
add esi, ebx
mov eax, 0
mov esi, ebx
dec esi
mov edi, 0x47b21e
inc esi
and esi, ebx
lea edi, [eax + edi]
sub esi, ebx
inc ebx
mov edi, dword [edi]
add esi, ebx
dec ebx
and edi, 0xff
mov esi, ebx
sub ebx, 0xcd315a63
or esi, esi
inc eax
add esi, 0x31646d7f
add esi, esi
cmp eax, 0x1f4
jne 0x47b63e
mov eax, 0
add ebx, esi
mov esi, ebx
inc esi
mov esi, ebx
or esi, esi
xor dword [edx], edi
inc esi
not esi
add ebx, ebx
add edx, 2
dec ebx
inc ebx
not esi
cmp edx, ecx
jl 0x47b605
sub ebx, 1
add ebx, ebx
sub ebx, 0x6539aa25
sub esi, 1
or esi, ebx
mov ecx, section.UPX1
sub edx, edi
add edx, edx
add edx, edi
mov esi, section.UPX1
sub edi, 0xea940775
not edx
mov ebx, 0x47b21d
sub edi, edx
add edi, edi
mov eax, 0
inc edi
sub edx, 0x2f63d129
sub edi, edx
mov al, byte [esi]
or edx, edx
mov edx, edi
mov byte [ecx], al
inc edi
inc edx
inc ecx
not edx
mov edx, 0x9da3bb
add esi, 2
not edi
add edx, 0x7fcfa844
add edx, edx
cmp esi, ebx
jle 0x47b6a5
sub edi, 1
sub edi, edx
mov esi, ebx
sub esi, 0x9ebedf12
push 0x45e6a0
dec ebx
mov esi, ebx
ret
Function at 0x43ebb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ebce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ebc3
pop esi
ret

Function at 0x43ed10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43eda2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ed94
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43ed8c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43ed55
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x249e24a2
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x34d64d4a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x439eb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x439ed7
jmp 0x439ec0
mov cl, byte [eax]
movzx edx, cl
mov dl, byte [edx + 0x5da1c8]
xor dl, cl
mov byte [eax], dl
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x439ec0
ret
Function at 0x44bc20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.00481310
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x44bcff
cmp dword [eax + 0x78], 0xa
jne 0x44bcff
mov eax, dword [edi + 0x20]
test eax, eax
je 0x44bcff
mov eax, dword [eax + 0xc0]
test eax, eax
je 0x44bcff
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
cmp eax, 2
mov eax, dword [edi + 0x20]
jne 0x44bcf2
add eax, 0xc0
mov eax, dword [eax]
test eax, eax
je 0x44bc86
add eax, 0xfffffffc
jmp 0x44bc88
xor eax, eax
mov ecx, dword [eax + 0xb8]
test ecx, ecx
je 0x44bc9d
mov esi, dword [ecx + 0x164]
jmp 0x44bd23
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x44bd34
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esi], 5
mov dword [esi + 4], ecx
mov edx, dword [eax + 0x18]
mov edi, dword [edx + 0x20]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44bcc4
mov ecx, dword [ebx + 0x1c]
push 3
sub eax, edx
push 1
inc eax
push eax
call fcn.005be0e0
mov dword [esi + 8], eax
mov ecx, edi
mov dl, byte [ecx]
inc ecx
mov byte [eax], dl
inc eax
test dl, dl
jne 0x44bce0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov ecx, dword [eax + 0xc0]
mov edx, dword [ecx]
call dword [edx + 0xc]
jmp 0x44bd34
mov ecx, edi
call fcn.00481320
test eax, eax
je 0x44bd0f
mov esi, dword [eax + 0x3c]
jmp 0x44bd23
mov eax, dword [edi + 0x20]
test eax, eax
je 0x44bd34
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x44bd34
mov esi, dword [eax + 0x2c]
test esi, esi
je 0x44bd34
push esi
mov ecx, ebp
call fcn.0047caf0
cmp eax, 1
jne 0x44bd64
mov esi, dword [edi + 0x10]
test esi, esi
mov ebx, 1
je 0x44bd5d
mov edi, dword [esp + 0x1c]
push edi
push esi
push ebp
call fcn.0044bc20
add esp, 0xc
cmp eax, 0xffffffff
je 0x44bdb1
mov esi, dword [esi + 0xc]
add ebx, eax
test esi, esi
jne 0x44bd44
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
push esi
mov ecx, ebp
call fcn.0047caf0
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov dword [edi], eax
mov dword [edi + 4], ebp
call fcn.004df0a0
mov eax, dword [eax]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44bd81
sub eax, ecx
mov ecx, dword [ebx + 0x1c]
push 3
push 1
inc eax
push eax
call fcn.005be0e0
mov ecx, esi
mov dword [edi + 8], eax
call fcn.004df0a0
mov eax, dword [eax]
mov edi, dword [edi + 8]
mov cl, byte [eax]
inc eax
mov byte [edi], cl
inc edi
test cl, cl
jne 0x44bda7
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x453de0
Capabilities:
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov eax, ecx
mov ecx, dword [esp + 0xc]
push ebx
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 8]
push esi
mov dword [eax], 0x5dad1c
mov dword [eax + 8], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
xor ebx, ebx
lea esi, [eax + 0x43c]
mov edx, ebx
shr edx, 1
test bl, 1
je 0x453e21
xor edx, 0xedb88320
test dl, 1
je 0x453e30
shr edx, 1
xor edx, 0xedb88320
jmp 0x453e32
shr edx, 1
test dl, 1
je 0x453e41
shr edx, 1
xor edx, 0xedb88320
jmp 0x453e43
shr edx, 1
test dl, 1
je 0x453e52
shr edx, 1
xor edx, 0xedb88320
jmp 0x453e54
shr edx, 1
test dl, 1
je 0x453e63
shr edx, 1
xor edx, 0xedb88320
jmp 0x453e65
shr edx, 1
test dl, 1
je 0x453e74
shr edx, 1
xor edx, 0xedb88320
jmp 0x453e76
shr edx, 1
test dl, 1
je 0x453e85
shr edx, 1
xor edx, 0xedb88320
jmp 0x453e87
shr edx, 1
test dl, 1
je 0x453e96
shr edx, 1
xor edx, 0xedb88320
jmp 0x453e98
shr edx, 1
mov dword [esi], edx
inc ebx
add esi, 4
cmp ebx, 0x100
jb 0x453e12
pop esi
mov byte [eax + 0x93b], cl
pop ebx
ret 0xc

Function at 0x453f10
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [ecx + 0x10]
test edx, edx
push ebx
push ebp
push esi
push edi
je 0x454001
mov edi, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
lea esi, [edi + 4]
cmp esi, ebp
jae 0x454001
xor eax, eax
mov dword [ecx + 8], esi
mov ah, byte [edi + edx]
movzx ebx, byte [edi + edx + 2]
mov al, byte [edi + edx + 1]
movzx edi, byte [edi + edx + 3]
shl eax, 8
or eax, ebx
shl eax, 8
or edi, eax
lea eax, [esi + 4]
cmp eax, ebp
jae 0x454001
xor ebx, ebx
mov dword [ecx + 8], eax
mov bh, byte [esi + edx]
movzx eax, byte [esi + edx + 2]
mov bl, byte [esi + edx + 1]
movzx edx, byte [esi + edx + 3]
shl ebx, 8
or ebx, eax
mov eax, dword [esp + 0x18]
shl ebx, 8
or ebx, edx
mov dword [eax], ebx
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
lea edx, [eax + edi + 4]
cmp edx, esi
mov dword [esp + 0x10], ebx
jae 0x454001
mov esi, 0xfffffffc
or edx, 0xffffffff
cmp edi, esi
jle 0x453fc6
mov ebx, dword [ecx + 0x10]
lea ebp, [eax + ebx]
xor ebx, ebx
mov bl, byte [esi + ebp]
xor ebx, edx
and ebx, 0xff
shr edx, 8
xor edx, dword [ecx + ebx*4 + 0x43c]
inc esi
cmp esi, edi
jl 0x453fa6
mov ebx, dword [esp + 0x10]
mov ebp, dword [ecx + 0x10]
lea esi, [eax + edi]
movzx ecx, byte [esi + ebp + 2]
xor eax, eax
mov ah, byte [esi + ebp]
add esi, ebp
not edx
mov al, byte [esi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, ecx
cmp edx, eax
jne 0x454001
cmp ebx, 0x49454e44
je 0x454001
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 4
Function at 0x456040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov eax, esi
imul eax, ecx
lea eax, [eax + eax*2]
cmp eax, 0x800000
jae 0x456086
cmp ecx, 0xb40
jg 0x456086
cmp esi, 0xb40
jle 0x45609a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x456067
cmp ecx, 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ecx
jl 0x4561b0
cmp esi, 1
jl 0x4561b0
mov esi, dword [esp + 0x64]
mov ecx, esi
mov dword [esi + 0x130], 1
call fcn.004a4ab0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
xor ebp, ebp
push ebp
push 7
push ebp
push 6
push ecx
push edx
mov ecx, esi
call dword [eax + 0x3c]
push eax
lea ecx, [esp + 0x3c]
call fcn.004defc0
cmp dword [esp + 0x3c], ebp
je 0x4561a7
lea ecx, [esp + 0x20]
call fcn.004de810
test eax, eax
je 0x4561a7
lea ecx, [esp + 0x20]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.0046f060
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
mov ecx, dword [ebx + 0x54]
push 2
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov ecx, edi
call fcn.0046fd80
mov dword [esi + 0x11c], ebp
mov dword [esi + 0x120], ebp
mov edx, dword [ebx + 0x54]
mov ecx, edi
mov dword [esi + 0x134], edx
call fcn.0046f100
mov eax, dword [esi + 0x450]
push eax
mov ecx, edi
mov dword [esi + 0x134], ebp
call fcn.0046f060
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x80]
call fcn.004efc40
lea ecx, [esp + 0x20]
call fcn.004de830
mov dword [esi + 0x130], ebp
lea ecx, [esp + 0x20]
call fcn.004df010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x460270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x38]
mov ebx, dword [eax + 0x90]
test ebx, ebx
push edi
mov dword [ebp - 4], ebx
je 0x46048b
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov ecx, edi
shl ecx, 8
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0xec]
shl ecx, 8
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
push edx
mov ecx, edx
push ecx
add eax, 0x20
push eax
call fcn.0043c680
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + 0x20]
sar eax, 8
xor edx, edx
add esp, 0xc
cmp eax, edx
mov dword [ebp - 8], eax
jne 0x46038d
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 0x10]
xor edx, edx
mov dl, byte [ecx + 0x94]
sar eax, 0xf
add eax, 0x80
sub esi, edi
and edx, 0xc
push edx
push eax
call fcn.0045fee0
movzx dx, byte [ebx + eax*4 + 2]
movzx cx, byte [ebx + eax*4 + 3]
lea eax, [ebx + eax*4]
mov word [ebp - 8], dx
movzx dx, byte [eax]
mov word [ebp - 6], cx
movzx cx, byte [eax + 1]
mov word [ebp - 0xc], dx
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
add esp, 8
test eax, eax
mov word [ebp - 0xa], cx
mov dword [ebp + 8], eax
je 0x460355
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
movq mm0, qword [ebp - 0xc]
movq qword [edi], mm0
movq qword [edi + 8], mm0
movq qword [edi + 0x10], mm0
movq qword [edi + 0x18], mm0
add edi, 0x20
sub ecx, 1
jne 0x46033c
emms
mov ecx, eax
neg ecx
lea ecx, [esi + ecx*4]
mov esi, dword [ebp + 0x14]
shl eax, 5
add esi, eax
test ecx, ecx
je 0x46048b
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
lea ecx, [ecx*8 - 5]
shr ecx, 2
lea edi, [esi + 8]
mov dword [esi], edx
mov dword [esi + 4], eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x94]
shr ecx, 2
mov dword [ebp + 8], ecx
mov dword [ebp - 0x2c], 0x80
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0xff
mov dword [ebp - 0x18], edx
push ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
sub ebx, eax
test ebx, ebx
je 0x460488
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
pxor mm0, mm0
movq mm1, qword [ebp - 0x2c]
movq mm2, qword [ebp - 0x24]
cmp dword [ebp + 8], 0
je 0x460460
movq mm4, qword [ebp - 0x1c]
cmp dword [ebp + 8], 1
je 0x460420
movd mm3, edx
psrad mm3, 0xf
paddd mm3, mm1
pand mm3, mm4
pextrw eax, mm3, 0
movd mm3, dword [esi + eax*4]
punpcklbw mm3, mm0
movq qword [edi], mm3
add edx, ecx
add edi, 8
sub ebx, 1
jne 0x4603f0
jmp 0x460488
movd mm3, edx
psrad mm3, 0xf
paddd mm3, mm1
pshufw mm5, mm3, 0xe4
pand mm5, mm2
pcmpeqd mm5, mm2
pxor mm3, mm5
pand mm3, mm4
pextrw eax, mm3, 0
movd mm3, dword [esi + eax*4]
punpcklbw mm3, mm0
movq qword [edi], mm3
add edx, ecx
add edi, 8
sub ebx, 1
jne 0x460420
jmp 0x460488
movd mm3, edx
psrad mm3, 0xf
paddd mm3, mm1
pminsw mm3, mm2
pmaxsw mm3, mm0
pextrw eax, mm3, 0
movd mm3, dword [esi + eax*4]
punpcklbw mm3, mm0
movq qword [edi], mm3
add edx, ecx
add edi, 8
sub ebx, 1
jne 0x460460
pop ebx
emms
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4604a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x38]
mov esi, dword [eax + 0x90]
test esi, esi
je 0x460620
mov edx, dword [edi + 0xc]
push ebp
mov ebp, dword [esp + 0x24]
mov ecx, ebp
shl ecx, 8
mov dword [esp + 0xc], ecx
mov ecx, dword [edx + 0xec]
shl ecx, 8
mov dword [esp + 0x10], ecx
mov cl, byte [0x6348b1]
add eax, 0x20
lea edx, [esp + 0xc]
test cl, cl
mov ecx, edx
je 0x4604f6
push edx
call fcn.00456b40
add esp, 4
jmp 0x460501
push ecx
push edx
push eax
call fcn.0043c680
add esp, 0xc
mov eax, dword [edi + 0x38]
mov edi, dword [esp + 0x28]
push ebx
mov ebx, dword [eax + 0x20]
sar ebx, 8
sub edi, ebp
test ebx, ebx
jne 0x460592
movzx eax, byte [eax + 0x94]
mov ecx, dword [esp + 0x10]
and eax, 0xc
sar ecx, 0xf
push eax
add ecx, 0x80
push ecx
call fcn.0045fee0
movzx dx, byte [esi + eax*4 + 3]
movzx cx, byte [esi + eax*4 + 2]
lea eax, [esi + eax*4]
mov word [esp + 0x26], dx
movzx dx, byte [eax + 1]
movzx ax, byte [eax]
add esp, 8
test edi, edi
mov word [esp + 0x1c], cx
mov word [esp + 0x1a], dx
mov word [esp + 0x18], ax
je 0x46061e
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi], ecx
lea ecx, [edi*8 - 5]
pop ebx
lea edi, [esi + 8]
mov dword [esi + 4], edx
shr ecx, 2
pop ebp
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add esp, 0x10
ret
test edi, edi
je 0x46061e
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x38]
movzx edx, byte [edx + 0x94]
mov eax, ebp
sar eax, 0xf
and edx, 0xc
add eax, 0x80
cmp edx, 4
je 0x4605dd
cmp edx, 8
je 0x4605e7
cmp eax, 0x100
jle 0x4605d5
mov eax, 0x100
jmp 0x4605ec
test eax, eax
jge 0x4605ec
xor eax, eax
jmp 0x4605ec
test ah, 1
je 0x4605e7
xor eax, 0xff
and eax, 0xff
movzx dx, byte [esi + eax*4 + 3]
mov word [ecx + 6], dx
movzx dx, byte [esi + eax*4 + 2]
mov word [ecx + 4], dx
movzx dx, byte [esi + eax*4 + 1]
mov word [ecx + 2], dx
movzx ax, byte [esi + eax*4]
mov word [ecx], ax
add ebp, ebx
add ecx, 8
dec edi
mov dword [esp + 0x10], ebp
jne 0x4605a2
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x10
ret
Function at 0x460f60
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x6348b0]
test al, al
je 0x460f98
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x38]
mov eax, dword [ecx]
cmp eax, 0x13
mov dword [esp + 4], edx
jne 0x460f80
jmp fcn.00460630
cmp eax, 0x12
jne 0x460f93
test byte [ecx + 0x94], 0xc
jne 0x460f7b
jmp fcn.00460c80
jmp fcn.00460270
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx]
cmp eax, 0x13
mov dword [esp + 4], ecx
jne 0x460faf
jmp fcn.004609d0
cmp eax, 0x12
jne 0x460fb9
jmp fcn.00460de0
jmp fcn.004604a0
Function at 0x467980
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
mov dword [eax], ecx
shr ecx, 2
and ebx, 3
test ecx, ecx
push esi
jbe 0x4679c2
push edi
mov edi, ecx
movzx ecx, word [edx]
mov esi, dword [eax]
add esi, ecx
mov ecx, esi
mov dword [eax], esi
shl ecx, 0x10
xor ecx, esi
add edx, 2
mov dword [eax], ecx
movzx esi, word [edx]
shl esi, 0xb
xor esi, ecx
mov dword [eax], esi
mov ecx, esi
shr esi, 0xb
add esi, ecx
add edx, 2
dec edi
mov dword [eax], esi
jne 0x467993
pop edi
mov ecx, ebx
dec ecx
je 0x467a06
dec ecx
je 0x4679f1
dec ecx
jne 0x467a1c
movzx ecx, word [edx]
mov esi, dword [eax]
add esi, ecx
mov ecx, esi
shl ecx, 0x10
xor ecx, esi
mov dword [eax], ecx
movzx edx, byte [edx + 2]
shl edx, 0x12
xor edx, ecx
mov ecx, edx
shr ecx, 0xb
add ecx, edx
mov dword [eax], ecx
jmp 0x467a1c
movzx edx, word [edx]
mov ecx, dword [eax]
add edx, ecx
mov ecx, edx
shl ecx, 0xb
xor ecx, edx
mov edx, ecx
shr edx, 0x11
jmp 0x467a18
movzx ecx, byte [edx]
mov edx, dword [eax]
add edx, ecx
mov ecx, edx
shl ecx, 0xa
xor ecx, edx
mov edx, ecx
shr edx, 1
add edx, ecx
mov dword [eax], edx
mov edx, dword [eax]
lea ecx, [edx*8]
xor ecx, edx
mov edx, ecx
shr edx, 5
add edx, ecx
lea ecx, [edx*4]
xor ecx, edx
mov edx, ecx
shr edx, 0xf
add ecx, edx
mov edx, ecx
shl edx, 0xa
xor edx, ecx
pop esi
mov dword [eax], edx
pop ebx
ret
Function at 0x47b4f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
mov edi, ecx
mov ecx, dword [edi + 0x50]
xor ebx, ebx
cmp ecx, ebx
mov dword [edi], 0x5db6c4
je 0x47b509
push edi
call fcn.0047aa50
cmp dword [edi + 0x6c], ebx
push esi
je 0x47b57c
nop
mov esi, dword [edi + 0x6c]
cmp esi, ebx
mov eax, dword [esi + 0x44]
mov dword [edi + 0x6c], eax
je 0x47b577
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov ecx, dword [esi + 0x28]
push ecx
call fcn.0043f020
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov edx, dword [esi + 0x1c]
push edx
call fcn.0043f020
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x10]
push eax
call fcn.0043f020
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov ecx, dword [esi + 4]
push ecx
call fcn.0043f020
push esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.0043f020
add esp, 0x14
cmp dword [edi + 0x6c], ebx
jne 0x47b510
mov eax, dword [edi + 0x58]
cmp eax, ebx
lea esi, [edi + 0x58]
jne 0x47b58a
mov dword [esi], ebx
jmp 0x47b594
push ebx
push esi
call fcn.005bf920
add esp, 8
cmp dword [edi + 0x78], ebx
je 0x47b5b8
lea esp, [esp]
mov ecx, dword [edi + 0x78]
cmp ecx, ebx
mov edx, dword [ecx + 0x5c]
mov dword [edi + 0x78], edx
je 0x47b5b3
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [edi + 0x78], ebx
jne 0x47b5a0
mov eax, dword [edi + 0x64]
cmp eax, ebx
je 0x47b5d7
mov ecx, dword [eax + 0x10]
add eax, 0x10
cmp ecx, ebx
jne 0x47b5cd
mov dword [eax], ebx
jmp 0x47b5d7
push ebx
push eax
call fcn.005bf920
add esp, 8
mov eax, dword [edi + 0x64]
cmp eax, ebx
je 0x47b61b
mov ecx, dword [eax + 4]
test ecx, 0x40000000
jne 0x47b618
cmp ecx, ebx
je 0x47b618
mov edx, ecx
and edx, 0xff
dec edx
je 0x47b618
dec ecx
mov dword [eax + 4], ecx
and ecx, 0xff
dec ecx
jne 0x47b618
push eax
and eax, 0xfffff000
mov ecx, dword [eax]
add ecx, 0x340
call fcn.005bef30
mov dword [edi + 0x64], ebx
mov dword [edi + 0x60], ebx
mov ecx, dword [edi + 0x5c]
cmp ecx, ebx
je 0x47b661
mov eax, dword [ecx + 4]
test eax, 0x40000000
jne 0x47b65e
cmp eax, ebx
je 0x47b65e
mov edx, eax
and edx, 0xff
dec edx
je 0x47b65e
dec eax
mov dword [ecx + 4], eax
and eax, 0xff
dec eax
jne 0x47b65e
push ecx
and ecx, 0xfffff000
mov ecx, dword [ecx]
add ecx, 0x340
call fcn.005bef30
mov dword [edi + 0x5c], ebx
mov dword [esi], ebx
mov eax, dword [edi + 0x54]
cmp eax, ebx
pop esi
je 0x47b6a8
mov ecx, dword [eax + 4]
test ecx, 0x40000000
jne 0x47b6a5
cmp ecx, ebx
je 0x47b6a5
mov edx, ecx
and edx, 0xff
dec edx
je 0x47b6a5
dec ecx
mov dword [eax + 4], ecx
and ecx, 0xff
dec ecx
jne 0x47b6a5
push eax
and eax, 0xfffff000
mov ecx, dword [eax]
add ecx, 0x340
call fcn.005bef30
mov dword [edi + 0x54], ebx
lea ecx, [edi + 8]
call fcn.00434840
mov dword [edi], 0x5d8890
pop edi
pop ebx
ret