Function at 0x4b7e88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff18
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b8746
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x3e0], 0
je 0x4b7f3f
mov eax, dword [ebx + 0x3e4]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, 0x5c
mov edx, dword [ebx + 0x3e4]
call fcn.00403a34
lea edx, [ebp - 0xd8]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xd8]
call fcn.00406ae0
mov edi, eax
dec edi
test edi, edi
jl 0x4b7f3f
inc edi
xor esi, esi
lea edx, [ebp - 0xdc]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax + esi]
mov edx, dword [ebp - 4]
xor byte [edx + esi], al
inc esi
dec edi
jne 0x4b7f1a
mov eax, dword [ebx + 4]
cmp eax, 0x7109
jg 0x4b7f80
je 0x4b8162
add eax, 0xffff8eff
cmp eax, 6
ja case.default.0x4b7f8e
jmp dword [eax*4 + 0x4b7f64]
add eax, 0xffff8cff
cmp eax, 6
ja case.default.0x4b7f8e
jmp dword [eax*4 + 0x4b7f95]
lea edx, [ebp - 0x14]
lea eax, [ebx + 8]
call fcn.0049364c
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.0049346c
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x28]
lea eax, [ebx + 0xa0]
call fcn.00492310
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x240]
call fcn.004ae7e8
lea eax, [ebx + 0x3d8]
mov edx, 0x1c
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 0x1c
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x64]
lea eax, [ebx + 0x240]
call fcn.004aeb30
lea eax, [ebx + 0x3d8]
mov edx, 0x20
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x64]
mov ecx, 0x20
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x2ac]
call fcn.004af414
lea eax, [ebx + 0x3d8]
mov edx, 0x40
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x40
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x2ac]
call fcn.004afc44
lea eax, [ebx + 0x3d8]
mov edx, 0x30
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x94]
mov ecx, 0x30
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x378]
call fcn.004ae68c
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.0049346c
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.0040312c
lea eax, [ebx + 0x44]
call fcn.00493378
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x44]
mov ecx, dword [ebx + 0x3e4]
call fcn.004933bc
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4b8209
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x44]
xchg ecx, eax
call fcn.004933bc
lea edx, [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.0049346c
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x28]
lea eax, [ebx + 0xa0]
call fcn.00492310
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.0040312c
lea eax, [ebx + 0xa0]
call fcn.00492210
mov edx, dword [ebp - 4]
lea eax, [ebx + 0xa0]
mov ecx, dword [ebx + 0x3e4]
call fcn.0049226c
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4b82bf
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0xa0]
xchg ecx, eax
call fcn.0049226c
lea edx, [ebp - 0x28]
lea eax, [ebx + 0xa0]
call fcn.00492310
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x240]
call fcn.004ae7e8
lea eax, [ebx + 0x3d8]
mov edx, 0x1c
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 0x1c
call fcn.0040312c
lea eax, [ebx + 0x240]
call fcn.004ae750
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.004ae7b0
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4b837b
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x240]
xchg ecx, eax
call fcn.004ae7b0
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x240]
call fcn.004ae7e8
lea eax, [ebx + 0x3d8]
mov edx, 0x1c
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 0x1c
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x64]
lea eax, [ebx + 0x240]
call fcn.004aeb30
lea eax, [ebx + 0x3d8]
mov edx, 0x20
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x64]
mov ecx, 0x20
call fcn.0040312c
lea eax, [ebx + 0x240]
call fcn.004ae80c
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.004aea68
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4b8437
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x240]
xchg ecx, eax
call fcn.004aea68
lea edx, [ebp - 0x64]
lea eax, [ebx + 0x240]
call fcn.004aeb30
lea eax, [ebx + 0x3d8]
mov edx, 0x20
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x64]
mov ecx, 0x20
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x2ac]
call fcn.004af414
lea eax, [ebx + 0x3d8]
mov edx, 0x40
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x40
call fcn.0040312c
lea eax, [ebx + 0x2ac]
call fcn.004aed70
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.004af32c
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4b84f9
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x2ac]
xchg ecx, eax
call fcn.004af32c
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x2ac]
call fcn.004af414
lea eax, [ebx + 0x3d8]
mov edx, 0x40
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x40
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x2ac]
call fcn.004afc44
lea eax, [ebx + 0x3d8]
mov edx, 0x30
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x94]
mov ecx, 0x30
call fcn.0040312c
lea eax, [ebx + 0x2ac]
call fcn.004afb3c
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.004afc08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4b85c1
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x2ac]
xchg ecx, eax
call fcn.004afc08
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x2ac]
call fcn.004afc44
lea eax, [ebx + 0x3d8]
mov edx, 0x30
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x94]
mov ecx, 0x30
call fcn.0040312c
jmp 0x4b8709
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x378]
call fcn.004ae68c
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.0040312c
lea eax, [ebx + 0x378]
call fcn.004adf50
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x378]
mov ecx, dword [ebx + 0x3e4]
call fcn.004ae5dc
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4b8683
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x378]
xchg ecx, eax
call fcn.004ae5dc
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x378]
call fcn.004ae68c
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405b08
lea eax, [ebx + 0x3d8]
call fcn.004058d8
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.0040312c
jmp 0x4b8709
mov eax, dword [ebx + 4]
mov dword [ebp - 0xe4], eax
mov byte [ebp - 0xe0], 0
lea eax, [ebp - 0xe4]
push eax
push 0
lea edx, [ebp - 0xe8]
mov eax, dword [0x5fb22c]
call fcn.00407960
mov ecx, dword [ebp - 0xe8]
mov dl, 1
mov eax, dword [0x4b7420]
call fcn.0040de4c
call fcn.00404d1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b874d
lea eax, [ebp - 0xe8]
call fcn.004053e8
lea eax, [ebp - 0xdc]
mov edx, dword [0x496de0]
mov ecx, 2
call fcn.00406130
lea eax, [ebp - 4]
mov edx, dword [0x496de0]
call fcn.00406d9c
ret