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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90c
mov esi, dword [esp + 0x928]
lea ebp, [esp + 0x254]
lea edi, [esp + 0x164]
lea ebx, [esp + 0xc4]
mov dword [esp + 0x20], 0xf
nop
mov ecx, edi
mov edx, esi
mov dword [esp + 0x30], esi
call fcn.00499a60
lea edx, [esi + 0x20]
mov ecx, ebx
call fcn.00499a60
movdqu xmm2, xmmword [esp + 0x164]
movdqu xmm1, xmmword [esp + 0xc4]
movdqu xmm3, xmmword [esp + 0x174]
movdqu xmm0, xmmword [esp + 0xd4]
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0xe8]
mov esi, dword [esp + 0x188]
movdqa xmm4, xmm2
lea ebx, [eax + edx]
movd edi, xmm3
pshufd xmm7, xmm3, 0xe5
pshufd xmm5, xmm3, 0x4e
pshufd xmm6, xmm3, 0xe7
paddd xmm3, xmm0
add edx, 0x7fffffe
paddd xmm4, xmm1
paddd xmm1, xmmword [0x596490]
sub edx, eax
movdqu xmmword [ebp - 0x50], xmm4
movdqu xmmword [ebp - 0x40], xmm3
mov dword [ebp - 0x30], ebx
lea ebx, [esi + ecx]
add ecx, 0x3fffffe
mov dword [ebp - 0x2c], ebx
movd ebx, xmm0
sub ecx, esi
add ebx, 0x7fffffe
psubd xmm1, xmm2
sub ebx, edi
movd edi, xmm7
movdqu xmmword [ebp - 0x28], xmm1
pshufd xmm1, xmm0, 0xe5
mov dword [ebp - 0x18], ebx
movd ebx, xmm1
pshufd xmm1, xmm0, 0x4e
pshufd xmm0, xmm0, 0xe7
add ebx, 0x3fffffe
sub ebx, edi
movd edi, xmm1
mov dword [ebp - 0x14], ebx
add edi, 0x7fffffe
movd ebx, xmm5
sub edi, ebx
movd ebx, xmm6
mov dword [ebp - 0x10], edi
movd edi, xmm0
add edi, 0x3fffffe
sub edi, ebx
lea ebx, [esp + 0xc4]
mov dword [ebp - 0xc], edi
lea edi, [esp + 0x164]
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
mov ecx, ebp
mov edx, edi
push ebx
call fcn.004a3af0
add esp, 4
mov ecx, ebp
mov edx, ebp
push 0x596660
call fcn.004a3af0
add esp, 4
mov esi, dword [esp + 0x30]
add ebp, 0x78
add esi, 0x40
dec dword [esp + 0x20]
jne 0x49a6e0
mov eax, dword [esp + 0x920]
mov ebx, 0x3f
lea ecx, [eax + 0x28]
lea esi, [eax + 0x50]
lea edx, [eax + 0x78]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x28], 1
mov dword [eax + 0x58], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x50], 1
mov dword [eax + 0x7c], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x84], 0
mov dword [eax + 0x80], 0
mov dword [eax + 0x8c], 0
mov dword [eax + 0x88], 0
mov dword [eax + 0x94], 0
mov dword [eax + 0x90], 0
mov dword [eax + 0x9c], 0
mov dword [eax + 0x98], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
nop word [eax + eax]
mov ecx, dword [esp + 0x924]
mov eax, ebx
movdqa xmm3, xmmword [0x5964a0]
pxor xmm2, xmm2
xor ebp, ebp
pxor xmm4, xmm4
pxor xmm5, xmm5
pxor xmm6, xmm6
pxor xmm7, xmm7
mov dword [esp + 0x18], ebx
shr eax, 3
mov edi, ecx
movzx edx, byte [ecx + eax]
mov ecx, ebx
movzx esi, byte [edi + eax + 8]
and cl, 7
shr edx, cl
shr esi, cl
and edx, 1
and esi, 1
lea edx, [edx + esi*2]
movzx esi, byte [edi + eax + 0x10]
movzx eax, byte [edi + eax + 0x18]
shr esi, cl
shr eax, cl
xor ecx, ecx
and esi, 1
and eax, 1
lea edx, [edx + esi*4]
lea esi, [esp + 0x278]
lea eax, [edx + eax*8]
lea edx, [esp + 0x50]
mov dword [edx + 4], 0
mov dword [edx], 0
mov dword [edx + 0xc], 0
mov dword [edx + 8], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x20], 0
mov dword [esp + 0x4c], 1
mov dword [edx + 0x2c], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x48], 0
mov dword [esp + 0x74], 1
mov dword [edx + 0x50], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x58], 0
mov dword [edx + 0x54], 0
mov dword [edx + 0x60], 0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x68], 0
mov dword [edx + 0x64], 0
mov dword [edx + 0x70], 0
mov dword [edx + 0x6c], 0
mov edx, 1
mov dword [esp + 0x1c], eax
movd xmm0, edx
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [esp + 0x1c]
movdqu xmmword [esp + 0x30], xmm7
mov edi, ecx
mov ecx, dword [esi - 4]
mov ebx, ebp
mov ebp, dword [esi]
xor eax, edx
xor ecx, edi
xor ebp, ebx
inc edx
dec eax
sar eax, 0x1f
movd xmm7, eax
and ecx, eax
and ebp, eax
pshufd xmm7, xmm7, 0
xor ecx, edi
xor ebp, ebx
movdqa xmm1, xmm7
pandn xmm1, xmm0
movdqu xmm0, xmmword [esi - 0x74]
pand xmm0, xmm7
por xmm0, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm2
movdqu xmm2, xmmword [esi - 0x64]
movdqu xmmword [esp + 0x20], xmm0
movdqu xmm0, xmmword [esp + 0x30]
pand xmm2, xmm7
por xmm2, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm3
movdqu xmm3, xmmword [esi - 0x54]
pand xmm3, xmm7
por xmm3, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm4
movdqu xmm4, xmmword [esi - 0x44]
pand xmm4, xmm7
por xmm4, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm5
movdqu xmm5, xmmword [esi - 0x34]
pand xmm5, xmm7
por xmm5, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm6
movdqu xmm6, xmmword [esi - 0x24]
pand xmm6, xmm7
por xmm6, xmm1
movdqu xmm1, xmmword [esi - 0x14]
add esi, 0x78
cmp edx, 0x10
pand xmm1, xmm7
pandn xmm7, xmm0
movdqu xmm0, xmmword [esp + 0x20]
por xmm7, xmm1
jne 0x49aae0
mov esi, dword [esp + 0x920]
movdqu xmmword [esp + 0x4c], xmm0
movdqu xmmword [esp + 0x5c], xmm2
movdqu xmmword [esp + 0x6c], xmm3
movdqu xmmword [esp + 0x7c], xmm4
movdqu xmmword [esp + 0x8c], xmm5
movdqu xmmword [esp + 0x9c], xmm6
movdqu xmmword [esp + 0xac], xmm7
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebp
push esi
lea eax, [esp + 0x168]
mov edi, eax
push eax
call fcn.00499c40
add esp, 8
push edi
push esi
lea edi, [esp + 0xcc]
push edi
call fcn.00499dd0
add esp, 0xc
lea eax, [esp + 0x13c]
mov ecx, esi
mov edx, edi
push eax
call fcn.004a3af0
add esp, 4
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0xec]
lea esi, [esp + 0x114]
mov edx, eax
mov ecx, ebx
push esi
call fcn.004a3af0
add esp, 4
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x13c]
mov edx, esi
mov ecx, ebp
push eax
call fcn.004a3af0
add esp, 4
mov esi, dword [esp + 0xc]
lea eax, [esp + 0xec]
mov edx, edi
mov ecx, esi
push eax
call fcn.004a3af0
add esp, 4
mov edx, dword [esp + 0x920]
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
call fcn.0049ad20
add esp, 4
mov ecx, dword [esp + 0x920]
lea eax, [esp + 0x13c]
mov edx, edi
push eax
call fcn.004a3af0
add esp, 4
mov ecx, ebx
lea ebx, [esp + 0x114]
lea edx, [esp + 0xec]
push ebx
call fcn.004a3af0
add esp, 4
lea eax, [esp + 0x13c]
mov ecx, ebp
mov edx, ebx
push eax
call fcn.004a3af0
add esp, 4
lea eax, [esp + 0xec]
mov ecx, esi
mov edx, edi
push eax
call fcn.004a3af0
add esp, 4
mov ebx, dword [esp + 0x18]
dec ebx
cmp ebx, 0x40
jb 0x49a980
add esp, 0x90c
pop esi
pop edi
pop ebx
pop ebp
ret