Function at 0x4aadf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff10
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], 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 0x4ab746
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x3e0], 0
je 0x4aaeb3
mov eax, dword [ebx + 0x3e4]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4565dc]
call fcn.004055e8
add esp, 4
mov eax, dword [ebp - 4]
mov cl, 0x5c
mov edx, dword [ebx + 0x3e4]
call fcn.0045a0cc
lea edx, [ebp - 0xd8]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xd8]
call fcn.0040540c
mov edi, eax
dec edi
test edi, edi
jl 0x4aaeb3
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]
mov al, byte [eax + esi]
mov edx, dword [ebp - 4]
xor byte [edx + esi], al
inc esi
dec edi
jne 0x4aae8f
mov eax, dword [ebx + 4]
cmp eax, 0x7301
jg 0x4aaefc
je 0x4ab1f1
add eax, 0xffff8eff
cmp eax, 8
ja case.0x4aaf0a.29448
jmp dword [eax*4 + 0x4aaed8]
add eax, 0xffff8cfe
cmp eax, 0x11
ja case.0x4aaf0a.29448
jmp dword [eax*4 + 0x4aaf11]
lea edx, [ebp - 0x14]
lea eax, [ebx + 8]
call 0x451b4c
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.0045196c
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x28]
lea eax, [ebx + 0xa0]
call fcn.004507d4
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x240]
call fcn.0046fe98
lea eax, [ebx + 0x3d8]
mov edx, 0x1c
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 0x1c
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x64]
lea eax, [ebx + 0x240]
call fcn.004701e0
lea eax, [ebx + 0x3d8]
mov edx, 0x20
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x64]
mov ecx, 0x20
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x2ac]
call fcn.00470b24
lea eax, [ebx + 0x3d8]
mov edx, 0x40
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x40
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x2ac]
call fcn.004713f8
lea eax, [ebx + 0x3d8]
mov edx, 0x30
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x94]
mov ecx, 0x30
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x378]
call fcn.0046fd08
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.0045196c
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.00402c74
lea eax, [ebx + 0x44]
call fcn.00451878
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x44]
mov ecx, dword [ebx + 0x3e4]
call fcn.004518bc
mov eax, dword [ebx + 0x3d8]
call fcn.004045c4
push eax
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebx + 0x44]
pop ecx
call fcn.004518bc
lea edx, [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.0045196c
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x28]
lea eax, [ebx + 0xa0]
call fcn.004507d4
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.00402c74
lea eax, [ebx + 0xa0]
call fcn.004506d4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0xa0]
mov ecx, dword [ebx + 0x3e4]
call fcn.00450730
mov eax, dword [ebx + 0x3d8]
call fcn.004045c4
push eax
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebx + 0xa0]
pop ecx
call fcn.00450730
lea edx, [ebp - 0x28]
lea eax, [ebx + 0xa0]
call fcn.004507d4
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x240]
call fcn.0046fe98
lea eax, [ebx + 0x3d8]
mov edx, 0x1c
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 0x1c
call fcn.00402c74
lea eax, [ebx + 0x240]
call fcn.0046fe00
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.0046fe60
mov eax, dword [ebx + 0x3d8]
call fcn.004045c4
push eax
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebx + 0x240]
pop ecx
call fcn.0046fe60
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x240]
call fcn.0046fe98
lea eax, [ebx + 0x3d8]
mov edx, 0x1c
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 0x1c
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x64]
lea eax, [ebx + 0x240]
call fcn.004701e0
lea eax, [ebx + 0x3d8]
mov edx, 0x20
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x64]
mov ecx, 0x20
call fcn.00402c74
lea eax, [ebx + 0x240]
call fcn.0046febc
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.00470118
mov eax, dword [ebx + 0x3d8]
call fcn.004045c4
push eax
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebx + 0x240]
pop ecx
call fcn.00470118
lea edx, [ebp - 0x64]
lea eax, [ebx + 0x240]
call fcn.004701e0
lea eax, [ebx + 0x3d8]
mov edx, 0x20
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x64]
mov ecx, 0x20
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x2ac]
call fcn.00470b24
lea eax, [ebx + 0x3d8]
mov edx, 0x40
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x40
call fcn.00402c74
lea eax, [ebx + 0x2ac]
call fcn.00470484
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.00470a3c
mov eax, dword [ebx + 0x3d8]
call fcn.004045c4
push eax
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebx + 0x2ac]
pop ecx
call fcn.00470a3c
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x2ac]
call fcn.00470b24
lea eax, [ebx + 0x3d8]
mov edx, 0x40
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x40
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x2ac]
call fcn.004713f8
lea eax, [ebx + 0x3d8]
mov edx, 0x30
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x94]
mov ecx, 0x30
call fcn.00402c74
lea eax, [ebx + 0x2ac]
call fcn.004712f0
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.004713bc
mov eax, dword [ebx + 0x3d8]
call fcn.004045c4
push eax
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebx + 0x2ac]
pop ecx
call fcn.004713bc
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x2ac]
call fcn.004713f8
lea eax, [ebx + 0x3d8]
mov edx, 0x30
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x94]
mov ecx, 0x30
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x378]
call fcn.0046fd08
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.00402c74
lea eax, [ebx + 0x378]
call fcn.0046f5c8
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x378]
mov ecx, dword [ebx + 0x3e4]
call fcn.0046fc58
mov eax, dword [ebx + 0x3d8]
call fcn.004045c4
push eax
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebx + 0x378]
pop ecx
call fcn.0046fc58
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x378]
call fcn.0046fd08
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00404950
lea eax, [ebx + 0x3d8]
call fcn.0040481c
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.00402c74
jmp 0x4ab6fe
lea edx, [ebp - 0xe0]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0xe0]
push eax
mov edx, dword [0x4565dc]
lea eax, [ebp - 4]
call fcn.004056f4
mov ecx, eax
mov eax, dword [ebx + 0x3e8]
pop edx
call fcn.004a9ecc
mov eax, dword [ebp - 4]
call fcn.0040540c
mov edx, eax
lea ecx, [ebp - 0xe4]
mov eax, dword [ebp - 4]
call fcn.00457628
mov edx, dword [ebp - 0xe4]
lea eax, [ebx + 0x3d8]
call fcn.00404358
jmp 0x4ab6fe
mov eax, dword [ebx + 4]
mov dword [ebp - 0xec], eax
mov byte [ebp - 0xe8], 0
lea eax, [ebp - 0xec]
push eax
push 0
lea edx, [ebp - 0xf0]
mov eax, dword [0x4e2450]
call fcn.0040630c
mov ecx, dword [ebp - 0xf0]
mov dl, 1
mov eax, dword [0x4aa228]
call fcn.0040bfc0
call fcn.00403c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab74d
lea eax, [ebp - 0xf0]
call fcn.00404304
lea eax, [ebp - 0xe4]
call fcn.00404304
lea eax, [ebp - 0xe0]
mov edx, dword [0x4565dc]
mov ecx, 3
call fcn.00404d84
lea eax, [ebp - 4]
mov edx, dword [0x4565dc]
call fcn.004056f4
ret