Function at 0x41c274
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [0x6d0ae4], 0
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
sub eax, 0x80
je 0x41c2be
sub eax, 0x40
je 0x41c2b2
sub eax, 0x40
je 0x41c2a6
xor eax, eax
inc eax
jmp 0x41c6c7
mov dword [edi + 0x200], 0xe
jmp 0x41c2c8
mov dword [edi + 0x200], 0xc
jmp 0x41c2c8
mov dword [edi + 0x200], 0xa
and dword [ebp - 0xc], 0
mov eax, esi
sar eax, 5
push ebx
mov ebx, ecx
test eax, eax
jle 0x41c30e
mov ebx, dword [ebp - 0xc]
add edx, 2
mov esi, eax
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
lea edx, [edx + 4]
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [edi + ebx*4], ecx
inc ebx
cmp ebx, esi
jl 0x41c2e0
mov esi, dword [ebp + 8]
mov ebx, edi
sub esi, 0x80
je 0x41c4a5
sub esi, 0x40
je 0x41c411
sub esi, 0x40
jne 0x41c526
mov edx, dword [edi]
mov esi, 0x6233d0
mov dword [ebp + 8], esi
mov edi, dword [ebx + 0x1c]
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + str.cwko0]
mov eax, edi
shr eax, 8
shl ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, byte [ebx + 0x1c]
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, edi
shr eax, 0x18
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebx + 4]
xor ecx, edx
xor ecx, dword [esi]
mov edx, dword [ebx + 0xc]
xor eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 8]
xor ecx, eax
mov dword [ebx + 0x24], eax
xor edx, ecx
mov dword [ebx + 0x28], ecx
mov eax, edx
mov dword [ebx + 0x2c], edx
shr eax, 0x18
mov ecx, dword [eax*4 + str.cwko0]
mov eax, edx
shr eax, 0x10
shl ecx, 8
movzx eax, al
shr edx, 8
xor ecx, dword [eax*4 + str.cwko0]
shl ecx, 8
movzx eax, dl
mov edx, dword [ebp - 0xc]
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, byte [ebx + 0x2c]
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
xor ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
xor eax, ecx
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebx + 0x18]
xor ecx, eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x38], ecx
add eax, 4
xor ecx, edi
mov dword [ebp + 8], eax
mov dword [ebx + 0x3c], ecx
mov esi, eax
add ebx, 0x20
cmp eax, 0x6233ec
jl 0x41c336
jmp 0x41c523
mov eax, dword [edi]
mov edx, 0x6233d0
mov dword [ebp + 8], edx
mov edi, eax
mov esi, dword [ebx + 0x14]
mov eax, esi
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + str.cwko0]
mov eax, esi
shr eax, 8
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, byte [ebx + 0x14]
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, esi
shr eax, 0x18
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebx + 4]
xor edi, ecx
xor edi, dword [edx]
mov ecx, dword [ebx + 8]
xor eax, edi
xor ecx, eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0xc]
xor eax, ecx
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 0x10]
xor ecx, eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
xor esi, ecx
add eax, 4
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x28], ecx
mov edx, eax
mov dword [ebx + 0x2c], esi
add ebx, 0x18
mov dword [ebp + 8], eax
cmp eax, 0x6233f0
jl 0x41c41d
jmp 0x41c523
mov eax, dword [edi]
mov edx, 0x6233d0
mov dword [ebp + 8], edx
mov edi, eax
mov esi, dword [ebx + 0xc]
mov eax, esi
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + str.cwko0]
mov eax, esi
shr eax, 8
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, byte [ebx + 0xc]
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, esi
shr eax, 0x18
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebx + 4]
xor edi, ecx
xor edi, dword [edx]
mov ecx, dword [ebx + 8]
xor eax, edi
xor ecx, eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x18], ecx
add eax, 4
xor ecx, esi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x1c], ecx
mov edx, eax
add ebx, 0x10
mov dword [ebp + 8], eax
cmp eax, str.https:__dd.browser.360.cn_static_a_1286.5319.gif
jl 0x41c4b1
mov edi, dword [ebp - 4]
cmp dword [0x6c83e0], 0
je 0x41c57d
xor edx, edx
mov ecx, dword [edx + str.cwko0]
mov eax, dword [ecx*4 + 0x624060]
mov dword [edx + 0x6d16f0], eax
mov eax, dword [ecx*4 + 0x623c60]
mov dword [edx + 0x6d12f0], eax
mov eax, dword [ecx*4 + 0x623860]
mov dword [edx + 0x6d0ef0], eax
mov eax, dword [ecx*4 + 0x623460]
mov dword [edx + 0x6d0af0], eax
add edx, 4
cmp edx, 0x400
jl 0x41c531
and dword [0x6c83e0], 0
mov eax, dword [ebx]
lea esi, [edi + 0x100]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
add ebx, 0x10
mov dword [esi + 0xc], eax
xor eax, eax
inc eax
add esi, 0x10
mov dword [ebp + 8], eax
cmp dword [edi + 0x200], eax
jle 0x41c6ad
mov edx, dword [ebx - 0x20]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x6d12f0]
xor ecx, dword [eax*4 + 0x6d0ef0]
xor ecx, dword [edx*4 + 0x6d16f0]
movzx eax, byte [ebx - 0x20]
xor ecx, dword [eax*4 + 0x6d0af0]
mov dword [esi], ecx
mov edx, dword [ebx - 0x1c]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x6d12f0]
xor ecx, dword [eax*4 + 0x6d0ef0]
xor ecx, dword [edx*4 + 0x6d16f0]
movzx eax, byte [ebx - 0x1c]
xor ecx, dword [eax*4 + 0x6d0af0]
mov dword [esi + 4], ecx
mov edx, dword [ebx - 0x18]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x6d12f0]
xor ecx, dword [eax*4 + 0x6d0ef0]
xor ecx, dword [edx*4 + 0x6d16f0]
movzx eax, byte [ebx - 0x18]
xor ecx, dword [eax*4 + 0x6d0af0]
mov dword [esi + 8], ecx
mov edx, dword [ebx - 0x14]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x6d12f0]
xor ecx, dword [eax*4 + 0x6d0ef0]
movzx eax, byte [ebx - 0x14]
add ebx, 0xfffffff0
xor ecx, dword [edx*4 + 0x6d16f0]
xor ecx, dword [eax*4 + 0x6d0af0]
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], ecx
add esi, 0x10
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [edi + 0x200]
jl 0x41c5b1
mov eax, dword [ebx - 0x20]
mov dword [esi], eax
mov eax, dword [ebx - 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebx - 0x18]
mov dword [esi + 8], eax
mov eax, dword [ebx - 0x14]
mov dword [esi + 0xc], eax
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret