Function at 0x100e9640
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x1c]
mov eax, 0x410
mov word [esp + 0xc], ax
mov eax, dword [esp + 0x20]
mov ecx, 0x45f3
mov word [esp + 0xe], cx
lea ecx, [edi + eax - 4]
mov eax, dword [esi + 4]
push 0
push ecx
mov ecx, dword [edx + 8]
push eax
mov dword [esp + 0x14], 0xffffffff
call ecx
push esi
call fcn.100d8280
mov edx, dword [esi]
mov ecx, dword [edx + 8]
add eax, edi
push 0
push eax
mov eax, dword [esi + 4]
push eax
call ecx
push esi
call fcn.100d81e0
movzx eax, ax
add esp, 0x20
cmp eax, 0x64
jg 0x100e9d40
test eax, eax
je 0x100e9d40
push ebx
push ebp
jmp 0x100e96ba
mov eax, dword [esp + 0x20]
dec eax
push esi
mov dword [esp + 0x24], eax
call fcn.100d81e0
push esi
movzx edi, ax
call fcn.100d8280
mov edx, dword [esi]
mov ecx, dword [edx + 0x18]
mov ebx, eax
mov eax, dword [esi + 4]
push eax
call ecx
mov ebp, dword [esi]
add esp, 0xc
add eax, 4
push 0
push esi
mov dword [esp + 0x20], eax
add ebp, 8
call fcn.100d8280
add eax, dword [esp + 0x2c]
mov edx, dword [esi + 4]
add esp, 4
push eax
mov eax, dword [ebp]
push edx
call eax
mov ecx, edi
sar ecx, 8
add ecx, 8
or ecx, 8
add esp, 0xc
cmp ecx, 0x38
jne 0x100e972f
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x18]
push ebx
push eax
call ecx
add esp, 4
push eax
push esi
call fcn.100e9640
add esp, 0xc
cmp edi, 0x810
jne 0x100e9754
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [edx]
push 1
push 0x40
lea eax, [esi + 0x6515]
push eax
push ecx
call edx
add esp, 0x10
jmp 0x100e9d1e
cmp edi, 0x80a
jne 0x100e97b7
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push 0x40
lea edi, [esi + 0x6455]
push edi
push ecx
call edx
mov eax, edi
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100e9780
mov ecx, dword [esi]
sub eax, edx
mov edx, dword [esi + 4]
add eax, 0xffffffc1
push 1
push eax
mov eax, dword [ecx + 8]
push edx
call eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [ecx]
push 1
push 0x40
lea edx, [esi + 0x6495]
push edx
push eax
call ecx
add esp, 0x1c
jmp 0x100e9d1e
cmp edi, 0x1810
jne 0x100e97e2
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 8]
push 1
push 0xc
push eax
call ecx
push esi
call fcn.100d8280
add esp, 0x10
mov dword [esi + 0x6614], eax
jmp 0x100e9d1e
cmp edi, 0x1835
jne 0x100e97fe
push esi
call fcn.100d8280
add esp, 4
mov dword [esi + 0x65c4], eax
jmp 0x100e9d1e
cmp edi, 0x2007
jne 0x100e9825
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x18]
push eax
call ecx
add esp, 4
mov dword [esi + 0x6594], eax
mov dword [esi + 0x65a0], ebx
jmp 0x100e9d1e
cmp edi, 0x1818
jne 0x100e9884
push esi
call fcn.100d8280
push esi
call fcn.100d8280
push eax
call fcn.100d82f0
fchs
fld qword [0x1026c020]
add esp, 0xc
fxch st(1)
call fcn.1010d9f0
fstp dword [esi + 0x6564]
push esi
call fcn.100d8280
push eax
call fcn.100d82f0
fmul qword [0x1026bd40]
fld qword [0x1026c020]
add esp, 8
fxch st(1)
call fcn.1010d9f0
fstp dword [esi + 0x6568]
jmp 0x100e9d1e
cmp edi, 0x102a
jne 0x100e99a8
push esi
call fcn.100d8280
push esi
call fcn.100d81e0
movzx edx, ax
mov dword [esp + 0x30], edx
add esp, 8
fild dword [esp + 0x28]
fmul qword [0x101d0810]
fsub qword [0x1026c050]
fld qword [0x1026c020]
fxch st(1)
call fcn.1010d9f0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
push esi
fmul qword [0x1026bdd8]
fstp dword [esi + 0x6560]
call fcn.100d81e0
push esi
call fcn.100d81e0
cwde
mov dword [esp + 0x30], eax
add esp, 8
fild dword [esp + 0x28]
fmul qword [0x101d0808]
fld qword [0x1026c020]
fxch st(1)
call fcn.1010d9f0
fstp dword [esi + 0x6568]
push esi
call fcn.100d81e0
movsx ecx, ax
neg ecx
mov dword [esp + 0x2c], ecx
add esp, 4
fild dword [esp + 0x28]
fmul qword [0x101d0810]
fld qword [0x1026c020]
fxch st(1)
call fcn.1010d9f0
fstp dword [esi + 0x6564]
push esi
call fcn.100d81e0
push esi
call fcn.100d81e0
movzx eax, ax
add esp, 8
cmp eax, 0x11
mov dword [esp + 0x10], eax
jle 0x100e995a
mov dword [esp + 0x10], 0
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 8]
push 1
push 0x20
push eax
call ecx
fld dword [esi + 0x6564]
fcomp qword [0x101d0a00]
add esp, 0xc
fnstsw ax
test ah, 0x41
jne 0x100e9d1e
push esi
call fcn.100d81e0
movzx edx, ax
mov dword [esp + 0x2c], edx
add esp, 4
fild dword [esp + 0x28]
fdiv qword [0x1026be20]
fstp dword [esi + 0x6564]
jmp 0x100e9d1e
cmp edi, 0x102c
jne 0x100e9a4f
push esi
call fcn.100d81e0
add esp, 4
mov ecx, 0x200
push 1
cmp ax, cx
jbe 0x100e9a0b
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 8]
push 0x76
push eax
call ecx
add esp, 0xc
xor edi, edi
jmp 0x100e99e0
push esi
call fcn.100d81e0
movzx edx, ax
mov dword [esp + 0x2c], edx
mov eax, edi
xor eax, 2
fild dword [esp + 0x2c]
inc edi
add esp, 4
cmp edi, 4
fstp dword [esi + eax*4 + 0xe6c4]
jl 0x100e99e0
jmp 0x100e9d1e
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [ecx + 8]
push 0x62
push edx
call eax
add esp, 0xc
xor edi, edi
lea ecx, [ecx]
push esi
call fcn.100d81e0
mov edx, edi
movzx ecx, ax
xor edx, 2
sar edx, 1
mov dword [esp + 0x2c], ecx
xor edx, edi
inc edi
fild dword [esp + 0x2c]
add esp, 4
cmp edi, 4
fstp dword [esi + edx*4 + 0xe6c4]
jl 0x100e9a20
jmp 0x100e9d1e
cmp edi, 0x32
jne 0x100e9b89
cmp ebx, 0x300
jne 0x100e9ac5
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 8]
push 1
push 0x48
push ecx
call edx
add esp, 0xc
xor edi, edi
push esi
call fcn.100d81e0
movzx eax, ax
mov dword [esp + 0x2c], eax
mov ecx, edi
sar ecx, 1
fild dword [esp + 0x2c]
xor ecx, edi
inc edi
add esp, 4
cmp edi, 4
fdivr qword [0x101d09f8]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esi + ecx*4 + 0xe6c4]
jl 0x100e9a74
cmp dword [esp + 0x10], 0
jne 0x100e9d1e
fld dword [0x101cc2b8]
fstp dword [esi + 0xe6c4]
jmp 0x100e9d1e
fldz
fcomp dword [esi + 0xe6c4]
fnstsw ax
test ah, 0x44
jp 0x100e9d1e
push esi
call fcn.100d81e0
add esp, 4
cmp ax, word [esp + 0x14]
jne 0x100e9b17
lea edx, [esi + 0x6495]
push str.Pro1
push edx
call fcn.10106e60
add esp, 8
test eax, eax
mov eax, str.012346000000000000
jne 0x100e9b0a
mov eax, str.01345:000000006008
mov ecx, dword [esp + 0x10]
movsx eax, byte [eax + ecx]
sub eax, 0x2e
jmp 0x100e9b33
mov edx, dword [esp + 0x10]
movsx eax, byte [edx + str.023457000000006000]
xor ecx, ecx
sub eax, 0x30
xor edx, edx
mov word [esp + 0x16], cx
mov word [esp + 0x14], dx
mov ecx, dword [esi]
mov ecx, dword [ecx + 8]
lea edx, [eax*8 + 0x4e]
mov eax, dword [esi + 4]
push 1
push edx
push eax
call ecx
add esp, 0xc
xor edi, edi
lea ecx, [ecx]
push esi
call fcn.100d81e0
mov edx, edi
and edx, 1
xor ax, word [esp + edx*2 + 0x18]
mov ecx, edi
movzx eax, ax
xor ecx, 2
sar ecx, 1
mov dword [esp + 0x2c], eax
xor ecx, edi
inc edi
fild dword [esp + 0x2c]
add esp, 4
cmp edi, 4
fstp dword [esi + ecx*4 + 0xe6c4]
jl 0x100e9b50
jmp 0x100e9aa9
cmp edi, 0x10a9
jne 0x100e9bf2
cmp ebx, 0x42
jle 0x100e9ba8
mov edx, dword [esp + 0x10]
movsx eax, byte [edx + 0x101d09a8]
sub eax, 0x30
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esi]
lea eax, [edx*8 + 2]
mov edx, dword [esi + 4]
push 1
push eax
mov eax, dword [ecx + 8]
push edx
call eax
add esp, 0xc
xor edi, edi
push esi
call fcn.100d81e0
movzx ecx, ax
mov edx, edi
sar edx, 1
mov dword [esp + 0x2c], ecx
xor edx, edi
inc edi
fild dword [esp + 0x2c]
add esp, 4
cmp edi, 4
fstp dword [esi + edx*4 + 0xe6c4]
jl 0x100e9bc6
jmp 0x100e9d1e
cmp edi, 0x1030
jne 0x100e9c1b
mov ecx, dword [esp + 0x10]
mov eax, 0x18040
sar eax, cl
test al, 1
je 0x100e9d1e
push esi
call fcn.100e9550
add esp, 4
jmp 0x100e9d1e
cmp edi, 0x1031
jne 0x100e9c4b
push esi
call fcn.100d81e0
push esi
call fcn.100d81e0
push esi
mov word [esi + 0x65fe], ax
call fcn.100d81e0
add esp, 0xc
mov word [esi + 0x65fc], ax
jmp 0x100e9d1e
cmp edi, 0x5029
jne 0x100e9c8e
mov ecx, ebx
sar ecx, 0x10
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
and ebx, 0xffff
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fst dword [esi + 0x656c]
cmp ebx, 2
jne 0x100e9d1c
fmul qword [0x101d0810]
fstp dword [esi + 0x656c]
jmp 0x100e9d1e
cmp edi, 0x5813
jne 0x100e9ca7
push ebx
call fcn.100d82f0
fstp dword [esi + 0x6558]
add esp, 4
jmp 0x100e9d1e
cmp edi, 0x5814
jne 0x100e9cc0
push ebx
call fcn.100d82f0
fstp dword [esi + 0x655c]
add esp, 4
jmp 0x100e9d1e
cmp edi, 0x5817
jne 0x100e9cd0
mov dword [esi + 0x6578], ebx
jmp 0x100e9d1e
cmp edi, 0x5834
jne 0x100e9ce0
mov dword [esi + 0x6588], ebx
jmp 0x100e9d1e
cmp edi, 0x580e
jne 0x100e9cf9
mov eax, ebx
cdq
mov dword [esi + 0x6570], eax
mov dword [esi + 0x6574], edx
jmp 0x100e9d1e
cmp edi, 0x180e
jne 0x100e9d1e
push esi
call fcn.100d8280
add esp, 4
mov dword [esi + 0x6570], eax
mov dword [esi + 0x6574], 0
jmp 0x100e9d1e
fstp st(0)
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [edx + 8]
push 0
push eax
push ecx
call edx
add esp, 0xc
cmp dword [esp + 0x20], 0
jne 0x100e96b6
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xc
ret