Function at 0x56c900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov dword [eax], 0
call fcn.0056db00
test eax, eax
jne 0x56cf5e
mov ebx, dword [ebp + 8]
cmp dword [0x2e6ed4], eax
jne 0x56c933
xor edi, edi
jmp 0x56c953
test ebx, 0x8000
je 0x56c93f
xor edi, edi
jmp 0x56c953
mov edi, dword [0x2e6ed8]
test ebx, 0x10000
mov eax, 1
cmovne edi, eax
test ebx, 0x40000
je 0x56c963
and ebx, 0xfffdffff
jmp 0x56c972
cmp dword [0x2e6f84], 0
je 0x56c972
or ebx, 0x20000
and ebx, 0xfffe00e7
push 0x1d8
mov dword [ebp + 8], ebx
call fcn.005bbcf0
mov esi, eax
add esp, 4
mov dword [ebp - 0xc], esi
test esi, esi
je 0x56cf48
push 0x1d8
push 0
push esi
call fcn.004a75b0
add esp, 0xc
test edi, edi
je 0x56c9eb
cmp dword [0x2e6ed4], 0
jne 0x56c9c9
push esi
mov dword [esi + 0x44], 0
call fcn.005bb990
add esp, 4
xor ecx, ecx
jmp 0x56cf4a
push 1
call dword [0x2e6f10]
add esp, 4
mov dword [esi + 0x44], eax
test eax, eax
jne 0x56c9eb
push esi
call fcn.005bb990
add esp, 4
xor ecx, ecx
jmp 0x56cf4a
mov eax, dword [esi + 0x44]
test eax, eax
je 0x56c9fc
push eax
call dword [0x2e6f18]
add esp, 4
mov dword [esi + 0x18], 0xff
lea eax, [esi + 0x1a0]
mov dword [esi + 4], 2
mov dword [esi + 0x38], 0xf03b7906
mov dword [esi + 8], eax
movups xmm0, xmmword [0x2cc000]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [0x2cc010]
movups xmmword [esi + 0x58], xmm0
movq xmm0, qword [0x2cc020]
movq qword [esi + 0x68], xmm0
mov eax, dword [0x2cc028]
or dword [esi + 0xc], 0x8040
mov dword [esi + 0x70], eax
mov byte [esi + 0x1c], 1
mov byte [esi + 0x21], 0xff
mov dword [esi + 0x24], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x110], 0
call fcn.005bc4c0
mov dword [esi], eax
test eax, eax
jne 0x56cb19
push eax
push 0x2d12bc
push 1
push esi
call fcn.005b91d0
add esp, 0x10
mov edi, esi
mov eax, dword [esi + 0x44]
test eax, eax
je 0x56cada
push eax
call dword [0x2e6f20]
add esp, 4
mov eax, dword [esi + 0x38]
cmp eax, 0x4b771290
je 0x56cf1b
cmp eax, 0xa029a697
je 0x56cf1b
cmp eax, 0xf03b7906
je 0x56cf1b
mov eax, dword [ebp - 0x10]
mov ebx, 0x15
mov dword [esi + 0x38], 0x4b771290
mov dword [eax], edi
movzx eax, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push 0x25bae0
push 0
push 1
push 1
mov edx, 0x2d08b0
mov ecx, esi
call fcn.0056cf70
add esp, 0x10
mov edx, 0x2d08b0
mov ecx, esi
push 0x25bae0
push 0
push 1
push 3
call fcn.0056cf70
add esp, 0x10
mov edx, 0x2d08b0
mov ecx, esi
push 0x25bae0
push 0
push 1
push 2
call fcn.0056cf70
add esp, 0x10
mov edx, 0x2d12cc
mov ecx, esi
push 0x25bae0
push 1
push 0
push 1
call fcn.0056cf70
add esp, 0x14
mov edi, esi
cmp byte [esi + 0x1e], 0
jne 0x56cac9
mov edi, 0x2d08b0
inc edi
cmp byte [edi], 0
jne 0x56cb93
sub edi, 0x2d08b0
lea eax, [esi + 0x180]
and edi, 0x3fffffff
cmp dword [eax + 0xc], 0
je 0x56cc00
mov ecx, 0x2d08b0
xor eax, eax
mov dword [ebp - 8], ecx
test edi, edi
je 0x56cbf0
xor ebx, ebx
mov esi, edi
movzx eax, byte [ecx]
dec esi
lea ecx, [ebx*8]
movzx edx, byte [eax + 0x2cc740]
xor edx, ecx
mov ecx, dword [ebp - 8]
inc ecx
xor ebx, edx
mov dword [ebp - 8], ecx
test esi, esi
jg 0x56cbc3
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
xor edx, edx
div dword [esi + 0x180]
lea eax, [esi + 0x180]
jmp 0x56cc02
xor edx, edx
push edx
push edi
mov edx, 0x2d08b0
mov ecx, eax
call fcn.005b7db0
add esp, 8
test eax, eax
je 0x56cc1c
mov eax, dword [eax + 8]
jmp 0x56cc1e
xor eax, eax
push ecx
push 0x25bab0
push 0
push 2
push 1
mov edx, 0x2d12d4
mov dword [esi + 0x2c], eax
mov ecx, esi
call fcn.0056cf70
mov eax, dword [esi + 8]
add esp, 0x14
mov edx, dword [ebp - 4]
add eax, 4
mov dword [esi + 0x10], ebx
mov ecx, esi
or ebx, 0x100
push eax
push ebx
push 0x7d0
push 0
call fcn.0056d1d0
add esp, 0x10
test eax, eax
je 0x56cc83
cmp eax, 0xc0a
mov ecx, 7
push 0
cmove eax, ecx
push eax
push esi
call fcn.005b91d0
add esp, 0xc
jmp 0x56cac7
mov edx, dword [esi + 8]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.0058d620
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.0058d620
mov ecx, dword [esi + 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [eax], 0x2d12dc
mov eax, dword [esi + 8]
mov byte [eax + 9], 3
mov eax, dword [esi + 8]
mov dword [eax + 0x10], 0x2d12e4
mov eax, dword [esi + 8]
mov byte [eax + 0x19], 1
cmp byte [esi + 0x1e], 0
mov dword [esi + 0x38], 0xa029a697
jne 0x56cac7
push 0
push 0
push esi
call fcn.005b91d0
add esp, 4
mov edx, 0x2cf730
mov ecx, esi
push 0x283560
push 0
push 1
push 2
call fcn.0056d310
add esp, 0x18
cmp byte [esi + 0x1e], 0
jne 0x56cda4
mov edi, 0x2d0298
nop dword [eax]
inc edi
cmp byte [edi], 0
jne 0x56cd10
mov eax, dword [esi + 0x44]
sub edi, 0x2d0298
and edi, 0x3fffffff
test eax, eax
je 0x56cd33
push eax
call dword [0x2e6f18]
add esp, 4
push 0
push 1
push 2
push edi
mov edx, 0x2d0298
mov ecx, esi
call fcn.0058d7d0
add esp, 0x10
test eax, eax
jne 0x56cd69
sub esp, 8
mov edx, 0x2d0298
mov ecx, esi
push 0x292870
push eax
push 1
push 2
call fcn.0056d310
add esp, 0x18
xor eax, eax
cmp byte [esi + 0x1e], al
je 0x56cd85
push eax
push 7
push esi
call fcn.005b91d0
add esp, 0xc
mov byte [esi + 0x1e], 0
mov eax, 7
mov edi, dword [esi + 0x18]
and edi, eax
mov eax, dword [esi + 0x44]
test eax, eax
je 0x56cd9b
push eax
call dword [0x2e6f20]
add esp, 4
cmp edi, 7
jne 0x56cda4
mov byte [esi + 0x1e], 1
cmp dword [0x2e956c], 0
mov dword [ebp - 8], 1
je 0x56cec1
xor ebx, ebx
mov dword [ebp - 0xc], ebx
nop dword [eax]
cmp dword [0x2e6ed4], 0
jne 0x56cdcd
xor edi, edi
jmp 0x56cde8
push 2
call dword [0x2e6f10]
mov edi, eax
add esp, 4
test edi, edi
je 0x56cde8
push edi
call dword [0x2e6f18]
add esp, 4
cmp ebx, dword [0x2e956c]
jl 0x56cdf7
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x56cdff
mov eax, dword [0x2e9570]
mov ebx, dword [eax + ebx*4]
test edi, edi
je 0x56ce0d
push edi
call dword [0x2e6f20]
add esp, 4
xor edi, edi
mov dword [ebp - 4], edi
test ebx, ebx
je 0x56ce42
push 0x2cc4c8
lea eax, [ebp - 4]
push eax
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x56ce3f
push dword [ebp - 4]
push 0x2d04b4
push 1
push esi
call fcn.005b91d0
add esp, 0x10
mov dword [ebp - 8], edi
mov edi, dword [ebp - 4]
test edi, edi
je 0x56ceb0
cmp dword [0x2e6ed0], 0
je 0x56cea6
mov eax, dword [0x2e9800]
test eax, eax
je 0x56ce62
push eax
call dword [0x2e6f18]
add esp, 4
push edi
call dword [0x2e6ef4]
mov ecx, dword [0x2e9688]
neg eax
add ecx, eax
add esp, 4
mov dword [0x2e9688], ecx
cmp ecx, dword [0x2e96ac]
jle 0x56ce8a
mov dword [0x2e96ac], ecx
push edi
call dword [0x2e6eec]
mov eax, dword [0x2e9800]
add esp, 4
test eax, eax
je 0x56ceb0
push eax
call dword [0x2e6f20]
jmp 0x56cead
push edi
call dword [0x2e6eec]
add esp, 4
mov ebx, dword [ebp - 0xc]
inc ebx
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], ebx
jne 0x56cdc0
mov eax, dword [esi + 0x38]
mov edi, esi
cmp eax, 0x4b771290
je 0x56cedf
cmp eax, 0xa029a697
je 0x56cedf
cmp eax, 0xf03b7906
jne 0x56cac9
cmp byte [esi + 0x1e], 0
jne 0x56cac9
mov eax, dword [esi + 0x18]
and eax, dword [esi + 0x14]
jne 0x56cac9
push eax
push eax
push esi
call fcn.005b91d0
add esp, 0xc
mov ecx, esi
push dword [0x2e6ee4]
push dword [0x2e6ee0]
call fcn.0056d7d0
add esp, 8
jmp 0x56cac9
cmp byte [esi + 0x1e], 0
mov ecx, edi
jne 0x56cf4a
mov ebx, dword [esi + 0x18]
and ebx, dword [esi + 0x14]
cmp ebx, 7
je 0x56cf4f
test ebx, ebx
je 0x56cf56
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x38], 0x4b771290
mov dword [eax], edi
movzx eax, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov ebx, 7
call fcn.005bcd10
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
movzx eax, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret