Function at 0x445060
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x284
mov ebp, dword [0x45ae4c]
mov edi, dword [0x45ae48]
mov eax, edi
or eax, ebp
jne 0x445116
mov dword [esp + 0x54], 0xc15ac752
mov dword [esp + 0x58], 0xcd56c36c
mov dword [esp + 0x5c], 0xc918cf58
mov dword [esp + 0x60], 0xb55ecb64
mov dword [esp + 0x64], 0xb1b6b720
mov word [esp + 0x68], 0
mov byte [esp + 0x6a], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x54]
mov edx, eax
and edx, 0x22
mov edi, ecx
xor edi, 0x7fb718b1
add edi, edx
mov edx, edi
not edx
lea edx, [edi + edx*2]
inc edx
xor edx, edi
and edx, esi
xor edx, edi
add dl, 0x8b
mov byte [esp + ecx + 0x54], dl
inc ecx
add eax, 2
cmp ecx, 0x17
jne 0x4450c0
lea eax, [esp + 0x54]
push eax
call fcn.00444cd0
add esp, 4
mov edi, eax
mov dword [0x45ae4c], edx
mov dword [0x45ae48], eax
or eax, edx
je 0x4451f0
mov ebp, edx
lea eax, [esp + 0x154]
push 0x40
push eax
push ebp
push edi
call fcn.00444af0
add esp, 0x10
test eax, eax
js 0x4451f0
mov eax, dword [esp + 0x190]
mov ecx, eax
sar ecx, 0x1f
add eax, edi
adc ecx, ebp
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x194]
push 0xf0
push edx
push ecx
push eax
call fcn.00444af0
add esp, 0x10
xor esi, esi
test eax, eax
js 0x4451f2
cmp dword [esp + 0x208], 0
je 0x4451f2
mov eax, dword [esp + 0x204]
mov ebx, 0
test eax, eax
je 0x4451f4
add eax, edi
mov ecx, ebp
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.00444af0
add esp, 0x10
test eax, eax
js 0x4451f0
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4451b9
mov eax, esi
push eax
call fcn.0040cb60
add esp, 4
mov edx, dword [esp + 0x48]
add edx, edi
mov ecx, ebp
adc ecx, 0
push esi
mov dword [esp + 0x14], eax
push eax
push ecx
push edx
call fcn.00444af0
add esp, 0x10
test eax, eax
js 0x445203
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x44520c
mov eax, 0xffffffff
jmp 0x44520e
xor esi, esi
xor ebx, ebx
mov eax, esi
mov edx, ebx
add esp, 0x284
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
xor ebx, ebx
jmp 0x445434
add eax, eax
push eax
call fcn.0040cb60
add esp, 4
mov esi, dword [esp + 0x44]
add esi, esi
mov ecx, dword [esp + 0x50]
add ecx, edi
mov edx, ebp
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.00444af0
add esp, 0x10
test eax, eax
js 0x445424
mov esi, dword [esp + 0x44]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x445258
lea eax, [esi*4]
push eax
call fcn.0040cb60
add esp, 4
mov edx, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x4c]
add eax, edi
mov ecx, ebp
adc ecx, 0
push esi
mov esi, edx
push edx
push ecx
push eax
call fcn.00444af0
add esp, 0x10
test eax, eax
mov dword [esp + 4], esi
js 0x445412
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp ebx, eax
jb 0x4452ae
mov ebx, eax
test ebx, ebx
je 0x445412
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0xc], ebx
jmp 0x4452f1
mov edi, 0xfb520141
mov ebx, dword [esp + 0xc]
cmp edi, dword [esp + 0x298]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
je 0x445445
mov eax, dword [esp + 0x14]
inc eax
cmp eax, ebx
je 0x445412
mov dword [esp + 0x14], eax
mov eax, dword [esi + eax*4]
add eax, edi
mov ecx, ebp
adc ecx, 0
push 0x100
lea edx, [esp + 0x58]
push edx
push ecx
push eax
call fcn.00444af0
add esp, 0x10
test eax, eax
jns 0x44531e
cmp eax, 0x8000000d
jne 0x4452e4
mov eax, 0xffffffff
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
cmp byte [esp + eax + 0x55], 0
lea eax, [eax + 1]
lea edx, [edx + 1]
jne 0x445330
mov dword [esp + 0x18], 0x2e2a2cb1
mov word [esp + 0x1c], 0
xor edx, edx
mov ebx, edx
add bl, 0xc7
xor bl, byte [esp + edx + 0x18]
add bl, 0x1d
mov byte [esp + edx + 0x18], bl
inc edx
cmp edx, 6
jne 0x445350
test eax, eax
je 0x4452c6
mov edx, dword [esp + 0x18]
mov edi, edx
not edi
mov dword [esp], edi
mov edi, 0xfb520141
lea ebp, [esp + 0x54]
cmp eax, 1
je 0x4453e2
and ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x28], ebp
movsx ebx, byte [ebp]
xor ebx, edi
mov edi, ebx
not edi
and edi, edx
mov esi, ebx
and esi, dword [esp]
mov ebp, dword [esp + 0x28]
imul esi, edi
mov edi, ebx
and edi, edx
or ebx, edx
imul ebx, edi
add ebx, esi
movsx edi, byte [ebp + 1]
add ebp, 2
xor edi, ebx
mov esi, edi
not esi
and esi, edx
mov ebx, edi
and ebx, dword [esp]
imul ebx, esi
mov esi, edi
and esi, edx
or edi, edx
imul edi, esi
add edi, ebx
add ecx, 0xfffffffe
jne 0x445390
mov esi, dword [esp + 4]
test al, 1
mov ebx, dword [esp + 0xc]
je 0x4452cf
movsx eax, byte [ebp]
xor edi, eax
mov eax, edi
not eax
and eax, edx
mov ecx, dword [esp]
and ecx, edi
imul ecx, eax
mov eax, edi
and eax, edx
or edi, edx
imul edi, eax
add edi, ecx
jmp 0x4452cf
xor esi, esi
xor ebx, ebx
push dword [esp + 4]
call fcn.0040cb70
add esp, 4
jmp 0x445428
xor esi, esi
xor ebx, ebx
push dword [esp + 8]
call fcn.0040cb70
add esp, 4
push dword [esp + 0x10]
call fcn.0040cb70
add esp, 4
jmp 0x4451f4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
mov ecx, edi
xor ecx, eax
and edi, eax
mov ebx, edi
shr ebx, 0x1f
add edi, edi
add edi, ecx
adc ebx, ebp
mov esi, edi
jmp 0x445416