Function at 0x1012fca0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ca9a7
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10203360]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
cmp dword [eax + 0x14c], 0
je 0x101307ed
mov ecx, dword [eax + 0x150]
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x101307ed
cmp dword [eax + 0x154], 0
je 0x101307ed
mov eax, dword [0x102a2364]
test al, 1
jne 0x1012fe52
or eax, 1
mov dword [0x102a2364], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1029b360]
cmp ebx, dword [0x1029b364]
je 0x1012fd74
nop
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1012fd69
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1012fd43
xor edx, edx
test ecx, ecx
je 0x1012fd69
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012fd50
cmp edi, 0xf2f193b3
je 0x1012fd8a
add ebx, 4
cmp ebx, dword [0x1029b364]
jne 0x1012fd30
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [0x102a2340], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012fe57
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
cmp dword [eax + 4], esi
jle 0x1012fe28
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1012fdd4
cmp dword [ecx + 4], 0
jle 0x1012fdd4
push 0
mov edx, 0xb643ff6c
call fcn.101146e0
add esp, 4
test eax, eax
je 0x1012fdd1
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1012fde0
xor edx, edx
test ecx, ecx
je 0x1012fe0c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012fdf0
cmp edi, 0xb643ff6c
je 0x1012fe3b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc edx
mov esi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x1012fda3
mov ecx, dword [ebp - 0x28]
mov eax, esi
mov dword [0x102a2340], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012fe57
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [0x102a2340], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012fe57
mov eax, dword [0x102a2340]
cmp byte [0x102840b0], 0
movss xmm4, dword [eax + ecx]
movss dword [ebp - 0x2c], xmm4
je 0x101307ce
mov eax, dword [0x105cbfd4]
add eax, 0x56767485
xor eax, 0xa3987d61
cmp byte [eax + 0x1c], 0
je 0x1012fe8d
cmp byte [eax + 0x1d], 0
je 0x101307ce
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x28], eax
mov eax, dword [0x1029cb78]
test al, 1
jne 0x1012ffec
or eax, 1
mov dword [0x1029cb78], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x1029b360]
cmp ebx, dword [0x1029b364]
je 0x1012ff14
nop
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1012ff09
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1012fee3
xor edx, edx
test ecx, ecx
je 0x1012ff09
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012fef0
cmp edi, 0xcd2ed041
je 0x1012ff27
add ebx, 4
cmp ebx, dword [0x1029b364]
jne 0x1012fed0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1029e41c], eax
jmp 0x1012fff1
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x1012ffc8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1012ff71
cmp dword [ecx + 4], 0
jle 0x1012ff71
push 0
mov edx, 0xa2ccb41a
call fcn.101146e0
add esp, 4
test eax, eax
je 0x1012ff6e
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1012ff80
xor edx, edx
test ecx, ecx
je 0x1012ffac
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012ff90
cmp edi, 0xa2ccb41a
je 0x1012ffd8
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x1012ff40
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x1029e41c], eax
jmp 0x1012fff1
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x1029e41c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012fff1
mov eax, dword [0x1029e41c]
mov ecx, dword [ebp - 0x28]
cmp word [ecx + eax], 0x40
jne 0x101307ce
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x28], eax
mov eax, dword [0x102a184c]
test al, 1
jne 0x1013015c
or eax, 1
mov dword [0x102a184c], eax
mov dword [ebp - 4], 2
mov ebx, dword [0x1029b360]
cmp ebx, dword [0x1029b364]
je 0x10130085
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1013007a
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10130054
xor edx, edx
test ecx, ecx
je 0x1013007a
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10130061
cmp edi, 0xf2f193b3
je 0x10130098
add ebx, 4
cmp ebx, dword [0x1029b364]
jne 0x10130041
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102a1884], eax
jmp 0x10130161
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10130138
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x101300e2
cmp dword [ecx + 4], 0
jle 0x101300e2
push 0
mov edx, 0xd0250969
call fcn.101146e0
add esp, 4
test eax, eax
je 0x101300df
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x101300f0
xor edx, edx
test ecx, ecx
je 0x1013011c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10130100
cmp edi, 0xd0250969
je 0x10130148
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x101300b1
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x102a1884], eax
jmp 0x10130161
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x102a1884], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10130161
mov eax, dword [0x102a1884]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax], 0
jle 0x101307ce
mov eax, dword [0x105cbfd4]
add eax, 0x56767485
xor eax, 0xa3987d61
cmp byte [eax + 0x1c], 0
jne 0x1013019a
cmp byte [eax + 0x1d], 0
je 0x1013019a
cmp dword [eax + 0x20], 0
jg 0x1013019a
cmp dword [eax + 4], 1
jne 0x1013019a
mov edx, dword [eax + 0x30]
jmp 0x1013019c
xor edx, edx
mov ecx, dword [0x105cbfb0]
movss xmm2, dword [0x101f0824]
add ecx, 0x4fd8cdb0
xor ecx, 0x91d5c6d7
mov eax, dword [ecx + 0x108]
mov esi, dword [ecx + 0x14c]
movss xmm0, dword [eax + 0x20]
mov eax, dword [ecx + 0x14]
divss xmm2, xmm0
sub eax, edx
movd xmm3, eax
mov eax, dword [0x102a2348]
cvtdq2ps xmm3, xmm3
mulss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x101f0774]
mulss xmm2, xmm3
addss xmm0, dword [0x101f07bc]
movss dword [ebp - 0x20], xmm3
addss xmm2, dword [0x101f07bc]
cvttss2si edi, xmm0
cvttss2si ebx, xmm2
dec edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
test al, 1
jne 0x1013025a
or eax, 1
mov dword [0x102a2348], eax
xor eax, eax
mov dword [ebp - 4], 3
test esi, esi
mov ecx, esi
cmovne eax, esi
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call eax
mov edx, 0x3dfdcdea
mov ecx, eax
call fcn.101149c0
movss xmm3, dword [ebp - 0x20]
movss xmm4, dword [ebp - 0x2c]
mov dword [0x102a2330], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1013025f
mov eax, dword [0x102a2330]
movss xmm0, dword [esi + eax]
comiss xmm0, xmm3
ja 0x101307ed
mov eax, dword [0x105cbfb0]
mov edx, dword [0x1029e420]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0x2c], eax
test dl, 1
jne 0x101303c6
or edx, 1
mov dword [0x1029e420], edx
mov dword [ebp - 4], 4
mov ebx, dword [0x1029b360]
cmp ebx, dword [0x1029b364]
je 0x101302f6
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x101302eb
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101302c5
xor edx, edx
test ecx, ecx
je 0x101302eb
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101302d2
cmp edi, 0x72e242a1
je 0x1013031c
add ebx, 4
cmp ebx, dword [0x1029b364]
jne 0x101302b2
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
add ecx, 0xfffffffc
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x1029e420]
mov dword [0x1029cb74], ecx
jmp 0x101303cc
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x101303b4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10130366
cmp dword [ecx + 4], 0
jle 0x10130366
push 0
mov edx, 0x5864ce62
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10130363
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10130370
xor edx, edx
test ecx, ecx
je 0x1013039c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10130380
cmp edi, 0x5864ce62
je 0x101303bb
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10130335
mov ecx, esi
jmp 0x101302f8
mov ecx, dword [ebx + 0x2c]
add ecx, dword [ebp - 0x14]
jmp 0x101302f8
mov ecx, dword [0x1029cb74]
mov esi, dword [ebp - 0x10]
movss xmm0, dword [eax + ecx]
ucomiss xmm0, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10130496
mov eax, ebx
mov dword [esi + 0x10], ebx
sub eax, edi
dec eax
mov dword [esi + 0x14], eax
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0x2c], eax
test dl, 1
jne 0x10130490
or edx, 1
mov dword [0x1029e420], edx
mov dword [ebp - 4], 5
mov ebx, dword [0x1029b360]
cmp ebx, dword [0x1029b364]
je 0x10130478
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1013046d
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10130443
xor edx, edx
test ecx, ecx
je 0x1013046d
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10130450
cmp edi, 0x72e242a1
je 0x10130537
add ebx, 4
cmp ebx, dword [0x1029b364]
jne 0x10130430
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
add ecx, 0xfffffffc
mov esi, dword [ebp - 0x10]
mov dword [0x1029cb74], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + ecx]
mov dword [esi + 0xc], eax
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x102a233c]
test al, 1
jne 0x101306a4
or eax, 1
mov dword [0x102a233c], eax
mov dword [ebp - 4], 6
mov ebx, dword [0x1029b360]
cmp ebx, dword [0x1029b364]
je 0x10130528
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1013051d
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x101304f0
xor edx, edx
test ecx, ecx
je 0x1013051d
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10130500
cmp edi, 0xf2f193b3
je 0x101305ea
add ebx, 4
cmp ebx, dword [0x1029b364]
jne 0x101304d8
mov esi, dword [ebp - 0x10]
xor eax, eax
mov dword [0x102a234c], eax
jmp 0x101306a9
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x101305d8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10130581
cmp dword [ecx + 4], 0
jle 0x10130581
push 0
mov edx, 0x5864ce62
call fcn.101146e0
add esp, 4
test eax, eax
je 0x1013057e
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10130590
xor edx, edx
test ecx, ecx
je 0x101305bc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101305a0
cmp edi, 0x5864ce62
je 0x101305df
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10130550
mov ecx, esi
jmp 0x1013047a
mov ecx, dword [ebx + 0x2c]
add ecx, dword [ebp - 0x14]
jmp 0x1013047a
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10130688
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10130634
cmp dword [ecx + 4], 0
jle 0x10130634
push 0
mov edx, 0x8aaa98fc
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10130631
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10130640
xor edx, edx
test ecx, ecx
je 0x1013066c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10130650
cmp edi, 0x8aaa98fc
je 0x10130694
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10130603
mov eax, esi
mov esi, dword [ebp - 0x10]
mov dword [0x102a234c], eax
jmp 0x101306a9
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov dword [0x102a234c], eax
jmp 0x101306a9
mov eax, dword [0x102a234c]
mov ecx, dword [ebp - 0x2c]
movss xmm0, dword [ecx + eax]
comiss xmm0, xmm3
jbe 0x101306e8
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x158]
and dword [eax + 0x30], 0xfffffffe
mov byte [esi + 0x63d6b], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x24]
cmp dword [edi + 8], ebx
je 0x101307ed
mov eax, ebx
mov dword [edi + 8], ebx
sub eax, dword [edi + 0x14]
xor cl, cl
mov byte [edi + 0x63d6b], 0
cmp eax, 2
jle 0x1013071b
cmp eax, 0xe
jge 0x1013071b
mov byte [edi + 0x63d6b], 1
mov cl, 1
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov edx, dword [eax + 0x158]
mov eax, dword [edx + 0x30]
test al, 1
je 0x1013073f
test cl, cl
jne 0x101307ed
or eax, 1
comiss xmm4, xmm3
mov dword [edx + 0x30], eax
jb 0x10130766
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x158]
or dword [eax + 0x30], 0x800
mov esi, dword [ebp - 0x28]
mov ecx, ebx
mov edx, dword [edi + 0x10]
sub ecx, edx
lea eax, [esi*2 + 1]
cmp ecx, eax
jle 0x10130788
mov eax, ebx
mov dword [edi + 0x10], ebx
sub eax, esi
mov edx, ebx
dec eax
mov dword [edi + 0x14], eax
mov ecx, ebx
sub ecx, edx
cmp ecx, esi
jge 0x10130799
mov eax, ebx
sub eax, dword [edi + 0x14]
cmp eax, esi
jg 0x101307ed
mov dword [edi + 0x10], ebx
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x158]
and dword [eax + 0x30], 0xfffffffe
cmp ecx, esi
jl 0x101307ed
mov dword [edi + 0x14], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [eax + 0x63d6b], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret