Function at 0x4675a7
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4bc18f
call fcn.004bb6d8
sub esp, 0xc4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0x2496
xor ebx, ebx
xor esi, esi
inc esi
cmp dword [ebp - 0x18], 0x25e1
jle 0x467650
mov edi, ebx
mov dword [ebp - 0x30], edi
mov eax, ebx
mov dword [ebp - 0x28], ebx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
add eax, edi
sar eax, cl
mov dword [ebp - 0x2c], eax
mov edi, ebx
xor eax, edi
cdq
push edx
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040195e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x467604
mov eax, dword [eax]
push eax
call fcn.004a5f37
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.004207b4
inc edi
cmp edi, 0x65ef
mov eax, dword [ebp - 0x2c]
jl 0x4675ea
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x2d4b
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
jl 0x4675e1
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x7ddd
jl 0x4675dc
inc edi
mov dword [ebp - 0x30], edi
cmp edi, 0x1ea5
jl 0x4675d7
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x210f
jge 0x467667
push 0xab9fb0
call fcn.004a5f37
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x467690
mov dword [ebp - 0x14], 0x49fe387f
inc dword [ebp - 0x14]
mov dword [ebp - 0x14], 0xfffffff3
cmp dword [ebp - 0x14], esi
jl 0x467875
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x30], 0xd509978f
mov dword [ebp - 0x18], 0x2adaa237
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x24], ebx
je 0x4676d2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
jmp 0x46786d
mov dword [ebp - 0x28], 0xf995
mov dword [ebp - 0x18], 0xffff
mov dword [ebp - 0x24], 0x1c
cmp dword [ebp - 0x24], 0x23
jne 0x467852
mov dword [ebp - 0x34], 0xfffffff7
mov dword [ebp - 0x18], 0x857617c0
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x30], 0x1d
jge 0x46784a
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
xor edx, edx
cmp ecx, eax
setl dl
mov eax, dword [ebp - 0x58]
xor ecx, ecx
cmp eax, edx
setne cl
mov eax, dword [ebp - 0x28]
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
xor edx, edx
cmp ecx, eax
setne dl
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp eax, esi
setle cl
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0xffff
ja 0x46779d
mov dword [ebp - 0x18], ebx
jmp 0x467792
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x5c], esi
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x467788
jmp 0x467842
mov dword [ebp - 0x2c], 0x30f4aedf
mov dword [ebp - 0x1c], 0x723a
cmp dword [ebp - 0x1c], 0x731a
jle 0x4677f7
mov esi, ebx
mov edi, ebx
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov eax, edi
cdq
idiv ecx
and edx, esi
mov eax, edx
cdq
push edx
push eax
mov ecx, 0xaccad8
call fcn.00420294
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x68b6
jl 0x4677bd
inc edi
cmp edi, 0x5799
jl 0x4677b8
inc esi
cmp esi, 0x1e41
jl 0x4677b6
xor esi, esi
inc esi
dec dword [ebp - 0x2c]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1c], 0x6f61
jge 0x467819
mov edx, 0xaba010
mov ecx, 0xaccad8
call fcn.0042204a
or dword [ebp - 4], 0xffffffff
jmp 0x467842
inc dword [ebp - 0x30]
jmp 0x467709
inc dword [ebp - 0x24]
jmp 0x4676e7
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x46786d
push ebx
push ebx
push 0xb58
push 0x5e9
call dword [0xad045c]
inc dword [ebp - 0x14]
jmp 0x4676a1
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x34], 0x63a0
cmp dword [ebp - 0x34], 0x63c1
jle 0x4678da
mov edi, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], 0x354d
mov eax, edi
cdq
push edx
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040195e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4678b1
mov eax, dword [eax]
push eax
call fcn.004a5f37
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xd0]
call fcn.004207b4
dec edi
dec dword [ebp - 0x1c]
jne 0x467897
mov edi, dword [ebp - 0x2c]
inc edi
mov dword [ebp - 0x2c], edi
cmp edi, 0x6b1
jl 0x46788d
mov dword [ebp - 4], 4
cmp dword [ebp - 0x34], 0x60d9
jge 0x4678f5
push 0xaba04c
call fcn.004a5f37
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x46791e
mov dword [ebp - 0x2c], 0xdcee34ed
mov dword [ebp - 0x1c], 0x52509e71
push 3
pop edi
push edi
lea ecx, [ebp - 0x74]
call fcn.004203d8
push edi
lea ecx, [ebp - 0x8c]
call fcn.004203d8
mov dword [ebp - 0x14], ebx
jmp 0x467957
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x4c], 0x39ed080c
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x467949
mov dword [ebp - 0x14], ebx
jmp 0x467972
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x74]
mov dword [eax + ecx*4], 0xaf87
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x467962
mov dword [ebp - 0x14], ebx
jmp 0x467989
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x94], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x46797c
mov dword [ebp - 0x14], ebx
jmp 0x4679a5
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xa0], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x467994
mov dword [ebp - 0x14], ebx
jmp 0x4679c2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x8c]
mov dword [eax + ecx*4], 0x4caa5d73
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4679af
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x1c], eax
jl 0x4679e3
cmp dword [ebp - 0x48], ebx
je 0x4679e5
mov ebx, esi
mov eax, dword [ebp - 0x74]
sub ebx, dword [eax + 8]
mov eax, dword [ebp - 0x48]
xor ecx, ecx
cmp eax, ebx
setg cl
xor edx, edx
cmp ecx, 0x87642760
setne dl
mov eax, dword [ebp - 0x48]
xor ebx, ebx
cmp edx, eax
setg bl
mov eax, dword [ebp - 0x48]
sub ebx, eax
mov eax, dword [ebp - 0x48]
xor ecx, ecx
cmp ebx, eax
setl cl
mov eax, dword [ebp - 0x48]
xor edx, edx
cmp ecx, eax
sete dl
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x48]
xor ecx, ecx
cmp eax, edx
setl cl
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
sub eax, ecx
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x8c]
call fcn.004204aa
lea ecx, [ebp - 0x74]
call fcn.004204aa
lea ecx, [ebp - 0x39]
call fcn.004669f8
mov dword [ebp - 0x34], 0xc37
xor ebx, ebx
cmp dword [ebp - 0x34], 0xe87
jle 0x467ad7
mov dword [ebp - 0x28], ebx
mov edi, ebx
mov dword [ebp - 0x2c], ebx
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov esi, ebx
mov eax, edi
cdq
idiv ecx
mov ebx, edx
mov edi, dword [ebp - 0x28]
mov eax, ebx
xor eax, esi
xor eax, edi
cdq
push edx
push eax
mov ecx, 0xaccad8
call fcn.00420294
inc esi
cmp esi, 0x7a5f
jl 0x467a86
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x591d
push 0
pop ebx
mov edi, dword [ebp - 0x2c]
jl 0x467a7a
inc edi
mov dword [ebp - 0x2c], edi
cmp edi, 0x5bc1
jl 0x467a75
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x5c0f
jl 0x467a70
xor esi, esi
inc esi
push 3
pop edi
mov dword [ebp - 4], 6
cmp dword [ebp - 0x34], 0xb23
jge 0x467af6
mov edx, 0xaba070
mov ecx, 0xaccad8
call fcn.0042204a
or dword [ebp - 4], 0xffffffff
jmp 0x467b22
mov dword [ebp - 0x28], 0xffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x1c], 0x7c02
cmp dword [ebp - 0x1c], 0x7eef
jle 0x467b6c
mov edi, ebx
mov esi, ebx
lea eax, [esi + edi]
cdq
push edx
push eax
mov ecx, 0xaccad8
call fcn.00420294
inc esi
cmp esi, 0x60bb
jl 0x467b44
inc edi
cmp edi, 0x7cb
jl 0x467b42
xor esi, esi
inc esi
push 3
pop edi
mov dword [ebp - 0x38], 0xa7b051af
mov dword [ebp - 4], 8
cmp dword [ebp - 0x1c], 0x7ba0
jge 0x467b92
mov edx, 0xaba0b0
mov ecx, 0xaccad8
call fcn.0042204a
or dword [ebp - 4], 0xffffffff
jmp 0x467bbe
mov dword [ebp - 0x30], 0xfffffff7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x38], 0x89fe57f6
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], 0xe74e8003
mov dword [ebp - 0x2c], 0xfffffffd
push edi
lea ecx, [ebp - 0x68]
call fcn.004203d8
mov dword [ebp - 0x38], 0xa7ef23e4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x1c], 0xffffffff
push esi
lea ecx, [ebp - 0x80]
call fcn.004203d8
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x467c22
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x68]
mov dword [eax + ecx*4], 0xf63588c5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x467c12
mov dword [ebp - 0x14], ebx
jmp 0x467c3c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x80]
mov dword [eax + ecx*4], 0x9468
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x467c2c
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
neg eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
xor edx, edx
cmp eax, ecx
setne dl
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, 0xdd8e
setg cl
mov eax, dword [ebp - 0x80]
mov dword [eax], ecx
cmp ecx, dword [ebp - 0x28]
jg 0x467c78
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
xor edx, edx
cmp ecx, eax
setg dl
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, eax
setg cl
cmp ecx, dword [ebp - 0x2c]
jle 0x467c9e
cmp dword [ebp - 0x30], ebx
jne 0x467c9e
mov esi, ebx
xor eax, eax
cmp esi, 0x510b
setle al
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], ebx
je 0x467ccc
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x467cfa
push 0x2104
push 0xd3e
call dword [0xad0494]
jmp 0x467cfa
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x467d17
push 0x1704
push ebx
push ebx
push ebx
push ebx
push 0x1be1
call dword [0xad037c]
lea ecx, [ebp - 0x80]
call fcn.004204aa
lea ecx, [ebp - 0x68]
call fcn.004204aa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret