Function at 0x445120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45bce0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ecx
test esi, esi
jne 0x445160
pop edi
mov eax, 0xffffff9a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c3e5
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x38], 0
je 0x44514b
cmp dword [esi + 0x9c], 0
je 0x445178
push esi
call fcn.00444d90
add esp, 4
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov eax, esi
call fcn.00444940
add esp, 0xc
test eax, eax
je 0x4451a7
pop edi
mov eax, 0xffffff99
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c3e5
mov esp, ebp
pop ebp
ret
push ebx
push 0x90
call fcn.0042c893
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4451f1
push 0x4000
call fcn.0042c893
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x48], ecx
xor ecx, ecx
mov dword [ebx + 0x44], edx
mov edx, dword [ebp + 0x14]
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 0x4c], ecx
mov dword [ebx + 0x8c], edx
cmp eax, ecx
jne 0x445207
push ebx
call fcn.0042c7bb
add esp, 4
pop ebx
pop edi
mov eax, 0xffffff98
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c3e5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x40], ecx
cmp eax, ecx
je 0x445216
mov edx, dword [esi + 0x54]
mov dword [eax], edx
cmp edi, ecx
je 0x44524b
mov dword [edi], 6
mov eax, dword [esi + 0x50]
and eax, 6
sub eax, 2
je 0x445245
sub eax, 2
je 0x44523d
sub eax, 2
jne 0x44524b
mov dword [edi], 1
jmp 0x44524b
mov dword [edi], 2
jmp 0x44524b
mov dword [edi], 9
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x54], eax
mov ecx, dword [esi + 0x54]
mov dword [ebx + 0x84], ecx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x80], edx
lea edi, [ebx + 0x60]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x2c]
xor edi, edi
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x18], edi
cmp dword [esi + 0x54], 8
jne 0x4452c1
cmp dword [ebp + 0x14], edi
jne 0x4452c1
push 0x38
push str.1.2.3
lea eax, [ebx + 4]
push 0xfffffffffffffff1
push eax
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [eax], edi
mov dword [ebx + 8], edi
call fcn.004012e7
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
jne 0x4453d0
mov dword [ebx + 0x40], 1
mov ecx, dword [esi + 0x60]
mov dword [ebx + 0x58], ecx
mov edx, dword [esi + 0x64]
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x5c], edx
mov eax, dword [esi + 0x98]
lea edx, [eax + ecx + 0x1e]
mov dword [ebx + 0x3c], edx
mov dword [ebx + 8], edi
mov dword [esi + 0x9c], ebx
mov ebx, dword [ebp - 0x20]
cmp ebx, edi
je 0x4453bd
call entry0
mov dword [esi + 0xb0], eax
add esi, 0xa4
push ebx
mov ebx, eax
mov ecx, esi
call fcn.00444120
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x9c]
mov ecx, dword [eax + 0x88]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
push 0
push ecx
mov ecx, dword [ebx + 0x10]
push edx
push eax
call ecx
add esp, 0x14
test eax, eax
jne 0x4451f1
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
push 0xc
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebx + 4]
push eax
push ecx
call edx
add esp, 0x10
cmp eax, 0xc
jb 0x4451f1
mov dword [ebp - 0x14], edi
jmp 0x445360
mov ecx, dword [ebx + 0xac]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebx + 0xb0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
movsx ecx, byte [ebp + edx - 0x10]
lea edx, [ebp + edx - 0x10]
shr eax, 8
and eax, 0xff
xor eax, ecx
mov byte [edx], al
movsx eax, al
call fcn.004440e0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0xc
jl 0x445360
mov eax, dword [ebx + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [ebx + 0xa0], 1
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c3e5
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0042c7bb
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0042c3e5
mov esp, ebp
pop ebp
ret