Function at 0x492a80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555105
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xb0
push esi
mov eax, ecx
mov byte [ebp - 0x1d], dl
push edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0xbc]
movaps xmm0, xmmword [0x5713d0]
lea eax, [ebp - 0x9c]
push ecx
push eax
movups xmmword [ebp - 0xbc], xmm0
push ecx
movaps xmm0, xmmword [0x5713f0]
lea ecx, [ebp - 0x1c]
movups xmmword [ebp - 0xac], xmm0
call fcn.004158c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
movaps xmm0, xmmword [0x5713b0]
lea eax, [ebp - 0x9c]
push ecx
push eax
movups xmmword [ebp - 0xbc], xmm0
push ecx
movaps xmm0, xmmword [0x5713e0]
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0xac], xmm0
call fcn.004158c0
mov byte [ebp - 4], 3
cmp byte [ebp - 0x1d], 0
mov dword [ebp - 0x3c], 0x5a
je 0x492ba1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x492b83
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00415750
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x68]
je 0x492b9a
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], 0x71
mov eax, dword [ebx + 0x18]
xor esi, esi
shr eax, 1
push ecx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], esi
call fcn.00415970
mov byte [ebp - 4], 4
xor edi, edi
cmp dword [ebp - 0x50], edi
jbe 0x492cd3
nop word [eax + eax]
mov byte [ebp - 4], 5
xorps xmm0, xmm0
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
cmp eax, esi
jb 0x493070
sub eax, esi
mov ecx, 2
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
push ecx
add eax, esi
lea ecx, [ebp - 0x84]
push eax
call fcn.00403040
or dword [ebp - 0x24], 2
call fcn.004416ff
cmp dword [ebp - 0x70], 0xf
lea esi, [ebp - 0x84]
mov dword [ebp - 0x2c], eax
cmova esi, dword [ebp - 0x84]
mov dword [eax], 0
lea eax, [ebp - 0x28]
push 0x10
push eax
push esi
call fcn.0043e22b
add esp, 0xc
mov edx, eax
cmp esi, dword [ebp - 0x28]
je 0x493066
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x22
je 0x49305c
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x4c]
and dword [ebp - 0x24], 0xfffffffd
add esi, 2
mov dword [ebp - 0x4c], esi
mov dword [ecx + edi*4], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x492cb4
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x492caa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x493057
push ecx
push edx
call fcn.004338f3
add esp, 8
inc edi
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp edi, dword [ebp - 0x50]
jl 0x492bd0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
push ecx
sar eax, 2
lea ecx, [ebp - 0x9c]
push eax
call fcn.00415970
mov byte [ebp - 4], 6
mov esi, 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x9c]
xor ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x34]
mov eax, edx
mov edi, dword [ebp - 0x38]
sub eax, edi
sar eax, 2
cmp eax, esi
jbe 0x492d31
mov eax, dword [ebp - 0x9c]
mov ecx, dword [edi + esi*4]
mov dword [eax + esi*4], ecx
inc esi
mov edx, dword [ebp - 0x34]
mov eax, edx
mov edi, dword [ebp - 0x38]
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x492d13
mov esi, dword [ebp - 0x18]
mov eax, edx
mov ecx, esi
sub eax, edi
sub ecx, dword [ebp - 0x1c]
sar ecx, 2
sar eax, 2
cmp eax, ecx
jbe 0x492f1f
nop dword [eax + eax]
sub esi, dword [ebp - 0x1c]
sar esi, 2
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
add esi, esi
je 0x492db5
cmp esi, 0x3fffffff
ja 0x493052
push esi
lea ecx, [ebp - 0x48]
call fcn.0041fab0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 7
lea eax, [esi*4]
mov ecx, dword [ebp - 0x48]
push eax
push 0
push ecx
lea esi, [ecx + eax]
call fcn.004359b0
add esp, 0xc
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
push ecx
push eax
push dword [ebp - 0x48]
call fcn.00435270
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub esi, edx
mov eax, dword [ebp - 0x48]
mov ecx, esi
sar ecx, 2
push esi
push edx
lea eax, [eax + ecx*4]
push eax
call fcn.00435270
mov esi, dword [ebp - 0x44]
add esp, 0x18
mov edi, dword [ebp - 0x48]
sub esi, edi
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
sar esi, 2
sar edx, 2
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x3c], esi
cmp esi, edx
jbe 0x492e9b
cmp esi, 0x3fffffff
ja 0x493052
mov edi, edx
mov eax, 0x3fffffff
shr edi, 1
sub eax, edi
cmp edx, eax
jbe 0x492e2f
mov edi, 0x3fffffff
jmp 0x492e36
add edi, edx
cmp edi, esi
cmovb edi, esi
test ecx, ecx
je 0x492e7a
shl edx, 2
mov eax, ecx
cmp edx, 0x1000
jb 0x492e5b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x493057
push edx
push ecx
call fcn.004338f3
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push edi
lea ecx, [ebp - 0x1c]
call fcn.0041fab0
mov edi, dword [ebp - 0x1c]
shl esi, 2
push esi
push dword [ebp - 0x28]
push edi
call fcn.00435270
lea eax, [esi + edi]
mov dword [ebp - 0x18], eax
jmp 0x492ef0
mov eax, dword [ebp - 0x18]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x28], eax
cmp esi, eax
jbe 0x492edb
lea esi, [eax*4]
push esi
push edi
push ecx
call fcn.00435270
lea eax, [edi + esi]
mov esi, dword [ebp - 0x3c]
sub esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
shl esi, 2
push esi
push eax
push edi
call fcn.00435270
lea eax, [esi + edi]
add esp, 0x18
mov dword [ebp - 0x18], eax
jmp 0x492ef3
lea eax, [esi*4]
push eax
push edi
push ecx
lea esi, [eax + ecx]
call fcn.00435270
mov dword [ebp - 0x18], esi
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.004135b0
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov edx, dword [ebp - 0x34]
mov eax, edx
sub ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x38]
sub eax, edi
sar ecx, 2
sar eax, 2
cmp eax, ecx
ja 0x492d50
sub edx, edi
sar edx, 2
push ecx
dec edx
lea ecx, [ebp - 0x60]
push edx
call fcn.00415970
mov byte [ebp - 4], 9
mov edx, 1
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
sub eax, esi
sar eax, 2
cmp eax, edx
jbe 0x492f71
nop word [eax + eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*4 - 4]
mov eax, dword [ebp - 0x60]
xor ecx, dword [esi + edx*4]
mov dword [eax + edx*4 - 4], ecx
inc edx
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
sub eax, esi
sar eax, 2
cmp edx, eax
jb 0x492f50
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
push ecx
sar eax, 2
lea ecx, [ebp - 0x90]
push eax
call fcn.00415970
mov byte [ebp - 4], 0xa
xor esi, esi
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
mov edi, dword [ebp - 0x54]
sar eax, 2
test eax, eax
je 0x492fe3
nop
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ecx + esi*4]
sub ecx, dword [eax + esi*4]
mov eax, dword [ebp - 0x90]
jns 0x492fba
add ecx, 0xff
mov dword [eax + esi*4], ecx
mov ecx, edi
mov eax, dword [ebp - 0x90]
mov al, byte [eax + esi*4]
mov byte [ebp - 0x2c], al
push dword [ebp - 0x2c]
call fcn.00402e70
mov eax, dword [ebp - 0x5c]
inc esi
mov ecx, dword [ebp - 0x60]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x492fa0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
call fcn.004135b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.004135b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.004135b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.004135b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004135b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004135b0
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.00402df0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00403330
call fcn.00438c70
push str.stoi_argument_out_of_range
call fcn.00431d0a
push str.invalid_stoi_argument
call fcn.00431cca
call fcn.00419e60
int3