Function at 0x79b040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0040a554
xor eax, eax
push ebp
push 0x79b287
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00425428
test al, al
je 0x79b250
mov dl, 1
mov eax, dword [0x491688]
call fcn.00408644
mov esi, eax
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [PeekMessageA]
call fcn.004b3d90
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x37]
mov ecx, 0x1b
mov eax, dword [ebp - 0x10]
call fcn.004b2534
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x79b008]
call fcn.0040cc1c
add esp, 4
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.004b17c8
mov eax, dword [ebp - 0x28]
dec eax
test eax, eax
jl 0x79b129
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
imul ebx, dword [ebp - 0x14], 0x43f
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
mov ecx, 0x43f
mov eax, dword [ebp - 0x10]
call fcn.004b2534
mov eax, dword [ebp - 8]
add eax, ebx
mov ebx, eax
mov eax, 0x43f
xor byte [ebx], 0x1f
inc ebx
dec eax
jne 0x79b11a
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x79b0f4
mov dl, 1
mov eax, dword [0x5f0f54]
call fcn.005f19f8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
dec eax
test eax, eax
jl 0x79b239
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
imul eax, dword [ebp - 0x14], 0x43f
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push dword [eax + 0x437]
push dword [eax + 0x433]
mov eax, dword [ebp - 0x10]
call fcn.004b17c8
lea edx, [ebp - 0x7a]
mov ecx, 0x43
mov eax, dword [ebp - 0x10]
call fcn.004b2534
lea ebx, [ebp - 0x7a]
mov eax, 0x43
xor byte [ebx], 0x2f
inc ebx
dec eax
jne 0x79b188
mov eax, esi
call fcn.004b4134
mov eax, dword [ebp - 0x3f]
xor edx, edx
push edx
push eax
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.004b3410
push 0
push 0
mov eax, esi
call fcn.004b17c8
mov ebx, dword [esi + 4]
mov eax, esi
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x79b1c8
inc eax
xor byte [ebx], 0x3f
inc ebx
dec eax
jne 0x79b1c1
movzx ecx, word [ebp - 0x45]
movzx edx, word [ebp - 0x47]
mov eax, dword [ebp - 0x18]
call fcn.005f1a80
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.005f1b6c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x824840]
mov eax, dword [eax]
mov ecx, esi
mov edx, 0x79b2a0
call fcn.005f306c
movzx eax, word [ebp - 0x45]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x7a]
call fcn.00425ebc
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
call fcn.0040b6e8
mov edx, dword [ebp - 0x80]
movzx ecx, word [ebp - 0x47]
mov eax, dword [ebp - 0xc]
call fcn.0079b2ac
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x79b14f
mov eax, dword [ebp - 0x10]
call fcn.00408674
mov eax, esi
call fcn.00408674
mov eax, dword [ebp - 0x18]
call fcn.00408674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79b28e
lea eax, [ebp - 0x84]
call fcn.0040a494
lea eax, [ebp - 0x80]
call fcn.0040a470
lea eax, [ebp - 8]
mov edx, dword [0x79b008]
call fcn.0040cd40
lea eax, [ebp - 4]
call fcn.0040a470
ret