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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10023d24], 0
mov dword [0x10023d28], 0
mov dword [0x10023d34], 0
mov dword [0x10023d1c], 0x170a
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x10007f4a
jmp 0x10008042
jmp 0x10007f4a
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, 0x100
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10023d24], edx
add ecx, 0xffffe6ec
mov dword [0x10023d1c], ecx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10023d28], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10023d2c], cl
mov dword [0x10023d1c], 0x11c7
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10023d1c]
add edx, 0xffffd940
mov dword [0x10023d1c], edx
mov cl, byte [0x10023d2c]
mov edx, dword [0x10023d28]
mov byte [edi + edx], cl
mov dword [0x10023d20], 0x1a03
mov edx, dword [0x10023d24]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10023d28]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10023d34], ebx
mov dword [0x10023d20], 0xd2d
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
xor cl, byte [edx + ebx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov dword [0x10023d20], 0x1454
add ebx, 1
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x38], ebx
je 0x10007f48
jmp 0x1000805e
xor eax, eax
mov ecx, 0x170a
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], eax
jmp 0x10007f52
mov eax, dword [0x10023d28]
mov ecx, dword [0x10023d24]
mov edx, dword [0x10023d1c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], esi
jmp 0x10007f52
Function at 0x10008140
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10023d20], 0x1ec5
mov dword [0x10023d28], 0
mov byte [0x10023d2c], 0
mov dword [0x10023d1c], 0x1d83
mov dword [0x10023d24], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10023d20]
add eax, 0x1b49
mov dword [0x10023d1c], eax
mov eax, dword [0x10023d24]
add eax, 1
mov dword [0x10023d24], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000818f
xor eax, eax
mov dword [0x10023d1c], 0x14d0
mov dword [0x10023d24], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10023d30], 0
mov edi, dword [0x10023d28]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10023d30], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x10023d28], edx
mov dword [0x10023d20], 0x1f91
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10023d2c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x10023d1c]
add esi, 0x19b
mov dword [0x10023d1c], esi
mov cl, byte [0x10023d2c]
mov esi, dword [0x10023d28]
mov byte [ebx + esi], cl
mov esi, dword [0x10023d20]
add esi, 0x1e57
mov dword [0x10023d20], esi
mov esi, dword [0x10023d24]
add esi, 1
mov dword [0x10023d24], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x100081dd
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2d4c267d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x15bd0d98
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4031e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4045c1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x408398]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x14], ecx
mov cl, byte [esp + 0x48]
cmp cl, bl
mov dword [esi + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x20], 1
mov dword [esi + 0xc], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], cl
mov dword [esi + 0x30], ebx
jne 0x4032c4
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x48], edi
jbe 0x403291
lea ecx, [edx + 0xc]
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
jbe 0x403278
mov edi, eax
add ecx, 0x10
sub edx, 1
jne 0x403270
cmp edi, 0x100000
mov dword [esp + 0x48], edi
mov eax, 0x40651c
ja 0x403295
lea eax, [esp + 0x48]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
add eax, 0xa
push eax
call fcn.004038eb
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, edi
je 0x4032bb
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x24], edi
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor ecx, ecx
mov eax, ebp
mov edx, 0x44
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004038eb
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov byte [esp + 0x20], 2
je 0x403312
push 0x402410
push 0x4023d0
push ebp
lea edi, [eax + 4]
push 0x44
push edi
mov dword [eax], ebp
call fcn.00403a33
jmp 0x403314
xor edi, edi
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov byte [esp + 0x20], 1
je 0x403344
cmp eax, ebx
je 0x403341
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x402410
push ecx
push 0x44
push eax
call fcn.004039d0
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, esi
call fcn.00402e70
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x24

