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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x4cf06c]
xor eax, esp
mov dword [esp + 0x144], eax
mov edx, dword [ebp + 0x14]
mov eax, edx
mov ecx, dword [ebp + 0x18]
or eax, ecx
push esi
push edi
jne 0x474c34
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x40], 0xc2b2ae3d
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x85ebca87
lea ecx, [esi - 1]
mov dword [esp + 0x4c], 0x9e3779b1
shr ecx, 0xa
mov dword [esp + 0x50], 0x27d4eb4f
mov dword [esp + 0x54], 0xc2b2ae3d
mov dword [esp + 0x58], 0x9e3779f9
mov dword [esp + 0x5c], 0x165667b1
mov dword [esp + 0x60], 0xc2b2ae63
mov dword [esp + 0x64], 0x85ebca77
mov dword [esp + 0x68], 0x85ebca77
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x165667c5
mov dword [esp + 0x74], 0x27d4eb2f
mov dword [esp + 0x78], 0x9e3779b1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x474b09
movaps xmm3, xmmword [0x4c62e0]
lea eax, [esp + 0x40]
mov esi, 0x4be940
mov dword [esp + 0x18], ecx
sub esi, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], esi
mov edx, 0x4be940
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x10
nop word [eax + eax]
prefetcht0 byte [eax + 0x180]
lea ecx, [esp + 0x40]
mov edi, eax
sub edi, edx
mov edx, 4
lea eax, [esi + ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [eax + edi]
movups xmm0, xmmword [eax]
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0x31
pmuludq xmm1, xmm0
pshufd xmm0, xmm2, 0x4e
paddq xmm0, xmmword [ecx - 0x10]
paddq xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
sub edx, 1
jne 0x474a54
mov eax, dword [esp + 0x1c]
add esi, 8
mov edx, dword [esp + 0x10]
add eax, 0x40
add edx, 8
mov dword [esp + 0x1c], eax
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], edx
jne 0x474a40
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x40]
movaps xmm1, xmm0
psrlq xmm1, 0x2f
pxor xmm1, xmm0
movups xmm0, xmmword [eax + 0x4be9c0]
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x31
pmuludq xmm0, xmm3
pmuludq xmm1, xmm3
psllq xmm0, 0x20
paddq xmm0, xmm1
movups xmmword [esp + eax + 0x40], xmm0
add eax, 0x10
cmp eax, 0x40
jb 0x474ab0
sub dword [esp + 0x18], 1
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
jne 0x474a22
mov ecx, dword [esp + 0x20]
mov esi, dword [ebp + 0x10]
shl ecx, 0xa
mov eax, esi
sub eax, ecx
dec eax
shr eax, 6
mov dword [esp + 0x10], eax
test eax, eax
je 0x474ba8
mov edx, 0x4be940
lea eax, [esp + 0x40]
mov esi, edx
mov dword [esp + 0x14], edx
sub esi, eax
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x18], eax
nop word [eax + eax]
prefetcht0 byte [eax + 0x180]
lea ecx, [esp + 0x40]
mov edi, eax
sub edi, edx
mov edx, 4
lea eax, [esi + ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [eax + edi]
movups xmm0, xmmword [eax]
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0x31
pmuludq xmm1, xmm0
pshufd xmm0, xmm2, 0x4e
paddq xmm0, xmmword [ecx - 0x10]
paddq xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
sub edx, 1
jne 0x474b54
mov eax, dword [esp + 0x18]
add esi, 8
mov edx, dword [esp + 0x14]
add eax, 0x40
add edx, 8
mov dword [esp + 0x18], eax
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
jne 0x474b40
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 0xffffffc0
add ecx, esi
xor eax, eax
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [eax + 0x4be9b9]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [esp + eax + 0x40]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movups xmmword [esp + eax + 0x40], xmm1
add eax, 0x10
cmp eax, 0x40
jb 0x474bb2
push 0x9e3779b1
push 0x85ebca87
push 0
push esi
call fcn.0047dfd0
push edx
push eax
mov edx, 0x4be94b
lea ecx, [esp + 0x48]
call fcn.0046a880
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
push 0xc2b2ae3d
push 0x27d4eb4f
push 0
push esi
call fcn.0047dfd0
not edx
push edx
mov edx, 0x4be9b5
jmp 0x474f44
movq xmm1, qword [ebp + 0x14]
neg edx
mov dword [esp + 0x20], edx
adc ecx, 0
neg ecx
xor eax, eax
mov dword [esp + 0x24], ecx
movq xmm0, qword [esp + 0x20]
punpcklqdq xmm1, xmm0
movups xmm0, xmmword [eax + 0x4be940]
paddq xmm0, xmm1
movups xmmword [esp + eax + 0x80], xmm0
add eax, 0x10
cmp eax, 0xc0
jl 0x474c54
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x40], 0xc2b2ae3d
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x85ebca87
lea edi, [esi - 1]
mov dword [esp + 0x4c], 0x9e3779b1
shr edi, 0xa
mov dword [esp + 0x50], 0x27d4eb4f
mov dword [esp + 0x54], 0xc2b2ae3d
mov dword [esp + 0x58], 0x9e3779f9
mov dword [esp + 0x5c], 0x165667b1
mov dword [esp + 0x60], 0xc2b2ae63
mov dword [esp + 0x64], 0x85ebca77
mov dword [esp + 0x68], 0x85ebca77
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x165667c5
mov dword [esp + 0x74], 0x27d4eb2f
mov dword [esp + 0x78], 0x9e3779b1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x3c], edi
test edi, edi
je 0x474e16
movaps xmm3, xmmword [0x4c62e0]
lea ecx, [esp + 0x40]
lea eax, [esp + 0x80]
mov dword [esp + 0x1c], edi
sub eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
nop word [eax + eax]
lea edx, [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov esi, eax
mov dword [esp + 0x10], 0x10
nop dword [eax]
prefetcht0 byte [ecx + 0x180]
lea eax, [esp + 0x40]
mov edi, ecx
sub edi, edx
mov edx, 4
lea ecx, [esi + eax]
lea eax, [eax + 0x10]
movups xmm2, xmmword [ecx + edi]
movups xmm0, xmmword [ecx]
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0x31
pmuludq xmm1, xmm0
pshufd xmm0, xmm2, 0x4e
paddq xmm0, xmmword [eax - 0x10]
paddq xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
sub edx, 1
jne 0x474d64
mov ecx, dword [esp + 0x18]
add esi, 8
mov edx, dword [esp + 0x14]
add ecx, 0x40
add edx, 8
mov dword [esp + 0x18], ecx
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
jne 0x474d50
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x40]
movaps xmm1, xmm0
psrlq xmm1, 0x2f
pxor xmm1, xmm0
movups xmm0, xmmword [esp + eax + 0x100]
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x31
pmuludq xmm0, xmm3
pmuludq xmm1, xmm3
psllq xmm0, 0x20
paddq xmm0, xmm1
movups xmmword [esp + eax + 0x40], xmm0
add eax, 0x10
cmp eax, 0x40
jb 0x474dc0
sub dword [esp + 0x1c], 1
mov eax, dword [esp + 0x20]
jne 0x474d30
mov edi, dword [esp + 0x3c]
mov esi, dword [ebp + 0x10]
shl edi, 0xa
mov eax, esi
sub eax, edi
dec eax
shr eax, 6
mov dword [esp + 0x10], eax
test eax, eax
je 0x474eb8
lea edx, [esp + 0x80]
lea eax, [esp + 0x40]
mov dword [esp + 0x14], edx
mov esi, edx
sub esi, eax
mov eax, dword [ebp + 0xc]
add eax, edi
mov dword [esp + 0x18], eax
nop dword [eax]
prefetcht0 byte [eax + 0x180]
lea ecx, [esp + 0x40]
mov edi, eax
sub edi, edx
mov edx, 4
lea eax, [esi + ecx]
lea ecx, [ecx + 0x10]
movups xmm0, xmmword [eax + edi]
movups xmm2, xmmword [eax]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [ecx - 0x10]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
sub edx, 1
jne 0x474e64
mov eax, dword [esp + 0x18]
add esi, 8
mov edx, dword [esp + 0x14]
add eax, 0x40
add edx, 8
mov dword [esp + 0x18], eax
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
jne 0x474e50
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 0xffffffc0
add ecx, esi
xor eax, eax
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [esp + eax + 0xf9]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [esp + eax + 0x40]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movups xmmword [esp + eax + 0x40], xmm1
add eax, 0x10
cmp eax, 0x40
jb 0x474ec2
push 0x9e3779b1
push 0x85ebca87
push 0
push esi
call fcn.0047dfd0
push edx
push eax
lea edx, [esp + 0x93]
lea ecx, [esp + 0x48]
call fcn.0046a880
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
push 0xc2b2ae3d
push 0x27d4eb4f
push 0
push esi
call fcn.0047dfd0
not edx
push edx
lea edx, [esp + 0xf9]
not eax
lea ecx, [esp + 0x44]
push eax
call fcn.0046a880
mov ecx, dword [esp + 0x154]
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], edx
movaps xmm0, xmmword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
movups xmmword [eax], xmm0
call fcn.0047d39f
mov esp, ebp
pop ebp
ret