Function at 0x1003e4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031542d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x104c14e0]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10611628]
mov dword [ebp - 0x30], edi
cmp eax, dword [edi + 4]
jg 0x1003e589
jmp 0x1003e50f
mov al, byte [ecx]
inc ecx
test al, al
je 0x1003e66c
jmp 0x1003e502
mov eax, dword [0x10611494]
cmp eax, dword [edi + 4]
jg 0x1003e6b9
jmp 0x1003e52f
mov al, byte [ecx]
inc ecx
test al, al
je 0x1003e798
jmp 0x1003e522
mov edi, dword [ebp - 0x34]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x278]
call eax
test eax, eax
je 0x1003e56e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1003e56e
mov ecx, edi
call fcn.100cb1b0
test eax, eax
je 0x1003e56e
mov esi, dword [0x106114a0]
mov ecx, edi
call fcn.100cb1b0
mov ecx, eax
call esi
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.102bb91c
mov esp, ebp
pop ebp
ret
push 0x10611628
call fcn.102bba07
add esp, 4
cmp dword [0x10611628], 0xffffffff
jne 0x1003e50f
mov dword [ebp - 4], 0
cmp byte [0x104a6f20], 0
jne 0x1003e621
mov byte [0x104a6f20], 1
xor edi, edi
jmp 0x1003e5c0
xor edx, edx
mov eax, edi
xor eax, dword [0x104a6f90]
xor edx, dword [0x104a6f94]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x2c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x2c], eax
mov ecx, edx
mov eax, dword [ebp - 0x2c]
shrd eax, ecx, 7
xor dword [ebp - 0x2c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x2c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x2c]
xor cl, byte [edi + 0x104a6f21]
mov byte [edi + 0x104a6f21], cl
inc edi
cmp edi, 0x6d
jb 0x1003e5c0
mov edi, dword [ebp - 0x30]
jmp 0x1003e621
push ecx
push 0x104a6f8d
push 0x104a6f21
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x2c], esp
mov ecx, edx
movups xmmword [esi], xmm0
lea eax, [ecx + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x30], eax
jmp 0x1003e502
sub ecx, dword [ebp - 0x30]
push ecx
push edx
mov ecx, esi
call fcn.1001a920
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, 0x1036f278
push esp
call fcn.10019bd0
mov byte [ebp - 4], 1
call fcn.1006c680
lea ecx, [ebp - 0x28]
mov dword [0x106114a0], eax
call fcn.10019dd0
push 0x10611628
mov dword [ebp - 4], 0xffffffff
call fcn.102bb9b6
add esp, 4
jmp 0x1003e50f
push 0x10611494
call fcn.102bba07
add esp, 4
cmp dword [0x10611494], 0xffffffff
jne 0x1003e52f
mov dword [ebp - 4], 3
cmp byte [0x104935c0], 0
jne 0x1003e750
mov byte [0x104935c0], 1
xor edi, edi
jmp 0x1003e6f0
xor edx, edx
mov eax, edi
xor eax, dword [0x10493608]
xor edx, dword [0x1049360c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x2c]
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
shr ecx, 7
xor esi, eax
xor edx, ecx
mov dword [ebp - 0x2c], esi
mov ecx, esi
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [edi + 0x104935c1]
xor cl, byte [ebp - 0x2c]
mov byte [edi + 0x104935c1], cl
inc edi
cmp edi, 0x41
jb 0x1003e6f0
jmp 0x1003e750
push ecx
push 0x10493601
push 0x104935c1
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x30], esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
jmp 0x1003e522
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1001a920
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, 0x1036f278
push esp
call fcn.10019bd0
mov byte [ebp - 4], 4
call fcn.1006c680
lea ecx, [ebp - 0x28]
call fcn.10019dd0
push 0x10611494
mov dword [ebp - 4], 0xffffffff
call fcn.102bb9b6
add esp, 4
jmp 0x1003e52f