Function at 0x432a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x48106c]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov eax, edx
mov dword [esp + 0x10], eax
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
test eax, eax
je 0x432ff7
mov esi, dword [ebp + 8]
add eax, esi
mov dword [esp + 0x3c], eax
mov eax, dword [edi + reloc.USER32.dll_PeekMessageA]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x432ace
lea eax, [edi + 0x40]
mov dword [esp + 0x28], eax
push 0x40
lea eax, [esp + 0x44]
push edi
push eax
call fcn.0043ea90
mov eax, dword [edi + reloc.USER32.dll_PeekMessageA]
add esp, 0xc
add dword [edi + reloc.USER32.dll_PeekMessageA], esi
adc dword [edi + reloc.USER32.dll_PeekMessageA], 0
mov edi, 0x100
sub edi, eax
cmp esi, edi
ja 0x432b31
mov edi, dword [esp + 0x18]
add eax, 0x100
push esi
push dword [esp + 0x18]
add eax, edi
push eax
call fcn.0043ea90
add dword [edi + reloc.USER32.dll_PeekMessageA], esi
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0043c755
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x18]
test eax, eax
je 0x432d81
push edi
push dword [esp + 0x18]
add eax, 0x100
add eax, esi
push eax
call fcn.0043ea90
add dword [esp + 0x20], edi
lea edx, reloc.USER32.dll_PeekMessageA
mov eax, dword [esi + reloc.USER32.dll_PeekMessageA]
add esp, 0xc
mov ecx, dword [esi + reloc.USER32.dll_PeekMessageA]
mov edi, dword [esp + 0x28]
mov esi, dword [esi + reloc.USER32.dll_PeekMessageA]
sub esi, eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], esi
lea edi, [edi + eax*8]
mov dword [esp + 0x1c], edi
cmp esi, 4
ja 0x432ccb
mov eax, dword [esp + 0x28]
movaps xmm3, xmmword [0x47b680]
add eax, ecx
mov dword [esp + 0x30], eax
test esi, esi
je 0x432c29
mov eax, edx
mov dword [esp + 0x34], edx
mov edx, edi
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x40]
sub edx, ecx
nop
prefetcht0 byte [eax + 0x180]
lea ecx, [esp + 0x40]
mov esi, eax
sub esi, edi
mov edi, 4
lea eax, [edx + ecx]
lea ecx, [ecx + 0x10]
movups xmm0, xmmword [eax + esi]
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 edi, 1
jne 0x432bd4
mov eax, dword [esp + 0x34]
add edx, 8
mov edi, dword [esp + 0x1c]
add eax, 0x40
add edi, 8
mov dword [esp + 0x34], eax
sub dword [esp + 0x24], 1
mov dword [esp + 0x1c], edi
jne 0x432bc0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x40]
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 0x432c40
mov edi, dword [esp + 0x18]
mov eax, esi
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
shl eax, 6
sub ecx, esi
add edx, eax
mov dword [esp + 0x2c], ecx
mov eax, dword [edi + reloc.USER32.dll_PeekMessageA]
mov esi, eax
mov edi, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
cmp ecx, eax
jae 0x432ba5
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esi + reloc.USER32.dll_PeekMessageA], 0
test ecx, ecx
je 0x432d77
jmp 0x432cd4
mov esi, dword [esp + 0x18]
mov ecx, 4
test ecx, ecx
je 0x432d6f
mov esi, edi
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x40]
sub esi, eax
nop dword [eax + eax]
prefetcht0 byte [edx + 0x180]
lea ecx, [esp + 0x40]
sub edx, edi
mov dword [esp + 0x30], edx
mov edx, 4
mov edi, dword [esp + 0x30]
nop word [eax + eax]
lea eax, [esi + ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [edi + eax]
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 0x432d10
mov edx, dword [esp + 0x38]
add esi, 8
mov edi, dword [esp + 0x1c]
add edx, 0x40
add edi, 8
mov dword [esp + 0x38], edx
sub dword [esp + 0x20], 1
mov dword [esp + 0x1c], edi
jne 0x432cf0
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + reloc.USER32.dll_PeekMessageA]
add eax, ecx
mov dword [esi + reloc.USER32.dll_PeekMessageA], eax
mov dword [esi + reloc.USER32.dll_PeekMessageA], 0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
sub eax, edi
cmp eax, 0x100
jle 0x432fc5
mov ecx, dword [esi + reloc.USER32.dll_PeekMessageA]
lea edx, [eax - 1]
mov eax, dword [esi + reloc.USER32.dll_PeekMessageA]
mov esi, dword [esi + reloc.USER32.dll_PeekMessageA]
mov dword [esp + 0x14], edi
sub esi, eax
mov edi, dword [esp + 0x28]
shr edx, 6
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], esi
lea edi, [edi + eax*8]
mov dword [esp + 0x1c], edi
cmp edx, esi
jb 0x432ef9
mov eax, dword [esp + 0x28]
movaps xmm3, xmmword [0x47b680]
add eax, ecx
mov dword [esp + 0x30], eax
test esi, esi
je 0x432e69
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x40]
mov edx, edi
mov dword [esp + 0x20], ecx
sub edx, eax
mov dword [esp + 0x24], esi
nop dword [eax]
prefetcht0 byte [ecx + 0x180]
lea eax, [esp + 0x40]
mov esi, ecx
sub esi, edi
mov edi, 4
lea ecx, [edx + eax]
lea eax, [eax + 0x10]
movups xmm2, xmmword [ecx + esi]
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 edi, 1
jne 0x432e14
mov ecx, dword [esp + 0x20]
add edx, 8
mov edi, dword [esp + 0x1c]
add ecx, 0x40
add edi, 8
mov dword [esp + 0x20], ecx
sub dword [esp + 0x24], 1
mov dword [esp + 0x1c], edi
jne 0x432e00
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x40]
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 0x432e80
mov ecx, dword [esp + 0x18]
mov eax, esi
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
sub edx, esi
shl eax, 6
add dword [esp + 0x14], eax
mov eax, dword [ecx + reloc.USER32.dll_PeekMessageA]
mov esi, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], edi
cmp edx, eax
jae 0x432de0
mov esi, ecx
mov dword [esi + reloc.USER32.dll_PeekMessageA], 0
jmp 0x432efd
mov esi, dword [esp + 0x18]
test edx, edx
je 0x432fac
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov esi, edi
mov dword [esp + 0x20], eax
sub esi, ecx
mov dword [esp + 0x24], edx
nop dword [eax]
prefetcht0 byte [eax + 0x180]
lea ecx, [esp + 0x40]
sub eax, edi
mov edx, 4
mov dword [esp + 0x30], eax
mov edi, eax
nop dword [eax + eax]
lea eax, [esi + ecx]
lea ecx, [ecx + 0x10]
movups xmm2, xmmword [edi + eax]
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 0x432f40
mov eax, dword [esp + 0x20]
add esi, 8
mov edi, dword [esp + 0x1c]
add eax, 0x40
add edi, 8
mov dword [esp + 0x20], eax
sub dword [esp + 0x24], 1
mov dword [esp + 0x1c], edi
jne 0x432f20
mov ecx, dword [esp + 0x2c]
mov eax, ecx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
shl eax, 6
add edi, eax
add dword [esi + reloc.USER32.dll_PeekMessageA], ecx
jmp 0x432fb0
mov edi, dword [esp + 0x14]
push 0x40
lea eax, [edi - 0x40]
push eax
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call fcn.0043ea90
add esp, 0xc
mov eax, dword [esp + 0x3c]
sub eax, edi
push eax
mov dword [esp + 0x40], eax
lea eax, reloc.USER32.dll_PeekMessageA
push edi
push eax
call fcn.0043ea90
mov eax, dword [esp + 0x48]
mov dword [esi + reloc.USER32.dll_PeekMessageA], eax
lea eax, [esp + 0x4c]
push 0x40
push eax
push esi
call fcn.0043ea90
add esp, 0x18
mov ecx, dword [esp + 0x8c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0043c755
mov esp, ebp
pop ebp
ret