Function at 0x453a30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x144
push ebx
push ebp
push esi
push edi
call fcn.00452380
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0x453e6b
mov ebx, dword [esp + 0x15c]
mov edx, dword [0x4cce2c]
lea eax, [esi + esi*2]
xor edi, edi
mov dword [esp + 0x1c], edi
lea ecx, [esi + eax*4]
mov eax, ebx
and eax, 0x80000000
lea ebp, [edx + ecx*4]
mov dword [esp + 0x14], eax
jne 0x453ad0
push 0x38
call fcn.00451500
add esp, 4
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x453e6b
push 0x38
push 0x4c56bc
push edi
push 8
push 0xfffffffffffffff1
mov dword [eax + 4], edi
mov dword [eax + 0x10], 0x8000
mov ecx, dword [0x4cb61c]
push 8
push 0xffffffffffffffff
push eax
mov dword [eax + 0xc], ecx
mov dword [eax + 8], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
call fcn.0045d3e0
add esp, 0x20
test eax, eax
jne 0x453e6b
test ebx, 0x10000000
jne 0x453b31
mov edx, dword [esp + 0x158]
push edx
push esi
call fcn.00452890
add esp, 8
cmp eax, 0xffffffff
je 0x453b31
mov esi, dword [ebp + 0x18]
mov eax, dword [0x4cccdc]
lea ebx, [esi*8]
sub ebx, esi
shl ebx, 3
cmp dword [ebx + eax + 0x14], edi
je 0x453e5a
mov edi, dword [ebx + eax + 0x18]
mov ecx, dword [ebx + eax + 4]
push 0
push edi
push ecx
mov dword [esp + 0x24], ecx
call fcn.00451230
add esp, 0xc
cmp eax, edi
jne 0x453e58
jmp 0x453bce
mov eax, dword [esp + 0x164]
cmp eax, edi
je 0x453bf0
push eax
call fcn.00452960
add esp, 4
cmp eax, edi
je 0x453e5a
mov ecx, dword [0x4cccdc]
lea edx, [eax*8]
sub edx, eax
mov esi, eax
cmp dword [ecx + edx*8 + 0x14], edi
je 0x453e5a
lea ebx, [esi*8]
push 0
sub ebx, esi
shl ebx, 3
mov edi, dword [ebx + ecx + 0x18]
mov eax, dword [ebx + ecx + 4]
push edi
push eax
mov dword [esp + 0x24], eax
call fcn.00451230
add esp, 0xc
cmp eax, edi
jne 0x453e58
mov ecx, dword [0x4cccdc]
mov eax, dword [esp + 0x158]
push 0
push 0
mov edx, dword [ebx + ecx]
push 0
push 0
push 0
push 0
push eax
push edx
call fcn.00455720
add esp, 0x20
test eax, eax
je 0x453e58
call fcn.00455380
mov dword [ebp + 0x24], eax
mov eax, dword [0x4cccdc]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + eax + 8]
or edx, 0x80000000
mov dword [ebx + eax + 8], edx
xor eax, eax
cmp ecx, eax
je 0x453c1b
mov dword [ebp + 0xc], eax
jmp 0x453c22
mov ecx, dword [0x4cccdc]
mov esi, 0xf
lea eax, [ecx + 0x348]
cmp dword [eax], edi
je 0x453c0e
cmp dword [eax + 0x14], edi
jne 0x453b6c
dec esi
sub eax, 0x38
cmp esi, edi
jg 0x453c01
jmp 0x453e5a
mov dword [ebp + 0xc], 8
mov dword [ebp + 0x18], esi
mov esi, 0x40000000
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x20], esi
call fcn.004539e0
mov edx, dword [ebp + 0x20]
mov ecx, dword [esp + 0x15c]
or edx, 0x80000000
mov dword [ebp + 0x1c], eax
test esi, ecx
mov dword [ebp + 0x20], edx
mov eax, edx
je 0x453c68
or eax, 0x20000000
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x28], eax
mov ecx, dword [0x4cccdc]
test byte [ebx + ecx + 8], 1
jne 0x453d0e
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x30]
push 0x1e
push edx
push eax
call fcn.004510b0
add esp, 0xc
cmp eax, 0x1e
jne 0x453e58
mov edi, dword [esp + 0x158]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x50]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x50]
push esi
push ecx
push edx
call fcn.004510b0
add esp, 0xc
cmp eax, esi
jne 0x453e58
mov edx, dword [ebp + 8]
lea eax, [esi + 0x1e]
add edx, eax
add esi, 0x1e
mov dword [ebp + 8], edx
mov eax, dword [0x4cccdc]
add dword [ebx + eax + 0x18], esi
mov ecx, dword [0x4cccdc]
mov al, byte [ebx + ecx + 0x20]
test al, al
je 0x453e82
mov eax, dword [0x4cb620]
test eax, eax
jne 0x453d43
push 0
mov dword [0x4cb620], 1
call fcn.0043da35
push eax
call fcn.0043da06
add esp, 8
mov edx, dword [ebp + 4]
mov edi, 0xc
add edx, edi
mov dword [ebp + 4], edx
mov edx, dword [0x4cccdc]
lea eax, [ebx + edx + 0x20]
push eax
call fcn.00453950
add esp, 4
xor esi, esi
call fcn.0043da13
sar eax, 7
mov byte [esp + 0x14], al
call fcn.00453930
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], al
push ecx
call fcn.004538c0
mov al, byte [esp + 0x17]
mov dl, byte [esp + 0x18]
xor al, dl
add esp, 4
mov byte [esi + 0x4cce10], al
inc esi
cmp esi, 0xa
jl 0x453d65
mov edx, dword [0x4cccdc]
lea eax, [ebx + edx + 0x20]
push eax
call fcn.00453950
add esp, 4
xor esi, esi
mov cl, byte [esi + 0x4cce10]
mov byte [esp + 0x14], cl
call fcn.00453930
mov edx, dword [esp + 0x14]
mov byte [esp + 0x13], al
push edx
call fcn.004538c0
mov al, byte [esp + 0x17]
mov dl, byte [esp + 0x18]
xor al, dl
add esp, 4
mov byte [esp + esi + 0x24], al
inc esi
cmp esi, 0xa
jl 0x453db2
mov esi, dword [esp + 0x160]
mov eax, esi
sar eax, 0x10
mov byte [esp + 0x14], al
call fcn.00453930
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x14]
push eax
call fcn.004538c0
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x18]
xor al, cl
mov byte [esp + 0x32], al
mov eax, esi
sar eax, 0x18
mov byte [esp + 0x18], al
call fcn.00453930
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x17], al
push ecx
call fcn.004538c0
mov al, byte [esp + 0x1b]
mov cl, byte [esp + 0x1c]
xor al, cl
lea edx, [esp + 0x2c]
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x20]
push edi
push edx
push eax
call fcn.004510b0
add esp, 0x14
cmp eax, edi
je 0x453e79
xor edi, edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x453e6b
push eax
call fcn.0045dba0
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x144
ret
mov eax, dword [0x4cccdc]
add dword [ebx + eax + 0x18], edi
mov ecx, dword [esp + 0x20]
mov edx, dword [0x4cb610]
pop edi
inc edx
lea eax, [ecx + 0x7530]
pop esi
pop ebp
mov dword [0x4cb610], edx
or ah, 0x80
pop ebx
add esp, 0x144
ret