Function at 0x1010d72c
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x1023fc80]
push ebx
push ebp
push esi
cmp byte [eax + 0x3528], 0
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
je case.0x1010d711.0
mov edx, dword [eax + 0x3530]
add eax, 0x3530
cmp edx, 3
ja case.0x1010d711.0
jmp dword [edx*4 + 0x1010da9c]
mov ecx, eax
call fcn.100c8dc0
jmp 0x1010d724
mov al, byte [eax + 0x20]
test al, al
je case.0x1010d711.0
mov eax, dword [0x10241574]
mov ecx, dword [eax]
test ecx, ecx
je case.0x1010d711.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je case.0x1010d711.0
test byte [0x104681bc], 1
jne case.0x1010d711.0
mov eax, dword [0x10241574]
mov ecx, dword [0x10240d9c]
mov esi, dword [eax]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov ecx, dword [0x1024b13c]
cmp ecx, dword [edi + 4]
jle 0x1010d7c4
push 0x1024b13c
call fcn.101b5d2d
mov ecx, dword [0x1024b13c]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010d7c4
mov edx, 0xc60bf9f2
mov ecx, 0x10203f51
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x1024b13c
mov dword [0x1024b118], eax
call fcn.101b5cdc
mov ecx, dword [0x1024b13c]
add esp, 4
mov eax, dword [0x1024b118]
cmp dword [eax + esi + 1], 8
je case.0x1010d711.0
mov eax, dword [0x10241574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010d821
push 0x1024b13c
call fcn.101b5d2d
add esp, 4
cmp dword [0x1024b13c], 0xffffffff
jne 0x1010d821
mov edx, 0xc60bf9f2
mov ecx, 0x10203f51
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x1024b13c
mov dword [0x1024b118], eax
call fcn.101b5cdc
add esp, 4
mov eax, dword [0x1024b118]
cmp dword [eax + esi + 1], 9
je case.0x1010d711.0
mov eax, dword [0x1023fc88]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x1023fc7c]
push 0
mov eax, dword [eax + 0x180]
call eax
mov eax, dword [0x1023fc80]
xor ebp, ebp
cmp dword [eax + 0x352c], ebp
jle 0x1010da59
mov ecx, ebx
lea ebx, [ecx + 0x30]
mov esi, dword [ebx]
mov eax, esi
or eax, 4
mov dword [ebx], eax
call fcn.100998a0
mov dword [ebx], esi
mov eax, dword [0x10241574]
mov ecx, dword [0x102416ec]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010d8d0
push 0x102416ec
call fcn.101b5d2d
mov ecx, dword [0x102416ec]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010d8d0
mov edx, 0xc60bf9f2
mov ecx, 0x1020364d
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x102416ec
mov dword [0x10241640], eax
call fcn.101b5cdc
mov ecx, dword [0x102416ec]
add esp, 4
mov eax, dword [0x10241640]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x10214820]
lahf
test ah, 0x44
jnp 0x1010d9c2
mov eax, dword [0x10241574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010d941
push 0x102416ec
call fcn.101b5d2d
mov ecx, dword [0x102416ec]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010d941
mov edx, 0xc60bf9f2
mov ecx, 0x1020364d
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x102416ec
mov dword [0x10241640], eax
call fcn.101b5cdc
mov ecx, dword [0x102416ec]
add esp, 4
mov eax, dword [0x10241640]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x1021481c]
lahf
test ah, 0x44
jnp 0x1010d9c2
mov eax, dword [0x10241574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010d9a6
push 0x102416ec
call fcn.101b5d2d
add esp, 4
cmp dword [0x102416ec], 0xffffffff
jne 0x1010d9a6
mov edx, 0xc60bf9f2
mov ecx, 0x1020364d
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x102416ec
mov dword [0x10241640], eax
call fcn.101b5cdc
add esp, 4
mov eax, dword [0x10241640]
movss xmm0, dword [eax + esi + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, qword [0x10214800]
lahf
test ah, 0x44
jp 0x1010da31
mov eax, dword [0x10241574]
mov ecx, dword [eax]
call fcn.1007da00
test byte [eax], 1
jne 0x1010da31
mov eax, dword [0x10241574]
mov esi, dword [eax]
mov eax, dword [0x1024b13c]
cmp eax, dword [edi + 4]
jle 0x1010da25
push 0x1024b13c
call fcn.101b5d2d
add esp, 4
cmp dword [0x1024b13c], 0xffffffff
jne 0x1010da25
mov edx, 0xc60bf9f2
mov ecx, 0x10203f51
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x1024b13c
mov dword [0x1024b118], eax
call fcn.101b5cdc
add esp, 4
mov eax, dword [0x1024b118]
cmp dword [eax + esi + 1], 9
jne 0x1010da50
mov eax, dword [0x1023fc80]
xor cl, cl
inc ebp
mov byte [0x104684f1], cl
cmp ebp, dword [eax + 0x352c]
jge 0x1010da62
mov ecx, dword [esp + 0x10]
jmp 0x1010d865
mov byte [0x104684f1], 1
jmp 0x1010da66
mov cl, byte [0x104684f1]
add ebx, 0x30
test cl, cl
je 0x1010da69
or dword [ebx], 4
mov eax, dword [0x1023fc88]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x1023fc7c]
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.100998a0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret