Function at 0x10177dc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1032218f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
cmp byte [0x1060ed98], 0
je 0x101780aa
mov ecx, dword [0x1060b5e0]
mov eax, dword [ecx + 0xaa8]
test eax, eax
je 0x101780aa
cmp byte [eax + 0x25f], 0
jne 0x101780aa
mov ecx, dword [ecx + 0x6e34]
call fcn.100ce1f0
cmp eax, 0x40
jne 0x101780aa
mov eax, dword [0x1060b5e0]
push 0
mov ecx, dword [eax + 0x6e34]
call fcn.100c6fe0
test eax, eax
jle 0x101780aa
mov edx, dword [0x1060b5e0]
mov eax, dword [0x1060b290]
movd xmm1, dword [edx + 0xaf8]
mov ecx, dword [edx + 0xaa8]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x58], ecx
movss xmm0, dword [ecx + 0x2d70]
mulss xmm1, dword [eax + 0x20]
comiss xmm0, xmm1
ja 0x101780aa
mov eax, dword fs:[0x2c]
mov ecx, dword [0x104c14e0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10611928]
mov dword [ebp - 0x4c], ecx
cmp eax, dword [ecx + 4]
jg 0x101780c8
jmp 0x10177ec1
mov edx, dword [0x1060b5e0]
mov eax, dword [0x10611714]
mov ecx, dword [ebp - 0x58]
movss xmm2, dword [0x1041edc4]
mov ecx, dword [eax + ecx]
mov eax, dword [0x1060b290]
movd xmm3, ecx
divss xmm2, dword [eax + 0x20]
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm2
mulss xmm0, dword [0x1041ed18]
mulss xmm3, dword [eax + 0x20]
mov eax, dword [edx + 0xaa8]
addss xmm0, dword [0x1041ed50]
mulss xmm2, xmm3
movss dword [ebp - 0x48], xmm3
cvttss2si edi, xmm0
movss xmm0, dword [eax + 0x103c0]
addss xmm2, dword [0x1041ed50]
dec edi
ucomiss xmm0, dword [0x10611184]
cvttss2si esi, xmm2
lahf
test ah, 0x44
jnp 0x10177f4a
mov eax, esi
mov dword [0x10611180], esi
sub eax, edi
movss dword [0x10611184], xmm0
dec eax
mov dword [0x1061117c], eax
mov ecx, dword [edx + 0x6e34]
call fcn.100cec60
comiss xmm0, dword [ebp - 0x48]
jbe 0x10177f8a
mov eax, dword [0x1060b5e0]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax + 0x5528]
and dword [eax + 0x30], 0xfffffffe
mov eax, dword [0x1060b240]
cmp eax, dword [ecx + 4]
jg 0x1017840f
mov byte [0x104c1501], 0
jmp 0x101780aa
cmp dword [0x1061118c], esi
je 0x101780aa
mov edx, dword [ebp - 0x4c]
mov ecx, dword [0x1060b240]
mov dword [0x1061118c], esi
cmp ecx, dword [edx + 4]
jg 0x101784cc
jmp 0x10177fb6
mov edx, dword [ebp - 0x4c]
mov eax, esi
mov byte [0x104c1501], 0
sub eax, dword [0x1061117c]
sub eax, 3
cmp eax, 0xa
ja 0x10177fe0
cmp ecx, dword [edx + 4]
jg 0x10178598
mov byte [0x104c1501], 1
mov edx, dword [0x1060b5e0]
mov eax, dword [edx + 0x5528]
test byte [eax + 0x30], 1
je 0x10178016
mov eax, dword [ebp - 0x4c]
cmp ecx, dword [eax + 4]
jg 0x10178664
jmp 0x10178009
mov edx, dword [0x1060b5e0]
cmp byte [0x104c1501], 0
jne 0x101780aa
mov eax, dword [edx + 0x5528]
or dword [eax + 0x30], 1
mov ecx, dword [edx + 0x6e34]
call fcn.100ce8d0
movss xmm0, dword [eax]
comiss xmm0, dword [ebp - 0x48]
jb 0x10178047
mov eax, dword [0x1060b5e0]
mov eax, dword [eax + 0x5528]
or dword [eax + 0x30], 0x800
mov edx, dword [0x10611180]
lea eax, [edi*2 + 1]
mov ecx, esi
sub ecx, edx
cmp ecx, eax
jle 0x10178071
mov ecx, esi
mov edx, esi
sub ecx, edi
mov dword [0x10611180], edx
dec ecx
mov dword [0x1061117c], ecx
jmp 0x10178077
mov ecx, dword [0x1061117c]
mov eax, esi
sub eax, edx
mov dword [ebp - 0x58], eax
cmp eax, edi
jge 0x1017808a
mov eax, esi
sub eax, ecx
cmp eax, edi
jg 0x101780aa
mov eax, dword [0x1060b5e0]
mov dword [0x10611180], esi
mov eax, dword [eax + 0x5528]
and dword [eax + 0x30], 0xfffffffe
cmp dword [ebp - 0x58], edi
jl 0x101780aa
mov dword [0x1061117c], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x10611928
call fcn.102bba07
add esp, 4
cmp dword [0x10611928], 0xffffffff
jne 0x10177ebb
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
push 0xd
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x50], 1
call fcn.1001a120
mov esi, 0x103f6288
jmp 0x10178120
mov al, byte [esi]
lea ecx, [ebp - 0x2c]
xor al, 0xa5
mov byte [ebp - 0x48], al
push dword [ebp - 0x48]
call fcn.1001a280
add esi, 2
cmp esi, 0x103f629e
jne 0x10178120
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae eax, edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], eax
test esi, esi
je 0x10178212
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x10178212
sub edx, dword [ebp - 0x48]
cmp edx, 0xffffffff
je 0x10178212
jmp 0x10178180
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edi
setae cl
add edx, eax
lea eax, [ebp - 0x2c]
test cl, cl
je 0x101781ab
sub edx, edi
mov eax, esi
sub eax, edx
mov edi, 1
cmp eax, edi
cmovb edi, eax
mov eax, dword [ebp - 0x50]
jmp 0x101781c0
sub edx, eax
mov edi, 1
mov eax, esi
sub eax, edx
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 0x2c]
jmp 0x101781c0
lea ecx, [eax + edx]
sub esi, edi
mov eax, esi
sub eax, edx
inc eax
push eax
lea eax, [ecx + edi]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x50], edi
cmovae eax, edi
mov dword [ebp - 0x48], eax
test esi, esi
je 0x10178212
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x10178212
sub edx, dword [ebp - 0x48]
cmp edx, 0xffffffff
jne 0x10178180
jmp 0x10178212
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edi
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov esi, 0x103f6844
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x50], 3
jmp 0x10178250
mov al, byte [esi]
lea ecx, [ebp - 0x44]
xor al, 0xa5
mov byte [ebp - 0x48], al
push dword [ebp - 0x48]
call fcn.1001a280
add esi, 2
cmp esi, 0x103f685e
jne 0x10178250
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x34]
cmovae eax, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x54], eax
test esi, esi
je 0x10178342
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x10178342
sub edx, dword [ebp - 0x54]
cmp edx, 0xffffffff
je 0x10178342
jmp 0x101782b0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, edi
setae cl
add edx, eax
lea eax, [ebp - 0x44]
test cl, cl
je 0x101782db
sub edx, edi
mov eax, esi
sub eax, edx
mov edi, 1
cmp eax, edi
cmovb edi, eax
mov eax, dword [ebp - 0x48]
jmp 0x101782f0
sub edx, eax
mov edi, 1
mov eax, esi
sub eax, edx
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 0x44]
jmp 0x101782f0
lea ecx, [eax + edx]
sub esi, edi
mov eax, esi
sub eax, edx
inc eax
push eax
lea eax, [ecx + edi]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x48], edi
cmovae eax, edi
mov dword [ebp - 0x54], eax
test esi, esi
je 0x10178342
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x10178342
sub edx, dword [ebp - 0x54]
cmp edx, 0xffffffff
jne 0x101782b0
jmp 0x10178342
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push 0
push dword [ebp - 0x5c]
cmovae eax, edi
push eax
call fcn.10171b70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
mov dword [0x10611714], eax
cmp ecx, 0x10
jb 0x10178394
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10178388
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101783d2
jmp 0x10178388
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x10178394
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x101783e4
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101783d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101783d8
jmp 0x101783d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x101783e4
push 0x10611928
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.102bb9b6
add esp, 4
jmp 0x10177ebb
push 0x1060b240
call fcn.102bba07
add esp, 4
cmp dword [0x1060b240], 0xffffffff
jne 0x10177f7e
push 0x1484d0
push 0
push 0x104c1510
mov dword [0x104c1500], 0
mov byte [0x104c1504], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push fcn.10015de0
push fcn.1001d010
push 0x41
push 0x50d0
push 0x104c1510
call fcn.102bbee9
push 0x44
xorps xmm0, xmm0
mov dword [0x106099e0], 0xffffffff
push 0
push 0x106099f8
movq qword [0x106099e4], xmm0
mov dword [0x106099f4], 0
mov dword [0x106099f0], 0
mov dword [0x106099ec], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1032ef30
call fcn.102bbda4
add esp, 4
push 0x1060b240
call fcn.102bb9b6
add esp, 4
jmp 0x10177f7e
push 0x1060b240
call fcn.102bba07
mov ecx, dword [0x1060b240]
add esp, 4
cmp ecx, 0xffffffff
jne 0x10177fb3
push 0x1484d0
push 0
push 0x104c1510
mov dword [0x104c1500], 0
mov byte [0x104c1504], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push fcn.10015de0
push fcn.1001d010
push 0x41
push 0x50d0
push 0x104c1510
call fcn.102bbee9
push 0x44
xorps xmm0, xmm0
mov dword [0x106099e0], 0xffffffff
push 0
push 0x106099f8
movq qword [0x106099e4], xmm0
mov dword [0x106099f4], 0
mov dword [0x106099f0], 0
mov dword [0x106099ec], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
push 0x1032ef30
call fcn.102bbda4
add esp, 4
push 0x1060b240
call fcn.102bb9b6
mov ecx, dword [0x1060b240]
add esp, 4
jmp 0x10177fb3
push 0x1060b240
call fcn.102bba07
mov ecx, dword [0x1060b240]
add esp, 4
cmp ecx, 0xffffffff
jne 0x10177fd9
push 0x1484d0
push 0
push 0x104c1510
mov dword [0x104c1500], 0
mov byte [0x104c1504], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push fcn.10015de0
push fcn.1001d010
push 0x41
push 0x50d0
push 0x104c1510
call fcn.102bbee9
push 0x44
xorps xmm0, xmm0
mov dword [0x106099e0], 0xffffffff
push 0
push 0x106099f8
movq qword [0x106099e4], xmm0
mov dword [0x106099f4], 0
mov dword [0x106099f0], 0
mov dword [0x106099ec], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
push 0x1032ef30
call fcn.102bbda4
add esp, 4
push 0x1060b240
call fcn.102bb9b6
mov ecx, dword [0x1060b240]
add esp, 4
jmp 0x10177fd9
push 0x1060b240
call fcn.102bba07
add esp, 4
cmp dword [0x1060b240], 0xffffffff
jne 0x10178003
push 0x1484d0
push 0
push 0x104c1510
mov dword [0x104c1500], 0
mov byte [0x104c1504], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push fcn.10015de0
push fcn.1001d010
push 0x41
push 0x50d0
push 0x104c1510
call fcn.102bbee9
push 0x44
xorps xmm0, xmm0
mov dword [0x106099e0], 0xffffffff
push 0
push 0x106099f8
movq qword [0x106099e4], xmm0
mov dword [0x106099f4], 0
mov dword [0x106099f0], 0
mov dword [0x106099ec], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
push 0x1032ef30
call fcn.102bbda4
add esp, 4
push 0x1060b240
call fcn.102bb9b6
add esp, 4
jmp 0x10178003