Function at 0x4550d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x543cb6
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push 0x40
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00407140
test eax, eax
jne 0x455118
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push edi
xor eax, eax
xor edi, edi
mov ecx, 0x923a564c
xor edx, edx
add ecx, dword [ebp + eax - 0x78]
add edx, dword [ebp + eax - 0x74]
add edi, dword [ebp + eax - 0x70]
add eax, 0xc
cmp eax, 0x3c
jb 0x455124
add edx, edi
add ecx, edx
cmp dword [ebp - 0x3c], ecx
je 0x455160
push 0x30
push 0x547694
push 0x5476a8
call fcn.00406bd0
push eax
call dword [0x547408]
push 1
call fcn.0052b588
xor dword [ebp - 0x74], 0xfe3a53d9
xor dword [ebp - 0x70], 0x37f298e7
xor dword [ebp - 0x6c], 0x7a6f3a2c
xor dword [ebp - 0x58], 0x43de7c19
xor dword [ebp - 0x54], 0xcc65f415
xor dword [ebp - 0x50], 0xd016a93c
xor dword [ebp - 0x4c], 0x97a3ba9a
xor dword [ebp - 0x48], 0xae7d39bf
xor dword [ebp - 0x44], 0xfb73a955
xor dword [ebp - 0x40], 0x37acf831
cmp byte [ebp - 0x78], 0x43
jne 0x455141
cmp byte [ebp - 0x77], 0x50
jne 0x455141
cmp byte [ebp - 0x76], 0x5a
jne 0x455141
cmp byte [ebp - 0x75], 0x35
jne 0x455141
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4551cf
push eax
call dword [0x547228]
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4551e0
push eax
call dword [0x547228]
mov dword [esi + 8], ebx
mov edi, dword [ebp + 8]
push edi
call dword [0x54721c]
inc eax
push eax
push ebx
call dword [0x547224]
push edi
push eax
mov dword [esi + 8], eax
call dword [0x547218]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x54]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x4c]
lea edi, [esi + 0x1c]
mov dword [esi + 0x28], eax
xor eax, eax
cmp dword [ebp - 0x44], ebx
mov dword [esi + 0x2c], edx
mov edx, dword [ebp - 0x50]
setne al
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x70]
mov dword [esi + 0x24], edx
mov edx, dword [ebp - 0x6c]
push 0x14
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
call fcn.0052b63f
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x455253
mov ecx, eax
call fcn.004541c0
mov ebx, eax
push edi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00454140
test ebx, ebx
je 0x455276
mov ecx, ebx
call fcn.00411eb0
push ebx
call fcn.0052b2fa
add esp, 4
mov ecx, dword [esi + 0x14]
add ecx, dword [esi + 0x10]
push ecx
push 0
call dword [0x547224]
mov edx, dword [esi + 0x14]
add edx, dword [esi + 0x10]
mov dword [esi + 4], eax
push edx
push 0x40
push 0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00407140
cmp dword [esi + 0x30], 0
je 0x45536e
push 0x2c
call fcn.0052b63f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4552ca
mov ecx, eax
call fcn.0051d4b0
mov edi, eax
jmp 0x4552cc
xor edi, edi
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0051c950
mov ecx, dword [esi + 0x14]
add ecx, dword [esi + 0x10]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, edi
call fcn.0051d340
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.0051d3e0
xor ebx, ebx
cmp edi, ebx
je 0x45530d
mov ecx, edi
call fcn.00411eb0
push edi
call fcn.0052b2fa
add esp, 4
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x68]
jne 0x45532d
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x64]
jne 0x45532d
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x60]
jne 0x45532d
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x5c]
je 0x45536e
push 0x30
push 0x547694
push 0x547664
call fcn.00406bd0
push eax
call dword [0x547408]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x455356
push eax
call dword [0x547228]
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x455367
push eax
call dword [0x547228]
mov dword [esi + 8], ebx
push 1
call fcn.0052b588
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x74]
add ecx, dword [esi + 0x10]
xor eax, 0x3795b39a
push eax
mov dword [esi + 0xc], edx
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.00454c20
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.00456820
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 4]
push 0x3a
push edx
push eax
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 - 0x28], edx
mov edx, dword [esi + 0x20]
xor edx, eax
mov dword [ebp - 0x24], edx
lea edx, [eax + 0x10000000]
xor edx, dword [esi + 0x24]
mov dword [ebp - 0x20], edx
mov edx, dword [esi + 0x28]
xor edx, eax
mov dword [ebp - 0x1c], edx
mov edx, ebx
shr edx, 2
xor eax, eax
test edx, edx
je 0x455416
mov dword [ebp + 8], edx
mov edx, dword [ebp + eax*4 - 0x28]
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 + 8]
jne 0x4553f1
and ebx, 3
mov edi, ebx
jbe 0x455436
lea ecx, [ecx]
mov edx, dword [ebp + eax*4 - 0x28]
shr edx, 6
xor dl, byte [ecx]
inc eax
add dl, 0x37
mov byte [ecx], dl
and eax, 3
inc ecx
dec edi
jne 0x455420
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
add ecx, eax
xor edx, edx
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0xc], edx
jbe 0x455536
lea esp, [esp]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
inc edx
add ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp + 8], edi
mov dword [ebp - 0x18], edx
cmp edx, dword [esi + 0xc]
jae 0x45546b
mov ebx, dword [ecx + 8]
jmp 0x45546e
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 + 8]
test ebx, ebx
je 0x4554a4
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 0x455491
mov edx, dword [esi + 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
xor edx, edi
mov dword [ebp - 0x28], 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 - 0x20], edx
mov edx, ebx
mov dword [ebp - 0x24], eax
shr edx, 2
xor eax, eax
mov dword [ebp - 0x1c], edi
mov edi, 0x2a65cb4e
test edx, edx
je 0x45550a
mov dword [ebp + 8], edx
mov edx, dword [ebp + eax*4 - 0x28]
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 + 8]
jne 0x4554e5
and ebx, 3
jbe 0x455527
mov edi, ebx
mov edx, dword [ebp + eax*4 - 0x28]
shr edx, 4
xor dl, byte [ecx]
inc eax
add dl, 5
mov byte [ecx], dl
and eax, 3
inc ecx
dec edi
jne 0x455511
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp edx, dword [esi + 0xc]
jb 0x455450
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.00456820
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4