Function at 0x436b1a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
cmp byte [0x47ceb6], 0
push esi
mov esi, ecx
mov dword [esp + 0x1c], esi
jne 0x436b28
call fcn.0043b440
cmp byte [0x47cebd], 0
je 0x436b52
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 0
push 0x10
push eax
push ecx
push edx
mov ecx, esi
call fcn.00437c60
pop esi
add esp, 0x2c
ret 0xc
mov esi, dword [esi + 0x110]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 4]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [eax + 4]
mov eax, dword [eax]
xor eax, dword [esi]
push ebp
push edi
mov edi, ecx
xor edx, dword [edi]
mov edi, dword [esi + 8]
xor edi, dword [ecx + 4]
add ecx, 4
mov dword [esp + 0x40], edi
mov edi, dword [esi + 0xc]
xor edi, dword [ecx + 4]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x18]
add esi, 0x20
cmp byte [0x47ceb6], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
jne 0x436bbd
call fcn.0043b440
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [0x478888]
mov dword [esp + 0x24], ecx
xor ecx, ecx
xor ebp, ebp
jmp 0x436bd0
and ecx, dword [ebp + 0x47c600]
add ebp, dword [esp + 0x24]
cmp ebp, 0x800
jb 0x436bd0
and ecx, dword [0x47cdf8]
or dword [esp + 0x40], ecx
or eax, ecx
or edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x20]
movzx ebp, cl
shr ecx, 8
mov dword [esp + 0x1c], ecx
xor ebx, dword [ebp*8 + 0x47c604]
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x47c601]
xor dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0x40]
mov ecx, dword [ecx*8 + 0x47c604]
xor dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
shr dword [esp + 0x1c], 8
movzx ebp, byte [esp + 0x1c]
shr ecx, 8
mov dword [esp + 0x40], ecx
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x47c601]
xor ecx, dword [ebp*8 + 0x47c602]
shr dword [esp + 0x40], 8
xor edi, ecx
movzx ecx, dl
xor edi, dword [ecx*8 + 0x47c604]
shr edx, 8
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
shr edi, 8
mov ebp, dword [edi*8 + 0x47c603]
movzx ecx, dl
xor ebp, dword [ecx*8 + 0x47c601]
mov ecx, dword [esp + 0x40]
movzx edi, cl
xor ebp, dword [edi*8 + 0x47c602]
mov edi, dword [esp + 0x18]
xor edi, ebp
movzx ebp, al
xor edi, dword [ebp*8 + 0x47c604]
shr eax, 8
shr ecx, 8
mov ecx, dword [ecx*8 + 0x47c603]
mov dword [esp + 0x18], edi
movzx edi, al
xor ecx, dword [edi*8 + 0x47c601]
shr edx, 8
movzx edi, dl
xor ecx, dword [edi*8 + 0x47c602]
shr eax, 8
xor ebx, ecx
movzx ecx, al
shr edx, 8
mov edx, dword [edx*8 + 0x47c603]
xor edx, dword [ecx*8 + 0x47c602]
mov ecx, dword [esp + 0x28]
xor dword [esp + 0x10], edx
shr eax, 8
mov eax, dword [eax*8 + 0x47c603]
xor dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
shr eax, 1
sub eax, 1
mov dword [esp + 0x1c], eax
movzx edx, bl
mov eax, dword [edx*8 + 0x47c603]
shr ebx, 8
movzx ecx, bl
mov edi, dword [ecx*8 + 0x47c602]
xor edi, dword [esi + 4]
movzx ebp, byte [esp + 0x10]
shr ebx, 8
xor eax, dword [esi]
movzx edx, bl
shr ebx, 8
mov ecx, dword [ebx*8 + 0x47c604]
xor ecx, dword [ebp*8 + 0x47c603]
mov ebx, dword [esp + 0x10]
mov edx, dword [edx*8 + 0x47c601]
shr ebx, 8
xor edx, dword [esi + 8]
movzx ebp, bl
xor eax, dword [ebp*8 + 0x47c602]
shr ebx, 8
movzx ebp, bl
xor edi, dword [ebp*8 + 0x47c601]
movzx ebp, byte [esp + 0x14]
xor ecx, dword [esi + 0xc]
shr ebx, 8
mov ebx, dword [ebx*8 + 0x47c604]
xor ebx, dword [ebp*8 + 0x47c603]
xor edx, ebx
mov ebx, dword [esp + 0x14]
shr ebx, 8
movzx ebp, bl
xor ecx, dword [ebp*8 + 0x47c602]
shr ebx, 8
movzx ebp, bl
xor eax, dword [ebp*8 + 0x47c601]
movzx ebp, byte [esp + 0x18]
shr ebx, 8
mov ebx, dword [ebx*8 + 0x47c604]
xor ebx, dword [ebp*8 + 0x47c603]
xor edi, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], edi
shr ebx, 8
movzx edi, bl
xor edx, dword [edi*8 + 0x47c602]
shr ebx, 8
movzx edi, bl
xor ecx, dword [edi*8 + 0x47c601]
shr ebx, 8
xor eax, dword [ebx*8 + 0x47c604]
movzx edi, cl
mov edi, dword [edi*8 + 0x47c603]
xor edi, dword [esi + 0x10]
shr ecx, 8
movzx ebx, cl
mov ebx, dword [ebx*8 + 0x47c602]
xor ebx, dword [esi + 0x14]
shr ecx, 8
mov dword [esp + 0x14], ebx
mov ebx, ecx
movzx ebp, dl
shr ebx, 8
mov ebx, dword [ebx*8 + 0x47c604]
xor ebx, dword [ebp*8 + 0x47c603]
shr edx, 8
xor ebx, dword [esi + 0x1c]
movzx ebp, dl
xor edi, dword [ebp*8 + 0x47c602]
shr edx, 8
mov dword [esp + 0x18], edi
mov edi, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
shr edi, 8
mov edi, dword [edi*8 + 0x47c604]
movzx ebp, dl
xor edi, dword [ebp*8 + 0x47c603]
movzx ecx, cl
xor edi, dword [ecx*8 + 0x47c601]
xor edi, dword [esi + 0x18]
mov ecx, edi
shr edx, 8
movzx edi, dl
xor ebx, dword [edi*8 + 0x47c602]
shr edx, 8
movzx ebp, al
mov edi, edx
shr edi, 8
mov edi, dword [edi*8 + 0x47c604]
xor edi, dword [ebp*8 + 0x47c603]
movzx ebp, byte [esp + 0x40]
xor edi, dword [ebp*8 + 0x47c601]
shr eax, 8
xor dword [esp + 0x14], edi
movzx edi, al
xor ecx, dword [edi*8 + 0x47c602]
shr eax, 8
mov dword [esp + 0x10], ecx
movzx ecx, al
xor ebx, dword [ecx*8 + 0x47c601]
shr eax, 8
mov eax, dword [eax*8 + 0x47c604]
movzx edx, dl
xor eax, dword [edx*8 + 0x47c601]
add esi, 0x20
xor dword [esp + 0x18], eax
sub dword [esp + 0x1c], 1
jne 0x436d02
mov eax, dword [esp + 0x10]
movzx ecx, al
movzx edx, byte [ecx*8 + 0x47c601]
shr eax, 8
movzx ecx, al
shr eax, 8
mov byte [esp + 0x3b], dl
movzx edx, byte [ecx*8 + 0x47c601]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x47c601]
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2e], dl
movzx edx, byte [ecx*8 + 0x47c601]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x31], dl
movzx edx, byte [ecx*8 + 0x47c601]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x37], dl
movzx edx, byte [ecx*8 + 0x47c601]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x47c601]
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3a], dl
movzx edx, byte [ecx*8 + 0x47c601]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x2d], dl
movzx edx, byte [ecx*8 + 0x47c601]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x33], dl
movzx edx, byte [ecx*8 + 0x47c601]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x47c601]
mov byte [esp + 0x36], dl
movzx edx, byte [ecx*8 + 0x47c601]
movzx ecx, bl
shr ebx, 8
mov byte [esp + 0x2c], al
movzx eax, bl
mov byte [esp + 0x39], dl
movzx edx, byte [ecx*8 + 0x47c601]
movzx ecx, byte [eax*8 + 0x47c601]
shr ebx, 8
mov byte [esp + 0x2f], dl
movzx edx, bl
movzx eax, byte [edx*8 + 0x47c601]
mov byte [esp + 0x32], cl
shr ebx, 8
movzx ecx, byte [ebx*8 + 0x47c601]
mov byte [esp + 0x38], cl
mov ecx, dword [esi]
xor ecx, dword [esp + 0x2c]
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x44]
test eax, eax
je 0x436ffd
mov edx, dword [eax]
jmp 0x436fff
xor edx, edx
xor edx, ecx
test eax, eax
mov ecx, dword [esp + 0x48]
mov dword [ecx], edx
lea edx, [ecx + 4]
je 0x437011
add eax, 4
mov edi, dword [esi + 4]
xor edi, dword [esp + 0x30]
test eax, eax
je 0x437020
mov ecx, dword [eax]
jmp 0x437022
xor ecx, ecx
xor ecx, edi
mov dword [edx], ecx
add edx, 4
test eax, eax
je 0x437030
add eax, 4
mov edi, dword [esi + 8]
xor edi, dword [esp + 0x34]
test eax, eax
je 0x43703f
mov ecx, dword [eax]
jmp 0x437041
xor ecx, ecx
xor ecx, edi
pop edi
mov dword [edx], ecx
add edx, 4
test eax, eax
pop ebp
pop ebx
je 0x437052
add eax, 4
mov esi, dword [esi + 0xc]
xor esi, dword [esp + 0x2c]
test eax, eax
je 0x43706a
mov eax, dword [eax]
xor eax, esi
mov dword [edx], eax
pop esi
add esp, 0x2c
ret 0xc
xor eax, eax
xor eax, esi
mov dword [edx], eax
pop esi
add esp, 0x2c
ret 0xc