Function at 0x1003ebf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x10078014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
cmp dword [esi + 0x144], 0xffffffff
je 0x1003f023
movaps xmm0, xmmword [0x1006fb30]
xor ecx, ecx
mov dword [esi + 0x144], 0xffffffff
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x435c5951
mov byte [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x13
jb 0x1003ec50
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
jne 0x1003ec7d
xor ecx, ecx
jmp 0x1003ec8c
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ec83
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x68]
call fcn.100028c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x68]
mov ecx, dword [esi + 0x7c]
call fcn.10014f70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x1003ecc8
mov ecx, dword [ebp - 0x68]
inc edx
push 1
call fcn.10002790
add esp, 4
mov edi, dword [esi + 0x7c]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1003ece8
push 4
push edi
call ebx
test eax, eax
jne 0x1003ece8
push 0xffffffffffffffff
mov ecx, edi
call dword [0x1006ec54]
lea eax, [esi + 0xb8]
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x84]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [eax]
test edi, edi
je 0x1003ed1c
push 4
push edi
call ebx
test eax, eax
jne 0x1003ed1c
push eax
mov ecx, edi
call dword [0x1006ebec]
push 0
lea eax, [ebp - 0xf]
mov word [ebp - 0x10], 0x37
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.100028c0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x68]
mov ecx, dword [esi - 8]
call fcn.10014f70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x1003ed75
mov ecx, dword [ebp - 0x68]
inc edx
push 1
call fcn.10002790
add esp, 4
push 0
lea eax, [ebp - 0x13]
mov word [ebp - 0x14], 0x4a
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.100028c0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x68]
mov ecx, dword [esi - 4]
call fcn.10014f70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x1003edce
mov ecx, dword [ebp - 0x68]
inc edx
push 1
call fcn.10002790
add esp, 4
mov edi, dword [esi]
test edi, edi
je 0x1003ee0f
push 4
push edi
call ebx
test eax, eax
jne 0x1003ee0f
lea eax, [edi + 0x140]
push 4
push eax
call ebx
test eax, eax
jne 0x1003ee0f
lea eax, [edi + 0x13c]
push 4
push eax
call ebx
test eax, eax
jne 0x1003ee0f
mov ecx, edi
mov dword [edi + 0x140], eax
mov dword [edi + 0x13c], eax
call dword [0x1006ec34]
mov edi, dword [esi]
test edi, edi
je 0x1003ee34
push 4
push edi
call ebx
test eax, eax
jne 0x1003ee34
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x1006ec38]
mov eax, dword [ebp - 0x18]
add esi, 0x14
add eax, 4
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], eax
jne 0x1003ed04
mov esi, dword [ebp - 0x20]
xor al, al
mov byte [ebp - 0xf], al
movzx edi, al
mov eax, dword [esi + edi*4 + 0x94]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003ee76
push 4
push eax
call ebx
test eax, eax
jne 0x1003ee76
mov ecx, dword [ebp - 0x20]
push eax
call dword [0x1006ebec]
lea eax, [edi + edi*2]
mov eax, dword [esi + eax*4 + 0xfc]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003ee9a
push 4
push eax
call ebx
test eax, eax
jne 0x1003ee9a
mov ecx, dword [ebp - 0x20]
push eax
call dword [0x1006ec50]
lea edi, [edi + edi*2]
cmp dword [esi + edi*4 + 0xf8], 0
je 0x1003f013
push 0
lea eax, [ebp - 0x13]
mov word [ebp - 0x14], 0x3e
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.100028c0
mov dword [ebp - 4], 3
lea edx, [ebp - 0x38]
mov ecx, dword [esi + edi*4 + 0xf8]
add ecx, 4
call fcn.1000e460
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x1003ef3b
mov ecx, dword [ebp - 0x38]
inc eax
cmp eax, 0x1000
jb 0x1003ef32
test cl, 0x1f
jne 0x1003f035
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1003f035
sub ecx, eax
cmp ecx, 4
jb 0x1003f035
cmp ecx, 0x23
ja 0x1003f035
mov ecx, eax
push ecx
call fcn.10063060
add esp, 4
mov eax, dword [esi + edi*4 + 0xf8]
mov dword [eax + 0x50], 0
mov eax, dword [esi + edi*4 + 0xf8]
mov dword [eax + 0x54], 0
mov eax, dword [esi + edi*4 + 0xf8]
mov dword [eax + 0x58], 0
mov eax, dword [esi + edi*4 + 0xf8]
mov dword [eax + 0x5c], 0
mov eax, dword [esi + edi*4 + 0xf8]
cmp dword [eax], 0
je 0x1003f013
push 0
lea eax, [ebp - 0x17]
mov word [ebp - 0x18], 0x6e
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x17], 0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.100028c0
mov dword [ebp - 4], 4
lea edx, [ebp - 0x50]
mov ecx, dword [esi + edi*4 + 0xf8]
mov ecx, dword [ecx]
call fcn.10014c60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x1003efe2
mov ecx, dword [ebp - 0x50]
inc edx
push 1
call fcn.10002790
add esp, 4
mov eax, dword [esi + edi*4 + 0xf8]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov edi, dword [eax]
test edi, edi
je 0x1003f013
push 4
push edi
call ebx
test eax, eax
jne 0x1003f013
push eax
mov ecx, edi
call dword [0x1006ebec]
mov al, byte [ebp - 0xf]
inc al
mov byte [ebp - 0xf], al
cmp al, 5
jb 0x1003ee52
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3