joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ba490
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 8
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
mov ebp, ecx
xor ecx, ecx
lea ebx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [esp + 0x10], ebx
shr eax, 1
add eax, 3
mov dword [ebp], eax
add ebp, 0x10
test edi, edi
je 0x100ba4ce
lea esp, [esp]
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebp + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x100ba4c0
cmp ecx, ebx
jae 0x100ba5bf
mov eax, ecx
sub eax, edi
push esi
lea esi, [eax*4]
add esi, ebp
mov dword [esp + 0x1c], esi
xor edx, edx
mov ebx, dword [ebp + ecx*4 - 4]
mov eax, ecx
div edi
mov dword [esp + 0x10], eax
test edx, edx
jne 0x100ba553
movzx edx, bl
movzx esi, byte [edx + str.cw]
mov edx, ebx
shr edx, 0x18
shl esi, 8
movzx eax, byte [edx + str.cw]
or esi, eax
mov eax, ebx
shr eax, 0x10
and eax, 0xff
shl esi, 8
shr ebx, 8
and ebx, 0xff
movzx eax, byte [eax + str.cw]
or esi, eax
mov eax, dword [esp + 0x10]
movzx ebx, byte [ebx + str.cw]
shl esi, 8
movzx eax, byte [eax + 0x100d9c70]
xor ebx, eax
or ebx, esi
mov esi, dword [esp + 0x1c]
jmp 0x100ba5a4
cmp edi, 6
jbe 0x100ba5a4
cmp edx, 4
jne 0x100ba5a4
mov eax, ebx
shr eax, 0x10
and eax, 0xff
movzx edx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or edx, eax
mov eax, ebx
shr eax, 8
and eax, 0xff
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
shl edx, 8
movzx ebx, byte [eax + str.cw]
or ebx, edx
mov eax, dword [esi]
add esi, 4
xor eax, ebx
mov dword [esp + 0x1c], esi
mov dword [ebp + ecx*4], eax
inc ecx
cmp ecx, dword [esp + 0x14]
jb 0x100ba4e8
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x40ba30
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00404b60
call sub.kernel32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.kernel32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x40ba66
jmp 0x40baa5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x40ba63
cmp al, 0x20
je 0x40ba63
cmp al, 0x22
jne 0x40ba89
jmp 0x40baf4
cmp al, 0x20
lea esi, [esi]
je 0x40ba90
test al, al
je 0x40baa5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x40ba77
movzx eax, byte [ebx]
cmp al, 0x20
jne 0x40bb0a
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x40ba97
cmp al, 0x20
je 0x40ba97
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x40bab4
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.kernel32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401803
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
je 0x40bafe
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x40baf0
cmp al, 0x22
sete al
movzx eax, al
add ebx, eax
jmp 0x40ba90
cmp al, 9
je 0x40ba97
jmp 0x40baa5

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

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x99768c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x77b44e19
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x666b1942
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4f5c20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9f000]
push edi
jmp 0x4f5c3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f5c41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5c30
mov eax, 1
add ebx, ebx
jne 0x4f5c53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f5c64
jne 0x4f5c83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5c83
dec eax
add ebx, ebx
jne 0x4f5c70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f5c48
add ebx, ebx
jne 0x4f5c7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f5cd5
xor ecx, ecx
sub eax, 3
jb 0x4f5c9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f5d0a
sar eax, 1
mov ebp, eax
jmp 0x4f5ca6
add ebx, ebx
jne 0x4f5ca6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5c74
inc ecx
add ebx, ebx
jne 0x4f5cb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5c74
add ebx, ebx
jne 0x4f5cc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f5cb6
jne 0x4f5cd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f5cb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f5cf4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f5ce6
jmp 0x4f5c36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f5cf4
add edi, ecx
jmp 0x4f5c36
pop esi
mov edi, esi
mov ecx, 0x35a8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f5d12
cmp byte [edi], 0x1e
jne 0x4f5d12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f5d17
lea edi, [esi + 0xf2000]
mov eax, dword [edi]
or eax, eax
je 0x4f5d8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfddc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfdec8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f5d44
mov ecx, edi
jns 0x4f5d73
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xfdecc]
or eax, eax
je 0x4f5d89
mov dword [ebx], eax
add ebx, 4
jmp 0x4f5d61
call dword [esi + 0xfdedc]
mov ebp, dword [esi + 0xfded0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4f5dc3
sub esp, 0xffffff80
jmp 0x46f59d
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..3ean
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x72c6200d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..7LWLf
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x226239bd
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
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 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

Function at 0x47a6a1
Capabilities:
Encode data using xor

Disassembly:
pushal
rol dword [edi + edx + 0x51ff416c], 1
test byte [edi], dl
insb byte es:[edi], dx
inc ecx
call dword [ecx + 0x29]
ret
dec esp
jge 0x47a71e
jns fcn.0047a681
loope 0x47a63f
pop ds
mov dh, 0xda

Function at 0x4c6f51
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d13f0
cmp edx, dword [eax]
je 0x4c6f73
add eax, 8
inc ecx
cmp eax, 0x4d1480
jl 0x4c6f64
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d13f0]
jne 0x4c70a1
mov eax, dword [0x4d6e20]
cmp eax, 1
je 0x4c707b
test eax, eax
jne 0x4c6fa4
cmp dword [0x4d1318], 1
je 0x4c707b
cmp edx, 0xfc
je 0x4c70a1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6fdb
lea eax, [ebp - 0x1a4]
push 0x4ccda8
push eax
call fcn.004c7930
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7dc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c701e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7dc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ccda4
push edi
call fcn.004c9c90
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4ccd88
push eax
call fcn.004c7930
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c7940
lea eax, [ebp - 0xa0]
push 0x4ccd84
push eax
call fcn.004c7940
push dword [esi + 0x4d13f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c7940
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4ccd5c
push eax
call fcn.004c9c04
add esp, 0x2c
pop edi
jmp 0x4c70a1
lea eax, [ebp + 8]
lea esi, [esi + 0x4d13f4]
push 0
push eax
push dword [esi]
call fcn.004c7dc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40d7c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x40d7da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d7e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d7d0
mov eax, 1
add ebx, ebx
jne 0x40d7f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d7e8
jne 0x40d804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d7e8
xor ecx, ecx
sub eax, 3
jb 0x40d818
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d88a
mov ebp, eax
add ebx, ebx
jne 0x40d823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d830
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d854
inc ecx
add ebx, ebx
jne 0x40d840
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d835
jne 0x40d851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d835
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d874
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d865
jmp 0x40d7d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d874
add edi, ecx
jmp 0x40d7d6
pop esi
mov edi, esi
mov ecx, 0x12
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d892
cmp byte [edi], 1
jne 0x40d892
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40d897
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d906
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd060]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd0c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d8c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd0c8]
or eax, eax
je 0x40d900
mov dword [ebx], eax
add ebx, 4
jmp 0x40d8e1
call dword [esi + 0xd0d8]
mov ebp, dword [esi + 0xd0cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40d93a
sub esp, 0xffffff80
jmp 0x401c26
Function at 0x1027f0d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword [0x102ab398]
add eax, 0xffffe35c
mov dword [0x102ab394], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x102ab394]
add edx, 0xfffffffe
mov dword [0x102ab398], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1027f1a1
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [0x102ab398], 0x13f5
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x1027f1e1
jmp 0x1027f255
mov eax, 1
mov dword [0x102ab398], 0x1fa1
mov dword [ebp - 0x1c], eax
jmp 0x1027f255
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
je 0x1027f21f
jmp 0x1027f255
xor eax, eax
mov dword [0x102ab398], 0x250b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
je 0x1027f205
jmp 0x1027f255
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edx
je 0x1027f120
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [0x102ab398], 0x25b9
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x1027f1a1
jmp 0x1027f120
xor eax, eax
mov dword [0x102ab394], 0xd1b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
je 0x1027f17e
jmp 0x1027f255
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x1027f161
jmp 0x1027f255
xor eax, eax
mov dword [0x102ab394], 0x16c0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x1027f255
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1027f14a
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
Function at 0x1027f360
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102ab3a0], 0
mov byte [0x102ab3a4], 0
mov edi, dword [0x102ab398]
add edi, 0xffffe149
mov dword [0x102ab394], edi
mov dword [0x102ab39c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1027f3d0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 0xffffd525
mov dword [0x102ab398], eax
mov dword [0x102ab39c], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1027f412
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102ab398]
mov esi, eax
add esi, 0xffffe149
mov dword [0x102ab394], esi
mov esi, dword [0x102ab39c]
add esi, 1
mov dword [0x102ab39c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x1027f3d0
jmp 0x1027f3af
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102ab3a8], 0
mov edi, dword [ebp - 0x2c]
add edi, 0xffffe224
mov dword [0x102ab394], 0x2253
mov ebx, dword [0x102ab3a0]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x102ab3a8], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x102ab3a0], edx
mov dword [0x102ab394], 0x1af3
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x102ab3a4], bl
mov dword [0x102ab398], edi
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x102ab3a4]
mov ecx, dword [0x102ab3a0]
mov byte [esi + ecx], bl
mov ecx, dword [0x102ab398]
mov edx, ecx
add edx, 0xffffe149
mov dword [0x102ab394], edx
mov edi, dword [0x102ab39c]
add edi, 1
mov dword [0x102ab39c], edi
cmp edi, 0x100
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], edx
jl 0x1027f412
mov eax, dword [ebp - 0x34]
mov dword [0x102ab394], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10280dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x102ab39c], 0
mov dword [0x102ab3a0], 0
mov dword [0x102ab3ac], 0
mov edi, dword [0x102ab398]
mov ebx, edi
add ebx, 0xffffe149
mov dword [0x102ab394], ebx
add edi, 0xffffd49d
mov dword [0x102ab398], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x10280f76
jmp 0x10280e4a
mov eax, dword [0x102ab39c]
mov ecx, dword [0x102ab3a0]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10280e5b
jmp 0x10280f76
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jmp 0x10280e5b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x102ab39c], edx
mov dword [0x102ab394], 0x13cb
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102ab3a0], edx
mov dword [0x102ab398], 0x7fe
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102ab3a4], cl
mov dword [0x102ab394], 0xfae
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x102ab398]
add edx, 0xffffe149
mov dword [0x102ab394], edx
mov cl, byte [0x102ab3a4]
mov edx, dword [0x102ab3a0]
mov byte [ebx + edx], cl
mov edx, dword [0x102ab394]
add edx, 0xffffddc4
mov dword [0x102ab394], edx
mov edx, dword [0x102ab39c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102ab3a0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x102ab398]
mov esi, edx
add esi, 0xffffe149
and ecx, 0xff
mov dword [0x102ab3ac], ecx
mov dword [0x102ab394], esi
mov cl, byte [ebx + ecx]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
xor cl, byte [esi + ebx]
add edx, 0xffffa56d
mov dword [0x102ab394], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov dword [0x102ab398], 0x87a
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x20], edi
je 0x10280e45
jmp 0x10280e2c
mov dword [0x102ab394], 0x584
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret