Function at 0x10056f40
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bf41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xa8
push esi
push edi
mov edi, dword [ebx + 8]
xor esi, esi
mov dword [ebp - 0x34], ecx
nop dword [eax]
push 0
xor edx, edx
mov ecx, edi
call fcn.10058320
add esp, 4
mov ecx, 1
test eax, eax
cmove eax, ecx
add esi, eax
add edi, eax
cmp esi, 5
jb 0x10056f80
mov edi, dword [ebx + 8]
push ecx
mov ecx, dword [ebp - 0x34]
push edi
mov dword [ebp - 0x70], esi
call fcn.10058bb0
push esi
push edi
mov esi, eax
mov dword [ebp - 0x34], eax
push esi
call fcn.10058af0
add esi, eax
mov ecx, esi
mov dword [ebp - 0x34], esi
call fcn.100558e0
mov dword [ebp - 0x54], 0x32
mov ecx, dword [ebp - 0x54]
xor cl, 0x70
mov byte [ebp - 0x50], cl
lea edi, [esi + eax]
mov ecx, dword [ebp - 0x54]
inc cl
xor cl, 0x75
mov byte [ebp - 0x4f], cl
mov eax, dword [ebp - 0x54]
add al, 2
xor al, 0x73
mov byte [ebp - 0x4e], al
mov eax, dword [ebp - 0x54]
add al, 3
xor al, 0x68
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 0x54]
add al, 4
xor al, 0x20
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x54]
add al, 5
xor al, 0x65
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x54]
add al, 6
xor al, 0x73
mov byte [ebp - 0x4a], al
mov eax, dword [ebp - 0x54]
add al, 7
mov byte [ebp - 0x48], 0
xor al, 0x70
xor edx, edx
mov byte [ebp - 0x49], al
mov al, byte [ebp - 0x50]
nop dword [eax]
mov al, byte [ebp + edx - 0x50]
mov ecx, dword [ebp - 0x54]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x50], cl
inc edx
cmp edx, 8
jb 0x10057030
lea eax, [ebp - 0x50]
mov byte [ebp - 0x48], 0
push eax
push edi
call fcn.10058090
add esp, 8
add edi, eax
push edi
push dword [ebx + 0xc]
call fcn.10055870
add edi, eax
mov dword [ebp - 0x30], 0x50
mov eax, dword [ebp - 0x30]
xor al, 0x74
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x30]
inc al
xor al, 0x65
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x30]
add al, 2
xor al, 0x73
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x30]
add al, 3
xor al, 0x74
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x30]
add al, 4
xor al, 0x20
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x30]
add al, 5
xor al, 0x65
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x30]
add al, 6
xor al, 0x61
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x30]
add al, 7
xor al, 0x78
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x30]
add al, 8
xor al, 0x2c
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x30]
add al, 9
xor al, 0x20
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x30]
add al, 0xa
xor al, 0x65
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x30]
add al, 0xb
xor al, 0x61
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x30]
add al, 0xc
xor al, 0x78
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x30]
add al, 0xd
xor al, 0x3b
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x30]
add al, 0xe
xor al, 0x6a
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x30]
add al, 0xf
xor al, 0x65
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x30]
add al, 0x10
xor al, 0x20
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x30]
add al, 0x11
xor al, 0x30
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x30]
add al, 0x12
xor al, 0x78
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x30]
add al, 0x13
xor al, 0x25
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x30]
add al, 0x14
mov byte [ebp - 0x17], 0
xor al, 0x78
xor edx, edx
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0x2c]
mov al, byte [ebp + edx - 0x2c]
mov ecx, dword [ebp - 0x30]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x2c], cl
inc edx
cmp edx, 0x15
jb 0x10057143
lea eax, [edi + 0x3e]
mov byte [ebp - 0x17], 0
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.10058090
add esp, 0xc
add edi, eax
mov ecx, edi
call fcn.10056310
mov esi, dword [ebx + 0x10]
add edi, eax
xor edx, edx
test esi, esi
je 0x100571e3
mov dword [ebp - 0x64], 0x2f
mov byte [ebp - 0x60], 0x5d
mov byte [ebp - 0x5f], 0x4a
mov byte [ebp - 0x5e], 0x5b
mov byte [ebp - 0x5d], 0xf
mov byte [ebp - 0x5c], 0x1f
mov byte [ebp - 0x5b], 0x57
mov byte [ebp - 0x5a], 0xa
mov byte [ebp - 0x59], 0x57
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x58], dl
nop
mov al, byte [ebp + edx - 0x60]
mov ecx, dword [ebp - 0x64]
xor cl, al
mov byte [ebp + edx - 0x60], cl
inc edx
cmp edx, 8
jb 0x100571b0
lea eax, [esi*4]
mov byte [ebp - 0x58], 0
push eax
lea eax, [ebp - 0x60]
push eax
push edi
call fcn.10058090
add esp, 0xc
mov esi, eax
jmp 0x1005739f
mov dword [ebp - 0x3c], 0x6f
mov byte [ebp - 0x38], 0x1d
mov byte [ebp - 0x37], 0xa
mov byte [ebp - 0x36], 0x1b
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x35], 0
nop dword [eax]
mov al, byte [ebp + edx - 0x38]
mov ecx, dword [ebp - 0x3c]
xor cl, al
mov byte [ebp + edx - 0x38], cl
inc edx
cmp edx, 3
jb 0x10057200
mov esi, dword [sym.imp.msvcrt.dll_strlen]
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
mov byte [ebp - 0x35], 0
push eax
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
call esi
add esp, 4
lea ecx, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10007e96
mov dword [ebp - 4], 0
xor edx, edx
mov dword [ebp - 0x44], 0x4a
mov byte [ebp - 0x40], 0x24
mov byte [ebp - 0x3f], 0x25
mov byte [ebp - 0x3e], 0x3a
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x3d], 0
mov al, byte [ebp + edx - 0x40]
mov ecx, dword [ebp - 0x44]
xor cl, al
mov byte [ebp + edx - 0x40], cl
inc edx
cmp edx, 3
jb 0x10057277
lea eax, [ebp - 0x40]
mov byte [ebp - 0x3d], 0
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push eax
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
call esi
add esp, 4
lea ecx, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007e96
mov byte [ebp - 4], 1
xor ecx, ecx
mov byte [ebp - 0x14], 0x78
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], 0x7a
mov byte [ebp - 0x11], 0
mov al, byte [ebp - 0x14]
nop
mov al, byte [ebp + ecx - 0x14]
sub al, 0xa
mov byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 3
jb 0x100572e0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
push eax
movups xmmword [ebp - 0x88], xmm0
call esi
add esp, 4
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10007e96
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x70]
mov eax, ecx
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x6c], eax
sub ecx, edx
mov eax, edx
sub esp, 0xc
mov dword [ebp - 0x68], eax
mov esi, esp
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [ebp - 0x6c]
mov dword [esi], 0
sar edx, 2
push ecx
mov eax, edx
mov dword [esi + 4], 0
shr eax, 0x1f
lea ecx, [ebp - 0x68]
push ecx
add eax, edx
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.10057400
mov ecx, edi
call fcn.10058160
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov esi, eax
lea eax, [ebp - 0xb8]
push 0x10005321
push 3
push 0x18
push eax
call fcn.1007b26a
add esi, edi
mov ecx, esi
call fcn.10056310
lea edi, [esi + eax]
mov esi, dword [ebp - 0x70]
push esi
push dword [ebx + 8]
push edi
call fcn.10055780
add edi, eax
push edi
mov edi, dword [ebx + 8]
lea eax, [esi + edi]
push eax
call fcn.100557e0
mov eax, dword [ebp - 0x34]
push edi
push eax
call fcn.100557e0
sub esi, eax
mov edx, esi
lea ecx, [eax + edi]
call fcn.10057f40
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10