Function at 0x10053280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068d5e
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1007c040]
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], 0x37
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 0x100532e0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100051a0
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x10053320
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10053320
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x10073638]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1005335d
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053353
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10053353
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x44
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 0x10053382
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100051a0
mov dword [ebp - 4], 1
mov edi, dword [esi + 0x1b8]
test edi, edi
je 0x100533c2
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100533c2
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x10073638]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x100533ff
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100533f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100533f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x17
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 0x10053424
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100051a0
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x1bc]
test edi, edi
je 0x10053464
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10053464
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x10073608]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x100534a1
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053497
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10053497
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
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 0x100534c1
xor eax, eax
jmp 0x100534da
mov ecx, dword [0x10073588]
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 0x10053b32
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 0x100535f3
test ecx, ecx
je 0x100535f3
mov eax, 0x12e0be83
mov edi, ecx
mul ecx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x100535f3
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 4], 0x2d
jae 0x100535f3
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100535f3
mov eax, 0x10624dd3
mov esi, dword [0x1007358c]
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 0x100535f5
cmp dword [eax + 0x3c], 0
je 0x100535f5
push dword [esi + 0x198]
xor edx, edx
lea ecx, [ebp - 0x7c]
push eax
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x100535ee
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100535e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100535e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov edi, dword [ebp - 0x30]
jmp 0x1005364a
xor edi, edi
push dword [esi + 0x198]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push 0
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1005364a
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053640
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10053640
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [esi + 0x1bc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10053671
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10053671
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call dword [0x10073608]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push edi
call fcn.1000ce60
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov edi, dword [esi + 0x1ac]
test edi, edi
je 0x100536a9
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100536a9
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x100536e3
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100536d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100536d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [esi + 0x1a4]
cmp eax, 1
jne 0x10053824
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10010c60
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x10053710
mov eax, dword [eax]
movaps xmm0, xmmword [0x10074f40]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x7b2d
mov byte [ebp - 0x32], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x10053728
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 0x10053758
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x64]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x100537a2
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100537a2
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x100537d6
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100537cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005381e
push ecx
push edx
call fcn.100641c5
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 0x10053922
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053918
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10053918
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp eax, 2
jne 0x10053922
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10010c60
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x1005384b
mov eax, dword [eax]
movaps xmm0, xmmword [0x10075230]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x6d3b
mov byte [ebp - 0x32], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x10053863
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 0x10053893
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x64]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x100538dd
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100538dd
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x100537d6
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100537cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005381e
jmp 0x100537cc
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
mov edx, dword [esi + 0x19c]
call fcn.10011370
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 0x100539b7
nop dword [eax]
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10053b6e
mov esi, dword [ebp - 0x50]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x10053991
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 sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x100539a1
sub esp, 8
push ecx
push dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x64]
call fcn.10011210
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x100539b4
mov edx, dword [ebp - 0x54]
jmp 0x10053950
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], 0xf
lea eax, [ebp - 0x64]
movaps xmm0, xmmword [0x10074fc0]
cmova eax, dword [ebp - 0x64]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x633530
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x12
jb 0x100539d7
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 0x10053a07
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x7c]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xa
mov edi, dword [esi + 0x1b8]
test edi, edi
je 0x10053a51
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10053a51
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x10053a89
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053a7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005381e
push ecx
push edx
call fcn.100641c5
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 0x10053ad3
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053ac9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005381e
push ecx
push edx
call fcn.100641c5
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 0x10053b20
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053b16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005381e
push ecx
push edx
call fcn.100641c5
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 0x10053b53
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10053b53
push 1
mov ecx, esi
call dword [0x100735d4]
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.10064164
mov esp, ebp
pop ebp
ret
call fcn.100105e0
int3