Function at 0x10044020
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x15c
mov eax, dword [0x10080180]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
mov ebx, dword [esp + 0x168]
push ebp
mov ebp, dword [esp + 0x170]
mov dword [esp + 0x1c], ebx
push esi
mov esi, dword [esp + 0x16c]
mov dword [esp + 0x30], esi
test ebp, ebp
je 0x100442fa
push edi
nop dword [eax]
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x1004429d
cmp ebp, 0x40
jb 0x1004429d
mov eax, dword [esi + 8]
lea edx, [ebx + 2]
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, dword [esi + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], eax
nop dword [eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [esp + edi*4 + 0x68], ecx
inc edi
cmp edi, 0x10
jl 0x100440d0
lea ebx, [esp + 0xa0]
mov esi, 0x30
nop dword [eax + eax]
mov ecx, dword [ebx - 0x34]
lea ebx, [ebx + 4]
mov edx, dword [ebx - 4]
mov edi, ecx
mov eax, ecx
ror edi, 0x12
ror eax, 7
xor edi, eax
shr ecx, 3
xor edi, ecx
mov eax, edx
mov ecx, edx
ror eax, 0x11
ror ecx, 0x13
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add edi, ecx
add edi, dword [ebx - 0x3c]
add edi, dword [ebx - 0x18]
mov dword [ebx + 4], edi
sub esi, 1
jne 0x10044110
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
nop dword [eax]
mov eax, dword [esp + 0x14]
mov edi, ebp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, ebp
ror eax, 0xb
ror edi, 0x19
xor edi, eax
mov dword [esp + 0x3c], edx
mov eax, ebp
mov dword [esp + 0x28], ecx
ror eax, 6
mov edx, ecx
xor edi, eax
ror edx, 0x16
mov eax, dword [esp + 0x18]
xor eax, dword [esp + 0x14]
and eax, ebp
mov dword [esp + 0x50], ebp
xor eax, dword [esp + 0x14]
add edi, eax
mov eax, ecx
add edi, dword [ebx + 0x1005baf0]
add edi, dword [esp + ebx + 0x68]
add ebx, 4
add edi, dword [esp + 0x2c]
ror eax, 0xd
xor edx, eax
mov eax, ecx
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x20]
mov ecx, eax
add edx, edi
or ecx, dword [esp + 0x10]
and ecx, dword [esp + 0x1c]
and eax, dword [esp + 0x10]
or eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
add eax, edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
add ebp, edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ecx
cmp ebx, 0x100
jl 0x10044160
add dword [esi + 8], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x38]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x4c]
add eax, ebp
mov ebp, dword [esp + 0x178]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x54]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x5c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x64]
mov dword [esi + 0x24], eax
add dword [esi], 0x200
adc dword [esi + 4], 0
add ebx, 0x40
sub ebp, 0x40
mov dword [esp + 0x24], ebx
mov dword [esp + 0x178], ebp
jmp 0x100442f1
mov eax, 0x40
mov edi, ebp
sub eax, ecx
cmp eax, ebp
cmovbe edi, eax
lea eax, [ecx + 0x2c]
push edi
add eax, esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add dword [esi + 0x28], edi
add ebx, edi
sub ebp, edi
mov dword [esp + 0x30], ebx
add esp, 0xc
mov dword [esp + 0x178], ebp
cmp dword [esi + 0x28], 0x40
jne 0x100442f1
lea eax, [esi + 0x2c]
push eax
push esi
call fcn.10043cd0
add esp, 8
mov dword [esi + 0x28], 0
add dword [esi], 0x200
adc dword [esi + 4], 0
test ebp, ebp
jne 0x10044060
pop edi
mov ecx, dword [esp + 0x164]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10044f75
add esp, 0x15c
ret