Function at 0x44bf69
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 [0x4dc43c], 0
jne 0x44bab1
call fcn.004506e0
cmp byte [0x4dc445], 0
je 0x44bb1a
cmp ebx, 8
jb 0x44bb1a
mov edi, dword [esp + 0x70]
mov eax, dword [esi + 0x30]
not eax
cmp eax, 8
jbe 0x44bb12
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.0045fe50
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 0x44bac3
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebp
cmp byte [0x4dc43c], 0
jne 0x44bb28
call fcn.004506e0
cmp byte [0x4dc43d], 0
je 0x44bb97
cmp ebx, 4
jb 0x44bb97
mov edi, dword [esp + 0x70]
nop word [eax + eax]
mov eax, dword [esi + 0x30]
not eax
cmp eax, 4
jbe 0x44bb8f
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.00460b40
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 0x44bb40
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebp
test ebx, ebx
je 0x44c18e
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 0x44be55
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 0x44bc30
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.0x44be62
jmp dword [eax*4 + 0x44c1a8]
mov eax, dword [esi]
add eax, ecx
test ebp, ebp
je 0x44be74
mov dword [ebp], eax
mov eax, dword [esi + 4]
lea ecx, [ebp + 4]
add eax, edx
test ecx, ecx
je 0x44be82
mov dword [ecx], eax
mov eax, dword [esi + 8]
lea ecx, [ebp + 8]
add eax, dword [esp + 0x24]
test ecx, ecx
je 0x44be92
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
lea ecx, [ebp + 0xc]
add eax, dword [esp + 0x10]
test ecx, ecx
je 0x44bea2
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
lea ecx, [ebp + 0x10]
add eax, dword [esp + 0x34]
test ecx, ecx
je 0x44beb2
mov dword [ecx], eax
mov eax, dword [esi + 0x14]
lea ecx, [ebp + 0x14]
add eax, dword [esp + 0x38]
test ecx, ecx
je 0x44bec2
mov dword [ecx], eax
mov eax, dword [esi + 0x18]
lea ecx, [ebp + 0x18]
add eax, dword [esp + 0x3c]
test ecx, ecx
je 0x44bed2
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
lea ecx, [ebp + 0x1c]
add eax, dword [esp + 0x40]
test ecx, ecx
je 0x44bee2
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
lea ecx, [ebp + 0x20]
add eax, dword [esp + 0x1c]
test ecx, ecx
je 0x44bef2
mov dword [ecx], eax
mov eax, dword [esi + 0x24]
lea ecx, [ebp + 0x24]
add eax, dword [esp + 0x28]
test ecx, ecx
je 0x44bf02
mov dword [ecx], eax
mov eax, dword [esi + 0x28]
lea ecx, [ebp + 0x28]
add eax, dword [esp + 0x18]
test ecx, ecx
je 0x44bf12
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
lea ecx, [ebp + 0x2c]
add eax, dword [esp + 0x20]
test ecx, ecx
je 0x44bf22
mov dword [ecx], eax
mov eax, dword [esi + 0x30]
lea ecx, [ebp + 0x30]
add eax, edi
test ecx, ecx
je 0x44bf30
mov dword [ecx], eax
mov eax, dword [esi + 0x34]
lea ecx, [ebp + 0x34]
add eax, dword [esp + 0x14]
test ecx, ecx
je 0x44bf40
mov dword [ecx], eax
mov eax, dword [esi + 0x38]
lea ecx, [ebp + 0x38]
add eax, dword [esp + 0x2c]
test ecx, ecx
je 0x44bf50
mov dword [ecx], eax
mov eax, dword [esi + 0x3c]
lea ecx, [ebp + 0x3c]
add eax, dword [esp + 0x30]
test ecx, ecx
je case.default.0x44be62
mov dword [ecx], eax
jmp case.default.0x44be62
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], 0
test eax, eax
je 0x44bf9b
mov edi, dword [eax]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x44]
jmp 0x44bf9b
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], 0
test eax, eax
je 0x44bf9b
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 0x44bfac
mov dword [ebp], ecx
lea ecx, [eax + 4]
mov dword [esp + 0x74], 0
test ecx, ecx
je 0x44bfc1
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 0x44bfd3
mov dword [edx], ecx
lea ecx, [eax + 8]
xor edx, edx
test ecx, ecx
je 0x44bfde
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 0x44bff0
mov dword [edx], ecx
lea ecx, [eax + 0xc]
xor edx, edx
test ecx, ecx
je 0x44bffb
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 0x44c00d
mov dword [edx], ecx
lea ecx, [eax + 0x10]
xor edx, edx
test ecx, ecx
je 0x44c018
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 0x44c02a
mov dword [edx], ecx
lea ecx, [eax + 0x14]
xor edx, edx
test ecx, ecx
je 0x44c035
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 0x44c047
mov dword [edx], ecx
lea ecx, [eax + 0x18]
xor edx, edx
test ecx, ecx
je 0x44c052
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 0x44c064
mov dword [edx], ecx
lea ecx, [eax + 0x1c]
xor edx, edx
test ecx, ecx
je 0x44c06f
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 0x44c081
mov dword [edx], ecx
lea ecx, [eax + 0x20]
xor edx, edx
test ecx, ecx
je 0x44c08c
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 0x44c09e
mov dword [edx], ecx
lea ecx, [eax + 0x24]
xor edx, edx
test ecx, ecx
je 0x44c0a9
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 0x44c0bb
mov dword [edx], ecx
lea ecx, [eax + 0x28]
xor edx, edx
test ecx, ecx
je 0x44c0c6
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 0x44c0d8
mov dword [edx], ecx
lea ecx, [eax + 0x2c]
xor edx, edx
test ecx, ecx
je 0x44c0e3
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 0x44c0f5
mov dword [edx], ecx
lea ecx, [eax + 0x30]
xor edx, edx
test ecx, ecx
je 0x44c100
mov edx, dword [ecx]
mov ecx, dword [esi + 0x30]
add ecx, edi
xor ecx, edx
lea edx, [ebp + 0x30]
test edx, edx
je 0x44c110
mov dword [edx], ecx
lea ecx, [eax + 0x34]
xor edx, edx
test ecx, ecx
je 0x44c11b
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 0x44c12d
mov dword [edx], ecx
lea ecx, [eax + 0x38]
xor edx, edx
test ecx, ecx
je 0x44c138
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 0x44c14a
mov dword [edx], ecx
lea ecx, [eax + 0x3c]
xor edx, edx
test ecx, ecx
je 0x44c155
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 0x44c167
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 0x44c18e
mov eax, dword [esp + 0x64]
inc dword [eax]
dec ebx
mov dword [esp + 0x74], ebx
jmp 0x44baa3
mov eax, ebx
dec ebx
mov dword [esp + 0x74], ebx
test eax, eax
jne 0x44baa3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret