Function at 0x10056350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ca8e
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x38
mov byte [ebp - 0x2b], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100563b0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100048a0
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x100563f0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100563f0
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x1009f658]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1005642b
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056421
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c48
push ecx
push edx
call fcn.10067ef6
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x69
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056450
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100048a0
mov dword [ebp - 4], 1
mov edi, dword [esi + 0x1b8]
test edi, edi
je 0x10056490
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10056490
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x1009f658]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x100564cb
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100564c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c4d
push ecx
push edx
call fcn.10067ef6
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x4c
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100564f0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100048a0
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x1bc]
test edi, edi
je 0x10056530
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10056530
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x1009f628]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1005656b
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056561
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c52
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov edx, dword [esi + 0x198]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
test edx, edx
jne 0x1005658b
xor eax, eax
jmp 0x100565a4
mov ecx, dword [0x1009f5a8]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10056c07
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
cmp dword [eax], 0
mov ecx, dword [esi + 0x198]
mov dword [ebp - 0x30], ecx
je 0x100566bb
test ecx, ecx
je 0x100566bb
mov eax, 0x12e0be83
mov edi, ecx
mul ecx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x100566bb
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 4], 0x2d
jae 0x100566bb
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100566bb
mov eax, 0x10624dd3
mov esi, dword [0x1009f5ac]
mul dword [ebp - 0x30]
shr edx, 6
sub edi, edx
imul eax, edi, 0x3e8
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, dword [ebp - 0x4c]
mov edi, eax
mov dword [ebp - 0x30], eax
test eax, eax
je 0x100566bd
cmp dword [eax + 0x3c], 0
je 0x100566bd
push dword [esi + 0x198]
xor edx, edx
lea ecx, [ebp - 0x7c]
push eax
call fcn.1000f980
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10009c00
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x100566b6
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100566ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c57
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov edi, dword [ebp - 0x30]
jmp 0x10056710
xor edi, edi
push dword [esi + 0x198]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push 0
call fcn.1000f980
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10009c00
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x10056710
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056706
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c5c
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov eax, dword [esi + 0x1bc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10056737
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10056737
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call dword [0x1009f628]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push edi
call fcn.1000fd40
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov edi, dword [esi + 0x1ac]
test edi, edi
je 0x1005676f
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005676f
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1009f658]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x100567a7
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005679d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c61
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov eax, dword [esi + 0x1a4]
cmp eax, 1
jne 0x100568ef
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10013ab0
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x100567d4
mov eax, dword [eax]
movaps xmm0, xmmword [0x100a1470]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x3d6b
mov byte [ebp - 0x32], 0
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x100567f0
sub esp, 0x18
mov byte [ebp - 0x32], 0
mov edx, esp
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056820
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
lea eax, [ebp - 0x64]
push eax
call fcn.10004440
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x1005686a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005686a
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1009f658]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x100568a2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056898
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c66
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0xf
jbe 0x100569ef
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100569e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c66
jmp 0x100569e5
cmp eax, 2
jne 0x100569ef
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10013ab0
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x10056916
mov eax, dword [eax]
movaps xmm0, xmmword [0x100a1330]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x3264
mov byte [ebp - 0x32], 0
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x10056930
sub esp, 0x18
mov byte [ebp - 0x32], 0
mov edx, esp
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056960
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
lea eax, [ebp - 0x64]
push eax
call fcn.10004440
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x100569aa
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100569aa
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1009f658]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x100568a2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056898
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c66
jmp 0x10056898
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
mov edx, dword [esi + 0x19c]
call fcn.10014030
mov edx, dword [ebp - 0x54]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10056a89
nop dword [eax]
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10056c43
mov esi, dword [ebp - 0x50]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x10056a61
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x64]
cmova eax, dword [ebp - 0x64]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.10069a90
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x10056a73
push 0x2e
push 1
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x64]
push 1
call fcn.1000ab60
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10056a86
mov edx, dword [ebp - 0x54]
jmp 0x10056a20
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], 0xf
lea eax, [ebp - 0x64]
movaps xmm0, xmmword [0x100a0f30]
cmova eax, dword [ebp - 0x64]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x712722
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x12
jb 0x10056ab0
sub esp, 0x18
mov byte [ebp - 0x31], 0
mov edx, esp
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056ae0
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
lea eax, [ebp - 0x7c]
push eax
call fcn.10004440
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xa
mov edi, dword [esi + 0x1b8]
test edi, edi
je 0x10056b2a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10056b2a
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1009f658]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x10056b62
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056b58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c66
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x10056bac
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056ba2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c66
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0xf
jbe 0x10056bf5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056beb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056c66
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov esi, dword [esi + 0x1a8]
test esi, esi
je 0x10056c28
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10056c28
push 1
mov ecx, esi
call dword [0x1009f5f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067e95
mov esp, ebp
pop ebp
ret
call fcn.10009c80
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
int3