Function at 0x4539d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4ab7
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x6fb00c]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
xor eax, eax
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], ebx
mov word [ebp - 0x428], ax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
push 0x3fe
mov byte [ebp - 4], 3
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call fcn.005a7690
mov ecx, dword [0x6fb010]
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push esi
push edi
lea ecx, [ecx + 0x2c]
call fcn.00412430
mov ecx, dword [ebp - 0x440]
test al, al
mov eax, dword [ebp - 0x43c]
je 0x453cb7
mov esi, ecx
cmp ecx, eax
je 0x453cb7
jmp 0x453ad0
mov eax, dword [ebp - 0x430]
mov edi, ebx
cmp ebx, eax
je 0x453b10
lea esp, [esp]
cmp dword [edi + 0x14], 8
jb 0x453af6
push dword [edi]
call fcn.0048166b
mov eax, dword [ebp - 0x430]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
add edi, 0x18
cmp edi, eax
jne 0x453ae0
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x428]
push eax
push esi
mov dword [ebp - 0x430], ebx
call fcn.00453360
cmp dword [ebp - 0x414], 8
mov ebx, dword [ebp - 0x434]
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
cmp word [eax], 0x25
jne 0x453ca8
mov eax, dword [ebp - 0x418]
push 1
dec eax
push eax
lea ecx, [ebp - 0x428]
call fcn.00405a10
push 1
push 0
lea ecx, [ebp - 0x428]
call fcn.00405a10
mov ecx, dword [ebp - 0x430]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jb 0x453c8f
cmp dword [ebx + 0x14], 8
jb 0x453ba4
mov eax, dword [ebx]
jmp 0x453ba6
mov eax, ebx
push eax
push 0x621fe0
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.005a4e29
mov ax, word [ebp - 0x410]
add esp, 0x14
xor ecx, ecx
test ax, ax
je 0x453bfe
lea eax, [ebp - 0x410]
jmp 0x453be0
xor word [eax], 2
lea ecx, [ecx + 1]
lea eax, [ebp - 0x410]
cmp word [eax + ecx*2], 0
lea eax, [eax + ecx*2]
jne 0x453be0
mov ax, word [ebp - 0x410]
xor ecx, ecx
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], cx
test ax, ax
je 0x453c3f
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453c30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x45c]
call fcn.004058d0
lea eax, [ebp - 0x45c]
push eax
mov byte [ebp - 4], 4
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x428]
push eax
add ecx, 0xc
call fcn.00407490
mov byte [ebp - 4], 3
cmp dword [ebp - 0x448], 8
jb 0x453ca8
push dword [ebp - 0x45c]
call fcn.0048166b
add esp, 4
jmp 0x453ca8
test eax, eax
jne 0x453ca8
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x428]
push eax
add ecx, 0xc
call fcn.00407ab0
add esi, 0x24
cmp esi, dword [ebp - 0x43c]
jne 0x453ad0
cmp dword [ebp - 0x414], 8
jb 0x453cce
push dword [ebp - 0x428]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
test ebx, ebx
je 0x453d33
mov edi, dword [ebp - 0x430]
mov esi, ebx
cmp ebx, edi
je 0x453d2a
jmp 0x453d00
cmp dword [esi + 0x14], 8
jb 0x453d10
push dword [esi]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x453d00
push ebx
call fcn.0048166b
add esp, 4
mov esi, dword [ebp - 0x440]
test esi, esi
je 0x453d5a
push dword [ebp - 0x444]
mov edx, dword [ebp - 0x43c]
push ecx
mov ecx, esi
call fcn.004147a0
push esi
call fcn.0048166b
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8