Function at 0x432120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x47f06c]
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 0x432697
mov esi, dword [ebp + 8]
add eax, esi
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x230]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x43216e
lea eax, [edi + 0x40]
mov dword [esp + 0x28], eax
push 0x40
lea eax, [esp + 0x44]
push edi
push eax
call fcn.0043e120
mov eax, dword [edi + 0x200]
add esp, 0xc
add dword [edi + 0x210], esi
adc dword [edi + 0x214], 0
mov edi, 0x100
sub edi, eax
cmp esi, edi
ja 0x4321d1
mov edi, dword [esp + 0x18]
add eax, 0x100
push esi
push dword [esp + 0x18]
add eax, edi
push eax
call fcn.0043e120
add dword [edi + 0x200], esi
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x18]
test eax, eax
je 0x432421
push edi
push dword [esp + 0x18]
add eax, 0x100
add eax, esi
push eax
call fcn.0043e120
add dword [esp + 0x20], edi
lea edx, [esi + 0x100]
mov eax, dword [esi + 0x208]
add esp, 0xc
mov ecx, dword [esi + 0x21c]
mov edi, dword [esp + 0x28]
mov esi, dword [esi + 0x218]
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 0x43236b
mov eax, dword [esp + 0x28]
movaps xmm3, xmmword [0x47a560]
add eax, ecx
mov dword [esp + 0x30], eax
test esi, esi
je 0x4322c9
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 0x432274
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 0x432260
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 0x4322e0
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 + 0x218]
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 0x432245
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x208], 0
test ecx, ecx
je 0x432417
jmp 0x432374
mov esi, dword [esp + 0x18]
mov ecx, 4
test ecx, ecx
je 0x43240f
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 0x4323b0
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 0x432390
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x208]
add eax, ecx
mov dword [esi + 0x208], eax
mov dword [esi + 0x200], 0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
sub eax, edi
cmp eax, 0x100
jle 0x432665
mov ecx, dword [esi + 0x21c]
lea edx, [eax - 1]
mov eax, dword [esi + 0x208]
mov esi, dword [esi + 0x218]
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 0x432599
mov eax, dword [esp + 0x28]
movaps xmm3, xmmword [0x47a560]
add eax, ecx
mov dword [esp + 0x30], eax
test esi, esi
je 0x432509
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 0x4324b4
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 0x4324a0
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 0x432520
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 + 0x218]
mov esi, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], edi
cmp edx, eax
jae 0x432480
mov esi, ecx
mov dword [esi + 0x208], 0
jmp 0x43259d
mov esi, dword [esp + 0x18]
test edx, edx
je 0x43264c
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 0x4325e0
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 0x4325c0
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 + 0x208], ecx
jmp 0x432650
mov edi, dword [esp + 0x14]
push 0x40
lea eax, [edi - 0x40]
push eax
lea eax, [esi + 0x1c0]
push eax
call fcn.0043e120
add esp, 0xc
mov eax, dword [esp + 0x3c]
sub eax, edi
push eax
mov dword [esp + 0x40], eax
lea eax, [esi + 0x100]
push edi
push eax
call fcn.0043e120
mov eax, dword [esp + 0x48]
mov dword [esi + 0x200], eax
lea eax, [esp + 0x4c]
push 0x40
push eax
push esi
call fcn.0043e120
add esp, 0x18
mov ecx, dword [esp + 0x8c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret