Function at 0x44ee00
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x510213
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [0x5594e8]
xor eax, dword [esp + 0x7c]
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x78], eax
push edi
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x90]
lea esi, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [esp + 0x8c], ebx
call fcn.0041f9b0
mov eax, dword [esi]
push 0x5245f0
push eax
call fcn.004edc73
add esp, 8
test eax, eax
jne 0x44ee88
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
mov byte [ebp + 0xc], bl
mov dword [esp + 0x88], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x44f06f
lea ecx, [ebp + 0x10]
call fcn.004ab8b0
mov eax, dword [esi]
push ebx
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00401a40
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [edi], eax
call fcn.0044e9c0
mov ebp, eax
mov eax, dword [ebp]
push 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call dword [eax + 0x34]
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jle 0x44f03b
push 0x88
call fcn.004fd765
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebx
mov byte [esp + 0x88], 1
je 0x44ef20
mov ecx, esi
call fcn.004ab180
mov byte [esp + 0x88], 2
mov dword [esi], 0x52ae14
mov dword [esi + 0x20], 0x52ae04
call fcn.004fd868
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x78], eax
jmp 0x44ef22
xor esi, esi
mov eax, dword [ebp]
push 0x58
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov byte [esp + 0x90], bl
call dword [eax + 0x34]
mov al, byte [esp + 0x24]
test al, al
jns 0x44ef4d
xor eax, eax
xor byte [esp + eax + 0x24], 0xcc
inc eax
cmp eax, 0x50
jl 0x44ef42
lea eax, [esp + 0x24]
lea edi, [esi + 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44ef57
sub eax, edx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.00401ee0
mov eax, dword [esp + 0x74]
mov dword [esi + 0x7c], eax
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x18]
push esi
add ecx, 0x10
call fcn.00403010
mov edx, dword [0x55cd0c]
cmp byte [edx + 0x8ac], bl
jne 0x44f026
mov eax, dword [esi + 0x80]
mov ecx, dword [edi]
push eax
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.WAD_contents:__s___d_bytes_
call fcn.00402110
mov eax, dword [0x55cd0c]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.004a7680
add esp, 0x14
mov ecx, dword [eax]
push ecx
push str.FileManager::useWad
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._s__:__s
mov byte [esp + 0x98], 3
call fcn.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x85c]
push eax
call fcn.00475320
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x88], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f026
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x44eed1
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
mov byte [ecx + 0xc], 1
mov dword [esp + 0x88], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x7c]
xor ecx, dword [esp + 0x8c]
call fcn.004ecf23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4