Function at 0x43fd80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44005d
push eax
mov dword fs:[0], esp
sub esp, 0x418
lea ecx, [ebp - 0x224]
push ebx
push esi
push edi
xor esi, esi
call fcn.004983f0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
add eax, 0x2f
mov dword [ebp - 0x28], eax
shl eax, 2
lea ecx, [eax + eax*8]
lea edx, [ecx + ecx*2]
cmp dword [edx + edx*4 + 0x69798c], esi
lea eax, [edx + edx*4]
mov dword [ebp - 0x14], eax
je 0x43fe12
cmp dword [eax + 0x697988], esi
jbe 0x43fe04
lea edi, [eax + 0x697990]
mov eax, dword [edi]
test eax, eax
je 0x43fdf5
push eax
call fcn.0043f2e0
add esp, 4
mov dword [edi], 0
mov ecx, dword [ebp - 0x14]
add edi, 4
inc esi
cmp dword [ecx + 0x697988], esi
ja 0x43fde0
mov ecx, dword [ebp - 0x14]
add ecx, 0x6977a8
call fcn.00498040
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x424]
add edx, 0x14
mov ax, word [edx]
mov word [ecx], ax
test ax, ax
je 0x43fe39
cmp ax, 0x8000
mov word [edx], 0
je 0x43fe39
mov word [edx], 0x3def
add edx, 2
add ecx, 2
lea eax, [ebp - 0x224]
cmp ecx, eax
jb 0x43fe1e
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x224]
call fcn.00498090
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x44], 0
jbe 0x440004
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x224]
mov dword [ebp - 0x18], eax
lea edx, [ecx + 0x697990]
add ecx, 0x6977a8
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], ecx
push 0
mov ecx, dword [ebp - 0x10]
push 0x20
push 0x20
push 0x20
call fcn.0041f9c0
push 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push 0
push 0
call dword [eax]
mov eax, dword [0x4b2818]
mov ebx, dword [0x4b281c]
mov ecx, 0x4b2818
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xd], eax
add edx, 0xd
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0x19
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0x1c
push 0
mov dword [edx + 4], ebx
push 0
mov eax, dword [ebp - 0x18]
push eax
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
push ecx
push ecx
mov byte [edx + 0x16], 0x18
mov byte [edx + 0x17], 0xff
mov byte [edx + 0x18], 8
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
push 2
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx]
push 0xffffff
push 0
call dword [ebx]
push 4
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx]
push 0xff000000
push 0
call dword [ebx]
mov edx, dword [ebp + 8]
push 0
push 0
mov ecx, dword [edx + 8]
lea esi, [ecx + edx + 0x14]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx]
call dword [ebx + 0x10]
mov dword [ebp - 0x20], 0
xor edi, edi
xor eax, eax
inc esi
mov ecx, 0xff
mov al, byte [esi - 1]
mov ax, word [ebp + eax*2 - 0x424]
and ax, 0x1f
shl ax, 3
movzx edx, ax
sub ecx, edx
lea eax, [ebp - 0x24]
push eax
lea ebx, [ecx*2]
shl ebx, 0x18
mov ecx, dword [ebp - 0x20]
push ecx
push edi
mov ecx, dword [ebp - 0x10]
call fcn.0041f550
mov eax, dword [ebp - 0x24]
push 0
xor eax, ebx
mov ecx, dword [ebp - 0x20]
and eax, 0xffffff
xor eax, ebx
push eax
mov dword [ebp - 0x24], eax
push ecx
push edi
mov ecx, dword [ebp - 0x10]
inc edi
call fcn.0041f190
cmp edi, 0x1a
jb 0x43ff46
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x1d
jb 0x43ff44
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov byte [ecx + 0x26], 1
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x2c]
push 1
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x30]
push ecx
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
call fcn.0043f290
add esp, 8
mov edx, dword [ebp - 0x2c]
add dword [ebp - 0x2c], 4
mov dword [edx], eax
inc dword [ebp - 0x1c]
add dword [ebp - 0x18], 0x3c
add dword [ebp - 0x10], 0x3c
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x44]
jb 0x43fe89
cmp dword [ebp - 0x1c], 8
jae 0x44002c
mov eax, dword [ebp - 0x28]
lea ecx, [eax + eax*8]
lea edx, [ecx + ecx*2]
mov ecx, 8
sub ecx, dword [ebp - 0x1c]
lea eax, [edx + edx*4]
add eax, dword [ebp - 0x1c]
lea edi, [eax*4 + 0x697990]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x697988], eax
mov dword [ecx + 0x69798c], edx
call fcn.00440067
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret