Function at 0x4b76c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff04
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xdc], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b7d31
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x3e0], 0
je 0x4b7aa7
mov eax, dword [ebx + 4]
cmp eax, 0x7304
je 0x4b7733
cmp eax, 0x7305
jne 0x4b773f
mov dword [ebx + 0x3e4], 0x80
jmp 0x4b7749
mov dword [ebx + 0x3e4], 0x40
mov eax, dword [ebx + 0x3dc]
mov edx, dword [0x4b748c]
call fcn.004045f4
test al, al
jne 0x4b7785
lea edx, [ebp - 0xdc]
mov eax, dword [0x5fb2ac]
call fcn.00407960
mov ecx, dword [ebp - 0xdc]
mov dl, 1
mov eax, dword [0x4b73bc]
call fcn.0040de10
call fcn.00404d1c
lea edx, [ebp - 0xe0]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xe0]
call fcn.00406ae0
cmp eax, dword [ebx + 0x3e4]
jle 0x4b7a35
lea edx, [ebp - 0xe4]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 8]
call fcn.00497548
mov eax, dword [ebx + 4]
add eax, 0xffff8cff
cmp eax, 6
ja case.default.0x4b77dd
jmp dword [eax*4 + 0x4b77e4]
mov eax, dword [ebp - 8]
call fcn.00406ae0
mov edx, eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0049328c
push 0x10
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x18]
mov ecx, 0x10
call fcn.0040312c
jmp 0x4b7a14
mov eax, dword [ebp - 8]
call fcn.00406ae0
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.004921dc
push 0x14
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2c]
mov ecx, 0x14
call fcn.0040312c
jmp 0x4b7a14
mov eax, dword [ebp - 8]
call fcn.00406ae0
mov edx, eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.004ae7b8
push 0x1c
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x48]
mov ecx, 0x1c
call fcn.0040312c
jmp 0x4b7a14
mov eax, dword [ebp - 8]
call fcn.00406ae0
mov edx, eax
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 8]
call fcn.004aeb00
push 0x20
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x68]
mov ecx, 0x20
call fcn.0040312c
jmp 0x4b7a14
mov eax, dword [ebp - 8]
call fcn.00406ae0
mov edx, eax
lea ecx, [ebp - 0x98]
mov eax, dword [ebp - 8]
call fcn.004afc10
push 0x30
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x98]
mov ecx, 0x30
call fcn.0040312c
jmp 0x4b7a14
mov eax, dword [ebp - 8]
call fcn.00406ae0
mov edx, eax
lea ecx, [ebp - 0xd8]
mov eax, dword [ebp - 8]
call fcn.004af3e0
push 0x40
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xd8]
mov ecx, 0x40
call fcn.0040312c
jmp 0x4b7a14
mov eax, dword [ebp - 8]
call fcn.00406ae0
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.004ae65c
push 0x14
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2c]
mov ecx, 0x14
call fcn.0040312c
jmp 0x4b7a14
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 [0x5fb22c]
call fcn.00407960
mov ecx, dword [ebp - 0xf0]
mov dl, 1
mov eax, dword [0x4b7420]
call fcn.0040de4c
call fcn.00404d1c
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 8]
call fcn.00497548
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4b7a54
lea edx, [ebp - 0xf8]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 8]
call fcn.00497548
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, 0x36
mov edx, dword [ebx + 0x3e4]
call fcn.00403a34
mov eax, dword [ebp - 8]
call fcn.00406ae0
mov edx, eax
dec edx
test edx, edx
jl 0x4b7aa7
inc edx
xor eax, eax
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax]
mov esi, dword [ebp - 4]
xor byte [esi + eax], cl
inc eax
dec edx
jne 0x4b7a96
mov eax, dword [ebx + 4]
cmp eax, 0x7109
jg 0x4b7ae8
je 0x4b7b83
add eax, 0xffff8eff
cmp eax, 6
ja case.default.0x4b7af6
jmp dword [eax*4 + 0x4b7acc]
add eax, 0xffff8cff
cmp eax, 6
ja case.default.0x4b7af6
jmp dword [eax*4 + 0x4b7afd]
lea eax, [ebx + 8]
call 0x49354c
jmp 0x4b7cc3
lea eax, [ebx + 0x44]
call fcn.00493378
jmp 0x4b7cc3
lea eax, [ebx + 0xa0]
call fcn.00492210
jmp 0x4b7cc3
lea eax, [ebx + 0x240]
call fcn.004ae750
jmp 0x4b7cc3
lea eax, [ebx + 0x240]
call fcn.004ae80c
jmp 0x4b7cc3
lea eax, [ebx + 0x2ac]
call fcn.004aed70
jmp 0x4b7cc3
lea eax, [ebx + 0x2ac]
call fcn.004afb3c
jmp 0x4b7cc3
lea eax, [ebx + 0x378]
call fcn.004adf50
jmp 0x4b7cc3
lea eax, [ebx + 0x44]
call fcn.00493378
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x44]
mov ecx, dword [ebx + 0x3e4]
call fcn.004933bc
jmp 0x4b7cc3
lea eax, [ebx + 0xa0]
call fcn.00492210
mov edx, dword [ebp - 4]
lea eax, [ebx + 0xa0]
mov ecx, dword [ebx + 0x3e4]
call fcn.0049226c
jmp 0x4b7cc3
lea eax, [ebx + 0x240]
call fcn.004ae750
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.004ae7b0
jmp 0x4b7cc3
lea eax, [ebx + 0x240]
call fcn.004ae80c
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.004aea68
jmp 0x4b7cc3
lea eax, [ebx + 0x2ac]
call fcn.004afb3c
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.004afc08
jmp 0x4b7cc3
lea eax, [ebx + 0x2ac]
call fcn.004aed70
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.004af32c
jmp 0x4b7cc3
lea eax, [ebx + 0x378]
call fcn.004adf50
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x378]
mov ecx, dword [ebx + 0x3e4]
call fcn.004ae5dc
jmp 0x4b7cc3
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 - 0xfc]
mov eax, dword [0x5fb22c]
call fcn.00407960
mov ecx, dword [ebp - 0xfc]
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 0x4b7d38
lea eax, [ebp - 0xfc]
call fcn.004053e8
lea eax, [ebp - 0xf8]
mov edx, dword [0x496de0]
mov ecx, 2
call fcn.00406130
lea eax, [ebp - 0xf0]
call fcn.004053e8
lea eax, [ebp - 0xe4]
mov edx, dword [0x496de0]
mov ecx, 2
call fcn.00406130
lea eax, [ebp - 0xdc]
call fcn.004053e8
lea eax, [ebp - 8]
mov edx, dword [0x496de0]
mov ecx, 2
call fcn.00406130
ret