Function at 0x482a24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd84
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045dc
lea eax, [ebp - 0x19c]
mov edx, dword [0x4072e4]
call fcn.00404b44
xor eax, eax
push ebp
push 0x482ebe
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x19c]
mov edx, 0x3f
mov eax, dword [ebp - 4]
call fcn.004089b4
push 2
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x412eb8]
call fcn.00416dc8
mov ebx, eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x265]
mov ecx, 0xc8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
cmp byte [ebp - 0x251], 0
jne 0x482b48
mov eax, 0x494cdc
call fcn.00404838
xor ecx, ecx
mov edx, 0x42
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x265]
mov ecx, 0x14
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, 0x14
lea esi, [ebp - 0x265]
mov edi, 0x493204
lea eax, [ebp - 0x26c]
mov dl, byte [esi]
xor dl, byte [edi]
call fcn.00404948
mov edx, dword [ebp - 0x26c]
mov eax, 0x494cdc
call fcn.004049d0
inc edi
inc esi
dec ebx
jne 0x482b01
mov eax, dword [ebp - 8]
mov edx, dword [0x494cdc]
call fcn.004043b4
mov eax, dword [ebp - 8]
add eax, 4
mov edx, 0x482ed4
call fcn.00404180
jmp 0x482e69
mov cx, 1
mov dx, 7
mov ax, 0x7ba
call fcn.0040a258
fstp qword [ebp - 0x28]
wait
mov cx, 0x11
mov dx, 9
mov ax, 0x7c5
call fcn.0040a258
fstp qword [ebp - 0x30]
wait
mov cx, 5
mov dx, 6
mov ax, 0x81f
call fcn.0040a258
fstp qword [ebp - 0x38]
wait
xor ecx, ecx
mov edx, 0x42
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, 0x494d08
mov ecx, 0x28
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
xor ecx, ecx
mov edx, 0x75
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, 0x494cd8
mov ecx, 4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, ebx
call fcn.00403358
mov ebx, 0x42
lea esi, [ebp - 0x223]
cmp ebx, 0x72
jne 0x482beb
lea eax, [ebp - 0x1c]
mov edx, 0x482ee8
call fcn.004041c4
jmp 0x482bf3
lea eax, [ebp - 0x1c]
call fcn.0040412c
push dword [ebp - 0x20]
push 0x482ef4
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x270]
xor eax, eax
mov al, byte [esi]
mov edx, 2
call fcn.00408548
push dword [ebp - 0x270]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004044ac
inc ebx
inc esi
cmp ebx, 0x7a
jne 0x482bd7
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, 1
call fcn.0040468c
cmp dword [0x494cd8], 0x90000000
jb 0x482c89
cmp dword [0x494cd8], 0xb0000000
jae 0x482c89
mov eax, dword [0x494cd8]
xor eax, 0x903e6c94
mov dword [ebp - 0x278], eax
xor eax, eax
mov dword [ebp - 0x274], eax
fild qword [ebp - 0x278]
fdiv dword [0x482ef8]
fmul dword [0x482efc]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x18]
wait
jmp 0x482ceb
mov eax, dword [0x494cd8]
xor eax, 0x803e6c94
mov dword [ebp - 0x278], eax
xor edx, edx
mov dword [ebp - 0x274], edx
fild qword [ebp - 0x278]
fdiv dword [0x482ef8]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x18]
wait
test eax, 0x30000000
je 0x482ceb
mov edx, 0x40000000
sub edx, eax
mov eax, edx
mov dword [ebp - 0x278], eax
xor eax, eax
mov dword [ebp - 0x274], eax
fild qword [ebp - 0x278]
fdiv dword [0x482ef8]
fdiv dword [0x482efc]
fsubr qword [ebp - 0x30]
fstp qword [ebp - 0x18]
wait
fld qword [ebp - 0x18]
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
jae 0x482d43
mov ebx, 0xa
mov edi, 0x4931f0
mov esi, 0x494ce0
mov dword [ebp - 0x3c], 0x4931dc
fld qword [ebp - 0x18]
call fcn.00402b78
push eax
fld qword [ebp - 0x28]
call fcn.00402b78
pop edx
sub dx, ax
xor dx, word [edi]
xor dx, 0xf000
mov word [esi], dx
mov eax, dword [ebp - 0x3c]
mov ax, word [eax]
mov word [esi + 2], ax
add dword [ebp - 0x3c], 2
add esi, 4
add edi, 2
dec ebx
jne 0x482d0c
fld qword [ebp - 0x18]
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
jb 0x482da1
fld qword [ebp - 0x18]
fcomp qword [ebp - 0x38]
fnstsw ax
sahf
jae 0x482da1
mov ebx, 0xa
mov dword [ebp - 0x40], 0x4931f0
mov edi, 0x494ce0
mov esi, 0x4931dc
fld qword [ebp - 0x18]
call fcn.00402b78
push eax
fld qword [ebp - 0x30]
call fcn.00402b78
pop edx
sub dx, ax
mov eax, dword [ebp - 0x40]
xor dx, word [eax]
mov word [edi], dx
mov ax, word [esi]
mov word [edi + 2], ax
add esi, 2
add edi, 4
add dword [ebp - 0x40], 2
dec ebx
jne 0x482d6f
fld qword [ebp - 0x18]
fcomp qword [ebp - 0x38]
fnstsw ax
sahf
jb 0x482df8
mov ebx, 0xa
mov dword [ebp - 0x44], 0x4931f0
mov edi, 0x494ce0
mov esi, 0x4931dc
fld qword [ebp - 0x18]
call fcn.00402b78
push eax
fld qword [ebp - 0x30]
call fcn.00402b78
pop edx
sub dx, ax
mov eax, dword [ebp - 0x44]
xor dx, word [eax]
mov word [edi], dx
mov ax, word [esi]
xor ax, 1
mov word [edi + 2], ax
add esi, 2
add edi, 4
add dword [ebp - 0x44], 2
dec ebx
jne 0x482dc2
mov eax, 0x494cdc
call fcn.00404838
mov ebx, 0x14
mov esi, 0x494ce0
mov edi, 0x494d08
mov ax, word [edi]
xor ax, word [esi]
movzx eax, ax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x482e42
lea eax, [ebp - 0x27c]
mov dx, word [ebp - 0xc]
call fcn.00404958
mov edx, dword [ebp - 0x27c]
mov eax, 0x494cdc
call fcn.004049d0
add edi, 2
add esi, 2
dec ebx
jne 0x482e11
mov eax, dword [ebp - 8]
add eax, 4
mov edx, 0x482f08
call fcn.00404180
mov eax, dword [ebp - 8]
mov edx, dword [0x494cdc]
call fcn.004043b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482ec5
lea eax, [ebp - 0x27c]
call fcn.00404838
lea eax, [ebp - 0x270]
call fcn.0040412c
lea eax, [ebp - 0x26c]
call fcn.00404838
lea eax, [ebp - 0x19c]
mov edx, dword [0x4072e4]
call fcn.00404c14
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404150
lea eax, [ebp - 4]
call fcn.0040412c
ret