Function at 0x49d7c0
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 0x52c833
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x78
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
cmp dword [ebx + 0x18], 0
jne 0x49d80a
mov byte [ebp - 0x11], 0
jmp 0x49dd9b
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x546d60]
mov byte [ebp - 0x83], 0xef
movups xmmword [ebp - 0x82], xmm0
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x83], al
inc ecx
cmp ecx, 7
jb 0x49d854
mov dword [0x55d560], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x83]
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49d890
sub ecx, edx
lea eax, [ebp - 0x83]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00402b80
cmp dword [ebp - 0x50], 0x10
lea esi, [ebp - 0x64]
mov edi, dword [ebp - 0x64]
cmovae esi, edi
mov edx, esi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x49d8c0
sub edx, ecx
cmp dword [ebx + 0x1c], 0x10
push edx
push esi
mov esi, dword [ebx + 0x18]
lea ecx, [ebx + 8]
cmovae ecx, dword [ebx + 8]
mov edx, esi
push 0
call fcn.004886c0
mov dword [ebp - 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x49d91e
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x49d911
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49de2a
push ecx
push edi
call fcn.004fb0f1
mov esi, dword [ebx + 0x18]
add esp, 8
cmp dword [ebp - 0x1c], 0xffffffff
je 0x49d94f
mov edx, 7
lea ecx, [ebx + 8]
cmp esi, edx
cmovb edx, esi
cmp dword [ebx + 0x1c], 0x10
cmovae ecx, dword [ebx + 8]
sub esi, edx
lea eax, [esi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004fcb50
add esp, 0xc
mov dword [ebx + 0x18], esi
movaps xmm0, xmmword [0x546d50]
xor ecx, ecx
mov word [ebp - 0x84], 0xfcef
movups xmmword [ebp - 0x82], xmm0
nop dword [eax + eax]
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, 8
jb 0x49d970
mov dword [0x55d624], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x84]
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49d9a8
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00402b80
cmp dword [ebp - 0x50], 0x10
lea esi, [ebp - 0x64]
mov edi, dword [ebp - 0x64]
cmovae esi, edi
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x49d9d3
sub edx, ecx
cmp dword [ebx + 0x1c], 0x10
push edx
push esi
mov esi, dword [ebx + 0x18]
lea ecx, [ebx + 8]
cmovae ecx, dword [ebx + 8]
mov edx, esi
push 0
call fcn.004886c0
mov dword [ebp - 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x49da31
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x49da24
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49de2a
push ecx
push edi
call fcn.004fb0f1
mov esi, dword [ebx + 0x18]
add esp, 8
cmp dword [ebp - 0x1c], 0xffffffff
je 0x49da62
mov edx, 8
lea ecx, [ebx + 8]
cmp esi, edx
cmovb edx, esi
cmp dword [ebx + 0x1c], 0x10
cmovae ecx, dword [ebx + 8]
sub esi, edx
lea eax, [esi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004fcb50
add esp, 0xc
mov dword [ebx + 0x18], esi
xorps xmm0, xmm0
mov byte [ebp - 0x64], 0xa8
movq qword [ebp - 0x63], xmm0
xor ecx, ecx
mov word [ebp - 0x5b], 0
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x64], al
inc ecx
cmp ecx, 1
jb 0x49da76
mov dword [0x55d620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x63], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x6c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49daa8
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.00402b80
cmp dword [ebp - 0x6c], 0x10
lea edi, [ebp - 0x80]
mov esi, dword [ebp - 0x80]
cmovae edi, esi
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x49dad0
sub edx, ecx
cmp dword [ebx + 0x1c], 0x10
push edx
mov edx, dword [ebx + 0x18]
lea ecx, [ebx + 8]
cmovae ecx, dword [ebx + 8]
push edi
push 0
call fcn.004886c0
mov edi, eax
add esp, 0xc
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x49db28
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x49db1e
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49de2a
push ecx
push esi
call fcn.004fb0f1
add esp, 8
mov eax, dword [ebx + 0x18]
cmp edi, 0xffffffff
cmove edi, eax
cmp eax, edi
mov ecx, edi
cmovb ecx, eax
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00482bf0
mov esi, dword [ebx + 0x18]
mov eax, esi
sub eax, edi
je 0x49db7c
mov ecx, dword [ebp - 0x3c]
mov edx, esi
sub edx, ecx
cmp esi, ecx
jb 0x49de25
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push edx
cmovae eax, dword [ebx + 8]
add eax, ecx
lea ecx, [ebp - 0x34]
push eax
call fcn.00482bf0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x30]
cmp dword [edx + 0x2c], 0xa
jne 0x49dca0
test ecx, ecx
je 0x49dca0
xorps xmm0, xmm0
mov byte [ebp - 0x7d], 0xb8
movq qword [ebp - 0x7c], xmm0
xor ecx, ecx
mov word [ebp - 0x74], 0
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x7d], al
inc ecx
cmp ecx, 1
jb 0x49dba8
mov dword [0x55d620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x7d]
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49dbe0
sub ecx, edx
lea eax, [ebp - 0x7d]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00402b80
mov byte [ebp - 4], 4
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
lea ecx, [ebp - 0x34]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.00482d20
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x49dc46
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49dc3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49de2a
push ecx
push edx
call fcn.004fb0f1
add esp, 8
cmp dword [ebx + 0x34], 0x10
lea ecx, [ebx + 0x20]
mov edx, dword [ebp - 0x24]
cmovae ecx, dword [ebx + 0x20]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebx + 0x30]
sub eax, edx
mov dword [ebp - 0x1c], edx
push edi
push ecx
cmp edi, eax
ja 0x49dc8e
cmp dword [ebp - 0x20], 0x10
lea esi, [ebp - 0x34]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
lea eax, [esi + edx]
push eax
call fcn.004fcb50
mov ecx, dword [ebp - 0x1c]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x49dcbb
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x1c]
push edi
call fcn.00488e80
jmp 0x49dcbb
add edx, 0x60
lea eax, [ebx + 0x20]
cmp edx, eax
je 0x49dcbb
cmp dword [ebx + 0x34], 0x10
push ecx
cmovae eax, dword [ebx + 0x20]
mov ecx, edx
push eax
call fcn.00482bf0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
add ecx, 0x30
cmp dword [ebp - 0x38], 0x10
cmovae edx, dword [ebp - 0x4c]
add eax, edx
cmp dword [ebp - 0x38], 0x10
lea edx, [ebp - 0x4c]
cmovae edx, dword [ebp - 0x4c]
push eax
push edx
call fcn.0049de30
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
add eax, edx
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
push eax
cmovae edx, dword [ebp - 0x34]
lea ecx, [ecx + 0x48]
push edx
call fcn.0049de30
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x11], 1
cmp ecx, 0x10
jb 0x49dd43
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49dd39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49de2a
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0x10
jb 0x49dd89
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49dd7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49de2a
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x49ddcb
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49ddc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49de2a
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x49de0d
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49de03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49de2a
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30
call fcn.004865a0
call fcn.00500390
int3