Function at 0x4686a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x799f17
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x82f184]
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 ebx, ecx
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], 0xdf0097
mov dword [ebp - 0x38], 0xc900d5
mov dword [ebp - 0x34], 0xdc00cb
mov dword [ebp - 0x30], 0xdb00cc
mov dword [ebp - 0x2c], 0xc100ff
nop
lea eax, [edx + 0xb8]
xor word [ebp + edx*2 - 0x3c], ax
inc edx
mov eax, dword [ebp - 0x40]
cmp edx, eax
jb 0x468710
xor edx, edx
mov word [ebp + eax*2 - 0x3c], dx
lea eax, [ebp - 0xa4]
push eax
call fcn.0042c320
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.00404490
push dword [ebx]
lea eax, [ebp - 0x58]
push eax
call fcn.004057b0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], 0xcb00de
mov dword [ebp - 0x30], 0xd600d5
mov dword [ebp - 0x2c], 0xbd0081
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x468790
xor ecx, ecx
mov word [ebp + eax*2 - 0x34], cx
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00413810
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4687cd
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c50
lea ecx, [ebp - 0x88]
call fcn.00404490
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404490
mov eax, dword [ebx + 4]
add eax, 0xec
push eax
lea eax, [ebp - 0x58]
push 0x7d7ac4
push eax
call fcn.0041ee30
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x468817
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404490
mov edx, dword [ebx + 4]
add edx, 0xbc
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], 0xcc009e
xor ecx, ecx
mov dword [ebp - 0x30], 0xdf00d3
mov dword [ebp - 0x2c], 0xbd0081
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x468854
xor ecx, ecx
mov word [ebp + eax*2 - 0x34], cx
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041ee30
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46888e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404490
mov edx, dword [ebx + 4]
mov eax, 6
add edx, 0xd4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0xd1009e
xor ecx, ecx
mov dword [ebp - 0x34], 0xd200cd
mov dword [ebp - 0x30], 0x8000d8
mov dword [ebp - 0x2c], 0xbe
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x4688d3
xor ecx, ecx
mov word [ebp + eax*2 - 0x38], cx
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041ee30
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46890d
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404490
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x88]
movzx edx, byte [eax + 0x134]
call fcn.0041cc80
mov edx, eax
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], 0xca009e
mov dword [ebp - 0x38], 0xde00ca
mov dword [ebp - 0x34], 0xd400df
mov dword [ebp - 0x30], 0xd300df
mov dword [ebp - 0x2c], 0xc100fd
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x3c], ax
inc ecx
mov eax, dword [ebp - 0x40]
cmp ecx, eax
jb 0x468970
xor ecx, ecx
mov word [ebp + eax*2 - 0x3c], cx
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00413810
add esp, 0xc
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4689aa
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c50
lea ecx, [ebp - 0x58]
call fcn.00404490
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00404490
mov eax, 0x10
mov dword [ebp - 0x64], 0xd8009e
mov dword [ebp - 0x68], eax
xor ecx, ecx
mov dword [ebp - 0x60], 0xcf00d9
mov dword [ebp - 0x5c], 0xd200d5
mov dword [ebp - 0x58], 0x8200d0
mov dword [ebp - 0x54], 0xa900a3
mov dword [ebp - 0x50], 0xa000a7
mov dword [ebp - 0x4c], 0xaa00af
mov dword [ebp - 0x48], 0xb300b3
mov dword [ebp - 0x44], 0xc8
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x64], ax
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x468a14
xor ecx, ecx
mov word [ebp + eax*2 - 0x64], cx
lea ecx, [ebp - 0x64]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468a34
sub ecx, edx
lea eax, [ebp - 0x64]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c50
mov eax, dword [ebx + 8]
cmp dword [eax + 0x10], 0
jne 0x468ad1
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x88]
mov edx, dword [edx]
call fcn.0041cc80
mov edx, eax
mov byte [ebp - 4], 0xa
xor ecx, ecx
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], 0xc9009e
mov dword [ebp - 0x38], 0xd200c8
mov dword [ebp - 0x34], 0xd800df
mov dword [ebp - 0x30], 0xdb00f7
mov dword [ebp - 0x2c], 0xc100fd
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x3c], ax
inc ecx
mov eax, dword [ebp - 0x40]
cmp ecx, eax
jb 0x468aa0
xor ecx, ecx
mov word [ebp + eax*2 - 0x3c], cx
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00413810
add esp, 0xc
mov byte [ebp - 4], 0xb
jmp 0x468b3f
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004057b0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xc
xor ecx, ecx
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x38], 0xd6009e
mov dword [ebp - 0x34], 0xdd00dc
mov dword [ebp - 0x30], 0xcf00d9
mov dword [ebp - 0x2c], 0xbf0083
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x468b10
xor ecx, ecx
mov word [ebp + eax*2 - 0x38], cx
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00413810
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x468b4a
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c50
lea ecx, [ebp - 0x58]
call fcn.00404490
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00404490
mov edx, dword [ebx + 4]
mov eax, 4
add edx, 0x104
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0xc9009e
xor ecx, ecx
mov dword [ebp - 0x30], 0x8600ce
mov dword [ebp - 0x2c], 0xbc
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x468b93
xor ecx, ecx
mov word [ebp + eax*2 - 0x34], cx
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041ee30
add esp, 0xc
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x468bcd
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404490
mov esi, dword [ebx + 4]
mov ebx, dword [esi + 0x118]
add esi, 0x104
mov eax, esi
mov edi, dword [esi + 0x10]
cmp ebx, 8
jb 0x468bfe
mov eax, dword [esi]
cmp edi, 2
jne 0x468c16
push edi
push 0x7d7ab0
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x468c7f
mov eax, esi
cmp ebx, 8
jb 0x468c1f
mov eax, dword [esi]
cmp edi, 2
jne 0x468c37
push edi
push 0x7d7ab8
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x468c7f
mov eax, esi
cmp ebx, 8
jb 0x468c40
mov eax, dword [esi]
cmp edi, 2
jne 0x468c58
push edi
push 0x7d7acc
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x468c7f
cmp ebx, 8
jb 0x468c5f
mov esi, dword [esi]
cmp edi, 2
jne 0x468d03
push edi
push 0x7d7ad4
push esi
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x468d03
mov esi, dword [ebp - 0x6c]
mov eax, 6
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0xda009e
mov dword [ebp - 0x34], 0xd200d6
mov edx, dword [esi + 4]
add edx, 0x11c
mov dword [ebp - 0x30], 0x8000d8
mov dword [ebp - 0x2c], 0xbe
xor ecx, ecx
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x468cb1
xor ecx, ecx
mov word [ebp + eax*2 - 0x38], cx
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041ee30
add esp, 0xc
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x468ceb
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404490
jmp 0x468d06
mov esi, dword [ebp - 0x6c]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ecx + 0x1a8]
call fcn.0045efa0
mov ebx, dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebx], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 7
mov word [ebx + 4], ax
mov byte [ebx + 0x1c], al
mov byte [ebx + 0x34], al
call fcn.00404490
mov eax, ebx
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.0076d59e
mov esp, ebp
pop ebp
ret 8