Function at 0x4038fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408398]
jne 0x403906
repz ret
jmp fcn.00403dae

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x410200
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rcl edi, 0x93
inc esi
and esi, 0xe1
add eax, 0xd2
add edi, 0xb1
ror eax, 0x70
rcl edi, 0xd5
ror ebx, 6
dec ebx
and edi, 0x10
neg ebx
inc esi
ror ebx, 0xfb
add ebx, 0x65
inc ebx
ror eax, 0xbc
neg edi
imul esi
neg edx
rol ebx, 0x2f
dec esi
dec esi
rcl esi, 0xac
add eax, 0xa4
inc edi
rcr eax, 0x69
bswap esi
and edx, 0xdd
sbb edi, 0x32
inc edx
rcl ebx, 0x41
ror esi, 0xa2
sbb ebx, 0xa1
rcl ebx, 0xbf
bswap edi
rol edx, 0x5b
neg edi
not eax
imul edi
sub edx, 6
inc eax
imul esi
add ebx, 0x27
neg edx
inc edx
add ebx, 0xa1
rol eax, 0xce
neg ebx
imul edi
sub edx, 0xc2
xor ecx, ecx
xor edi, edi
add edx, 0xfb
imul ebx
dec esi
bswap edi
rcl esi, 0x31
rcr eax, 0x77
sub eax, 0x85
bswap edx
rcl ebx, 0x7b
dec edi
bswap eax
and eax, 0x6e
rcr esi, 0xe
sbb edi, 0x21
rcl edx, 0xcf
dec ebx
inc eax
mov eax, 0x5a
neg esi
ror edx, 0xb
add edx, 0x19
dec edi
dec edi
sbb ebx, 0xc7
rol edx, 0x12
neg edx
or esi, 0x83
rcr eax, 0x65
rcl edx, 0x46
neg edx
sub edx, 0xc4
rol esi, 0x25
add esi, 0x2e
mov esi, 0x58
inc edi
inc ebx
inc esi
inc eax
not ebx
bswap esi
or edi, 0xd
inc esi
bswap edi
bswap edx
imul edx
bswap edx
sub eax, 0xf7
add esi, 0xac
add eax, 0x18
bswap esi
mov ecx, dword [ebp + 0xc]
dec ebx
not edi
imul eax
neg ebx
rol eax, 5
sbb esi, 0x1e
rol edx, 0xd8
mov edx, 0x6e
inc edi
and esi, 0x16
ror edi, 0xcc
not eax
not eax
not ebx
rcl edx, 0x72
inc eax
inc edx
imul eax
mov edx, 0x3c
mov eax, 0x47
neg eax
not edi
neg edx
bswap ebx
imul ebx
dec edx
bswap esi
mov ebx, 0x12
sub edi, 0x99
imul eax
neg edi
dec esi
bswap ebx
neg esi
mov eax, 0xb7
sub edx, 0x14
dec esi
inc eax
neg esi
imul esi
add edi, 0x6f
inc esi
not esi
add ebx, 0x91
sub ebx, 0xe3
neg eax
mov ebx, 0xd1
mov edi, 0x44
neg esi
rol eax, 0xed
mov edi, dword [ebp + 8]
mov ebx, eax
mov ebx, ebx
xor esi, ebx
not byte [edi]
xor eax, ebx
mov eax, eax
mov ebx, esi
mov esi, esi
xor eax, esi
xor esi, ebx
mov ebx, esi
xor ebx, esi
xor eax, eax
add byte [edi], 0x26
xor ebx, ebx
mov ebx, ebx
xor ebx, ebx
xor ebx, esi
mov eax, eax
mov ebx, ebx
mov esi, eax
xor esi, eax
xor ebx, esi
sub byte [edi], 0x86
xor eax, eax
mov ebx, eax
xor eax, eax
mov ebx, eax
xor esi, esi
mov ebx, ebx
xor esi, esi
xor ebx, eax
xor esi, esi
imul byte [edi]
inc edi
loop 0x4103af
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x29a04ef9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x29a04f08
pop dword [ebp - 0x3c]
mov eax, 0x47186aab
sub eax, 0x1d781ba3
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x9f9b1851
sub dword [ebp - 0x4c], 0x5148d306
mov dword [ebp - 0x48], 0x4a440491
add dword [ebp - 0x48], 0xe7ef47b4
mov dword [ebp - 0x44], 0x7cb7097
add dword [ebp - 0x44], 0x4480d397
mov dword [ebp - 0x40], 0x68738afe
add dword [ebp - 0x40], 0x978c7502
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xb08d8bcd
sub dword [ebp - 0x4c], 0x3c1b2277
mov dword [ebp - 0x48], 0xe4f467d9
add dword [ebp - 0x48], 0x5c77f99c
mov dword [ebp - 0x44], 0x24014c7e
add dword [ebp - 0x44], 0x3f6e1fee
mov dword [ebp - 0x40], 0xcc5888b6
sub dword [ebp - 0x40], 0xcc5888b6
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x39015
push 0
call eax
mov ecx, 0x4331
mov edi, eax
mov edx, 0x2373ebb
add edx, 0x276af145
add edx, dword [ebp - 0x3c]
mov esi, 0x936345ac
mov ebx, dword [edx]
sub dword [ebp - 0x34], edx
sub ebx, esi
xor dword [ebp - 0x28], 0xa2f973b3
mov dword [edi], ebx
sub dword [ebp - 0x14], ecx
add edi, 0x7727f180
sub edi, 0x7727f17c
add edx, 0xa6e7b412
add edx, 0x59184bf2
loop 0x29a05014
add eax, 0x4dde1473
sub eax, 0x4ddd14dc
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xa335443b
sub ecx, 0x7995443b
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10002b40
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor ecx, ecx
lea esi, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], esi
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
mov dword [ebp - 8], ebx
test edi, edi
je 0x10002b7d
nop dword [eax]
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x10002b70
cmp ecx, esi
jae 0x10002c5a
mov eax, ecx
sub eax, edi
lea esi, [ebx + eax*4]
mov dword [ebp + 8], esi
nop
xor edx, edx
mov ebx, dword [ebx + ecx*4 - 4]
mov eax, ecx
div edi
mov dword [ebp - 4], eax
test edx, edx
jne 0x10002bf3
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
movzx eax, al
shl esi, 8
shr ebx, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, bl
shl esi, 8
movzx ebx, byte [eax + str.cw]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x10129520]
xor ebx, eax
or ebx, esi
mov esi, dword [ebp + 8]
jmp 0x10002c40
cmp edi, 6
jbe 0x10002c40
cmp edx, 4
jne 0x10002c40
mov eax, ebx
shr eax, 0x10
movzx eax, al
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
movzx eax, al
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 [ebp + 8], esi
mov ebx, dword [ebp - 8]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, dword [ebp - 0xc]
jb 0x10002b90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10003e80
Capabilities:
Encode data using xor

