Function at 0x1000f8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], edi
movzx eax, byte [esi]
cmp eax, 8
ja case.default.0x1000f8e4
jmp dword [eax*4 + 0x100100f0]
mov eax, dword [esi + 8]
mov ecx, dword [edi]
cmp dword [eax + 4], 0
mov edx, dword [ecx]
jne 0x1000f90a
push 2
push 0x100855a4
call dword [edx + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0xc], 0
je 0x1000faf8
push 2
push 0x100855a8
call dword [edx + 4]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x18]
mov edx, dword [edi + 0x260]
cmp edx, eax
jae 0x1000f962
lea eax, [edx + edx]
lea ecx, [edi + 0x250]
lea edx, [ecx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [edx]
cmp eax, edx
ja 0x1000f958
cmp dword [ecx + 0x14], 0x10
jb 0x1000f94c
mov ecx, dword [ecx]
mov edx, dword [esp + 8]
mov dword [edx], eax
mov byte [ecx + eax], 0
jmp 0x1000f962
push 0x20
sub eax, edx
push eax
call fcn.10010ad0
mov eax, dword [esi + 8]
mov dword [esp + 0x10], 0
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov esi, dword [esi]
sub eax, 1
je 0x1000fa55
lea ecx, [edi + 0x250]
cmp dword [ecx + 0x14], 0x10
mov edx, dword [edi]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov eax, ecx
jb 0x1000f998
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp + 0x18]
push ecx
push eax
mov ecx, edx
call dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push 0x22
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax]
push ecx
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.10011000
mov ecx, dword [edi]
push 3
push 0x100855ac
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
add eax, ecx
push eax
push ecx
push 0
push 1
lea eax, [esi + 0x28]
mov ecx, edi
push eax
call fcn.1000f8c0
mov ecx, dword [edi]
push 2
push 0x100855b0
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
cmp byte [eax + 0xd], 0
je 0x1000fa24
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1000fa20
nop
cmp esi, dword [eax + 8]
jne 0x1000fa20
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1000fa10
mov esi, eax
jmp 0x1000fa3c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1000fa3c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1000fa30
mov eax, dword [esp + 0xc]
lea ecx, [edi + 0x250]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
dec eax
cmp edx, eax
jb 0x1000f983
cmp dword [edi + 0x264], 0x10
lea edx, [edi + 0x250]
mov eax, dword [edi]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
jb 0x1000fa75
mov edx, dword [edi + 0x250]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x1c]
push eax
push edx
mov ecx, dword [edi]
call dword [esp + 0x10]
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
push ecx
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.10011000
mov ecx, dword [edi]
push 3
push 0x100855ac
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x14]
add esi, 0x28
mov eax, dword [ebp + 0x18]
add eax, ecx
push eax
push ecx
push 0
push 1
push esi
mov ecx, edi
call fcn.1000f8c0
mov ecx, dword [edi]
push 0xa
mov eax, dword [ecx]
call dword [eax]
cmp dword [edi + 0x264], 0x10
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edi + 0x250]
jb 0x1000fae2
mov eax, dword [eax]
push dword [ebp + 0x18]
push eax
call edx
mov ecx, dword [edi]
push 0x7d
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0x7b
call dword [edx]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], 0
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov esi, dword [esi]
sub eax, 1
je 0x1000fbaf
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
push ecx
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.10011000
mov ecx, dword [edi]
push 2
push 0x100855b4
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0x18]
lea eax, [esi + 0x28]
mov ecx, edi
push dword [ebp + 0x14]
push 0
push 0
push eax
call fcn.1000f8c0
mov ecx, dword [edi]
push 0x2c
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
cmp byte [eax + 0xd], 0
je 0x1000fb85
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1000fb81
cmp esi, dword [eax + 8]
jne 0x1000fb81
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1000fb71
mov esi, eax
jmp 0x1000fb9c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1000fb9c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1000fb90
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
dec eax
cmp edx, eax
jb 0x1000fb17
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
push ecx
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.10011000
mov ecx, dword [edi]
push 2
push 0x100855b4
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0x18]
add esi, 0x28
mov ecx, edi
push dword [ebp + 0x14]
push 0
push 0
push esi
call fcn.1000f8c0
mov ecx, dword [edi]
push 0x7d
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esi + 8]
mov ecx, dword [edi]
mov eax, dword [edx]
cmp eax, dword [edx + 4]
jne 0x1000fc16
mov eax, dword [ecx]
push 2
push 0x100855b8
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0xc], 0
mov eax, dword [ecx]
je 0x1000fd6d
push 2
push 0x100855bc
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x18]
mov edx, dword [edi + 0x260]
cmp edx, eax
jae 0x1000fc70
lea eax, [edx + edx]
lea ecx, [edi + 0x250]
lea edx, [ecx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [edx]
cmp eax, edx
ja 0x1000fc66
cmp dword [ecx + 0x14], 0x10
jb 0x1000fc5a
mov ecx, dword [ecx]
mov edx, dword [esp + 8]
mov dword [edx], eax
mov byte [ecx + eax], 0
jmp 0x1000fc70
push 0x20
sub eax, edx
push eax
call fcn.10010ad0
mov eax, dword [esi + 8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, 0x10
cmp esi, eax
je 0x1000fcea
lea ecx, [edi + 0x250]
cmp dword [ecx + 0x14], 0x10
mov edx, dword [edi]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov eax, ecx
jb 0x1000fc9a
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp + 0x18]
push ecx
push eax
mov ecx, edx
call dword [esp + 0x20]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x1c]
add eax, ecx
push eax
push ecx
push 0
push 1
push esi
mov ecx, edi
call fcn.1000f8c0
mov ecx, dword [edi]
push 2
push 0x100855b0
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0xc]
lea ecx, [edi + 0x250]
add esi, 0x10
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
sub eax, 0x10
cmp esi, eax
jne 0x1000fc85
cmp dword [edi + 0x264], 0x10
lea edx, [edi + 0x250]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
jb 0x1000fd0a
mov edx, dword [edi + 0x250]
mov esi, dword [ebp + 0x14]
add esi, dword [ebp + 0x18]
push esi
push edx
call dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov ecx, edi
push esi
push dword [ebp + 0x14]
mov eax, dword [eax + 8]
push 0
push 1
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.1000f8c0
mov ecx, dword [edi]
push 0xa
mov eax, dword [ecx]
call dword [eax]
cmp dword [edi + 0x264], 0x10
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edi + 0x250]
jb 0x1000fd57
mov eax, dword [eax]
push dword [ebp + 0x18]
push eax
call edx
mov ecx, dword [edi]
push 0x5d
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0x5b
call dword [eax]
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
sub eax, 0x10
cmp esi, eax
mov eax, dword [ebp + 0x18]
je 0x1000fdb6
push eax
push edx
push 0
push 0
push esi
mov ecx, edi
call fcn.1000f8c0
mov ecx, dword [edi]
push 0x2c
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esp + 0xc]
add esi, 0x10
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
sub eax, 0x10
cmp esi, eax
mov eax, dword [ebp + 0x18]
jne 0x1000fd86
push eax
mov eax, dword [ecx + 4]
mov ecx, edi
push edx
push 0
push 0
sub eax, 0x10
push eax
call fcn.1000f8c0
mov ecx, dword [edi]
push 0x5d
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
push ecx
push dword [esi + 8]
mov ecx, edi
call fcn.10011000
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp byte [esi + 8], 0
mov ecx, dword [edi]
mov eax, dword [ecx]
je 0x1000fe19
push 4
push str.true
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 5
push str.false
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 8]
mov eax, ecx
mov esi, dword [esi + 0xc]
or eax, esi
jne 0x1000fe47
mov ecx, dword [edi]
push 0x30
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
test esi, esi
jg 0x1000fe58
jl 0x1000fe51
test ecx, ecx
jne 0x1000fe58
mov byte [esp + 0x17], 1
jmp 0x1000fe5d
mov byte [esp + 0x17], 0
lea eax, [edi + 8]
xor edx, edx
mov dword [esp + 0xc], edx
mov edi, ecx
mov dword [esp + 0x10], eax
nop dword [eax]
push 0
push 0xa
push esi
push edi
call fcn.1007cbb0
mov esi, eax
mov dword [esp + 8], edx
lea ecx, [esi + esi*4]
add ecx, ecx
sub edi, ecx
mov ecx, dword [esp + 0xc]
mov eax, edi
inc ecx
cdq
mov edi, esi
mov esi, dword [esp + 8]
xor eax, edx
sub eax, edx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x10]
add al, 0x30
mov byte [edx], al
inc edx
mov eax, edi
mov dword [esp + 0x10], edx
or eax, esi
jne 0x1000fe70
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x17], al
je 0x1000fec5
mov byte [ecx + edi + 8], 0x2d
inc ecx
mov dword [esp + 0xc], ecx
lea esi, [edi + 8]
lea eax, [ecx + esi]
push eax
push esi
call fcn.1007b875
mov ecx, dword [edi]
add esp, 8
mov edx, dword [esp + 0xc]
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
je 0x1000fe37
lea eax, [edi + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
mov eax, edx
mov esi, 0xcccccccd
mul esi
lea edi, [esi - 1]
mov dword [esp + 0x28], eax
mov esi, edx
mov eax, dword [esp + 0x10]
mul edi
mov edi, eax
mov dword [esp + 0x34], edx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
mov ecx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0xc]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0xc]
adc edx, 0
add edi, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x34]
adc ecx, 0
mov dword [esp + 0x38], edi
xor eax, eax
mov edi, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [esp + 0x28]
adc eax, eax
add ecx, edx
mov edx, dword [esp + 0x10]
adc esi, eax
inc edi
shrd ecx, esi, 3
mov dword [esp + 0x18], edi
shr esi, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 8]
add al, 0x30
mov byte [edx], al
inc edx
mov dword [esp + 8], edx
mov edx, ecx
mov eax, edx
mov ecx, esi
or eax, esi
jne 0x1000ff15
mov esi, dword [esp + 0x20]
lea eax, [edi + esi]
push eax
push esi
call fcn.1007b875
mov ecx, dword [esp + 0x24]
add esp, 8
mov ecx, dword [ecx]
push edi
push esi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
movsd xmm0, qword [esi + 8]
sub esp, 8
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
movsd qword [esp + 0x28], xmm0
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll__dclass
add esp, 8
test ax, ax
jg case.0x1000f8e4.0
movsd xmm0, qword [esp + 0x20]
lea esi, [edi + 8]
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dsign]
movsd xmm0, qword [esp + 0x28]
add esp, 8
test eax, eax
je 0x10010046
xorps xmm0, xmmword [0x10090a70]
lea esi, [edi + 9]
mov byte [edi + 8], 0x2d
ucomisd xmm0, qword [0x1008d508]
lahf
test ah, 0x44
jp 0x10010076
mov word [esi], 0x2e30
lea eax, [edi + 8]
mov byte [esi + 2], 0x30
add esi, 3
mov ecx, dword [edi]
sub esi, eax
push esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
lea eax, [esp + 8]
mov dword [esp + 0x18], 0
push eax
movaps xmm3, xmm0
mov dword [esp + 0xc], 0
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.10015280
mov edx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x10]
mov ecx, esi
call fcn.1000c780
mov ecx, dword [edi]
add esp, 0xc
mov esi, eax
lea eax, [edi + 8]
sub esi, eax
mov edx, dword [ecx]
push esi
push eax
call dword [edx + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [edi]
push 0xb
push str._discarded_
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [edi]
push 4
push str.null
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14