Function at 0x10003e50
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
movsx edx, byte [esi]
mov cl, byte [esi + 1]
mov al, byte [esi + 2]
and ecx, 0xff
and eax, 0xff
shl edx, 8
xor ecx, edx
mov dl, byte [esi + 3]
shl ecx, 8
xor ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dword [eax], ecx
mov cl, byte [esi + 5]
movsx edx, byte [esi + 4]
and ecx, 0xff
shl edx, 8
xor ecx, edx
mov dl, byte [esi + 6]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dl, byte [esi + 7]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dword [eax + 4], ecx
mov cl, byte [esi + 9]
movsx edx, byte [esi + 8]
and ecx, 0xff
shl edx, 8
xor ecx, edx
mov dl, byte [esi + 0xa]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dl, byte [esi + 0xb]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dword [eax + 8], ecx
mov cl, byte [esi + 0xd]
movsx edx, byte [esi + 0xc]
and ecx, 0xff
shl edx, 8
xor ecx, edx
mov dl, byte [esi + 0xe]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dl, byte [esi + 0xf]
shl ecx, 8
and edx, 0xff
xor ecx, edx
cmp edi, 0x80
mov dword [eax + 0xc], ecx
jne 0x10004046
mov edi, ecx
xor ecx, ecx
mov edx, edi
xor ebx, ebx
mov dword [esp + 0x18], edx
mov cl, dh
mov bl, byte [esp + 0x1a]
mov ecx, dword [ecx*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and esi, 0xff000000
mov ebx, dword [eax + 8]
xor ecx, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor ecx, esi
mov esi, dword [eax]
and edx, 0xff00
xor ecx, edx
mov edx, dword [0x100129f8]
xor ecx, esi
lea esi, [eax + 0x10]
xor ecx, edx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [esi], ecx
mov ecx, edx
mov dword [eax + 0x14], edx
xor ecx, ebx
mov dword [eax + 0x18], ecx
xor ecx, edi
mov dword [eax + 0x1c], ecx
mov edi, 0x100129fc
mov ecx, esi
xor eax, eax
xor ebx, ebx
add edi, 4
mov ebp, dword [ecx + 0xc]
mov edx, ebp
mov dword [esp + 0x18], edx
mov al, dh
mov bl, byte [esp + 0x1a]
mov eax, dword [eax*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and eax, 0xff0000
and esi, 0xff000000
xor eax, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor eax, esi
mov esi, dword [ecx]
and edx, 0xff00
xor eax, edx
mov edx, dword [edi - 4]
xor eax, esi
lea esi, [ecx + 0x10]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [esi], eax
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx + 0x14], edx
xor eax, edx
mov dword [ecx + 0x18], eax
xor eax, ebp
cmp edi, 0x10012a20
mov dword [ecx + 0x1c], eax
jne 0x10003fb1
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
ret
movsx edx, byte [esi + 0x10]
mov cl, byte [esi + 0x11]
and ecx, 0xff
shl edx, 8
xor ecx, edx
mov dl, byte [esi + 0x12]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dl, byte [esi + 0x13]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dword [eax + 0x10], ecx
mov cl, byte [esi + 0x15]
movsx edx, byte [esi + 0x14]
and ecx, 0xff
shl edx, 8
xor ecx, edx
mov dl, byte [esi + 0x16]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dl, byte [esi + 0x17]
shl ecx, 8
and edx, 0xff
xor ecx, edx
cmp edi, 0xc0
mov dword [eax + 0x14], ecx
jne 0x100041e0
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x18], edx
xor ebx, ebx
mov bl, byte [esp + 0x1a]
mov cl, dh
mov ebp, dword [eax]
mov ecx, dword [ecx*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and esi, 0xff000000
xor ecx, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov ebx, dword [0x100129f8]
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor ecx, esi
and edx, 0xff00
xor ecx, edx
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
xor ecx, ebp
xor ecx, ebx
xor edx, ecx
mov dword [eax + 0x18], ecx
mov ecx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0xc]
xor ecx, esi
mov dword [eax + 0x20], ecx
xor ecx, edx
mov dword [eax + 0x24], ecx
mov esi, 0x100129fc
mov ecx, dword [eax + 0x10]
mov edi, dword [eax + 0x24]
mov edx, dword [eax + 0x14]
xor ecx, edi
mov dword [eax + 0x28], ecx
xor ecx, edx
mov dword [eax + 0x2c], ecx
mov edx, dword [eax + 0x2c]
add eax, 0x18
mov dword [esp + 0x18], edx
xor ecx, ecx
xor ebx, ebx
mov bl, byte [esp + 0x1a]
mov cl, dh
add esi, 4
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
shr edi, 0x18
and edx, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and edi, 0xff
xor ecx, edi
mov edi, dword [esi - 4]
and edx, 0xff00
xor ecx, edx
mov edx, dword [eax]
xor ecx, edi
xor ecx, edx
mov edx, dword [eax + 4]
mov dword [eax + 0x18], ecx
xor edx, ecx
mov ecx, dword [eax + 8]
mov dword [eax + 0x1c], edx
xor ecx, edx
mov edx, dword [eax + 0xc]
xor edx, ecx
cmp esi, 0x10012a18
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
jne 0x10004137
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
ret
movsx edx, byte [esi + 0x18]
mov cl, byte [esi + 0x19]
and ecx, 0xff
shl edx, 8
xor ecx, edx
mov dl, byte [esi + 0x1a]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dl, byte [esi + 0x1b]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dword [eax + 0x18], ecx
mov cl, byte [esi + 0x1d]
movsx edx, byte [esi + 0x1c]
and ecx, 0xff
shl edx, 8
xor ecx, edx
mov dl, byte [esi + 0x1e]
shl ecx, 8
and edx, 0xff
xor ecx, edx
mov dl, byte [esi + 0x1f]
shl ecx, 8
and edx, 0xff
xor ecx, edx
cmp edi, 0x100
mov dword [eax + 0x1c], ecx
jne 0x100043dd
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x18], edx
xor ebx, ebx
mov bl, byte [esp + 0x1a]
mov cl, dh
mov ebp, dword [eax]
mov edi, 0x100129fc
mov ecx, dword [ecx*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and esi, 0xff000000
xor ecx, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov ebx, dword [0x100129f8]
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor ecx, esi
and edx, 0xff00
xor ecx, edx
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
xor ecx, ebp
xor ecx, ebx
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, edx
mov dword [eax + 0x24], edx
mov edx, dword [eax + 0xc]
xor ecx, esi
mov dword [eax + 0x28], ecx
xor ecx, edx
mov dword [eax + 0x2c], ecx
mov ecx, dword [eax + 0x2c]
xor edx, edx
mov dword [esp + 0x18], ecx
mov ebp, dword [eax + 0x10]
mov dl, byte [esp + 0x1a]
add eax, 0x20
xor ebx, ebx
add edi, 4
mov esi, dword [edx*4 + str.ccccwwww]
xor edx, edx
mov dl, ch
and esi, 0xff0000
mov edx, dword [edx*4 + str.ccccwwww]
and edx, 0xff00
xor esi, edx
mov edx, ecx
shr edx, 0x18
and ecx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
mov ecx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
xor esi, edx
mov edx, dword [eax - 0xc]
and ecx, 0xff
xor esi, ecx
mov ecx, dword [eax - 8]
xor esi, ebp
xor edx, esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edx
xor ecx, edx
mov edx, dword [eax - 4]
mov dword [eax + 0x18], ecx
xor ecx, edx
mov dword [eax + 0x1c], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x18], edx
xor ecx, ecx
mov bl, byte [esp + 0x1a]
mov cl, dh
mov ecx, dword [ecx*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and esi, 0xff000000
xor ecx, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor ecx, esi
mov esi, dword [eax]
and edx, 0xff00
xor ecx, edx
mov edx, dword [edi - 4]
xor ecx, esi
xor ecx, edx
mov edx, dword [eax + 4]
mov dword [eax + 0x20], ecx
xor edx, ecx
mov ecx, dword [eax + 8]
mov dword [eax + 0x24], edx
xor ecx, edx
mov edx, dword [eax + 0xc]
xor edx, ecx
cmp edi, 0x10012a14
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
jne 0x100042d1
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret