Function at 0x10177fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ab9d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1000f008]
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
cmp byte [0x1000f024], 0
jne 0x101789fb
push 0x3c
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x3c
push 0
push esi
mov dword [ebp - 4], 0
call fcn.10181583
add esp, 0x10
mov byte [ebp - 0x1f], 0
mov ah, 0x45
mov byte [ebp - 0x1f], 0
mov cl, 4
mov byte [ebp - 0x24], ah
mov dl, 0x16
mov al, 3
push 0x110
push 0xc8
push 0xc8
push 0x64
mov bl, 0x11
xor cl, ah
xor dl, ah
mov byte [ebp - 0x22], cl
push 0xa
xor al, ah
mov byte [ebp - 0x21], dl
xor bl, ah
mov byte [ebp - 0x23], al
sub esp, 0x18
mov byte [ebp - 0x20], bl
mov edx, esp
lea ecx, [ebp - 0x23]
lea edi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10178090
sub ecx, edi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10179430
mov ecx, esi
call fcn.101796f0
push 0x78
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1018079e
mov ebx, eax
mov dword [ebp - 0x48], ebx
push 0x78
push 0
push ebx
mov dword [ebp - 4], 1
call fcn.10181583
mov dword [ebx + 0x14], 0
lea ecx, [ebx + 4]
mov dword [ecx + 0x14], 0xf
add esp, 0x10
mov byte [ecx], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
push 0
push 0x1000c2a1
mov byte [ebp - 4], 2
call fcn.10179430
push 0x3c
mov dword [ebx + 0x1c], 3
mov dword [ebx + 0x20], 3
mov dword [ebx + 0x24], 0xa
mov dword [ebx + 0x28], 0xa
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 8
mov byte [ebx + 0x71], 1
mov dword [ebx + 0x54], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x3c
push 0
push esi
mov dword [ebp - 4], 3
call fcn.10181583
add esp, 0x10
mov byte [ebp - 0x20], 0
mov bh, 0x67
mov al, 0xb3
mov cl, 0x94
mov byte [ebp - 0x28], bh
mov dl, 0x8a
mov bl, 0x8d
push 0
push 0x3c
push 0xc8
xor al, bh
xor cl, bh
xor dl, bh
mov byte [ebp - 0x27], al
xor bl, bh
mov byte [ebp - 0x26], cl
push 0xffffffffffffffff
mov ah, 0x91
mov byte [ebp - 0x25], dl
mov ch, 0x8f
mov byte [ebp - 0x24], bl
push 0xffffffffffffffff
mov dh, ch
xor ah, bh
xor ch, bh
mov byte [ebp - 0x23], ah
xor dh, bh
mov byte [ebp - 0x22], ch
sub esp, 0x18
mov byte [ebp - 0x21], dh
mov edx, esp
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101781f0
sub ecx, edi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.10179430
mov ecx, esi
call fcn.101796f0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
push 0x78
mov dword [ebp - 0x44], edi
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x78
push 0
push esi
mov dword [ebp - 4], 4
call fcn.10181583
mov byte [ebp - 0x28], 0x64
mov al, 0x22
xor al, byte [ebp - 0x28]
mov cl, 5
mov ch, 0x25
mov byte [ebp - 0x27], al
mov al, byte [ebp - 0x28]
mov dl, 0x17
xor cl, al
mov byte [ebp - 0x1f], 0
xor ch, al
mov byte [ebp - 0x26], cl
mov dh, 0xd
mov byte [ebp - 0x22], ch
mov bl, 0x10
mov byte [ebp - 0x1f], 0
mov ah, 0x44
mov dword [ebp - 0x30], 0
xor dl, al
mov dword [ebp - 0x2c], 0xf
xor dh, al
mov byte [ebp - 0x25], dl
mov bh, 9
mov byte [ebp - 0x21], dh
xor bl, al
mov byte [ebp - 0x40], 0
xor ah, al
mov byte [ebp - 0x24], bl
add esp, 0x10
mov byte [ebp - 0x23], ah
xor bh, al
lea ecx, [ebp - 0x27]
mov byte [ebp - 0x20], bh
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10178298
sub ecx, edx
lea eax, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10179430
mov dword [esi + 0x14], 0
lea ecx, [esi + 4]
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x10178308
cmp dword [ebp - 0x2c], 0x10
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10179430
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
mov dword [esi + 0x1c], 0x1e
mov dword [esi + 0x20], 0x46
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x28], 0x10
mov dword [esi + 0x38], 0
mov dword [esi + 0x2c], 0x1000f658
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0x3f800000
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 3
mov byte [esi + 0x71], 1
cmp edx, 0x10
jb 0x1017838a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10178380
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10178504
push edx
push ecx
call fcn.10180ae8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x74], edi
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x14], esi
cmp eax, dword [edi + 0x38]
je 0x101783a7
mov dword [eax], esi
add dword [edi + 0x34], 4
jmp 0x101783b4
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.10179570
push 0x78
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x78
push 0
push esi
mov dword [ebp - 4], 7
call fcn.10181583
movaps xmm0, xmmword [0x1000c540]
add esp, 0x10
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x9b8a
xor ecx, ecx
mov byte [ebp - 0x2a], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x11
jb 0x101783f0
lea ecx, [ebp - 0x3b]
mov byte [ebp - 0x2a], 0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10178420
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10179430
mov dword [esi + 0x14], 0
lea ecx, [esi + 4]
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 9
cmp ecx, eax
je 0x10178490
cmp dword [ebp - 0x4c], 0x10
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.10179430
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4c]
mov dword [esi + 0x1c], 0x1e
mov dword [esi + 0x20], 0x6c
mov dword [esi + 0x24], 0x64
mov dword [esi + 0x28], 0xa
mov dword [esi + 0x38], 0
mov dword [esi + 0x2c], 0x1000f65c
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0x40600000
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 9
mov byte [esi + 0x71], 1
cmp edx, 0x10
jb 0x10178514
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1017850a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1017850a
call dword [0x1000c18c]
push edx
push ecx
call fcn.10180ae8
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x14], esi
cmp eax, dword [edi + 0x38]
je 0x10178534
mov dword [eax], esi
add dword [edi + 0x34], 4
jmp 0x10178541
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.10179570
push 0x3c
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x3c
push 0
push esi
mov dword [ebp - 4], 0xa
call fcn.10181583
add esp, 0x10
mov byte [ebp - 0x1f], 0
mov ah, 0x7e
mov byte [ebp - 0x1f], 0
mov cl, 0x30
mov byte [ebp - 0x24], ah
mov dl, 0x38
mov al, 0x37
push 0
push 0xa0
push 0x12c
push 0xffffffffffffffff
mov bl, 0x31
xor cl, ah
xor dl, ah
mov byte [ebp - 0x22], cl
push 0xffffffffffffffff
xor al, ah
mov byte [ebp - 0x21], dl
xor bl, ah
mov byte [ebp - 0x23], al
sub esp, 0x18
mov byte [ebp - 0x20], bl
mov edx, esp
lea ecx, [ebp - 0x23]
lea edi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101785b6
sub ecx, edi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10179430
mov ecx, esi
call fcn.101796f0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
push 0x78
mov dword [ebp - 0x18], ebx
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x78
push 0
push esi
mov dword [ebp - 4], 0xb
call fcn.10181583
movaps xmm0, xmmword [0x1000c520]
add esp, 0x10
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0xd
xor ecx, ecx
push 0
push 0x59
push 0x1e
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x10
jb 0x10178617
sub esp, 0x18
mov byte [ebp - 0x2b], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
lea edi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10178644
sub ecx, edi
lea eax, [ebp - 0x3b]
push ecx
push eax
mov ecx, edx
call fcn.10179430
mov ecx, esi
call fcn.10177eb0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [eax + 0x74], ebx
mov ecx, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x38]
je 0x1017867d
mov dword [ecx], eax
add dword [ebx + 0x34], 4
jmp 0x1017868a
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebx + 0x30]
call fcn.10179570
push 0x78
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x24], esi
push 0x78
push 0
push esi
mov dword [ebp - 4], 0xc
call fcn.10181583
movaps xmm0, xmmword [0x1000c550]
add esp, 0x10
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0xf2f7fff1
xor ecx, ecx
mov word [ebp - 0x2c], 0x20ff
push 0
push 0x6c
push 0x1e
mov byte [ebp - 0x2a], 0
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x15
jb 0x101786d0
sub esp, 0x18
mov byte [ebp - 0x2a], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10178700
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10179430
mov ecx, esi
call fcn.10177eb0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [eax + 0x74], ebx
mov ecx, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x38]
je 0x1017873a
mov dword [ecx], eax
add dword [ebx + 0x34], 4
jmp 0x10178747
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebx + 0x30]
call fcn.10179570
push 0x78
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x24], esi
push 0x78
push 0
push esi
mov dword [ebp - 4], 0xd
call fcn.10181583
add esp, 0x10
push 0
push 0x7f
push 0x1e
sub esp, 0x18
mov ecx, esp
push 0xb
push 0x1000c2b0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10179430
mov ecx, esi
call fcn.10177eb0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [eax + 0x74], ebx
mov ecx, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x38]
je 0x101787b3
mov dword [ecx], eax
add dword [ebx + 0x34], 4
jmp 0x101787c0
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebx + 0x30]
call fcn.10179570
push 0x78
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x24], esi
push 0x78
push 0
push esi
mov dword [ebp - 4], 0xe
call fcn.10181583
add esp, 0x10
push 0
push 0x92
push 0x1e
sub esp, 0x18
mov ecx, esp
push 8
push 0x1000c2a4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10179430
mov ecx, esi
call fcn.10177eb0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [eax + 0x74], ebx
mov ecx, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x38]
je 0x1017882f
mov dword [ecx], eax
add dword [ebx + 0x34], 4
jmp 0x1017883c
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebx + 0x30]
call fcn.10179570
push 0x78
call fcn.1018079e
mov esi, eax
mov dword [ebp - 0x24], esi
push 0x78
push 0
push esi
mov dword [ebp - 4], 0xf
call fcn.10181583
add esp, 0x10
push 0
push 0xb8
push 0x1e
call dword [0x1000c1d0]
movd xmm1, eax
mov eax, dword [0x1000f758]
cvtdq2ps xmm1, xmm1
inc eax
mov dword [0x1000f758], eax
mulss xmm1, dword [0x1000c484]
movaps xmm0, xmm1
movss dword [0x1000f760], xmm1
subss xmm0, dword [0x1000f75c]
comiss xmm0, dword [0x1000c48c]
jbe 0x101788c6
push eax
push 0x1000c30c
push 0x1000f744
movss dword [0x1000f75c], xmm1
call fcn.1017cfc0
add esp, 0xc
mov dword [0x1000f758], 0
sub esp, 0x18
mov ecx, 0x1000f744
mov edx, esp
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101788e7
sub ecx, dword [ebp - 0x14]
push ecx
push 0x1000f744
mov ecx, edx
call fcn.10179430
mov ecx, esi
call fcn.10177eb0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [eax + 0x74], ebx
mov ecx, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x38]
je 0x10178922
mov dword [ecx], eax
add dword [ebx + 0x34], 4
jmp 0x1017892f
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebx + 0x30]
call fcn.10179570
mov eax, dword [0x1000f01c]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
cmp eax, dword [0x1000f020]
je 0x1017894d
mov dword [eax], esi
add dword [0x1000f01c], 4
jmp 0x1017895c
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, 0x1000f018
call fcn.10179570
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], ecx
mov eax, dword [edi + 0x5c]
cmp eax, dword [edi + 0x60]
je 0x10178975
mov dword [eax], ecx
add dword [edi + 0x5c], 4
jmp 0x10178982
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [edi + 0x58]
call fcn.10179570
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
cmp eax, dword [edi + 0x60]
je 0x10178998
mov dword [eax], ecx
add dword [edi + 0x5c], 4
jmp 0x101789a5
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [edi + 0x58]
call fcn.10179570
lea ecx, [esi + 0x30]
mov dword [edi + 0x74], esi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], edi
cmp eax, dword [ecx + 8]
je 0x101789be
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x101789c8
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.10179570
push 4
push esi
mov dword [0x1000f030], esi
mov dword [0x1000f038], esi
call dword [0x1000c088]
test eax, eax
sete byte [0x1000f03c]
mov dword [esi + 0x20], 0x41700000
mov dword [esi + 0x24], 0x41700000
mov byte [0x1000f024], 1
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.1018078d
mov esp, ebp
pop ebp
ret