Function at 0x456330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543cd6
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x58bea8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x40
push 0
push 0
lea eax, [ebp - 0x60]
push eax
push ebx
mov esi, ecx
mov dword [ebp - 0x74], ebx
call fcn.00407140
test eax, eax
je 0x4567ba
xor eax, eax
xor edi, edi
mov ecx, 0x923a564c
xor edx, edx
jmp 0x456390
add ecx, dword [ebp + eax - 0x60]
add edx, dword [ebp + eax - 0x5c]
add edi, dword [ebp + eax - 0x58]
add eax, 0xc
cmp eax, 0x3c
jb 0x456390
add edx, edi
add ecx, edx
cmp dword [ebp - 0x24], ecx
je 0x4563cc
push 0x30
push 0x547694
push 0x5476a8
call fcn.00406bd0
push eax
call dword [0x547408]
push 1
call fcn.0052b588
xor dword [ebp - 0x5c], 0xfe3a53d9
xor dword [ebp - 0x58], 0x37f298e7
xor dword [ebp - 0x54], 0x7a6f3a2c
xor dword [ebp - 0x40], 0x43de7c19
xor dword [ebp - 0x3c], 0xcc65f415
xor dword [ebp - 0x38], 0xd016a93c
xor dword [ebp - 0x34], 0x97a3ba9a
xor dword [ebp - 0x30], 0xae7d39bf
xor dword [ebp - 0x2c], 0xfb73a955
xor dword [ebp - 0x28], 0x37acf831
cmp byte [ebp - 0x60], 0x43
jne 0x4563ad
cmp byte [ebp - 0x5f], 0x50
jne 0x4563ad
cmp byte [ebp - 0x5e], 0x5a
jne 0x4563ad
cmp byte [ebp - 0x5d], 0x35
jne 0x4563ad
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x45643d
push eax
call dword [0x547228]
mov dword [esi + 4], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x45644e
push eax
call dword [0x547228]
mov dword [esi + 8], edi
push ebx
call dword [0x54721c]
inc eax
push eax
push edi
call dword [0x547224]
push ebx
push eax
mov dword [esi + 8], eax
call dword [0x547218]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x1c], edx
mov edx, dword [ebp - 0x34]
lea edi, [esi + 0x1c]
mov dword [esi + 0x28], edx
xor edx, edx
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 0x38]
setne dl
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp - 0x54]
push 0x14
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
call fcn.0052b63f
add esp, 4
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4564c0
mov ecx, eax
call fcn.00454330
mov ebx, eax
push edi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004542a0
test ebx, ebx
je 0x4564e3
mov ecx, ebx
call fcn.00411eb0
push ebx
call fcn.0052b2fa
add esp, 4
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x10]
push eax
push 0
call dword [0x547224]
mov ecx, dword [esi + 0x14]
add ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x74]
push ecx
push 0x40
push 0
push eax
push edx
mov dword [esi + 4], eax
call fcn.00407140
cmp dword [esi + 0x30], 0
je 0x4565db
push 0x2c
call fcn.0052b63f
add esp, 4
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x456537
mov ecx, eax
call fcn.0051d4b0
mov edi, eax
jmp 0x456539
xor edi, edi
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0051c950
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, edi
call fcn.0051d340
lea edx, [ebp - 0x70]
push edx
mov ecx, edi
call fcn.0051d3e0
xor ebx, ebx
cmp edi, ebx
je 0x45657a
mov ecx, edi
call fcn.00411eb0
push edi
call fcn.0052b2fa
add esp, 4
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x50]
jne 0x45659a
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x4c]
jne 0x45659a
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x48]
jne 0x45659a
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x44]
je 0x4565db
push 0x30
push 0x547694
push 0x547664
call fcn.00406bd0
push eax
call dword [0x547408]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4565c3
push eax
call dword [0x547228]
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4565d4
push eax
call dword [0x547228]
mov dword [esi + 8], ebx
push 1
call fcn.0052b588
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x5c]
add eax, dword [esi + 0x10]
xor edx, 0x3795b39a
push edx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00455dd0
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
push edx
push eax
mov ecx, esi
call fcn.00456820
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 4]
push 0x3a
push ecx
push edx
mov ecx, esi
call fcn.00457160
mov eax, dword [esi + 0x2c]
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
lea edx, [eax + 0x76a3bf29]
xor edx, dword [esi + 0x1c]
mov edi, 0x76548aef
mov dword [ebp - 0x20], edx
mov edx, dword [esi + 0x20]
xor edx, eax
mov dword [ebp - 0x1c], edx
lea edx, [eax + 0x10000000]
xor edx, dword [esi + 0x24]
mov dword [ebp - 0x18], edx
mov edx, dword [esi + 0x28]
xor edx, eax
mov dword [ebp - 0x14], edx
mov edx, ebx
shr edx, 2
xor eax, eax
test edx, edx
je 0x456686
mov dword [ebp - 0x74], edx
mov edx, dword [ebp + eax*4 - 0x20]
xor edx, dword [ecx]
inc eax
sub edx, 0x4a91c262
rol edx, 3
sub edx, edi
mov dword [ecx], edx
and eax, 3
add ecx, 4
add edi, 0x10fb562a
dec dword [ebp - 0x74]
jne 0x456661
and ebx, 3
mov edi, ebx
jbe 0x4566a6
lea ecx, [ecx]
mov edx, dword [ebp + eax*4 - 0x20]
shr edx, 6
xor dl, byte [ecx]
inc eax
add dl, 0x37
mov byte [ecx], dl
and eax, 3
inc ecx
dec edi
jne 0x456690
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
add ecx, eax
xor edx, edx
mov dword [ebp - 0x7c], ecx
cmp dword [esi + 0xc], edx
jbe 0x4567a6
lea esp, [esp]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
inc edx
add ecx, eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edx
cmp edx, dword [esi + 0xc]
jae 0x4566db
mov ebx, dword [ecx + 8]
jmp 0x4566de
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x2c]
sub ebx, edi
mov edi, dword [eax + 0xc]
mov eax, dword [esi + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.00456820
mov eax, dword [esi + 4]
add eax, dword [esi + 0x10]
add eax, dword [ebp - 0x74]
test ebx, ebx
je 0x456714
mov edx, ebx
movzx ecx, byte [eax]
xor ecx, 0x7e
mov cl, byte [ecx + esi + 0xb8]
mov byte [eax], cl
inc eax
dec edx
jne 0x456701
mov edx, dword [esi + 0x1c]
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x7c]
xor edx, edi
mov dword [ebp - 0x20], edx
mov edx, dword [esi + 0x24]
xor edx, edi
lea eax, [edi + 0x112233]
xor eax, dword [esi + 0x20]
add edi, 0x34258765
xor edi, dword [esi + 0x28]
mov dword [ebp - 0x18], edx
mov edx, ebx
mov dword [ebp - 0x1c], eax
shr edx, 2
xor eax, eax
mov dword [ebp - 0x14], edi
mov edi, 0x2a65cb4e
test edx, edx
je 0x45677a
mov dword [ebp - 0x74], edx
mov edx, dword [ebp + eax*4 - 0x20]
xor edx, dword [ecx]
inc eax
sub edx, edi
rol edx, 2
add edx, 0x37a19e8b
mov dword [ecx], edx
and eax, 3
add ecx, 4
sub edi, 0x139fa9b
dec dword [ebp - 0x74]
jne 0x456755
and ebx, 3
jbe 0x456797
mov edi, ebx
mov edx, dword [ebp + eax*4 - 0x20]
shr edx, 4
xor dl, byte [ecx]
inc eax
add dl, 5
mov byte [ecx], dl
and eax, 3
inc ecx
dec edi
jne 0x456781
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x80]
cmp edx, dword [esi + 0xc]
jb 0x4566c0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.00456820
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b2eb
mov esp, ebp
pop ebp
ret 4