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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022ea47
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x102d2084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
cmp dword [eax + 0x134], 0
je 0x1015521d
mov ecx, dword [eax + 0x138]
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x1015521d
cmp dword [eax + 0x13c], 0
je 0x1015521d
mov eax, dword [0x103aabc8]
test al, 1
jne 0x10154882
or eax, 1
mov dword [0x103aabc8], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x101547a4
nop
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10154799
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10154773
xor edx, edx
test ecx, ecx
je 0x10154799
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10154780
cmp edi, 0xf2f193b3
je 0x101547ba
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10154760
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [0x103aaba8], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10154887
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
cmp dword [eax + 4], esi
jle 0x10154858
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10154804
cmp dword [ecx + 4], 0
jle 0x10154804
push 0
mov edx, 0xb643ff6c
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10154801
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10154810
xor edx, edx
test ecx, ecx
je 0x1015483c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10154820
cmp esi, 0xb643ff6c
je 0x1015486b
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 0x101547d3
mov ecx, dword [ebp - 0x28]
mov eax, esi
mov dword [0x103aaba8], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10154887
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [0x103aaba8], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10154887
mov eax, dword [0x103aaba8]
cmp byte [0x10354c30], 0
movss xmm4, dword [eax + ecx]
movss dword [ebp - 0x2c], xmm4
je 0x101551fe
mov eax, dword [0x10bbb648]
add eax, 0x48e22c6a
xor eax, 0xfd491cfd
cmp byte [eax + 0x1c], 0
je 0x101548bd
cmp byte [eax + 0x1d], 0
je 0x101551fe
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov eax, dword [eax + 0x138]
mov dword [ebp - 0x28], eax
mov eax, dword [0x1036f6d0]
test al, 1
jne 0x10154a1c
or eax, 1
mov dword [0x1036f6d0], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10154944
nop
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10154939
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10154913
xor edx, edx
test ecx, ecx
je 0x10154939
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10154920
cmp edi, 0xcd2ed041
je 0x10154957
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10154900
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10370fb4], eax
jmp 0x10154a21
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x101549f8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x101549a1
cmp dword [ecx + 4], 0
jle 0x101549a1
push 0
mov edx, 0xa2ccb41a
call fcn.10138e60
add esp, 4
test eax, eax
je 0x1015499e
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 0x101549b0
xor edx, edx
test ecx, ecx
je 0x101549dc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101549c0
cmp edi, 0xa2ccb41a
je 0x10154a08
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 0x10154970
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10370fb4], eax
jmp 0x10154a21
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x10370fb4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10154a21
mov eax, dword [0x10370fb4]
mov ecx, dword [ebp - 0x28]
cmp word [ecx + eax], 0x40
jne 0x101551fe
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov eax, dword [eax + 0x138]
mov dword [ebp - 0x28], eax
mov eax, dword [0x103743cc]
test al, 1
jne 0x10154b8c
or eax, 1
mov dword [0x103743cc], eax
mov dword [ebp - 4], 2
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10154ab5
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10154aaa
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10154a84
xor edx, edx
test ecx, ecx
je 0x10154aaa
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10154a91
cmp edi, 0xf2f193b3
je 0x10154ac8
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10154a71
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10374404], eax
jmp 0x10154b91
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10154b68
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10154b12
cmp dword [ecx + 4], 0
jle 0x10154b12
push 0
mov edx, 0xd0250969
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10154b0f
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 0x10154b20
xor edx, edx
test ecx, ecx
je 0x10154b4c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10154b30
cmp edi, 0xd0250969
je 0x10154b78
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 0x10154ae1
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10374404], eax
jmp 0x10154b91
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x10374404], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10154b91
mov eax, dword [0x10374404]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax], 0
jle 0x101551fe
mov eax, dword [0x10bbb648]
add eax, 0x48e22c6a
xor eax, 0xfd491cfd
cmp byte [eax + 0x1c], 0
jne 0x10154bca
cmp byte [eax + 0x1d], 0
je 0x10154bca
cmp dword [eax + 0x20], 0
jg 0x10154bca
cmp dword [eax + 4], 1
jne 0x10154bca
mov edx, dword [eax + 0x30]
jmp 0x10154bcc
xor edx, edx
mov ecx, dword [0x10bbb620]
movss xmm2, dword [0x102ba7b4]
add ecx, 0x91761abb
xor ecx, 0xfd410b50
mov eax, dword [ecx + 0xf0]
mov esi, dword [ecx + 0x134]
movss xmm0, dword [eax + 0x20]
mov eax, dword [ecx + 0x14]
divss xmm2, xmm0
sub eax, edx
movd xmm3, eax
mov eax, dword [0x103aabac]
cvtdq2ps xmm3, xmm3
mulss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x102ba6f8]
mulss xmm2, xmm3
addss xmm0, dword [0x102ba73c]
movss dword [ebp - 0x20], xmm3
addss xmm2, dword [0x102ba73c]
cvttss2si edi, xmm0
cvttss2si ebx, xmm2
dec edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
test al, 1
jne 0x10154c8a
or eax, 1
mov dword [0x103aabac], 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.10139140
movss xmm3, dword [ebp - 0x20]
movss xmm4, dword [ebp - 0x2c]
mov dword [0x103aab98], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10154c8f
mov eax, dword [0x103aab98]
movss xmm0, dword [esi + eax]
comiss xmm0, xmm3
ja 0x1015521d
mov eax, dword [0x10bbb620]
mov edx, dword [0x10370fb8]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov eax, dword [eax + 0x134]
mov dword [ebp - 0x2c], eax
test dl, 1
jne 0x10154df6
or edx, 1
mov dword [0x10370fb8], edx
mov dword [ebp - 4], 4
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10154d26
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10154d1b
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10154cf5
xor edx, edx
test ecx, ecx
je 0x10154d1b
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10154d02
cmp edi, 0x72e242a1
je 0x10154d4c
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10154ce2
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 [0x10370fb8]
mov dword [0x1036f6c8], ecx
jmp 0x10154dfc
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10154de4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10154d96
cmp dword [ecx + 4], 0
jle 0x10154d96
push 0
mov edx, 0x5864ce62
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10154d93
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 0x10154da0
xor edx, edx
test ecx, ecx
je 0x10154dcc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10154db0
cmp edi, 0x5864ce62
je 0x10154deb
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 0x10154d65
mov ecx, esi
jmp 0x10154d28
mov ecx, dword [ebx + 0x2c]
add ecx, dword [ebp - 0x14]
jmp 0x10154d28
mov ecx, dword [0x1036f6c8]
mov esi, dword [ebp - 0x10]
movss xmm0, dword [eax + ecx]
ucomiss xmm0, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10154ec6
mov eax, ebx
mov dword [esi + 0x10], ebx
sub eax, edi
dec eax
mov dword [esi + 0x14], eax
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov eax, dword [eax + 0x134]
mov dword [ebp - 0x2c], eax
test dl, 1
jne 0x10154ec0
or edx, 1
mov dword [0x10370fb8], edx
mov dword [ebp - 4], 5
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10154ea8
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10154e9d
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10154e73
xor edx, edx
test ecx, ecx
je 0x10154e9d
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10154e80
cmp edi, 0x72e242a1
je 0x10154f67
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10154e60
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
add ecx, 0xfffffffc
mov esi, dword [ebp - 0x10]
mov dword [0x1036f6c8], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + ecx]
mov dword [esi + 0xc], eax
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov eax, dword [eax + 0x138]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x103aaba4]
test al, 1
jne 0x101550d4
or eax, 1
mov dword [0x103aaba4], eax
mov dword [ebp - 4], 6
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10154f58
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10154f4d
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10154f20
xor edx, edx
test ecx, ecx
je 0x10154f4d
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10154f30
cmp edi, 0xf2f193b3
je 0x1015501a
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10154f08
mov esi, dword [ebp - 0x10]
xor eax, eax
mov dword [0x103aabb4], eax
jmp 0x101550d9
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10155008
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10154fb1
cmp dword [ecx + 4], 0
jle 0x10154fb1
push 0
mov edx, 0x5864ce62
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10154fae
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 0x10154fc0
xor edx, edx
test ecx, ecx
je 0x10154fec
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10154fd0
cmp edi, 0x5864ce62
je 0x1015500f
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 0x10154f80
mov ecx, esi
jmp 0x10154eaa
mov ecx, dword [ebx + 0x2c]
add ecx, dword [ebp - 0x14]
jmp 0x10154eaa
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x101550b8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10155064
cmp dword [ecx + 4], 0
jle 0x10155064
push 0
mov edx, 0x8aaa98fc
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10155061
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 0x10155070
xor edx, edx
test ecx, ecx
je 0x1015509c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10155080
cmp edi, 0x8aaa98fc
je 0x101550c4
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 0x10155033
mov eax, esi
mov esi, dword [ebp - 0x10]
mov dword [0x103aabb4], eax
jmp 0x101550d9
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov dword [0x103aabb4], eax
jmp 0x101550d9
mov eax, dword [0x103aabb4]
mov ecx, dword [ebp - 0x2c]
movss xmm0, dword [ecx + eax]
comiss xmm0, xmm3
jbe 0x10155118
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov eax, dword [eax + 0x140]
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 0x1015521d
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 0x1015514b
cmp eax, 0xe
jge 0x1015514b
mov byte [edi + 0x63d6b], 1
mov cl, 1
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov edx, dword [eax + 0x140]
mov eax, dword [edx + 0x30]
test al, 1
je 0x1015516f
test cl, cl
jne 0x1015521d
or eax, 1
comiss xmm4, xmm3
mov dword [edx + 0x30], eax
jb 0x10155196
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov eax, dword [eax + 0x140]
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 0x101551b8
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 0x101551c9
mov eax, ebx
sub eax, dword [edi + 0x14]
cmp eax, esi
jg 0x1015521d
mov dword [edi + 0x10], ebx
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov eax, dword [eax + 0x140]
and dword [eax + 0x30], 0xfffffffe
cmp ecx, esi
jl 0x1015521d
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