Function at 0x5ef6fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x5ef704
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5efca7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x624604]
fld qword [eax]
mov eax, dword [ebp - 4]
fsub dword [eax + 4]
fld xword [0x5efcb4]
fcompp
fnstsw ax
sahf
jae 0x5efc6f
lea ecx, [ebp - 0x54]
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 4]
lea edx, [eax + 0x1c]
mov eax, dword [0x62445c]
mov eax, dword [eax]
add eax, 0x3b4
call fcn.0047f8b4
push dword [ebp - 0x50]
lea eax, [ebp - 0x14]
call fcn.0047efb8
push dword [ebp - 0x54]
lea eax, [ebp - 0x18]
call fcn.0047f140
lea eax, [ebp - 0x1c]
push eax
fld xword [0x5efcc0]
mov eax, dword [0x62445c]
mov eax, dword [eax]
fmul dword [eax + 0x420]
fstp xword [ebp - 0x68]
wait
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 3
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x5efcd4
call fcn.0040a904
push dword [ebp - 0x4c]
lea eax, [ebp - 0x20]
call fcn.0047f2d8
lea eax, [ebp - 0x28]
push eax
fld dword [ebp - 0x4c]
fstp xword [ebp - 0x68]
wait
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 3
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x5efcd4
call fcn.0040a904
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x62445c]
mov eax, dword [eax]
mov eax, dword [eax + 0x650]
mov eax, dword [eax + 0x20]
fld dword [eax + 0x40]
fstp xword [ebp - 0x68]
wait
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 3
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x5efce4
call fcn.0040a904
mov eax, dword [0x624604]
fld qword [eax]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea eax, [ebp - 0x2c]
call fcn.0047f368
mov eax, dword [0x62445c]
mov eax, dword [eax]
push dword [eax + 0x3f0]
mov eax, dword [0x62445c]
mov eax, dword [eax]
push dword [eax + 0x3f4]
push 0
lea eax, [ebp - 0x74]
call fcn.00473288
lea eax, [ebp - 0x74]
call fcn.0047b880
fstp dword [ebp - 0x30]
wait
lea eax, [ebp - 0x34]
push eax
fld xword [0x5efcc0]
fmul dword [ebp - 0x30]
fld xword [0x5efcec]
call fcn.00403254
fstp xword [ebp - 0x68]
wait
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 3
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x5efce4
call fcn.0040a904
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x624d7c]
mov eax, dword [eax]
push dword [eax + 0x94]
call fcn.0047c4b0
fstp xword [ebp - 0x68]
wait
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 3
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x5efce4
call fcn.0040a904
mov eax, dword [0x624d7c]
mov eax, dword [eax]
push dword [eax + 0x78]
call fcn.0047c4b0
call fcn.00402c6c
push edx
push eax
lea eax, [ebp - 0x3c]
call fcn.00409a04
lea eax, [ebp - 0x40]
push eax
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
push dword [eax + 0x50]
call fcn.0047c4b0
call fcn.00402c6c
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0x10
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x5efd00
call fcn.0040a904
lea eax, [ebp - 0x44]
push eax
fld xword [0x5efcc0]
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
fmul dword [eax + 0x54]
fstp xword [ebp - 0x68]
wait
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 3
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x5efcd4
call fcn.0040a904
lea eax, [ebp - 8]
mov edx, 0x5efd10
call fcn.00404f30
push dword [ebp - 8]
push dword [ebp - 0x2c]
push 0x5efd20
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405210
push dword [ebp - 8]
push dword [ebp - 0x14]
push 0x5efd20
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405210
push dword [ebp - 8]
push dword [ebp - 0x18]
push 0x5efd20
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405210
lea eax, [ebp - 8]
mov edx, 0x5efd2c
call fcn.00405158
lea eax, [ebp - 8]
mov edx, 0x5efd38
call fcn.00405158
lea eax, [ebp - 8]
mov edx, 0x5efd44
call fcn.00405158
push dword [ebp - 8]
push dword [ebp - 0x20]
push 0x5efd20
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405210
lea eax, [ebp - 8]
mov edx, 0x5efd50
call fcn.00405158
mov eax, dword [ebp - 8]
xor ebx, ebx
mov bl, byte [eax + 1]
mov eax, dword [ebp - 8]
call fcn.00405150
sub eax, 3
jl 0x5efa0e
inc eax
mov edx, 3
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + edx - 1]
xor ebx, ecx
inc edx
dec eax
jne 0x5efa00
lea ecx, [ebp - 0x48]
mov edx, 2
mov eax, ebx
call fcn.00409a38
push dword [ebp - 8]
push 0x5efd64
push dword [ebp - 0x48]
push 0x5efd70
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405210
lea eax, [ebp - 0xc]
mov edx, 0x5efd7c
call fcn.00404f30
push dword [ebp - 0xc]
push dword [ebp - 0x2c]
push 0x5efd20
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405210
lea eax, [ebp - 0xc]
mov edx, 0x5efd8c
call fcn.00405158
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push 0x5efd20
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405210
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0x5efd20
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405210
push dword [ebp - 0xc]
push dword [ebp - 0x34]
push 0x5efd20
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405210
push dword [ebp - 0xc]
push dword [ebp - 0x38]
push 0x5efd20
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405210
lea eax, [ebp - 0xc]
mov edx, 0x5efd98
call fcn.00405158
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov bl, byte [eax + 1]
mov eax, dword [ebp - 0xc]
call fcn.00405150
sub eax, 3
jl 0x5efb02
inc eax
mov edx, 3
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + edx - 1]
xor ebx, ecx
inc edx
dec eax
jne 0x5efaf4
lea ecx, [ebp - 0x48]
mov edx, 2
mov eax, ebx
call fcn.00409a38
push dword [ebp - 0xc]
push 0x5efd64
push dword [ebp - 0x48]
push 0x5efd70
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00405210
lea eax, [ebp - 0x10]
mov edx, 0x5efda4
call fcn.00404f30
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x5efd20
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405210
push dword [ebp - 0x10]
push dword [ebp - 0x28]
push 0x5efd20
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405210
push dword [ebp - 0x10]
push dword [ebp - 0x24]
push 0x5efdb8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405210
push dword [ebp - 0x10]
push dword [ebp - 0x3c]
push 0x5efd20
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405210
push dword [ebp - 0x10]
push dword [ebp - 0x40]
push 0x5efd20
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405210
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x44]
call fcn.00405158
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov bl, byte [eax + 1]
mov eax, dword [ebp - 0x10]
call fcn.00405150
sub eax, 3
jl 0x5efbe7
inc eax
mov edx, 3
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + edx - 1]
xor ebx, ecx
inc edx
dec eax
jne 0x5efbd9
lea ecx, [ebp - 0x48]
mov edx, 2
mov eax, ebx
call fcn.00409a38
push dword [ebp - 0x10]
push 0x5efd64
push dword [ebp - 0x48]
push 0x5efd70
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405210
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00405210
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00541924
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.00405210
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x624604]
fld qword [eax]
mov eax, dword [ebp - 4]
fstp dword [eax + 4]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5efcae
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.00404ebc
lea eax, [ebp - 0x48]
mov edx, 6
call fcn.00404ebc
lea eax, [ebp - 0x2c]
mov edx, 0xa
call fcn.00404ebc
ret