Function at 0x4354c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x48106c]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
mov eax, dword [esi + reloc.USER32.dll_PeekMessageA]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4354f7
lea eax, [esi + 0x40]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + reloc.USER32.dll_PeekMessageA]
lea edi, reloc.USER32.dll_PeekMessageA
mov eax, dword [esi + reloc.USER32.dll_PeekMessageA]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], edi
test ecx, ecx
jne 0x43557e
cmp eax, 0xf0
ja 0x43557e
mov ecx, dword [esp + 0x24]
mov esi, dword [esi + reloc.USER32.dll_PeekMessageA]
mov eax, esi
mov edx, dword [ecx + reloc.USER32.dll_PeekMessageA]
or eax, edx
je 0x435553
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x44]
push esi
push eax
mov ecx, edi
call fcn.004346a0
add esp, 0xc
movups xmm0, xmmword [eax]
jmp 0x4358ad
mov eax, dword [ecx + reloc.USER32.dll_PeekMessageA]
mov edx, dword [ecx + reloc.USER32.dll_PeekMessageA]
add eax, 0x40
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.00433640
add esp, 0xc
movups xmm0, xmmword [eax]
jmp 0x4358ad
push 0x40
lea eax, [esp + 0x54]
push esi
push eax
call fcn.0043ea90
mov edx, dword [esi + reloc.USER32.dll_PeekMessageA]
add esp, 0xc
mov dword [esp + 0x20], edx
cmp edx, 0x40
jb 0x435793
mov eax, dword [esi + reloc.USER32.dll_PeekMessageA]
dec edx
mov ecx, dword [esi + reloc.USER32.dll_PeekMessageA]
shr edx, 6
mov dword [esp + 0x1c], edx
mov edx, dword [esi + reloc.USER32.dll_PeekMessageA]
mov esi, dword [esi + reloc.USER32.dll_PeekMessageA]
mov dword [esp + 0x20], edx
sub esi, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], esi
lea edi, [edx + eax*8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
cmp eax, esi
jb 0x4356fd
movaps xmm3, xmmword [0x47b680]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
test esi, esi
je 0x435679
mov ecx, edx
mov dword [esp + 0x28], edx
mov edx, edi
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x50]
sub edx, eax
nop
prefetcht0 byte [ecx + 0x180]
lea eax, [esp + 0x50]
mov esi, ecx
sub esi, edi
mov edi, 4
lea ecx, [eax + edx]
lea eax, [eax + 0x10]
movups xmm0, xmmword [ecx + esi]
movups xmm2, xmmword [ecx]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [eax - 0x10]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
sub edi, 1
jne 0x435624
mov ecx, dword [esp + 0x28]
add edx, 8
mov edi, dword [esp + 0x18]
add ecx, 0x40
add edi, 8
mov dword [esp + 0x28], ecx
sub dword [esp + 0x2c], 1
mov dword [esp + 0x18], edi
jne 0x435610
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x50]
mov ecx, eax
sub edx, ecx
mov ecx, 4
nop word [eax + eax]
movups xmm1, xmmword [eax]
lea eax, [eax + 0x10]
psrlq xmm1, 0x2f
movups xmm0, xmmword [edx + eax - 0x10]
pxor xmm1, xmmword [eax - 0x10]
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x31
pmuludq xmm0, xmm3
pmuludq xmm1, xmm3
psllq xmm0, 0x20
paddq xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x435690
mov edx, dword [esp + 0x10]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
shl eax, 6
add edx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x1c]
sub eax, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
mov esi, ecx
mov dword [esp + 0x18], edi
cmp eax, ecx
jae 0x4355f4
jmp 0x435701
mov edx, dword [esp + 0x10]
test eax, eax
je 0x435781
mov esi, edi
lea eax, [esp + 0x50]
sub esi, eax
prefetcht0 byte [edx + 0x180]
lea ecx, [esp + 0x50]
sub edx, edi
mov dword [esp + 0x20], edx
mov edx, 4
mov edi, dword [esp + 0x20]
nop dword [eax + eax]
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 0x435730
mov edx, dword [esp + 0x10]
add esi, 8
mov edi, dword [esp + 0x18]
add edx, 0x40
add edi, 8
mov dword [esp + 0x10], edx
sub dword [esp + 0x1c], 1
mov dword [esp + 0x18], edi
jne 0x435711
mov edi, dword [esp + 0x24]
lea esi, [edi + 0xc0]
add esi, dword [edi + reloc.USER32.dll_PeekMessageA]
jmp 0x4357da
mov eax, dword [esp + 0x24]
mov esi, 0x40
sub esi, edx
sub eax, esi
add eax, 0x200
push esi
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.0043ea90
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
lea eax, [esp + 0x9c]
add eax, esi
push edi
push eax
call fcn.0043ea90
mov edi, dword [esp + 0x30]
lea esi, [esp + 0xa4]
add esp, 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
mov eax, dword [edi + reloc.USER32.dll_PeekMessageA]
add edx, 0xfffffff9
add eax, edx
mov edx, ecx
sub esi, edx
mov edx, 4
nop word [eax + eax]
lea eax, [eax + 0x10]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [esi + ecx - 0x10]
movups xmm0, xmmword [eax - 0x10]
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 0x435800
mov eax, dword [edi + reloc.USER32.dll_PeekMessageA]
mov esi, dword [edi + reloc.USER32.dll_PeekMessageA]
push 0x9e3779b1
push 0x85ebca87
push dword [edi + 0x214]
push eax
call fcn.0043d380
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push edx
push eax
lea edx, [edi + 0xb]
call fcn.00428f40
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esp + 0x44]
push dword [esp + 0x40]
call fcn.0043d380
not edx
lea ecx, [esp + 0x50]
push edx
not eax
lea edx, [edi - 0xb]
push eax
add edx, esi
call fcn.00428f40
mov dword [esp + 0x50], eax
add esp, 8
mov dword [esp + 0x4c], edx
movups xmm0, xmmword [esp + 0x40]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
movups xmmword [eax], xmm0
call fcn.0043c755
mov esp, ebp
pop ebp
ret