Function at 0x1010e08c
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x10240c80]
push ebx
push ebp
push esi
cmp byte [eax + 0x3518], 0
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
je case.0x1010e071.0
mov edx, dword [eax + 0x3520]
add eax, 0x3520
cmp edx, 3
ja case.0x1010e071.0
jmp dword [edx*4 + 0x1010e3fc]
mov ecx, eax
call fcn.100c8ba0
jmp 0x1010e084
mov al, byte [eax + 0x20]
test al, al
je case.0x1010e071.0
mov eax, dword [0x10242574]
mov ecx, dword [eax]
test ecx, ecx
je case.0x1010e071.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je case.0x1010e071.0
test byte [0x104691b4], 1
jne case.0x1010e071.0
mov eax, dword [0x10242574]
mov ecx, dword [0x10241d9c]
mov esi, dword [eax]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov ecx, dword [0x1024c138]
cmp ecx, dword [edi + 4]
jle 0x1010e124
push 0x1024c138
call fcn.101b633d
mov ecx, dword [0x1024c138]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010e124
mov edx, 0xc60bf9f2
mov ecx, 0x10204f11
call fcn.1007d300
mov ecx, eax
call fcn.100ce970
push 0x1024c138
mov dword [0x1024c11c], eax
call fcn.101b62ec
mov ecx, dword [0x1024c138]
add esp, 4
mov eax, dword [0x1024c11c]
cmp dword [eax + esi + 1], 8
je case.0x1010e071.0
mov eax, dword [0x10242574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010e181
push 0x1024c138
call fcn.101b633d
add esp, 4
cmp dword [0x1024c138], 0xffffffff
jne 0x1010e181
mov edx, 0xc60bf9f2
mov ecx, 0x10204f11
call fcn.1007d300
mov ecx, eax
call fcn.100ce970
push 0x1024c138
mov dword [0x1024c11c], eax
call fcn.101b62ec
add esp, 4
mov eax, dword [0x1024c11c]
cmp dword [eax + esi + 1], 9
je case.0x1010e071.0
mov eax, dword [0x10240c88]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x10240c7c]
push 0
mov eax, dword [eax + 0x180]
call eax
mov eax, dword [0x10240c80]
xor ebp, ebp
cmp dword [eax + 0x351c], ebp
jle 0x1010e3b9
mov ecx, ebx
lea ebx, [ecx + 0x30]
mov esi, dword [ebx]
mov eax, esi
or eax, 4
mov dword [ebx], eax
call fcn.100996e0
mov dword [ebx], esi
mov eax, dword [0x10242574]
mov ecx, dword [0x102426ec]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010e230
push 0x102426ec
call fcn.101b633d
mov ecx, dword [0x102426ec]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010e230
mov edx, 0xc60bf9f2
mov ecx, 0x1020460d
call fcn.1007d300
mov ecx, eax
call fcn.100ce970
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b62ec
mov ecx, dword [0x102426ec]
add esp, 4
mov eax, dword [0x10242640]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x10215628]
lahf
test ah, 0x44
jnp 0x1010e322
mov eax, dword [0x10242574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010e2a1
push 0x102426ec
call fcn.101b633d
mov ecx, dword [0x102426ec]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010e2a1
mov edx, 0xc60bf9f2
mov ecx, 0x1020460d
call fcn.1007d300
mov ecx, eax
call fcn.100ce970
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b62ec
mov ecx, dword [0x102426ec]
add esp, 4
mov eax, dword [0x10242640]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x10215624]
lahf
test ah, 0x44
jnp 0x1010e322
mov eax, dword [0x10242574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010e306
push 0x102426ec
call fcn.101b633d
add esp, 4
cmp dword [0x102426ec], 0xffffffff
jne 0x1010e306
mov edx, 0xc60bf9f2
mov ecx, 0x1020460d
call fcn.1007d300
mov ecx, eax
call fcn.100ce970
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b62ec
add esp, 4
mov eax, dword [0x10242640]
movss xmm0, dword [eax + esi + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, qword [0x10215608]
lahf
test ah, 0x44
jp 0x1010e391
mov eax, dword [0x10242574]
mov ecx, dword [eax]
call fcn.1007d6d0
test byte [eax], 1
jne 0x1010e391
mov eax, dword [0x10242574]
mov esi, dword [eax]
mov eax, dword [0x1024c138]
cmp eax, dword [edi + 4]
jle 0x1010e385
push 0x1024c138
call fcn.101b633d
add esp, 4
cmp dword [0x1024c138], 0xffffffff
jne 0x1010e385
mov edx, 0xc60bf9f2
mov ecx, 0x10204f11
call fcn.1007d300
mov ecx, eax
call fcn.100ce970
push 0x1024c138
mov dword [0x1024c11c], eax
call fcn.101b62ec
add esp, 4
mov eax, dword [0x1024c11c]
cmp dword [eax + esi + 1], 9
jne 0x1010e3b0
mov eax, dword [0x10240c80]
xor cl, cl
inc ebp
mov byte [0x104694f9], cl
cmp ebp, dword [eax + 0x351c]
jge 0x1010e3c2
mov ecx, dword [esp + 0x10]
jmp 0x1010e1c5
mov byte [0x104694f9], 1
jmp 0x1010e3c6
mov cl, byte [0x104694f9]
add ebx, 0x30
test cl, cl
je 0x1010e3c9
or dword [ebx], 4
mov eax, dword [0x10240c88]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x10240c7c]
push 0
mov eax, dword [eax + 0x180]
call eax
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.100996e0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret