Function at 0x41c3fc
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x9c
mov eax, dword [esp + 0xb0]
lea edx, [eax + eax]
add edx, edx
sub edx, eax
lea edx, [eax + edx*8]
mov eax, dword [edx*4 + 0x79bd90]
mov dword [esp + 0x8c], eax
mov eax, dword [edx*4 + 0x79bd94]
mov dword [esp + 0x90], eax
mov eax, dword [edx*4 + 0x79bd88]
mov dword [esp + 0x70], eax
mov eax, dword [edx*4 + 0x79bd8c]
mov dword [esp + 0x7c], eax
mov esi, dword [edx*4 + 0x79bd98]
mov edi, dword [edx*4 + 0x79bd9c]
mov ebx, dword [edx*4 + 0x79bda4]
mov eax, dword [edx*4 + 0x79bda8]
mov dword [esp], eax
mov eax, dword [edx*4 + 0x79bdac]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx*4 + 0x79bdb0]
mov ebp, dword [edx*4 + 0x79bdb4]
mov eax, dword [edx*4 + 0x79bdb8]
mov dword [esp + 0x78], eax
mov edx, dword [edx*4 + 0x79bdbc]
mov dword [esp + 0x64], edx
mov eax, 0x51eb851f
imul esi
sar edx, 5
sar esi, 0x1f
sub edx, esi
mov dword [esp + 0x38], edx
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov esi, edi
sar esi, 0x1f
sub edx, esi
mov dword [esp + 0x30], edx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov esi, ecx
sar esi, 0x1f
sub edx, esi
mov dword [esp + 0x98], edx
mov eax, 0x51eb851f
imul ecx
mov esi, edx
sar esi, 4
sar ecx, 0x1f
sub esi, ecx
sub ebx, edi
add ebp, 0xffffff9c
mov edi, dword [esp + 0x70]
jne 0x41c4f8
mov ebp, 0x64
mov ecx, dword [esp + 0x8c]
lea ecx, [ecx + ecx]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x90]
lea ecx, [ecx + ecx]
mov dword [esp + 0x44], ecx
lea ecx, [esi + esi]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.0046f50c
pop ecx
mov dword [esp + 0x14], eax
mov ecx, 0x10001
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x7c]
cmp edi, ecx
jge 0x41c914
mov dword [esp + 0x70], edi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x98]
lea ecx, [eax + eax]
add ecx, ecx
mov dword [esp + 0x6c], ecx
mov edi, dword [esp + 0x8c]
lea ebx, [edi + edi]
add ebx, ebx
mov dword [esp + 0x80], ebx
mov ecx, dword [esp + 0x78]
lea ebx, [ecx + ebx]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x90]
lea edx, [ebx + ebx]
add edx, edx
add edx, ecx
mov dword [esp + 0x94], edx
sub eax, ebx
add eax, eax
add eax, eax
mov dword [esp + 0x98], eax
mov eax, ebp
cdq
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x38]
add eax, eax
add eax, eax
mov dword [esp + 0x38], eax
add esi, esi
add esi, esi
sub ebx, edi
mov dword [esp + 0x84], ebx
mov edi, dword [esp + 0x70]
mov ebx, edi
mov eax, dword [esp + 0x6c]
imul ebx, eax
add ebx, ecx
mov dword [esp], ebx
mov ecx, edi
imul ecx, eax
add ecx, dword [esp + 0x94]
mov dword [esp + 0x88], ecx
mov ecx, edi
imul ecx, eax
add ecx, dword [esp + 0x74]
mov dword [esp + 0x94], ecx
mov edx, edi
shl edx, 8
mov ecx, edi
shl ecx, 8
add ecx, 0x80
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x70], edi
mov ebp, dword [esp]
mov eax, dword [esp + 0x80]
push eax
push ebp
call dword [0x5b8560]
add esp, 8
mov eax, dword [esp + 0x98]
push eax
mov edx, dword [esp + 0x8c]
push edx
call dword [0x5b8560]
add esp, 8
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
cmp eax, edx
jge 0x41c8db
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
imul ecx
mov ebx, dword [esp + 0x34]
push ebx
mov esi, dword [esp + 0x1c]
push esi
push edx
push eax
call fcn.00471230
add eax, 0
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x30]
imul ecx, ebx
mov dword [esp + 0x28], ecx
mov esi, eax
shr esi, 8
imul esi, ebx
add esi, ecx
add esi, dword [esp + 0x38]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x5c], esi
movzx eax, al
mov edi, eax
shl edi, 0x10
add edi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
imul edx
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00471230
add eax, 0
mov edx, eax
shr edx, 8
mov ecx, ebx
imul edx, ecx
mov ebx, dword [esp + 0x28]
add ebx, edx
add ebx, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
movzx eax, al
mov edx, eax
shl edx, 0x10
add edx, eax
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
lea eax, [esi + edi]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x40], eax
mov eax, ecx
neg eax
imul ecx, dword [esp + 0x2c]
add eax, ecx
cmp ebx, eax
jbe 0x41c747
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
jmp 0x41c751
mov dword [esp + 0x50], edx
mov eax, ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x64]
lea ebx, [0x7b3e20]
mov eax, 0xff00ff
movd mm4, eax
punpckldq mm4, mm4
pxor mm7, mm7
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
movd mm6, eax
punpckldq mm6, mm6
mov eax, dword [ebx + ecx*4]
mov edx, dword [esp + 0x5c]
movd mm5, eax
shr eax, 8
punpcklbw mm5, mm7
punpcklwd mm5, mm5
punpckldq mm5, mm5
shl eax, 2
add edx, eax
movd mm0, dword [esi + edx]
movd mm2, dword [esi + edx + 4]
add edx, dword [esp + 0x48]
movd mm1, dword [esi + edx]
movd mm3, dword [esi + edx + 4]
punpcklbw mm2, mm7
pmullw mm2, mm5
punpcklbw mm3, mm7
pmullw mm3, mm5
pxor mm5, mm4
paddusw mm5, qword [esp + 4]
punpcklbw mm1, mm7
pmullw mm1, mm5
punpcklbw mm0, mm7
pmullw mm0, mm5
paddusw mm1, mm3
psrlw mm1, 8
pmullw mm1, mm6
paddusw mm0, mm2
psrlw mm0, 8
movq mm5, mm4
psubw mm5, mm6
paddusw mm5, qword [esp + 4]
pmullw mm0, mm5
paddusw mm0, mm1
psrlw mm0, 8
packuswb mm0, mm7
movd dword [edi], mm0
add edi, 4
inc ecx
cmp ecx, dword [esp + 0x44]
jne 0x41c786
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
movd mm6, eax
punpckldq mm6, mm6
mov eax, dword [ebx + ecx*4]
mov edx, dword [esp + 0x4c]
movd mm5, eax
shr eax, 8
punpcklbw mm5, mm7
punpcklwd mm5, mm5
punpckldq mm5, mm5
shl eax, 2
add edx, eax
movd mm0, dword [esi + edx]
movd mm2, dword [esi + edx + 4]
add edx, dword [esp + 0x48]
movd mm1, dword [esi + edx]
movd mm3, dword [esi + edx + 4]
punpcklbw mm2, mm7
pmullw mm2, mm5
punpcklbw mm3, mm7
pmullw mm3, mm5
pxor mm5, mm4
paddusw mm5, qword [esp + 4]
punpcklbw mm1, mm7
pmullw mm1, mm5
punpcklbw mm0, mm7
pmullw mm0, mm5
paddusw mm1, mm3
psrlw mm1, 8
pmullw mm1, mm6
paddusw mm0, mm2
psrlw mm0, 8
movq mm5, mm4
psubw mm5, mm6
paddusw mm5, qword [esp + 4]
pmullw mm0, mm5
paddusw mm0, mm1
psrlw mm0, 8
packuswb mm0, mm7
movd dword [edi], mm0
add edi, 4
inc ecx
cmp ecx, dword [esp + 0x44]
jne 0x41c823
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edx, esi
xor eax, eax
mov ecx, dword [esp + 0x68]
movq mm1, qword [esi + eax*8]
movq mm2, qword [edx + eax*8]
pavgb mm1, mm2
pshufw mm5, mm1, 0xe
pavgb mm1, mm5
movd dword [edi + eax*4], mm1
inc eax
cmp eax, ecx
jne 0x41c8be
emms
mov eax, dword [esp + 0x6c]
add ebp, eax
add dword [esp + 0x88], eax
add dword [esp + 0x94], eax
add dword [esp + 0x78], 0x100
add dword [esp + 0x74], 0x100
mov edx, dword [esp + 0x70]
inc edx
mov dword [esp + 0x70], edx
mov ecx, dword [esp + 0x7c]
cmp edx, ecx
jl 0x41c62a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41c923
push eax
call fcn.0046fa9e
pop ecx
add esp, 0x9c
pop ebx
pop ebp
pop esi
pop edi
ret