Function at 0x1003ae70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062c25
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x10076508], eax
test ebx, ebx
je 0x1003b8e5
cmp dword [ebp + 0xc], 1
jne 0x1003b8e5
cmp dword [0x10075f2c], 0
je 0x1003b8e5
mov eax, dword [edi + 4]
test eax, eax
je 0x1003aee0
cmp ebx, eax
jne 0x1003aee0
call fcn.10038450
mov al, 1
jmp 0x1003b8e7
mov eax, dword [edi + 0x138]
test eax, eax
je 0x1003af00
cmp ebx, eax
jne 0x1003af00
mov eax, dword [edi + 0x148]
cmp eax, 1
jbe 0x1003b8e1
dec eax
jmp 0x1003af21
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x1003af37
cmp ebx, eax
jne 0x1003af37
mov eax, dword [edi + 0x148]
cmp eax, dword [edi + 0x14c]
jae 0x1003b8e1
inc eax
mov dword [edi + 0x148], eax
movzx eax, al
push eax
call fcn.1003be30
mov al, 1
jmp 0x1003b8e7
mov ecx, dword [edi + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + 0x15c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003b8e1
lea eax, [edi + 0x30]
mov esi, 4
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], esi
nop
mov eax, dword [eax]
test eax, eax
je 0x1003b8c3
cmp ebx, eax
jne 0x1003b8c3
mov eax, dword [ebp - 0xc4]
xor ebx, ebx
mov ecx, dword [edi + 0x160]
sub ecx, dword [edi + 0x15c]
mov eax, dword [eax - 0x14]
mov dword [ebp - 0x64], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1003b8c0
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebp - 0x64]
cmp dword [esi + eax + 0x18], ecx
je 0x1003aff5
mov ecx, dword [edi + 0x160]
inc ebx
sub ecx, eax
add esi, 0x68
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jl 0x1003afc0
jmp 0x1003b8ba
imul ebx, ebx, 0x68
mov dword [edi + 0x144], ecx
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0x64], ebx
cmp byte [eax + ebx + 0x64], 2
jne 0x1003b0aa
movaps xmm0, xmmword [0x10068e90]
xor ecx, ecx
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd0], 0x6b6d7065
mov word [ebp - 0xcc], 0x596a
mov byte [ebp - 0xca], 0
mov al, byte [ebp - 0xe0]
xor byte [ebp + ecx - 0xdf], al
inc ecx
cmp ecx, 0x15
jb 0x1003b040
lea eax, [ebp - 0xdf]
mov byte [ebp - 0xca], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.100017e0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
push dword [edi + 0x7c]
call fcn.10013630
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10001840
push 0xff5cb9fe
push dword [edi + 0x7c]
call fcn.10013600
mov dword [ebp - 0xa8], 0xff808080
jmp 0x1003b130
mov cl, 0x78
mov dword [ebp - 0x9c], 0x162d2378
mov dword [ebp - 0x98], 0x580a1d1c
xor eax, eax
mov dword [ebp - 0x94], 0x2501190f
mov byte [ebp - 0x90], 0
xor byte [ebp + eax - 0x9b], cl
inc eax
cmp eax, 0xb
jae 0x1003b0e8
mov cl, byte [ebp - 0x9c]
jmp 0x1003b0d3
lea eax, [ebp - 0x9b]
mov byte [ebp - 0x90], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.100017e0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
push dword [edi + 0x7c]
call fcn.10013630
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10001840
push 0xffc4fc03
push dword [edi + 0x7c]
call fcn.10013600
lea edx, [edi + 0x84]
mov dword [ebp - 0x60], 0x48
lea ecx, [ebx + 0x58]
mov dword [ebp - 0x7c], edx
lea esi, [edi + 0xa8]
mov dword [ebp - 0x5c], ecx
add esp, 8
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x80], 4
nop dword [eax]
mov eax, dword [edi + 0x15c]
cmp word [ecx + eax - 0x10], 0
je 0x1003b56c
mov bh, 0x32
mov byte [ebp - 0xac], 0
mov cl, 0x5c
mov byte [ebp - 0xb4], bh
mov bl, cl
mov byte [ebp - 0xac], 0
mov al, 0x67
mov ah, 0x5d
xor al, bh
xor ah, bh
mov ch, 0x45
mov byte [ebp - 0xb3], al
mov dh, bl
mov byte [ebp - 0xaf], ah
xor cl, bh
lea eax, [ebp - 0xb3]
xor ch, bh
mov byte [ebp - 0xb2], cl
mov dl, 0x59
mov byte [ebp - 0xae], ch
xor dl, bh
lea ecx, [ebp - 0x58]
xor dh, bh
mov byte [ebp - 0xb1], dl
xor bl, bh
mov byte [ebp - 0xad], dh
push eax
mov byte [ebp - 0xb0], bl
call fcn.100017e0
lea eax, [ebp - 0x67]
mov word [ebp - 0x68], 0x1c
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
mov byte [ebp - 0x67], 0
call fcn.100017e0
mov eax, dword [edi + 0x15c]
add eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 3
movzx eax, word [eax + ecx]
push eax
call fcn.10007f60
add esp, 4
test eax, eax
je 0x1003b242
add eax, 4
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x1003b22f
push 0xffffffffffffffff
push 0
push eax
call fcn.100026e0
push 1
push dword [esi]
call fcn.10012b10
push 0
push dword [esi + 4]
jmp 0x1003b349
mov eax, dword [edi + 0x15c]
mov ebx, dword [ebp - 0x5c]
cmp word [ebx + eax - 0x10], 1
jne 0x1003b354
mov esi, dword [0x10075f2c]
mov ecx, esi
call fcn.1001a500
cmp byte [esi + 0x34], 1
jne 0x1003b2e1
mov al, 0x2e
mov byte [ebp - 0x8c], 0x6b
xor al, byte [ebp - 0x8c]
mov ah, 4
mov byte [ebp - 0x8b], al
mov cl, 7
mov al, byte [ebp - 0x8c]
mov dl, 0x4b
mov bl, 0x26
mov byte [ebp - 0x83], 0
mov ch, 0x19
mov byte [ebp - 0x83], 0
mov dh, 0xa
xor cl, al
xor dl, al
mov byte [ebp - 0x8a], cl
xor bl, al
mov byte [ebp - 0x89], dl
xor ah, al
mov byte [ebp - 0x88], bl
xor ch, al
mov byte [ebp - 0x87], ah
xor dh, al
mov byte [ebp - 0x86], ch
mov bh, 0xf
mov byte [ebp - 0x85], dh
xor bh, al
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x84], bh
jmp 0x1003b32f
mov ch, 0x6c
mov byte [ebp - 0x9e], 0
mov al, 0x27
mov byte [ebp - 0xa4], ch
mov cl, 0xd
mov byte [ebp - 0x9e], 0
mov dl, 0x1e
mov bl, 0x19
mov ah, 0x1f
xor al, ch
xor cl, ch
mov byte [ebp - 0xa3], al
xor dl, ch
mov byte [ebp - 0xa2], cl
xor bl, ch
mov byte [ebp - 0xa1], dl
xor ah, ch
mov byte [ebp - 0xa0], bl
mov byte [ebp - 0x9f], ah
lea eax, [ebp - 0xa3]
push eax
lea ecx, [ebp - 0x58]
call fcn.10007df0
mov esi, dword [ebp - 0x78]
push 1
push dword [esi + 4]
call fcn.10012b10
push 0
push dword [esi]
call fcn.10012b10
mov ebx, dword [ebp - 0x5c]
add esp, 0x10
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0xe0]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.100017e0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 4
push eax
push dword [esi + 8]
call fcn.10013630
mov eax, dword [ebp - 0xcc]
add esp, 8
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x1003b3a2
inc eax
push 1
push eax
push dword [ebp - 0xe0]
call fcn.10002610
add esp, 0xc
push dword [ebp - 0xa8]
push dword [esi + 8]
call fcn.10013600
mov eax, dword [edi + 0x15c]
add esp, 8
mov dl, 0x61
mov cl, 0x25
mov dh, cl
movzx eax, word [eax + ebx]
push eax
mov eax, dword [edi + 0x15c]
movzx eax, word [ebx + eax - 8]
mov bh, 0x41
push eax
mov al, 0x64
mov byte [ebp - 0xb8], 0
mov ah, dl
mov byte [ebp - 0xc0], bh
mov ch, al
mov byte [ebp - 0xb8], 0
xor al, bh
xor ah, bh
sub esp, 0x18
mov byte [ebp - 0xbf], al
xor cl, bh
mov byte [ebp - 0xbb], ah
xor ch, bh
mov byte [ebp - 0xbe], cl
mov bl, 0x6e
mov byte [ebp - 0xba], ch
lea eax, [ebp - 0xbf]
xor dl, bh
xor dh, bh
mov byte [ebp - 0xbd], dl
mov ecx, esp
mov byte [ebp - 0xb9], dh
xor bl, bh
push eax
mov byte [ebp - 0xbc], bl
call fcn.100017e0
lea eax, [ebp - 0xf8]
push eax
call fcn.10031980
add esp, 0x24
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x1003b452
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xe0]
call fcn.100017e0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 6
push eax
push dword [esi + 0xc]
call fcn.10013630
mov eax, dword [ebp - 0xcc]
add esp, 8
cmp eax, 0x10
jb 0x1003b491
inc eax
push 1
push eax
push dword [ebp - 0xe0]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x1003b4cd
inc eax
push 1
push eax
push dword [ebp - 0xf8]
call fcn.10002610
add esp, 0xc
mov eax, dword [edi + 0x15c]
mov ebx, dword [ebp - 0x5c]
movzx eax, word [eax + ebx]
push eax
push 0
push dword [esi + 0x10]
call fcn.10013320
mov eax, dword [edi + 0x15c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
movzx eax, word [ebx + eax - 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [esi + 0x10]
call fcn.100132d0
mov eax, dword [ebp - 0x7c]
push 1
push dword [eax]
call fcn.10012b10
mov eax, dword [ebp - 0x2c]
add esp, 0x18
cmp eax, 0x10
jb 0x1003b53a
inc eax
push 1
push eax
push dword [ebp - 0x40]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1003b578
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
jmp 0x1003b578
push 0
push dword [edx]
call fcn.10012b10
add esp, 8
mov ecx, dword [ebp - 0x5c]
add esi, 0x14
mov edx, dword [ebp - 0x7c]
add ecx, 2
add dword [ebp - 0x60], 2
add edx, 4
sub dword [ebp - 0x80], 1
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], esi
jne 0x1003b160
mov ecx, dword [ebp - 0x64]
lea eax, [edi + 0x94]
add ecx, 0x34
mov dword [ebp - 0x60], eax
lea esi, [edi + 0xf8]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], 5
nop dword [eax]
mov eax, dword [edi + 0x15c]
mov ebx, dword [ecx + eax - 0x14]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x64], eax
lea eax, [ebx - 1]
cmp eax, 0x5f5e0fe
mov eax, 0x35a4f8a0
cmovbe ebx, eax
push ebx
call fcn.10007eb0
add esp, 4
mov dword [ebp - 0x5c], eax
push 0
test eax, eax
je 0x1003b7bb
lea eax, [ebp - 0x6b]
mov word [ebp - 0x6c], 0x34
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x6b], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002800
mov eax, dword [ebp - 0x5c]
push ebx
mov dword [ebp - 4], 7
movzx eax, byte [eax + 4]
push eax
call fcn.10007ef0
add esp, 8
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x1003b6cd
cmp dword [eax + 0x48], 0
je 0x1003b6cd
push ebx
push eax
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.10009560
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.10007d70
mov eax, dword [ebp - 0xe4]
cmp eax, 0x10
jb 0x1003b684
inc eax
push 1
push eax
push dword [ebp - 0xf8]
call fcn.10002610
add esp, 0xc
mov ebx, dword [ebp - 0x5c]
mov eax, dword [esi]
test eax, eax
je 0x1003b77a
lea ecx, [ebp - 0x28]
add eax, 4
push ecx
push eax
call fcn.1000d800
mov eax, dword [esi]
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x50], ebx
mov eax, dword [esi]
mov dword [eax + 0x54], ecx
mov eax, dword [esi]
mov dword [eax + 0x58], edx
test ecx, ecx
je 0x1003b751
movsx ecx, word [ecx + 0x56]
movsx eax, word [ebx + 0x66]
add ecx, eax
jmp 0x1003b755
push ebx
mov ebx, dword [ebp - 0x5c]
lea eax, [ebp - 0xf8]
push 0
push ebx
push eax
call fcn.10009560
add esp, 0x10
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x1003b727
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1003b707
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003770
mov eax, dword [ebp - 0xe4]
mov byte [ebp - 4], 7
cmp eax, 0x10
jb 0x1003b687
inc eax
push 1
push eax
push dword [ebp - 0xf8]
call fcn.10002610
add esp, 0xc
jmp 0x1003b687
movsx ecx, word [ebx + 0x66]
mov eax, dword [esi]
mov dword [eax + 0x5c], ecx
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1003b77a
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.100131b0
mov eax, dword [esi]
push 1
push dword [eax]
call fcn.10012b10
add esp, 0x10
push dword [ebp - 0x64]
push dword [esi + 4]
call fcn.100136d0
mov eax, dword [ebp - 0x60]
push 1
push dword [eax]
call fcn.10012b10
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1003b8a0
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
jmp 0x1003b8a0
mov eax, dword [ebp - 0x60]
push dword [eax]
call fcn.10012b10
push 0
push dword [esi + 4]
call fcn.100136d0
add esp, 0x10
cmp dword [esi], 0
je 0x1003b8a0
lea eax, [ebp - 0x6f]
mov word [ebp - 0x70], 0xc
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x6f], 0
call fcn.100017e0
lea eax, [ebp - 0xf8]
mov dword [ebp - 4], 9
push eax
mov eax, dword [esi]
add eax, 4
push eax
call fcn.1000d800
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.10001840
mov eax, dword [esi]
mov dword [eax + 0x50], 0
mov eax, dword [esi]
mov dword [eax + 0x54], 0
mov eax, dword [esi]
mov dword [eax + 0x58], 0
mov eax, dword [esi]
mov dword [eax + 0x5c], 0
mov eax, dword [esi]
cmp dword [eax], 0
je 0x1003b8a0
lea eax, [ebp - 0x73]
mov word [ebp - 0x74], 0x23
push eax
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x73], 0
call fcn.100017e0
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 0xa
push eax
mov eax, dword [esi]
push dword [eax]
call fcn.100131b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10001840
mov eax, dword [esi]
push 0
push dword [eax]
call fcn.10012b10
add esp, 8
mov ecx, dword [ebp - 0x80]
add esi, 0xc
add dword [ebp - 0x60], 4
add ecx, 4
sub dword [ebp - 0x78], 1
mov dword [ebp - 0x80], ecx
jne 0x1003b5c0
mov esi, dword [ebp - 0xc8]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0xc4]
add eax, 0x18
sub esi, 1
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], esi
jne 0x1003af70
mov al, 1
jmp 0x1003b8e7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 8