Function at 0x44e660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe4c
xor eax, eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x40], 0x47668c
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x44], 0x46071b
mov word [ebp - 0x38], 0
mov dword [ebp - 0x2c], eax
mov edx, dword fs:[0]
mov dword [ebp - 0x48], edx
lea ecx, [ebp - 0x48]
mov dword fs:[0], ecx
mov al, byte [ebp + 0x14]
mov byte [ebx + 0x10], al
mov esi, dword [0x478190]
mov eax, dword [ebx + 8]
cmp dword [eax - 4], 0
jae 0x44e8a3
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x54]
push edx
push 0
push 0
push 0
push 1
push 0x41f04c
push 0
mov word [ebp - 0x38], 0x14
push ecx
mov ecx, dword [str.string_index_out_of_range_in_function:__s__n_position:__d_is_greater_than_length:__d]
mov eax, dword [ebx + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x184]
push edx
push 0
push 0x476578
push ecx
push eax
call fcn.0045fd0c
add esp, 0x14
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x24]
push ecx
call fcn.004536ac
inc dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 0x46f254
inc dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x14], 0x470eec
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 8], edx
mov word [ebp - 0x38], 0x20
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x44e778
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x5c], edx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + 8]
mov edx, 0x477eac
mov dword [ebp - 0x18c], ecx
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
mov dword [ebp - 0x64], eax
cmp edx, dword [ebp - 0x64]
je 0x44e7df
mov ecx, dword [ebp - 0x64]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x44e7df
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax - 4]
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x68]
push ecx
mov eax, dword [ebp - 0x68]
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.00453870
mov dword [ebp - 0x70], eax
add esp, 0xc
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x10]
add ecx, 0xc
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x7c]
push ecx
mov eax, dword [ebp - 0x80]
push eax
call fcn.004601e0
add esp, 0xc
inc dword [ebp - 0x2c]
mov word [ebp - 0x38], 0x14
inc dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0x470f00
inc dword [ebp - 0x2c]
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], 0
je 0x44e88c
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x44e83e
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff4
cmp edi, 0x477eac
je 0x44e835
cmp edi, 0x477eac
je 0x44e82e
push edi
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [edi]
inc eax
jmp 0x44e83a
mov eax, 1
jmp 0x44e83a
mov eax, 1
test eax, eax
jne 0x44e88c
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff4
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff4
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x88]
push eax
call fcn.0044fee0
pop ecx
xor edx, edx
mov dword [ebp - 0x8c], edx
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1ac], ecx
mov word [ebp - 0x38], 8
lea eax, [ebp - 0x14]
push eax
push 0x41eff0
call fcn.0046be77
add esp, 0x24
mov edx, dword [ebx + 8]
mov eax, dword [edx - 4]
mov byte [ebp - 0x91], 0
cmp eax, esi
ja 0x44e8b6
mov esi, eax
push 0
push 0
lea edx, [ebp - 0x91]
push 0
push edx
mov eax, esi
push eax
push 0
push ebx
call fcn.00453930
add esp, 0x1c
xor edi, edi
mov eax, dword [ebp + 0xc]
mov esi, eax
cmp edi, dword [ebp + 0x10]
jge 0x44e8fe
mov al, byte [esi]
xor al, byte [ebx + 0x10]
push eax
push 1
push 0
mov edx, dword [ebx + 8]
mov ecx, dword [edx - 4]
push ecx
push ebx
call fcn.00459158
add esp, 0x14
inc edi
inc esi
cmp edi, dword [ebp + 0x10]
jl 0x44e8dd
mov eax, dword [ebp - 0x48]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret