Function at 0x45476c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4b8
call fcn.00468d20
mov eax, dword [0x5808f0]
xor eax, esp
mov dword [esp + 0x4b4], eax
mov eax, dword [esp + 0x4bc]
push ebx
push ebp
mov ebx, ecx
mov ecx, dword [ebx + 0x428]
push esi
push edi
push ecx
mov ecx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], eax
call fcn.00453d10
mov edx, dword [ebx + 0x42c]
push edx
mov ecx, ebx
mov esi, eax
call fcn.004539b0
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
mov dword [esp + 0x3c], edi
call edx
test al, al
je 0x454540
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov ebp, eax
add ebp, dword [ebx + 0x430]
jmp 0x454546
mov ebp, dword [ebx + 0x430]
mov ecx, dword [esp + 0x14]
call fcn.00424be0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, ebp
cdq
mov ebp, eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x430]
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], edx
cdq
push edx
push eax
xor ecx, ecx
lea eax, [esp + 0xe4]
push eax
push ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
call fcn.00424750
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
cdq
push edx
push eax
mov eax, dword [ebx + 0x430]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x20]
cdq
push edx
push eax
call fcn.00424750
push 0x40
lea edx, [esp + 0x60]
push 0
push edx
call fcn.00468ca0
mov eax, dword [edi]
mov edx, dword [eax + 8]
add esp, 0xc
mov ecx, edi
call edx
mov ecx, dword [ebx + 0x430]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
push ecx
lea edx, [esp + 0xe0]
push edx
mov ecx, edi
call eax
mov eax, dword [ebx + 0x424]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push eax
lea ecx, [ebx + 0x24]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
cmp dword [ebx + 0x434], 0
mov edx, dword [eax + 0x18]
mov ebx, dword [esi]
mov ecx, edi
jne 0x45461e
push 0
jmp 0x454620
push 1
add ebx, 0xc
call edx
mov edx, dword [ebx]
push eax
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call edx
cmp dword [esi + 0xc], 0
jne 0x45464b
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
push eax
call fcn.004691cd
add esp, 4
mov dword [esi + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov ecx, dword [esi + 0xc]
push eax
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.00468d50
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, ebx
sub eax, dword [esp + 0x34]
lea edx, [esp + 0x48]
sbb ecx, dword [esp + 0x38]
push edx
mov edx, dword [esi]
push ecx
push eax
mov eax, dword [edx]
mov ecx, esi
call eax
push eax
call fcn.00418180
mov edx, dword [esp + 0x58]
add esp, 0x10
mov dword [esp + 0x10], eax
test edx, edx
jne 0x4546e0
push edi
call fcn.004699ce
mov eax, dword [esi + 4]
xor edi, edi
add esp, 4
mov dword [esi], vtable.dwcl::AbstractCipher.0
cmp eax, edi
je 0x4546bf
push eax
call fcn.004690f0
add esp, 4
mov dword [esi + 4], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x4546d2
push eax
call fcn.004690f0
add esp, 4
mov dword [esi + 0xc], edi
push esi
call fcn.004699ce
add esp, 4
jmp 0x454913
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
ja 0x4548b3
jb 0x454710
cmp ebp, ebx
jae 0x4548b3
jmp 0x454710
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov edi, ebx
mov ebx, dword [esp + 0x24]
sub edi, ebp
sbb ebx, ecx
xor eax, eax
cmp ebx, eax
jb 0x45472a
ja 0x454726
cmp edi, edx
jbe 0x45472a
mov edi, edx
mov ebx, eax
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
push ecx
mov ecx, dword [esp + 0x24]
push ebp
call fcn.00424750
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
cdq
push edx
push eax
push ebx
push edi
call fcn.0046bae0
mov ebp, edi
sub ebp, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x434]
cmp eax, 4
ja case.default.0x454765
jmp dword [eax*4 + 0x454930]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push ebp
push eax
push eax
mov eax, dword [edx + 0x20]
jmp 0x4547b0
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push ebp
push eax
push eax
mov eax, dword [edx + 0x18]
jmp 0x4547b0
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push ebp
push eax
push eax
mov eax, dword [edx + 0x14]
jmp 0x4547b0
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push ebp
push eax
push eax
mov eax, dword [edx + 0x10]
jmp 0x4547b0
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push ebp
push eax
push eax
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x454863
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 0x434], 1
je 0x454851
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x28], edx
mov edx, dword [eax]
mov ecx, esi
call edx
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.00468d50
mov eax, dword [esi]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
add eax, 0xc
add esp, 0xc
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x18]
push 1
call eax
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x9c]
mov ecx, eax
push eax
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
jbe 0x454863
mov edx, dword [esp + 0x10]
add ebp, edx
mov dl, byte [esp + eax + 0x9c]
xor byte [eax + ebp], dl
inc eax
cmp eax, ecx
jb 0x454840
jmp 0x454863
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
add ebp, ecx
push eax
mov eax, dword [edx + 0x18]
push ebp
push ebp
mov ecx, esi
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
push ebx
push edi
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ebp
call fcn.00424860
add dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
adc eax, ebx
add ebp, edi
adc dword [esp + 0x30], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
cmp eax, dword [esp + 0x24]
jb 0x454700
ja 0x4548af
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jb 0x454700
mov edi, dword [esp + 0x3c]
mov eax, dword [esi + 4]
mov dword [esi], vtable.dwcl::AbstractCipher.0
test eax, eax
je 0x4548d0
push eax
call fcn.004690f0
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4548e7
push eax
call fcn.004690f0
add esp, 4
mov dword [esi + 0xc], 0
push esi
call fcn.004699ce
push edi
call fcn.004699ce
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004690f0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push edx
push eax
call fcn.00424c20
mov ecx, dword [esp + 0x4c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004690b5
add esp, 0x4b8
ret 8