Function at 0x407500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dcbe
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x5c], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x60], 0
jne 0x4075b5
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x40790d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4075ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40792a
push ecx
push edx
jmp 0x407905
movq qword [ebp - 0x38], xmm0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], 0
mov edx, 0x5403aeaa
mov word [ebp - 0x2c], 0
xor esi, esi
mov dword [ebp - 0x54], 0x4b5294
mov dword [ebp - 0x58], eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x58]
xor ecx, edx
imul edx, edx, 0x43fd43fd
mov dword [eax + esi], ecx
add esi, 4
add edx, 0xc39ec3
not edx
cmp esi, 0xc
jb 0x4075e0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x58], 0x4b5294
mov dword [ebp - 0x54], eax
mov esi, 0xc
mov eax, dword [ebp - 0x58]
mov cl, byte [eax + esi]
mov eax, dword [ebp - 0x54]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, 0xe
jb 0x407616
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407650
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404640
mov byte [ebp - 4], 4
lea eax, [ebp - 0x38]
mov ecx, 0xe
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407672
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov edi, dword [ebp + 8]
lea eax, [ebp + 8]
cmova edx, dword [ebp - 0x28]
cmp dword [ebp + 0x1c], 0xf
mov esi, dword [ebp - 0x18]
cmova eax, edi
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
cmp esi, eax
ja 0x407763
mov ecx, eax
sub ecx, esi
test esi, esi
jne 0x4076b8
xor edi, edi
jmp 0x407805
mov edi, dword [ebp - 0x54]
lea eax, [edi + 1]
add eax, ecx
movsx ecx, byte [edx]
mov dword [ebp - 0x6c], eax
sub eax, edi
push eax
push ecx
push edi
mov dword [ebp - 0x68], ecx
call fcn.00474fe0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x407760
mov edx, dword [ebp - 0x58]
mov ecx, edi
sub esi, 4
jb 0x407701
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x407706
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4076f0
cmp esi, 0xfffffffc
je 0x40773a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x407733
cmp esi, 0xfffffffd
je 0x40773a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x407733
cmp esi, 0xfffffffe
je 0x40773a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x407733
cmp esi, 0xffffffff
je 0x40773a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40773a
sbb eax, eax
or eax, 1
jmp 0x40773c
xor eax, eax
test eax, eax
je 0x4077f3
mov eax, dword [ebp - 0x6c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x68]
push edi
call fcn.00474fe0
mov esi, dword [ebp - 0x18]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4076e0
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x64]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x407784
cmp dword [esi + 0x14], 0xf
lea ecx, [eax - 1]
mov eax, esi
jbe 0x40777a
mov eax, dword [esi]
mov dword [esi + 0x10], ecx
mov byte [eax + ecx], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x4077bd
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4077b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40792a
push ecx
push edx
call fcn.0047292b
mov edi, dword [ebp + 8]
add esp, 8
mov eax, dword [ebp + 0x1c]
cmp eax, 0xf
jbe 0x40790d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x407903
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40792a
jmp 0x407903
sub edi, dword [ebp - 0x54]
cmp edi, 0xffffffff
je 0x407760
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x60], 0xa
jae 0x407760
lea edx, [esi + edi]
lea esi, [edx + 4]
cmp esi, eax
jae 0x407760
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
cmp eax, edx
jb 0x40792f
sub eax, edx
mov ecx, 4
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push ecx
add eax, edx
lea ecx, [ebp - 0x50]
push eax
call fcn.00404640
or dword [ebp - 0x5c], 2
mov byte [ebp - 4], 5
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0xf
push dword [ebp - 0x40]
cmova eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x64]
mov ecx, edi
push eax
call fcn.00403d60
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x4078b6
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4078ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40792a
push ecx
push edx
call fcn.0047292b
add esp, 8
push 1
push 0x4b511c
mov ecx, edi
call fcn.00403d60
inc dword [ebp - 0x60]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp + 8]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
cmp dword [ebp + 0x1c], 0xf
mov edx, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
push eax
push esi
call fcn.00404540
mov esi, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp edi, 0xffffffff
jne 0x407805
jmp 0x407760
push ecx
push edi
call fcn.0047292b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
call fcn.004780c4
call fcn.00403ff0
int3