Function at 0x43b9e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x284
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x280], eax
mov eax, dword [esp + 0x28c]
mov edx, dword [esp + 0x298]
push ebx
mov ebx, dword [esp + 0x298]
push ebp
mov ebp, dword [esp + 0x2ac]
push esi
mov esi, dword [esp + 0x2a8]
push edi
mov edi, ecx
mov ecx, dword [esp + 0x2a0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
cmp esi, 0x18
ja 0x43bc8f
mov eax, 0xffffffce
lea ecx, [edi + 0x4b4]
sub eax, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x134], esi
jne 0x43bab0
mov edx, dword [esp + 0x18]
push edx
call fcn.00466a60
test al, al
je 0x43bab0
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov ecx, 0x10
mov eax, ebx
lea edx, [edx + esi + 0x134]
cmp ecx, 4
jb 0x43bcaa
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x43baa9
sub ecx, 4
add eax, 4
jmp 0x43ba91
mov esi, dword [esp + 0x2ac]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
add ecx, 0x178
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp eax, 4
jb 0x43ba65
mov ecx, dword [esp + 0x2c]
push 0x200
lea eax, [esp + 0x94]
push eax
push ecx
call fcn.0046c670
lea eax, [esp + 0x90]
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43baf0
sub eax, ecx
mov ecx, esi
mov edx, 1
shl edx, cl
lea ecx, [esp + 0x30]
push edx
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x5c]
push ecx
push 0x10
push ebx
push eax
lea edx, [esp + 0xac]
push edx
call fcn.0043b820
push 0x200
lea eax, [esp + 0x94]
push eax
call fcn.00466960
mov ecx, dword [edi + 0xa94]
mov edx, ecx
and edx, 3
imul edx, edx, 0x178
lea eax, [edx + edi + 0x4b4]
inc ecx
mov dword [edi + 0xa94], ecx
mov dword [eax + 0x134], esi
mov esi, dword [esp + 0x18]
mov edi, eax
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebx]
mov dword [eax + 0x102], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 0x106], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 0x10a], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0x10e], edx
lea edx, [eax + 0x112]
push 0
mov edi, edx
mov ecx, 8
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
push 1
lea edi, [eax + 0x138]
mov ecx, 8
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
push 0x20
lea edi, [eax + 0x158]
mov ecx, 8
lea esi, [esp + 0x7c]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00466860
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x43bbe0
mov ecx, 8
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
test ebp, ebp
je 0x43bc59
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
lea esi, [eax + 3]
lea ecx, [eax + 2]
xor edx, edx
mov eax, 1
lea esp, [esp]
movzx ebx, byte [esp + eax + 0x2f]
mov edi, edx
and edi, 7
xor byte [edi + ebp], bl
movzx ebx, byte [esp + eax + 0x30]
add edi, ebp
mov edi, eax
and edi, 7
xor byte [edi + ebp], bl
movzx ebx, byte [esp + ecx + 0x30]
add edi, ebp
mov edi, ecx
and edi, 7
xor byte [edi + ebp], bl
movzx ebx, byte [esp + esi + 0x30]
add edi, ebp
mov edi, esi
and edi, 7
xor byte [edi + ebp], bl
add edi, ebp
add eax, 4
add edx, 4
add ecx, 4
add esi, 4
cmp eax, 0x21
jb 0x43bc00
push 0x20
lea eax, [esp + 0x34]
push eax
call fcn.00466960
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43bc83
mov edx, dword [esp + 0x298]
push eax
push 0x100
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
add ecx, 0xa9c
call fcn.00463e40
push 0x20
lea eax, [esp + 0x54]
push eax
call fcn.00466960
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6a64
add esp, 0x284
ret 0x20
mov ebx, dword [esp + 0x10]
push 0
push 0
push 0x20
add ebx, 0x112
push ebx
call fcn.00466860
push 0
push 1
push 0x20
mov ecx, 8
mov esi, ebx
lea edi, [esp + 0x5c]
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00466860
mov eax, dword [esp + 0x10]
lea esi, [eax + 0x138]
mov ecx, 8
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x158]
mov ecx, 8
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
jmp 0x43bbcd