Function at 0x1010d15c
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.0x1010d141.0
mov edx, dword [eax + 0x3520]
add eax, 0x3520
cmp edx, 3
ja case.0x1010d141.0
jmp dword [edx*4 + 0x1010d4cc]
mov ecx, eax
call fcn.100c8e50
jmp 0x1010d154
mov al, byte [eax + 0x20]
test al, al
je case.0x1010d141.0
mov eax, dword [0x10242574]
mov ecx, dword [eax]
test ecx, ecx
je case.0x1010d141.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je case.0x1010d141.0
test byte [0x104691bc], 1
jne case.0x1010d141.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 [0x1024c13c]
cmp ecx, dword [edi + 4]
jle 0x1010d1f4
push 0x1024c13c
call fcn.101b6d6c
mov ecx, dword [0x1024c13c]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010d1f4
mov edx, 0xc60bf9f2
mov ecx, 0x10204f11
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x1024c13c
mov dword [0x1024c118], eax
call fcn.101b6d1b
mov ecx, dword [0x1024c13c]
add esp, 4
mov eax, dword [0x1024c118]
cmp dword [eax + esi + 1], 8
je case.0x1010d141.0
mov eax, dword [0x10242574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010d251
push 0x1024c13c
call fcn.101b6d6c
add esp, 4
cmp dword [0x1024c13c], 0xffffffff
jne 0x1010d251
mov edx, 0xc60bf9f2
mov ecx, 0x10204f11
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x1024c13c
mov dword [0x1024c118], eax
call fcn.101b6d1b
add esp, 4
mov eax, dword [0x1024c118]
cmp dword [eax + esi + 1], 9
je case.0x1010d141.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 0x1010d489
mov ecx, ebx
lea ebx, [ecx + 0x30]
mov esi, dword [ebx]
mov eax, esi
or eax, 4
mov dword [ebx], eax
call fcn.10099ad0
mov dword [ebx], esi
mov eax, dword [0x10242574]
mov ecx, dword [0x102426ec]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010d300
push 0x102426ec
call fcn.101b6d6c
mov ecx, dword [0x102426ec]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010d300
mov edx, 0xc60bf9f2
mov ecx, 0x1020460d
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b6d1b
mov ecx, dword [0x102426ec]
add esp, 4
mov eax, dword [0x10242640]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x102156c0]
lahf
test ah, 0x44
jnp 0x1010d3f2
mov eax, dword [0x10242574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010d371
push 0x102426ec
call fcn.101b6d6c
mov ecx, dword [0x102426ec]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010d371
mov edx, 0xc60bf9f2
mov ecx, 0x1020460d
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b6d1b
mov ecx, dword [0x102426ec]
add esp, 4
mov eax, dword [0x10242640]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x102156bc]
lahf
test ah, 0x44
jnp 0x1010d3f2
mov eax, dword [0x10242574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010d3d6
push 0x102426ec
call fcn.101b6d6c
add esp, 4
cmp dword [0x102426ec], 0xffffffff
jne 0x1010d3d6
mov edx, 0xc60bf9f2
mov ecx, 0x1020460d
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b6d1b
add esp, 4
mov eax, dword [0x10242640]
movss xmm0, dword [eax + esi + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, qword [0x102156a0]
lahf
test ah, 0x44
jp 0x1010d461
mov eax, dword [0x10242574]
mov ecx, dword [eax]
call fcn.1007d9f0
test byte [eax], 1
jne 0x1010d461
mov eax, dword [0x10242574]
mov esi, dword [eax]
mov eax, dword [0x1024c13c]
cmp eax, dword [edi + 4]
jle 0x1010d455
push 0x1024c13c
call fcn.101b6d6c
add esp, 4
cmp dword [0x1024c13c], 0xffffffff
jne 0x1010d455
mov edx, 0xc60bf9f2
mov ecx, 0x10204f11
call fcn.1007d620
mov ecx, eax
call fcn.100ced60
push 0x1024c13c
mov dword [0x1024c118], eax
call fcn.101b6d1b
add esp, 4
mov eax, dword [0x1024c118]
cmp dword [eax + esi + 1], 9
jne 0x1010d480
mov eax, dword [0x10240c80]
xor cl, cl
inc ebp
mov byte [0x104694f9], cl
cmp ebp, dword [eax + 0x351c]
jge 0x1010d492
mov ecx, dword [esp + 0x10]
jmp 0x1010d295
mov byte [0x104694f9], 1
jmp 0x1010d496
mov cl, byte [0x104694f9]
add ebx, 0x30
test cl, cl
je 0x1010d499
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.10099ad0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret