Function at 0x4693f1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11b8
call fcn.00431ba2
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
mov ebx, ecx
mov dword [ebp - 0x4ac], edi
push 0x10000
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x4a8], edi
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x4a0], edi
mov dword [ebp - 0x49c], edi
mov dword [ebp - 0x498], edi
mov dword [ebp - 0x494], edi
mov dword [ebp - 0x490], edi
mov dword [ebp - 0x48c], edi
mov word [ebp - 0x488], ax
mov word [ebp - 0xb80280], ax
mov dword [ebp - 0x5c], edi
call fcn.00421008
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004053a0
lea ecx, [ebp - 0x78c]
call 0xff8e91fb
push edi
push dword [ebx + 4]
xor esi, esi
mov ecx, ebx
push dword [ebx]
inc esi
mov dword [ebp - 0x1c], esi
call fcn.00405057
push 0x4b9e18
push dword [ebp + 8]
call fcn.0042379e
pop ecx
pop ecx
push ecx
test eax, eax
mov ecx, ebx
lea eax, [ebp - 0xb80da4]
push eax
push dword [ebp + 8]
jne 0x469554
call fcn.004699d0
test eax, eax
jne 0x46955d
lea eax, [ebp - 0xb9c]
push eax
lea eax, [ebp - 0x11b4]
push eax
lea eax, [ebp - 0xfac]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
call 0x75424340
add esp, 0x14
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x994]
push eax
call fcn.0042300e
lea eax, [ebp - 0xfac]
push eax
lea eax, [ebp - 0x994]
push eax
call fcn.00422fdf
lea eax, [ebp - 0xb9c]
push eax
lea eax, [ebp - 0x11b4]
push eax
lea eax, [ebp - 0xfac]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb80da4]
push eax
call 0x75424340
add esp, 0x24
lea eax, [ebp - 0x11b4]
push eax
lea eax, [ebp - 0x994]
push eax
call fcn.00422fdf
lea eax, [ebp - 0xb9c]
push eax
lea eax, [ebp - 0x994]
push eax
call 0x75422fdf
add esp, 0x10
lea eax, [ebp - 0x994]
jmp 0x469567
call 0x8c99d0
test eax, eax
je 0x469564
push 6
jmp 0x4697c6
mov eax, dword [ebp + 0xc]
push dword [ebx]
mov dword [ebp + 0xc], eax
mov ecx, ebx
push esi
push esi
lea eax, [ebp - 5]
push eax
call fcn.0040507d
push dword [ebx]
lea eax, [ebp - 0xc]
mov ecx, ebx
push esi
push 4
push eax
call fcn.0040507d
push dword [ebx]
mov eax, dword [ebp - 0xc]
mov ecx, ebx
xor eax, 0x87bc
push esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
push 4
push eax
call fcn.0040507d
push dword [ebx]
lea eax, [ebp - 0xc]
mov ecx, ebx
push esi
push 4
push eax
call fcn.0040507d
push dword [ebx]
mov eax, dword [ebp - 0xc]
mov ecx, ebx
xor eax, 0xa685
push esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push 4
push eax
call fcn.0040507d
push dword [ebx]
lea eax, [ebp - 0x3c]
mov ecx, ebx
push esi
push 4
push eax
call fcn.0040507d
push dword [ebx]
lea eax, [ebp - 0x40]
mov ecx, ebx
push esi
push 4
push eax
call fcn.0040507d
push dword [ebx]
lea eax, [ebp - 0x44]
mov ecx, ebx
push esi
push 4
push eax
call fcn.0040507d
lea eax, [ebp - 0x6b4]
push eax
call fcn.00469b7f
lea eax, [ebp - 0x6b4]
push 0x4ba4fc
push eax
call fcn.0042549d
mov dword [ebp - 0x18], eax
pop ecx
pop ecx
test eax, eax
jne 0x46962c
push 9
jmp 0x4697c6
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x78c]
add eax, 0x2477
push eax
call fcn.00469241
mov edx, dword [ebp - 0x20]
mov ecx, edi
test edx, edx
jle 0x4696d9
lea eax, [ecx + 0x10000]
cmp eax, edx
jle 0x46965d
mov eax, edx
sub eax, ecx
jmp 0x469662
mov eax, 0x10000
push dword [ebx]
add ecx, eax
mov dword [ebp + 8], eax
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
mov ecx, ebx
call fcn.0040507d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], edi
test eax, eax
jle 0x4696aa
mov ebx, dword [ebp - 0x14]
mov edi, eax
mov esi, dword [ebp - 0x30]
push ecx
push ecx
lea ecx, [ebp - 0x78c]
call fcn.00469379
xor byte [ebx + esi], al
inc esi
cmp esi, edi
jl 0x46968a
mov ebx, dword [ebp - 0x2c]
xor esi, esi
mov eax, dword [ebp + 8]
inc esi
xor edi, edi
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00468bef
push dword [ebp - 0x18]
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00424aa5
mov ecx, dword [ebp - 0x34]
add esp, 0x10
mov edx, dword [ebp - 0x20]
cmp ecx, edx
jl 0xff8e964d
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.004255e8
pop ecx
cmp dword [ebp - 0x24], esi
je 0x4696fb
lea eax, [ebp - 0x6b4]
push eax
call dword [0x48f214]
push 0xa
jmp 0x4720c6
cmp byte [ebp - 5], 1
jne 0x4697a1
xor eax, eax
mov dword [ebp - 0x4ac], edi
mov word [ebp - 0x488], ax
mov word [ebp - 0xb80280], ax
lea eax, [ebp - 0x6b4]
push 0x104
push eax
lea eax, [ebp - 0x488]
mov dword [ebp - 0x4a8], edi
push eax
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x4a0], edi
mov dword [ebp - 0x49c], edi
mov dword [ebp - 0x490], edi
mov dword [ebp - 0x48c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x498], edi
mov dword [ebp - 0x494], edi
call fcn.00424300
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x4ac]
add esp, 0xc
xor eax, eax
mov word [ebp - 0xb80280], ax
push esi
call fcn.00469c86
lea ecx, [ebp - 0x4ac]
call fcn.00468da2
test eax, eax
je 0x4697c9
lea eax, [ebp - 0x6b4]
push eax
call dword [0x48f214]
push 0xb
jmp 0x4697c6
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x6b4]
push edi
push esi
push eax
call dword [0x48f284]
test eax, eax
jne 0x4697c9
lea eax, [ebp - 0x6b4]
push eax
call dword [0x48f214]
push 7
pop edi
jmp 0x4697e4
lea eax, [ebp - 0x6b4]
push eax
call dword [0x48f214]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.00469b3e
lea ecx, [ebp - 0x14]
call fcn.00405383
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
je 0x4720d9
mov ecx, dword [eax]
push 0
add ecx, 0xd4
call fcn.00472a81
test al, al
jne 0x4720c8
add dword [ebx - 0x73], eax
inc ebp
cld
inc ebx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp + 8]
call fcn.00456cfc
mov eax, dword [ebp + 8]
jmp 0x4720b0
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00409a32
mov dword [esi + 0xc], 0xf0001
mov dword [esi], ebx
jmp 0x472310
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8