Function at 0x431375
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4684ed
call fcn.004662d0
sub esp, 0x6e4
movaps xmm0, xmmword [0x47d5e0]
movups xmmword [ebp - 0x132], xmm0
push ebx
movaps xmm0, xmmword [0x47d5c0]
xor ebx, ebx
movups xmmword [ebp - 0x122], xmm0
push esi
movaps xmm0, xmmword [0x47d720]
mov esi, edx
movups xmmword [ebp - 0x112], xmm0
mov edx, ebx
mov dword [ebp - 0x28], ecx
movaps xmm0, xmmword [0x47d550]
push edi
movups xmmword [ebp - 0x102], xmm0
mov dword [ebp - 0xf2], 0x81b0ec8c
mov dword [ebp - 0xee], 0xec8dadec
mov dword [ebp - 0xea], 0xb7e597b8
mov word [ebp - 0xe6], 0x82
mov cl, byte [ebp - 0x132]
not cl
xor byte [ebp + edx - 0x131], cl
inc edx
cmp edx, 0x4c
jb 0x4313f0
movaps xmm0, xmmword [0x47d540]
mov edx, ebx
movups xmmword [ebp - 0x7c], xmm0
mov byte [ebp - 0xe5], bl
movaps xmm0, xmmword [0x47d650]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x8bd9ab84
mov dword [ebp - 0x58], 0xc5c5be
mov cl, byte [ebp - 0x7c]
not cl
xor byte [ebp + edx - 0x7b], cl
inc edx
cmp edx, 0x26
jb 0x431431
movaps xmm0, xmmword [0x47d740]
mov edx, ebx
movups xmmword [ebp - 0xca], xmm0
mov byte [ebp - 0x55], bl
movaps xmm0, xmmword [0x47d4c0]
movups xmmword [ebp - 0xba], xmm0
mov dword [ebp - 0x8a], 0xdecbce87
movaps xmm0, xmmword [0x47d640]
movups xmmword [ebp - 0xaa], xmm0
mov dword [ebp - 0x86], 0xc48a91cb
movaps xmm0, xmmword [0x47d620]
movups xmmword [ebp - 0x9a], xmm0
mov dword [ebp - 0x82], 0x97cfc7cb
mov word [ebp - 0x7e], 0x88
mov cl, byte [ebp - 0xca]
not cl
xor byte [ebp + edx - 0xc9], cl
inc edx
cmp edx, 0x4c
jb 0x4314a1
mov edx, esi
mov byte [ebp - 0x7d], bl
lea ecx, [ebp - 0xc9]
call fcn.004330c8
mov edx, 0x47bc30
mov ecx, eax
call fcn.004330c8
mov edx, esi
mov ecx, eax
call fcn.004330c8
movaps xmm0, xmmword [0x47d4e0]
mov esi, eax
movups xmmword [ebp - 0xaf], xmm0
mov edx, ebx
mov word [ebp - 0x7f], 0xb1b6
movaps xmm0, xmmword [0x47d670]
movups xmmword [ebp - 0x9f], xmm0
mov byte [ebp - 0x7d], bl
movaps xmm0, xmmword [0x47d580]
movups xmmword [ebp - 0x8f], xmm0
mov cl, byte [ebp - 0xaf]
not cl
xor byte [ebp + edx - 0xae], cl
inc edx
cmp edx, 0x31
jb 0x431512
lea edx, [ebp - 0xae]
mov byte [ebp - 0x7d], bl
mov ecx, esi
call fcn.004330c8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], bl
mov dword [ebp - 4], ebx
mov cl, 0x62
mov dword [ebp - 0x18], ebx
mov edx, ebx
mov dword [ebp - 0x1e], 0xf4e7b362
mov word [ebp - 0x1a], 0xed
not cl
xor byte [ebp + edx - 0x1d], cl
inc edx
cmp edx, 4
jae 0x431578
mov cl, byte [ebp - 0x1e]
jmp 0x431567
push 0xb
pop edx
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 0x19], bl
call fcn.004334f0
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
cmp dword [eax + 0x14], 0x10
jb 0x431597
mov eax, dword [eax]
lea edx, [ebp - 0x1d]
mov ecx, eax
call fcn.004330c8
mov esi, eax
call fcn.00433561
mov edx, esi
mov ecx, eax
call fcn.004330c8
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x38], edi
call fcn.00413316
push edi
call dword [0x46a0ac]
mov esi, dword [0x48b988]
test esi, esi
jne 0x4315e2
mov dword [ebp - 0x10], ebx
mov eax, 0x10000
mov dword [ebp - 0x14], ebx
jmp 0x431629
cmp dword [esi], 2
je 0x4315fd
mov ecx, dword [ebp - 0x138]
mov eax, 0x80000
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x13c]
jmp 0x431626
mov esi, dword [esi + 4]
cmp byte [esi + 0x2c], 0
jne 0x43160d
mov ecx, esi
call fcn.0043c1f4
mov eax, dword [esi + 0x18]
xor edx, edx
mov ecx, dword [esi + 0x20]
test ecx, ecx
mov dword [ebp - 0x14], eax
mov eax, 0x20000
mov byte [esi + 0x2c], 1
cmovne eax, edx
mov dword [ebp - 0x10], ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
mov edi, dword [0x46a114]
mov dword [0x48b984], eax
call edi
push ebx
mov esi, eax
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push esi
call dword [0x46a188]
push esi
call dword [0x46a16c]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push dword [ebp - 0x38]
call edi
mov dword [ebp - 0x34], eax
test eax, eax
je 0x431afa
push ebx
push eax
call dword [0x46a14c]
mov dword [ebp - 0x2c], eax
lea ecx, [eax + 0x800]
push ecx
push ebx
call dword [0x46a1a0]
push eax
call dword [0x46a0b0]
push dword [0x48b9a4]
mov edi, dword [0x46a0e8]
mov ebx, eax
mov dword [ebp - 0x14], ebx
call edi
mov esi, eax
lea ecx, [esi + 1]
push ecx
push dword [0x48b9a4]
push ebx
mov ebx, dword [0x46a0b4]
call ebx
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x24]
add eax, esi
mov dword [ebp - 0x10], eax
call edi
mov esi, eax
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
push ecx
call ebx
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
push 0
push ecx
push dword [ebp - 0x2c]
add eax, esi
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
call dword [0x46a18c]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x7b]
push eax
call edi
mov edi, dword [ebp - 0x10]
mov esi, eax
lea eax, [ebp - 0x7b]
lea ecx, [esi + 1]
push ecx
push eax
push edi
call ebx
xor ebx, ebx
add edi, esi
sub edi, dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x10], edi
call dword [0x46a324]
mov esi, dword [0x46a320]
mov edi, eax
push 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push eax
push 6
push edi
mov dword [ebp - 0x30], 0xf4240
call esi
push 4
lea eax, [ebp - 0x30]
push eax
push 5
push edi
call esi
lea eax, [ebp - 0x6f0]
push eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x1c8]
push eax
push 0x47bc48
push dword [ebp - 0x28]
call fcn.00431350
lea eax, [ebp - 0x1c8]
push 0x47bc5c
push eax
call fcn.00443c30
add esp, 0x1c
movzx ecx, bl
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x28], ecx
test edi, edi
je 0x431ad0
lea eax, [ebp - 0x2f0]
push eax
test cl, cl
je 0x431815
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], bl
call fcn.00413487
lea edx, [ebp - 0x15c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1f8]
call fcn.00436585
cmp dword [eax + 0x14], 8
jb 0x4317ef
mov eax, dword [eax]
push ebx
push 0x1bb
push eax
push edi
call dword [0x46a318]
mov esi, eax
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 0x24], esi
call fcn.004130f9
lea ecx, [ebp - 0x15c]
jmp 0x431874
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], bl
call fcn.00413487
lea edx, [ebp - 0x174]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x210]
call fcn.00436585
cmp dword [eax + 0x14], 8
jb 0x431853
mov eax, dword [eax]
push ebx
push 0x50
push eax
push edi
call dword [0x46a318]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x24], eax
mov esi, eax
call fcn.004130f9
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], bl
call fcn.00413316
test esi, esi
je 0x431ac9
cmp byte [ebp - 0x28], 0
lea eax, [ebp - 0x6f0]
push eax
je 0x4318f9
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], bl
call fcn.00413487
lea edx, [ebp - 0x18c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x228]
call fcn.00436585
cmp dword [eax + 0x14], 8
jb 0x4318cf
mov eax, dword [eax]
push 0x800100
push ebx
push ebx
push ebx
push eax
push 0x47bbe8
push esi
call dword [0x46a328]
lea ecx, [ebp - 0x228]
mov edi, eax
call fcn.004130f9
lea ecx, [ebp - 0x18c]
jmp 0x431959
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], bl
call fcn.00413487
lea edx, [ebp - 0x1a4]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.00436585
cmp dword [eax + 0x14], 8
jb 0x431934
mov eax, dword [eax]
push 0x100
push ebx
push ebx
push ebx
push eax
push 0x47bbe8
push esi
call dword [0x46a328]
lea ecx, [ebp - 0x6c]
mov edi, eax
call fcn.004130f9
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], bl
call fcn.00413316
test edi, edi
je 0x431abf
lea eax, [ebp - 0x131]
mov dword [ebp - 0x44], ebx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], bl
call fcn.00413487
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1bc]
call fcn.00436585
cmp dword [eax + 0x14], 8
jb 0x43199f
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
push ebx
push ecx
push ecx
mov ecx, dword [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push eax
push edi
call dword [0x46a314]
lea ecx, [ebp - 0x1bc]
mov esi, eax
call fcn.004130f9
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00413316
test esi, esi
je 0x431b26
push ebx
push edi
call dword [str.tKSW]
test eax, eax
je 0x431b22
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push edi
call dword [0x46a31c]
test eax, eax
je 0x431b1b
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.0043e635
mov esi, eax
pop ecx
test esi, esi
je 0x431b16
mov ecx, dword [ebp - 0x18]
inc ecx
push ecx
push ebx
push esi
call fcn.004413a0
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x18]
push esi
push edi
call dword [0x46a330]
test eax, eax
je 0x431aab
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], bl
call fcn.00413487
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe4]
cmp dword [ebp - 0xd0], 0x10
push dword [ebp - 0xd4]
cmovae eax, dword [ebp - 0xe4]
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.0041a949
push eax
lea ecx, [ebp - 0x1bc]
call fcn.004129c1
mov byte [ebp - 0x28], bl
lea eax, [ebp - 0x1bc]
push dword [ebp - 0x28]
lea ecx, [ebp - 0xe4]
push eax
call fcn.004135f4
lea ecx, [ebp - 0x1bc]
call fcn.00413316
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00413316
push esi
call fcn.0043e260
cmp dword [ebp - 0x18], 0
pop ecx
ja 0x4319e3
mov esi, dword [ebp - 0x24]
push edi
call dword [0x46a310]
mov edi, dword [ebp - 0x2c]
push esi
call dword [0x46a310]
push dword [ebp - 0x34]
call dword [0x46a16c]
push dword [ebp - 0x38]
call dword [0x46a0ac]
push edi
call dword [0x46a310]
push dword [ebp - 0x14]
push ebx
call dword [0x46a1a0]
push eax
call dword [0x46a20c]
lea ecx, [ebp - 0xe4]
call fcn.00413316
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov dword [ebp - 0x18], ebx
jmp 0x431abc
xor eax, eax
lea ebx, [eax + 1]
jmp 0x431afa
push 2
jmp 0x431b28
push 3
pop ebx
jmp 0x431afa