Disassembly:
movups xmm0, xmmword [0x10129630]
mov dword [ecx + 0x400], 0
xor edx, edx
movups xmm1, xmmword [0x10129620]
lea eax, [ecx + 0x24]
nop dword [eax]
movups xmmword [eax - 0x24], xmm1
lea eax, [eax + 0x80]
movups xmmword [eax - 0x94], xmm0
xor dword [eax - 0x9c], edx
inc edx
xor dword [eax - 0xa4], 0x2080020
xor dword [eax - 0x98], 0x20000000
mov dword [eax - 0x84], 0
mov dword [eax - 0x80], 0
mov dword [eax - 0x7c], 0
mov dword [eax - 0x78], 0
mov dword [eax - 0x34], 0
mov dword [eax - 0x30], 0
cmp edx, 8
jb 0x10003ea0
mov dword [ecx + 0x3f4], 0xffffffff
ret

Function at 0x10003f10
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [ecx], 0x6a09e667
or eax, 0x2000
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
xor dword [ecx], 0x2080020
xor dword [ecx + 8], edx
shl eax, 0x10
xor dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
pop ebp
ret 4
Function at 0x10004320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x10004344
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
add dword [ebp + 8], 5
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 0xc], ebx
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x1000436a
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x10004367
inc eax
cmp eax, ebx
jb 0x10004358
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x1000446e
cmp edx, 2
jbe 0x100043f3
xor esi, esi
movzx edx, byte [eax + 4]
lea ecx, [edx + 1]
test cl, 0xfe
jne 0x1000445a
movzx ecx, byte [eax + 3]
mov ebx, dword [ebp + 8]
shl edx, 8
add ebx, edi
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
add edx, ebx
sub ecx, ebx
cmp dword [ebp + 0x10], 0
cmove edx, ecx
mov dword [ebp - 8], edx
mov ebx, edx
test esi, esi
je 0x1000442a
and esi, 6
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x10004428
mov ebx, 0x100
shl ebx, cl
mov ecx, dword [ebp + 8]
dec ebx
xor ebx, dword [ebp - 8]
add ecx, edi
cmp dword [ebp + 0x10], 0
je 0x10004426
add ebx, ecx
jmp 0x10004428
mov ecx, edx
shr esi, cl
test esi, esi
je 0x10004383
cmp esi, 4
ja 0x10004418
cmp esi, 3
je 0x10004418
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x10004383
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x10004351
sub ebx, ecx
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 0xc]
add edi, eax
jmp 0x10004351
mov ecx, dword [ebp - 4]
or esi, 8
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x10004351
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x2c], ebx
mov eax, dword [edi + 0x10]
mov esi, dword [edi]
mov dword [ebp - 0x18], eax
cmp eax, 3
jae 0x1000609e
inc dword [edi + 4]
lea eax, [esi + 1]
inc dword [edi + 0x14]
mov dword [edi], eax
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jne 0x10006095
call fcn.10006550
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [esi]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
mov dword [ebp - 4], 2
movzx eax, byte [esi + 1]
xor ecx, dword [edi + eax*4 + 0x60]
mov eax, dword [edi + 0x24]
movzx ecx, cx
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [edi]
mov esi, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], esi
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp - 8]
sub esi, edx
mov edx, dword [ebp - 0x1c]
cmp esi, edx
jae 0x10006187
cmp eax, esi
sbb eax, eax
and eax, edx
mov edx, dword [ebp - 0x10]
sub eax, esi
add eax, dword [ebp - 0xc]
mov eax, dword [edx + eax*4]
mov edx, ecx
mov dword [ebp - 0x24], eax
sub edx, esi
mov eax, dword [ebp - 4]
mov al, byte [ecx + eax]
mov ecx, dword [ebp - 4]
cmp al, byte [edx + ecx]
mov ecx, dword [ebp - 8]
jne 0x10006168
mov eax, ecx
mov cl, byte [ecx]
cmp cl, byte [edx]
jne 0x10006150
nop dword [eax + eax]
inc eax
cmp eax, dword [ebp - 0x20]
je 0x10006179
mov cl, byte [eax]
mov edx, eax
sub edx, esi
cmp cl, byte [edx]
je 0x10006140
mov ecx, dword [ebp - 8]
sub eax, ecx
cmp dword [ebp - 4], eax
jae 0x10006168
mov dword [ebx], eax
mov dword [ebp - 4], eax
lea eax, [esi - 1]
mov dword [ebx + 4], eax
add ebx, 8
sub dword [ebp - 0x14], 1
je 0x10006187
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x28]
jmp 0x10006101
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
lea eax, [esi - 1]
mov dword [ebx + 4], eax
add ebx, 8
sub ebx, dword [ebp - 0x2c]
inc dword [edi + 4]
inc dword [edi + 0x14]
inc dword [edi]
mov ecx, dword [edi + 4]
sar ebx, 2
cmp ecx, dword [edi + 8]
jne 0x100061a4
mov ecx, edi
call fcn.10006550
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006660
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov dword [ecx + 0x34], 0
lea esi, [ecx + 0x60]
mov word [ecx + 0x1e], 0
xor edx, edx
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x468], 0xffffffff
mov dword [ecx + 0x46c], 0xffffffff
mov dword [ecx + 0x30], 0x20
mov byte [ecx + 0x1d], 1
mov dword [ecx + 0x48], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x100066a0
pop esi
ret
Function at 0x1000f210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx esi, word [ecx]
mov eax, esi
mov dword [ebp - 4], ebx
xor eax, 0x7f0
shr esi, 4
shr eax, 4
mov edx, dword [edi + esi*4]
mov eax, dword [edi + eax*4]
mov dword [ebp + 0xc], eax
movzx eax, word [ecx + 0x10]
mov esi, dword [ebp + 0xc]
shr eax, 4
mov dword [ebp - 0x14], edx
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1000f298
mov esi, ecx
mov dword [ebp - 8], eax
add ebx, 4
push edi
push ebx
mov ecx, esi
call fcn.100117e0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x20]
push edi
push eax
lea ecx, [esi + 0x10]
call fcn.100117e0
mov edx, dword [ebp - 0x14]
add ebx, 0x440
add esi, 0x20
sub dword [ebp - 8], 1
jne 0x1000f264
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp ebx, 0x10
jbe 0x1000f379
mov eax, dword [ebp - 4]
add ebx, 0xfffffff1
add eax, 0x44
shr ebx, 1
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x10]
xor eax, 0x7f0
shr eax, 4
add esi, dword [edi + eax*4]
lea eax, [ebx + 0x180]
mov dword [ebp + 0xc], esi
lea eax, [ecx + eax*2]
nop dword [eax]
dec ebx
sub eax, 2
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], ebx
lea eax, [ebx + 0x80]
mov ebx, dword [ebp + 8]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x200]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add esi, dword [edi + ecx*4]
cmp eax, 2
jae 0x1000f2e3
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
movzx ecx, word [eax]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [edx + ebx*8], eax
mov eax, dword [edi + ecx*4]
add eax, esi
mov esi, dword [ebp + 0xc]
mov dword [edx + ebx*8 + 4], eax
mov eax, dword [ebp - 8]
test ebx, ebx
jne 0x1000f2d0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
lea ebx, [eax*4 - 0x40]
mov eax, dword [ebp - 0xc]
cmp eax, 1
jbe 0x1000f379
lea esi, [ecx + 0x484]
lea edi, [eax - 1]
nop dword [eax]
push ebx
push edx
push esi
call fcn.100e3090
mov edx, dword [ebp - 0x10]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x1000f360
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1000f440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
or edx, 0x100
mov esi, edx
shr edx, 1
and esi, 1
neg esi
shr esi, 4
movzx ecx, word [edi + edx*2]
and esi, 0x7f
shr ecx, 4
xor ecx, esi
add eax, dword [ebx + ecx*4]
cmp edx, 2
jae 0x1000f453
pop edi
pop esi
pop ebx
pop ebp
ret 4