Function at 0x1003d650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070c9e
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10083040]
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], 0x5a
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 0x1003d6b0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002130
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x1003d6f0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003d6f0
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x1007acbc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1003d72b
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d721
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df48
push ecx
push edx
call fcn.1004d526
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x7e
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 0x1003d750
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002130
mov dword [ebp - 4], 1
mov edi, dword [esi + 0x1b8]
test edi, edi
je 0x1003d790
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003d790
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x1007acbc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1003d7cb
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d7c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df4d
push ecx
push edx
call fcn.1004d526
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x33
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 0x1003d7f0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002130
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x1bc]
test edi, edi
je 0x1003d830
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003d830
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x1007ac8c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1003d86b
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d861
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df52
push ecx
push edx
call fcn.1004d526
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 0x1003d88b
xor eax, eax
jmp 0x1003d8a4
mov ecx, dword [0x1007ac0c]
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 0x1003df07
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 0x1003d9bb
test ecx, ecx
je 0x1003d9bb
mov eax, 0x12e0be83
mov edi, ecx
mul ecx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x1003d9bb
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 4], 0x2d
jae 0x1003d9bb
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003d9bb
mov eax, 0x10624dd3
mov esi, dword [0x1007ac10]
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 0x1003d9bd
cmp dword [eax + 0x3c], 0
je 0x1003d9bd
push dword [esi + 0x198]
xor edx, edx
lea ecx, [ebp - 0x7c]
push eax
call fcn.1000af80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007470
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1003d9b6
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d9ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df57
push ecx
push edx
call fcn.1004d526
add esp, 8
mov edi, dword [ebp - 0x30]
jmp 0x1003da10
xor edi, edi
push dword [esi + 0x198]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push 0
call fcn.1000af80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007470
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1003da10
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003da06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df5c
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, dword [esi + 0x1bc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003da37
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003da37
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call dword [0x1007ac8c]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push edi
call fcn.1000b330
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov edi, dword [esi + 0x1ac]
test edi, edi
je 0x1003da6f
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003da6f
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1003daa7
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003da9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df61
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, dword [esi + 0x1a4]
cmp eax, 1
jne 0x1003dbef
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.1000f230
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1003dad4
mov eax, dword [eax]
movaps xmm0, xmmword [0x1007c4c0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x751
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 0x1003daf0
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 0x1003db20
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x64]
push eax
call fcn.1000bae0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x1003db6a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003db6a
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x1003dba2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003db98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df66
push ecx
push edx
call fcn.1004d526
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 0x1003dcef
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003dce5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df66
jmp 0x1003dce5
cmp eax, 2
jne 0x1003dcef
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.1000f230
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x1003dc16
mov eax, dword [eax]
movaps xmm0, xmmword [0x1007c000]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x4315
mov byte [ebp - 0x32], 0
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x1003dc30
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 0x1003dc60
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x64]
push eax
call fcn.1000bae0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x1003dcaa
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003dcaa
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x1003dba2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003db98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df66
jmp 0x1003db98
push ecx
push edx
call fcn.1004d526
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
mov edx, dword [esi + 0x19c]
call fcn.1000f7b0
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 0x1003dd89
nop dword [eax]
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x1003df43
mov esi, dword [ebp - 0x50]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1003dd61
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.1004f0c0
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1003dd73
push 0x2e
push 1
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x64]
push 1
call fcn.100083b0
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003dd86
mov edx, dword [ebp - 0x54]
jmp 0x1003dd20
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], 0xf
lea eax, [ebp - 0x64]
movaps xmm0, xmmword [0x1007bf80]
cmova eax, dword [ebp - 0x64]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x4f191c
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x12
jb 0x1003ddb0
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 0x1003dde0
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x7c]
push eax
call fcn.1000bae0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xa
mov edi, dword [esi + 0x1b8]
test edi, edi
je 0x1003de2a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003de2a
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1003de62
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003de58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df66
push ecx
push edx
call fcn.1004d526
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 0x1003deac
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003dea2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df66
push ecx
push edx
call fcn.1004d526
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 0x1003def5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003deeb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df66
push ecx
push edx
call fcn.1004d526
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 0x1003df28
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003df28
push 1
mov ecx, esi
call dword [0x1007ac58]
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.1004d4c5
mov esp, ebp
pop ebp
ret
call fcn.100074f0
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
int3