Function at 0x44f939
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x58]
push edi
cmp byte [0x4d8098], 0
jne 0x44f481
call fcn.00457c70
cmp byte [0x4d80a1], 0
je 0x44f4ea
cmp ebx, 8
jb 0x44f4ea
mov edi, dword [esp + 0x70]
mov eax, dword [esi + 0x30]
not eax
cmp eax, 8
jbe 0x44f4e2
mov ebx, dword [esp + 0x58]
mov eax, 0
push dword [esp + 0x68]
shr ebx, 2
not bl
and bl, 1
push ebp
cmovne eax, edi
push eax
push esi
call fcn.00458a90
add dword [esi + 0x30], 8
add esp, 0x10
movzx eax, bl
add ebp, 0x200
mov ebx, dword [esp + 0x74]
shl eax, 9
sub ebx, 8
add edi, eax
mov dword [esp + 0x74], ebx
cmp ebx, 8
jae 0x44f493
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebp
cmp byte [0x4d8098], 0
jne 0x44f4f8
call fcn.00457c70
cmp byte [0x4d8099], 0
je 0x44f567
cmp ebx, 4
jb 0x44f567
mov edi, dword [esp + 0x70]
nop word [eax + eax]
mov eax, dword [esi + 0x30]
not eax
cmp eax, 4
jbe 0x44f55f
mov ebx, dword [esp + 0x58]
mov eax, 0
push dword [esp + 0x68]
shr ebx, 2
not bl
and bl, 1
push ebp
cmovne eax, edi
push eax
push esi
call fcn.00459780
add dword [esi + 0x30], 4
add esp, 0x10
movzx eax, bl
add ebp, 0x100
mov ebx, dword [esp + 0x74]
shl eax, 8
sub ebx, 4
add edi, eax
mov dword [esp + 0x74], ebx
cmp ebx, 4
jae 0x44f510
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebp
test ebx, ebx
je 0x44fb5e
mov eax, dword [esi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], edi
test eax, eax
jle 0x44f825
mov ebx, dword [esp + 0x34]
dec eax
shr eax, 1
mov ebp, ecx
inc eax
mov ecx, edx
mov edx, edi
mov esi, eax
mov edi, dword [esp + 0x24]
nop
add ecx, dword [esp + 0x38]
add ebp, ebx
mov ebx, dword [esp + 0x1c]
xor edx, ebp
rol edx, 0x10
add ebx, edx
add edi, dword [esp + 0x3c]
mov eax, ebx
xor eax, dword [esp + 0x34]
rol eax, 0xc
add ebp, eax
xor edx, ebp
rol edx, 8
add ebx, edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x14]
xor edx, ecx
mov dword [esp + 0x1c], ebx
xor ebx, eax
rol edx, 0x10
mov eax, dword [esp + 0x28]
add eax, edx
rol ebx, 7
mov dword [esp + 0x28], eax
xor eax, dword [esp + 0x38]
rol eax, 0xc
add ecx, eax
xor edx, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x28]
rol edx, 8
add ecx, edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
xor edx, edi
mov dword [esp + 0x28], ecx
xor ecx, eax
rol edx, 0x10
mov eax, dword [esp + 0x18]
add eax, edx
rol ecx, 7
mov dword [esp + 0x18], eax
add ebp, ecx
xor eax, dword [esp + 0x3c]
rol eax, 0xc
add edi, eax
xor edx, edi
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x18]
rol edx, 8
add edi, edx
mov dword [esp + 0x2c], edx
mov edx, edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x30]
xor edx, eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x40]
xor edi, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
rol edi, 0x10
add eax, edi
rol edx, 7
mov dword [esp + 0x20], eax
xor eax, dword [esp + 0x40]
rol eax, 0xc
add dword [esp + 0x10], eax
xor edi, dword [esp + 0x10]
rol edi, 8
add dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x20]
xor edi, eax
mov eax, dword [esp + 0x30]
xor eax, ebp
rol edi, 7
rol eax, 0x10
add dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
xor eax, ecx
add dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x30]
rol eax, 0xc
add ebp, eax
xor ecx, ebp
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x18]
rol ecx, 8
add ebp, ecx
mov dword [esp + 0x30], ecx
mov ecx, ebp
mov dword [esp + 0x18], ebp
xor ecx, eax
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
rol ecx, 7
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x48]
add ecx, edx
xor eax, ecx
rol eax, 0x10
add ebp, eax
mov dword [esp + 0x44], eax
mov eax, ebp
xor eax, edx
mov edx, dword [esp + 0x44]
rol eax, 0xc
add ecx, eax
xor edx, ecx
mov dword [esp + 0x48], ecx
rol edx, 8
add ebp, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], ebp
xor ebp, eax
mov eax, dword [esp + 0x24]
add eax, edi
rol ebp, 7
xor dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
rol eax, 0x10
add dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
xor eax, edi
mov dword [esp + 0x3c], ebp
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
rol eax, 0xc
add edi, eax
xor dword [esp + 0x14], edi
rol dword [esp + 0x14], 8
add ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
xor ebp, eax
mov eax, dword [esp + 0x2c]
xor eax, dword [esp + 0x10]
rol ebp, 7
rol eax, 0x10
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x28]
add ebp, eax
mov dword [esp + 0x2c], eax
mov eax, ebp
mov dword [esp + 0x24], edi
xor eax, ebx
mov ebx, dword [esp + 0x2c]
rol eax, 0xc
add dword [esp + 0x10], eax
xor ebx, dword [esp + 0x10]
rol ebx, 8
add ebp, ebx
mov dword [esp + 0x2c], ebx
mov ebx, ebp
mov dword [esp + 0x28], ebp
xor ebx, eax
rol ebx, 7
sub esi, 1
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x4c]
jne 0x44f600
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
cmp eax, 5
ja case.default.0x44f832
jmp dword [eax*4 + 0x44fb78]
mov eax, dword [esi]
add eax, ecx
test ebp, ebp
je 0x44f844
mov dword [ebp], eax
mov eax, dword [esi + 4]
lea ecx, [ebp + 4]
add eax, edx
test ecx, ecx
je 0x44f852
mov dword [ecx], eax
mov eax, dword [esi + 8]
lea ecx, [ebp + 8]
add eax, dword [esp + 0x24]
test ecx, ecx
je 0x44f862
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
lea ecx, [ebp + 0xc]
add eax, dword [esp + 0x10]
test ecx, ecx
je 0x44f872
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
lea ecx, [ebp + 0x10]
add eax, dword [esp + 0x34]
test ecx, ecx
je 0x44f882
mov dword [ecx], eax
mov eax, dword [esi + 0x14]
lea ecx, [ebp + 0x14]
add eax, dword [esp + 0x38]
test ecx, ecx
je 0x44f892
mov dword [ecx], eax
mov eax, dword [esi + 0x18]
lea ecx, [ebp + 0x18]
add eax, dword [esp + 0x3c]
test ecx, ecx
je 0x44f8a2
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
lea ecx, [ebp + 0x1c]
add eax, dword [esp + 0x40]
test ecx, ecx
je 0x44f8b2
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
lea ecx, [ebp + 0x20]
add eax, dword [esp + 0x1c]
test ecx, ecx
je 0x44f8c2
mov dword [ecx], eax
mov eax, dword [esi + 0x24]
lea ecx, [ebp + 0x24]
add eax, dword [esp + 0x28]
test ecx, ecx
je 0x44f8d2
mov dword [ecx], eax
mov eax, dword [esi + 0x28]
lea ecx, [ebp + 0x28]
add eax, dword [esp + 0x18]
test ecx, ecx
je 0x44f8e2
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
lea ecx, [ebp + 0x2c]
add eax, dword [esp + 0x20]
test ecx, ecx
je 0x44f8f2
mov dword [ecx], eax
mov eax, dword [esi + 0x30]
lea ecx, [ebp + 0x30]
add eax, edi
test ecx, ecx
je 0x44f900
mov dword [ecx], eax
mov eax, dword [esi + 0x34]
lea ecx, [ebp + 0x34]
add eax, dword [esp + 0x14]
test ecx, ecx
je 0x44f910
mov dword [ecx], eax
mov eax, dword [esi + 0x38]
lea ecx, [ebp + 0x38]
add eax, dword [esp + 0x2c]
test ecx, ecx
je 0x44f920
mov dword [ecx], eax
mov eax, dword [esi + 0x3c]
lea ecx, [ebp + 0x3c]
add eax, dword [esp + 0x30]
test ecx, ecx
je case.default.0x44f832
mov dword [ecx], eax
jmp case.default.0x44f832
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], 0
test eax, eax
je 0x44f96b
mov edi, dword [eax]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x44]
jmp 0x44f96b
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], 0
test eax, eax
je 0x44f96b
mov ebx, dword [eax]
mov dword [esp + 0x4c], ebx
add ecx, dword [esi]
xor ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x74]
test ebp, ebp
je 0x44f97c
mov dword [ebp], ecx
lea ecx, [eax + 4]
mov dword [esp + 0x74], 0
test ecx, ecx
je 0x44f991
mov ecx, dword [ecx]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 4]
add ecx, edx
lea edx, [ebp + 4]
xor ecx, dword [esp + 0x74]
test edx, edx
je 0x44f9a3
mov dword [edx], ecx
lea ecx, [eax + 8]
xor edx, edx
test ecx, ecx
je 0x44f9ae
mov edx, dword [ecx]
mov ecx, dword [esi + 8]
add ecx, dword [esp + 0x24]
xor ecx, edx
lea edx, [ebp + 8]
test edx, edx
je 0x44f9c0
mov dword [edx], ecx
lea ecx, [eax + 0xc]
xor edx, edx
test ecx, ecx
je 0x44f9cb
mov edx, dword [ecx]
mov ecx, dword [esi + 0xc]
add ecx, dword [esp + 0x10]
xor ecx, edx
lea edx, [ebp + 0xc]
test edx, edx
je 0x44f9dd
mov dword [edx], ecx
lea ecx, [eax + 0x10]
xor edx, edx
test ecx, ecx
je 0x44f9e8
mov edx, dword [ecx]
mov ecx, dword [esi + 0x10]
add ecx, dword [esp + 0x34]
xor ecx, edx
lea edx, [ebp + 0x10]
test edx, edx
je 0x44f9fa
mov dword [edx], ecx
lea ecx, [eax + 0x14]
xor edx, edx
test ecx, ecx
je 0x44fa05
mov edx, dword [ecx]
mov ecx, dword [esi + 0x14]
add ecx, dword [esp + 0x38]
xor ecx, edx
lea edx, [ebp + 0x14]
test edx, edx
je 0x44fa17
mov dword [edx], ecx
lea ecx, [eax + 0x18]
xor edx, edx
test ecx, ecx
je 0x44fa22
mov edx, dword [ecx]
mov ecx, dword [esi + 0x18]
add ecx, dword [esp + 0x3c]
xor ecx, edx
lea edx, [ebp + 0x18]
test edx, edx
je 0x44fa34
mov dword [edx], ecx
lea ecx, [eax + 0x1c]
xor edx, edx
test ecx, ecx
je 0x44fa3f
mov edx, dword [ecx]
mov ecx, dword [esi + 0x1c]
add ecx, dword [esp + 0x40]
xor ecx, edx
lea edx, [ebp + 0x1c]
test edx, edx
je 0x44fa51
mov dword [edx], ecx
lea ecx, [eax + 0x20]
xor edx, edx
test ecx, ecx
je 0x44fa5c
mov edx, dword [ecx]
mov ecx, dword [esi + 0x20]
add ecx, dword [esp + 0x1c]
xor ecx, edx
lea edx, [ebp + 0x20]
test edx, edx
je 0x44fa6e
mov dword [edx], ecx
lea ecx, [eax + 0x24]
xor edx, edx
test ecx, ecx
je 0x44fa79
mov edx, dword [ecx]
mov ecx, dword [esi + 0x24]
add ecx, dword [esp + 0x28]
xor ecx, edx
lea edx, [ebp + 0x24]
test edx, edx
je 0x44fa8b
mov dword [edx], ecx
lea ecx, [eax + 0x28]
xor edx, edx
test ecx, ecx
je 0x44fa96
mov edx, dword [ecx]
mov ecx, dword [esi + 0x28]
add ecx, dword [esp + 0x18]
xor ecx, edx
lea edx, [ebp + 0x28]
test edx, edx
je 0x44faa8
mov dword [edx], ecx
lea ecx, [eax + 0x2c]
xor edx, edx
test ecx, ecx
je 0x44fab3
mov edx, dword [ecx]
mov ecx, dword [esi + 0x2c]
add ecx, dword [esp + 0x20]
xor ecx, edx
lea edx, [ebp + 0x2c]
test edx, edx
je 0x44fac5
mov dword [edx], ecx
lea ecx, [eax + 0x30]
xor edx, edx
test ecx, ecx
je 0x44fad0
mov edx, dword [ecx]
mov ecx, dword [esi + 0x30]
add ecx, edi
xor ecx, edx
lea edx, [ebp + 0x30]
test edx, edx
je 0x44fae0
mov dword [edx], ecx
lea ecx, [eax + 0x34]
xor edx, edx
test ecx, ecx
je 0x44faeb
mov edx, dword [ecx]
mov ecx, dword [esi + 0x34]
add ecx, dword [esp + 0x14]
xor ecx, edx
lea edx, [ebp + 0x34]
test edx, edx
je 0x44fafd
mov dword [edx], ecx
lea ecx, [eax + 0x38]
xor edx, edx
test ecx, ecx
je 0x44fb08
mov edx, dword [ecx]
mov ecx, dword [esi + 0x38]
add ecx, dword [esp + 0x2c]
xor ecx, edx
lea edx, [ebp + 0x38]
test edx, edx
je 0x44fb1a
mov dword [edx], ecx
lea ecx, [eax + 0x3c]
xor edx, edx
test ecx, ecx
je 0x44fb25
mov edx, dword [ecx]
mov ecx, dword [esi + 0x3c]
add ecx, dword [esp + 0x30]
xor ecx, edx
lea edx, [ebp + 0x3c]
test edx, edx
je 0x44fb37
mov dword [edx], ecx
add eax, 0x40
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x60]
add ebp, 0x40
mov dword [esp + 0x6c], ebp
add dword [eax], 1
jne 0x44fb5e
mov eax, dword [esp + 0x64]
inc dword [eax]
dec ebx
mov dword [esp + 0x74], ebx
jmp 0x44f473
mov eax, ebx
dec ebx
mov dword [esp + 0x74], ebx
test eax, eax
jne 0x44f473
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret